/* ============================================
   CHENCHI PROJECTS Pty Ltd - Premium Website
   Color Palette: Blue, Green, Dark Navy, Gray
   ============================================ */

/* ---- CSS Variables ---- */
:root {
    --primary-green: #8DC63F;
    --primary-green-light: #A5D654;
    --primary-green-dark: #6FA32E;
    --primary-blue: #0066CC;
    --primary-blue-light: #3399FF;
    --primary-blue-dark: #004C99;
    --navy: #0A1628;
    --navy-light: #152238;
    --navy-medium: #1C2D4A;
    --dark: #111827;
    --gray-dark: #374151;
    --gray-medium: #6B7280;
    --gray-light: #9CA3AF;
    --gray-lighter: #E5E7EB;
    --gray-lightest: #F3F4F6;
    --white: #FFFFFF;
    --off-white: #F9FAFB;
    --gradient-green: linear-gradient(135deg, #8DC63F, #A5D65430);
    --gradient-blue: linear-gradient(135deg, #0066CC, #3399FF30);
    --gradient-hero: linear-gradient(135deg, #0A1628 0%, #1C2D4A 50%, #0A1628 100%);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
    --shadow-md: 0 4px 14px rgba(0,0,0,0.15);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.2);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --border-radius-xl: 30px;
    --wa-green: #25D366;
    --wa-dark: #075E54;
    --wa-light: #DCF8C6;
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--gray-dark);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul { list-style: none; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--navy);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }

p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--gray-medium);
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border: none;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: var(--primary-green);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(141, 198, 63, 0.4);
}

.btn-primary:hover {
    background: var(--primary-green-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(141, 198, 63, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--navy);
    transform: translateY(-2px);
}

.btn-blue {
    background: var(--primary-blue);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(0, 102, 204, 0.4);
}

.btn-blue:hover {
    background: var(--primary-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 102, 204, 0.5);
}

.btn-outline-green {
    background: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}

.btn-outline-green:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-2px);
}

/* ---- Section Styles ---- */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header .label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary-green);
    margin-bottom: 16px;
}

.section-header h2 {
    margin-bottom: 20px;
}

.section-header p {
    font-size: 1.1rem;
}

.section-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--primary-blue));
    margin: 20px auto 0;
    border-radius: 2px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: linear-gradient(180deg, rgba(10, 22, 40, 0.6) 0%, rgba(10, 22, 40, 0) 100%);
}

.navbar.scrolled {
    background: rgba(10, 22, 40, 0.97);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
    backdrop-filter: blur(20px);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img {
    height: 56px;
    width: auto;
    transition: var(--transition);
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}

.navbar.scrolled .nav-logo img {
    height: 44px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    padding: 4px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-green);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--white);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    margin-left: 12px;
}

.nav-cta .btn {
    padding: 10px 24px;
    font-size: 0.85rem;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-toggle span {
    display: block;
    width: 28px;
    height: 2.5px;
    background: var(--white);
    transition: var(--transition);
    border-radius: 2px;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTION - SLIDESHOW
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    overflow: hidden;
}

.hero-slideshow {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,22,40,0.93) 0%, rgba(10,22,40,0.75) 40%, rgba(10,22,40,0.85) 70%, rgba(10,22,40,0.92) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 720px;
}

.hero .label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary-green);
    margin-bottom: 20px;
    padding: 8px 20px;
    border: 1px solid rgba(141, 198, 63, 0.3);
    border-radius: 50px;
    background: rgba(141, 198, 63, 0.08);
}

.hero h1 {
    color: var(--white);
    margin-bottom: 24px;
    font-weight: 800;
    line-height: 1.1;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    color: rgba(255,255,255,0.75);
    font-size: 1.15rem;
    margin-bottom: 40px;
    max-width: 560px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 48px;
    margin-top: 64px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stat h3 {
    color: var(--primary-green);
    font-size: 2.5rem;
    font-weight: 800;
}

.hero-stat p {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Slideshow indicators */
.hero-slide-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
}

.hero-slide-indicators span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.hero-slide-indicators span:hover {
    background: rgba(255,255,255,0.5);
}

.hero-slide-indicators span.active {
    background: var(--primary-green);
    border-color: rgba(255,255,255,0.5);
    transform: scale(1.2);
}

/* Animated shapes */
.hero-shapes {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.12;
}

.hero-shape-1 {
    width: 500px;
    height: 500px;
    background: var(--primary-green);
    top: -150px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.hero-shape-2 {
    width: 400px;
    height: 400px;
    background: var(--primary-blue);
    bottom: -100px;
    left: 20%;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}

/* ============================================
   FEATURES BAR
   ============================================ */
.features-bar {
    background: var(--white);
    padding: 0;
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.feature-item {
    padding: 36px 24px;
    text-align: center;
    background: var(--white);
    border-right: 1px solid var(--gray-lighter);
    transition: var(--transition);
}

.feature-item:last-child {
    border-right: none;
}

.feature-item:hover {
    background: var(--navy);
}

.feature-item:hover .feature-icon {
    color: var(--primary-green);
    transform: scale(1.1);
}

.feature-item:hover h4,
.feature-item:hover p {
    color: var(--white);
}

.feature-icon {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 12px;
    transition: var(--transition);
}

.feature-item h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--navy);
    transition: var(--transition);
}

.feature-item p {
    font-size: 0.8rem;
    color: var(--gray-medium);
    margin-bottom: 0;
    transition: var(--transition);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    background: var(--off-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
}

.about-image-badge {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: var(--primary-green);
    color: var(--white);
    padding: 16px 24px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.about-image-badge h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 2px;
}

.about-image-badge p {
    color: rgba(255,255,255,0.9);
    font-size: 0.85rem;
    margin-bottom: 0;
}

.about-content .label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary-green);
    margin-bottom: 16px;
}

.about-content h2 {
    margin-bottom: 24px;
}

.about-content > p {
    margin-bottom: 32px;
}

.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 36px;
}

.about-highlight {
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-highlight .icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(0, 102, 204, 0.1);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.about-highlight span {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--navy);
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.service-card {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.service-image {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.service-card:hover .service-image img {
    transform: scale(1.08);
}

.service-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(10,22,40,0.85) 100%);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover .service-overlay {
    opacity: 1;
}

.service-info {
    padding: 24px;
}

.service-info h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: var(--navy);
}

.service-info p {
    font-size: 0.9rem;
    color: var(--gray-medium);
    line-height: 1.6;
    margin-bottom: 16px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-green);
    transition: var(--transition);
}

.service-link:hover {
    gap: 10px;
    color: var(--primary-green-dark);
}

/* ============================================
   WHY CHOOSE US
   ============================================ */
.why-us {
    background: var(--navy);
    position: relative;
    overflow: hidden;
}

.why-us::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: var(--primary-green);
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.06;
    top: -200px;
    right: -200px;
}

.why-us::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: var(--primary-blue);
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.06;
    bottom: -200px;
    left: -100px;
}

.why-us .section-header .label {
    color: var(--primary-green);
}

.why-us .section-header h2 {
    color: var(--white);
}

.why-us .section-header p {
    color: rgba(255,255,255,0.6);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
    z-index: 2;
}

.why-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--border-radius-lg);
    padding: 40px 32px;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.why-card:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(141, 198, 63, 0.3);
    transform: translateY(-4px);
}

.why-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 24px;
    box-shadow: 0 8px 24px rgba(141, 198, 63, 0.3);
}

.why-card h3 {
    color: var(--white);
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.why-card p {
    color: rgba(255,255,255,0.55);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ============================================
   GALLERY SECTION
   ============================================ */
.gallery {
    background: var(--off-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}

.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(10,22,40,0.7) 100%);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: flex-end;
    padding: 16px;
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-overlay span {
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    top: -200px;
    right: -100px;
}

.cta-section::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    bottom: -150px;
    left: 10%;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: clamp(2rem, 4vw, 2.75rem);
}

.cta-content p {
    color: rgba(255,255,255,0.9);
    font-size: 1.15rem;
    margin-bottom: 36px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-secondary:hover {
    background: var(--white);
    color: var(--primary-green);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    background: var(--off-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    padding-right: 20px;
}

.contact-info .label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary-green);
    margin-bottom: 16px;
}

.contact-info h2 {
    margin-bottom: 20px;
}

.contact-info > p {
    margin-bottom: 36px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 36px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-detail-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(141, 198, 63, 0.1);
    color: var(--primary-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-detail h4 {
    font-size: 0.95rem;
    color: var(--navy);
    margin-bottom: 4px;
}

.contact-detail p {
    font-size: 0.9rem;
    color: var(--gray-medium);
    margin-bottom: 0;
}

.contact-detail a {
    color: var(--primary-blue);
    font-weight: 500;
}

.contact-detail a:hover {
    color: var(--primary-green);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--navy);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-green);
    transform: translateY(-3px);
}

.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.contact-form-wrapper h3 {
    margin-bottom: 24px;
    color: var(--navy);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--gray-lighter);
    border-radius: var(--border-radius);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--navy);
    transition: var(--transition);
    background: var(--off-white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-green);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(141, 198, 63, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* ============================================
   MAP SECTION
   ============================================ */
.map-section {
    height: 400px;
    position: relative;
}

.map-section iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(30%);
    transition: var(--transition);
}

.map-section:hover iframe {
    filter: grayscale(0%);
}

.map-overlay-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: var(--white);
    padding: 20px 28px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    z-index: 10;
}

.map-overlay-badge h4 {
    color: var(--navy);
    margin-bottom: 4px;
}

.map-overlay-badge p {
    font-size: 0.85rem;
    color: var(--gray-medium);
    margin-bottom: 0;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--navy);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand img {
    height: 48px;
    margin-bottom: 20px;
}

.footer-brand p {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    margin-bottom: 24px;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-col h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--primary-green);
    border-radius: 2px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--primary-green);
    padding-left: 4px;
}

.footer-newsletter p {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    background: rgba(255,255,255,0.05);
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
}

.newsletter-form input::placeholder {
    color: rgba(255,255,255,0.3);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-green);
}

.newsletter-form button {
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    background: var(--primary-green);
    color: var(--white);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--primary-green-dark);
}

.footer-bottom {
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-bottom p {
    color: rgba(255,255,255,0.35);
    font-size: 0.85rem;
    margin-bottom: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: rgba(255,255,255,0.35);
    font-size: 0.85rem;
}

.footer-bottom-links a:hover {
    color: var(--primary-green);
}

/* ============================================
   WHATSAPP FLOATING WIDGET
   ============================================ */
.whatsapp-widget {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
}

.whatsapp-btn {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--wa-green);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
}

.whatsapp-tooltip {
    position: absolute;
    bottom: 72px;
    right: 0;
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 16px 20px;
    box-shadow: var(--shadow-lg);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

.whatsapp-widget:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.whatsapp-tooltip p {
    font-size: 0.85rem;
    color: var(--navy);
    font-weight: 600;
    margin-bottom: 0;
}

.whatsapp-tooltip span {
    font-size: 0.75rem;
    color: var(--gray-medium);
}

/* ============================================
   WHATSAPP MESSAGE MODAL
   ============================================ */
.wa-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.wa-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.wa-modal {
    background: var(--white);
    border-radius: 20px;
    width: 100%;
    max-width: 440px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    transform: translateY(30px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.wa-modal-overlay.active .wa-modal {
    transform: translateY(0) scale(1);
}

.wa-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 5;
    line-height: 1;
}

.wa-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.wa-modal-header {
    background: linear-gradient(135deg, var(--wa-dark), #128C7E);
    padding: 24px 24px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.wa-modal-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--wa-green);
    flex-shrink: 0;
}

.wa-modal-header h3 {
    color: var(--white);
    font-size: 1.05rem;
    margin-bottom: 2px;
    font-weight: 600;
}

.wa-modal-header span {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.8rem;
}

.wa-modal-body {
    padding: 0;
    background: #ECE5DD;
}

.wa-greeting {
    padding: 20px 20px 12px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.wa-greeting-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--wa-dark);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.wa-greeting-bubble {
    background: var(--white);
    border-radius: 0 12px 12px 12px;
    padding: 12px 16px;
    max-width: 85%;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    position: relative;
}

.wa-greeting-bubble::before {
    content: '';
    position: absolute;
    top: 0;
    left: -8px;
    width: 0;
    height: 0;
    border-top: 8px solid var(--white);
    border-left: 8px solid transparent;
}

.wa-greeting-bubble p {
    font-size: 0.88rem;
    color: var(--gray-dark);
    margin-bottom: 4px;
    line-height: 1.5;
}

.wa-greeting-bubble p:last-child {
    margin-bottom: 0;
}

.wa-modal-form {
    padding: 16px 20px 20px;
    background: #ECE5DD;
}

.wa-form-group {
    margin-bottom: 12px;
}

.wa-form-group input,
.wa-form-group select,
.wa-form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: none;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--navy);
    background: var(--white);
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.wa-form-group input:focus,
.wa-form-group select:focus,
.wa-form-group textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.3);
}

.wa-form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.wa-form-group input::placeholder,
.wa-form-group textarea::placeholder {
    color: var(--gray-light);
}

.wa-send-btn {
    width: 100%;
    padding: 14px 24px;
    border: none;
    border-radius: 10px;
    background: var(--wa-green);
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}

.wa-send-btn:hover {
    background: #1EBE5A;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
}

.wa-send-btn i {
    font-size: 1.2rem;
}

/* ============================================
   SCROLL TO TOP
   ============================================ */
.scroll-top {
    position: fixed;
    bottom: 28px;
    right: 104px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    border: none;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 998;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--primary-green);
    transform: translateY(-3px);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-up.delay-1 { transition-delay: 0.1s; }
.fade-up.delay-2 { transition-delay: 0.2s; }
.fade-up.delay-3 { transition-delay: 0.3s; }
.fade-up.delay-4 { transition-delay: 0.4s; }
.fade-up.delay-5 { transition-delay: 0.5s; }
.fade-up.delay-6 { transition-delay: 0.6s; }
.fade-up.delay-7 { transition-delay: 0.7s; }
.fade-up.delay-8 { transition-delay: 0.8s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .feature-item:nth-child(4),
    .feature-item:nth-child(5) {
        border-right: none;
    }

    .about-grid {
        gap: 48px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

@media (max-width: 768px) {
    .section { padding: 72px 0; }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 380px;
        height: 100vh;
        background: var(--navy);
        flex-direction: column;
        justify-content: center;
        gap: 28px;
        padding: 40px;
        transition: var(--transition-slow);
        box-shadow: -10px 0 40px rgba(0,0,0,0.3);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.1rem;
        color: rgba(255,255,255,0.8);
    }

    .nav-cta {
        margin-left: 0;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero h1 {
        font-size: clamp(2rem, 6vw, 2.75rem);
    }

    .hero-stats {
        gap: 28px;
        flex-wrap: wrap;
    }

    .hero-stat h3 {
        font-size: 2rem;
    }

    .hero-slide-indicators {
        bottom: 24px;
    }

    .hero-slide-indicators span {
        width: 10px;
        height: 10px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image img {
        height: 350px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .wa-modal {
        max-width: 360px;
        margin: 10px;
    }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-item {
        border-right: none;
        border-bottom: 1px solid var(--gray-lighter);
    }

    .feature-item:last-child {
        border-bottom: none;
    }

    .about-highlights {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .contact-form-wrapper {
        padding: 24px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .nav-logo img {
        height: 42px;
    }
}

/* ============================================
   PRELOADER
   ============================================ */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.preloader-logo {
    height: 60px;
    width: auto;
    opacity: 0.9;
}

.preloader-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255,255,255,0.1);
    border-top: 3px solid var(--primary-green);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}