/* ============================================
   AMANOVIA - Fluid & Alive Design System
   Mobile-First, Buttery Smooth Animations
   ============================================ */

/* ============================================
   BASE & RESET
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --primary: #77d1ce;
    --primary-dark: #41abac;
    --primary-light: #48c1c2;
    --accent: #273636;
    --text-dark: #1A1A1A;
    --text-light: #666666;
    --bg-white: #FFFFFF;
    --bg-light: #F8F9FA;
    --bg-dark: #0A1628;
    
    /* Fluid Typography - Mobile First */
    --text-xs: clamp(0.75rem, 2vw, 0.875rem);
    --text-sm: clamp(0.875rem, 2.5vw, 1rem);
    --text-base: clamp(1rem, 3vw, 1.125rem);
    --text-lg: clamp(1.125rem, 3.5vw, 1.5rem);
    --text-xl: clamp(1.5rem, 4vw, 2rem);
    --text-2xl: clamp(2rem, 5vw, 3rem);
    --text-3xl: clamp(2.5rem, 6vw, 4rem);
    --text-hero: clamp(2.5rem, 10vw, 6rem);
    
    /* Spacing - Fluid */
    --space-xs: clamp(0.5rem, 2vw, 1rem);
    --space-sm: clamp(1rem, 3vw, 1.5rem);
    --space-md: clamp(1.5rem, 4vw, 2rem);
    --space-lg: clamp(2rem, 5vw, 3rem);
    --space-xl: clamp(3rem, 8vw, 5rem);
    --space-2xl: clamp(4rem, 10vw, 8rem);
    
    /* Smooth Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    --transition-bouncy: 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);

      /* Helpful derived tokens */
  --brand-grad: linear-gradient(135deg, var(--primary-dark), var(--primary));
  --brand-grad-soft: linear-gradient(135deg,
    color-mix(in srgb, var(--primary-dark) 15%, transparent),
    color-mix(in srgb, var(--primary) 15%, transparent)
  );
  --brand-glow: rgba(119, 209, 206, 0.25); /* based on --primary */
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-dark);
    background: var(--bg-white);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ============================================
   HERO SECTION - BUBBLES FIXED
   ============================================ */

.hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: #000;
}


.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 0 20px;
    transform: translateY(-40px);
}

.logo-container {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    opacity: 0;
    animation: fadeInDown 1s ease-out 0.3s forwards;
}
    
.logo-img {
    max-width: 350px;
    max-height: 400px;
    object-fit: contain;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
    content: url("media/logo.png");

}
/* Desktop only */
@media (min-width: 1024px) {
    .logo-img {
        max-width: 550px;
           max-height: 400px;
        content: url("media/logo-white.png");
    }

}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    display: flex;
    flex-wrap: wrap;
    gap: 0.3em;
    justify-content: center;
}

.word {
    display: inline-flex;
    overflow: hidden;
}

.char {
    display: inline-block;
    opacity: 0;
    transform: translateY(100px);
    animation: charReveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes charReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 300;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1s forwards;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1.3s forwards;
}

/* ===== BUTTONS DARKER ===== */
.btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    text-decoration: none;
    color: white;
    background: rgba(0, 0, 0, 0.55);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-weight: 500;
}

.btn:hover {
    background: rgba(0, 0, 0, 0.8);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    letter-spacing: 2px;
    z-index: 10;
    opacity: 0;
    animation: fadeIn 1s ease-out 1.8s forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, 
        rgba(255, 255, 255, 0.7), 
        transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(10px);
        opacity: 0.3;
    }
}

/* ============================================
   WHO SECTION – FINAL COMPOSITION
   ============================================ */
 /* ============================================
           WHO SECTION - BEAUTIFUL ASYMMETRIC LAYOUT
           ============================================ */
        .who-section {
            padding: clamp(4rem, 10vw, 8rem) clamp(1rem, 4vw, 2rem);
            background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
            position: relative;
            overflow: hidden;
        }

        /* Decorative background element */
        .who-section::before {
            content: '';
            position: absolute;
            top: -10%;
            right: -5%;
            width: 500px;
            height: 500px;
  background: radial-gradient(
    circle,
    color-mix(in srgb, var(--primary) 18%, transparent),
    transparent
  );            border-radius: 50%;
            pointer-events: none;
        }

        .who-grid {
            max-width: 1400px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr;
            gap: 3rem;
            align-items: center;
            position: relative;
            z-index: 1;
        }

        /* Desktop: Text left, Images right */
        @media (min-width: 1024px) {
            .who-grid {
                grid-template-columns: 45fr 55fr;
                gap: 5rem;
            }
        }

        /* ---------- TEXT ---------- */
        .who-text {
            animation: slideInLeft 0.8s ease-out;
        }

        .who-title {
            font-size: clamp(2.2rem, 5vw, 3.8rem);
            font-weight: 800;
            line-height: 1.15;
            margin-bottom: 2rem;
            color: #1A1A1A;
            position: relative;
            display: inline-block;
        }

        .who-title::after {
            content: '';
            position: absolute;
            bottom: -12px;
            left: 0;
            width: 80px;
            height: 5px;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
            border-radius: 3px;
        }

        .who-text p {
            font-size: clamp(1rem, 2.5vw, 1.15rem);
            line-height: 1.85;
            color: #555;
            margin-bottom: 1.5rem;
            opacity: 0;
            animation: fadeIn 0.8s ease-out forwards;
        }

        .who-text p:nth-of-type(1) { animation-delay: 0.2s; }
        .who-text p:nth-of-type(2) { animation-delay: 0.35s; }
        .who-text p:nth-of-type(3) { animation-delay: 0.5s; }

        /* ---------- IMAGES - BEAUTIFUL ASYMMETRIC GRID ---------- */
        .who-images {
            display: grid;
            gap: 1.5rem;
            grid-template-columns: 1fr;
        }

        /* Mobile - 2 column grid */
        @media (min-width: 640px) {
            .who-images {
                grid-template-columns: repeat(2, 1fr);
                grid-template-rows: repeat(2, 1fr);
            }
        }

        /* Desktop - Beautiful asymmetric layout */
        @media (min-width: 1024px) {
            .who-images {
                grid-template-columns: repeat(2, 1fr);
                grid-template-rows: 240px 200px;
                gap: 1.25rem;
            }
        }

        .who-image-card {
            position: relative;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
            transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
            background: #f0f0f0;
            height: 220px;
        }

        @media (min-width: 640px) {
            .who-image-card {
                height: 100%;
            }
        }

        /* Desktop: First image spans 2 rows (tall) */
        @media (min-width: 1024px) {
            .who-image-card:nth-child(1) {
                grid-row: span 2;
            }
        }

        .who-image-card::before {
            content: '';
            position: absolute;
            inset: 0;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--primary-dark) 70%, transparent),
    color-mix(in srgb, var(--primary) 70%, transparent)
  );            opacity: 0;
            transition: opacity 0.4s ease;
            z-index: 1;
        }

        .who-image-card:hover::before {
            opacity: 1;
        }

        .who-image-card:hover {
            transform: translateY(-12px) scale(1.02);
  box-shadow: 0 25px 60px color-mix(in srgb, var(--primary) 30%, transparent);
        }

        .who-image-card img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
        }

        .who-image-card:hover img {
            transform: scale(1.15);
        }

        /* Image Label - Always visible, enhanced on hover */
        .image-label {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 1.5rem;
       background: linear-gradient(
    to top,
    color-mix(in srgb, var(--primary-dark) 90%, #000 10%) 0%,
    color-mix(in srgb, var(--primary) 75%, transparent) 60%,
    transparent 100%
  );
            color: white;
            font-size: 1.05rem;
            font-weight: 700;
            letter-spacing: 0.3px;
            z-index: 2;
            transition: all 0.4s ease;
        }

        .who-image-card:hover .image-label {
            background: linear-gradient(to top, 
                rgba(0, 102, 204, 0.95) 0%, 
                rgba(0, 168, 232, 0.8) 60%,
                transparent 100%);
            padding: 2rem 1.5rem;
        }

        /* Decorative corner accent */
        .image-label::before {
            content: '';
            position: absolute;
            top: 0;
            left: 1.5rem;
            width: 40px;
            height: 3px;
  background: var(--primary);
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.4s ease 0.1s;
        }

        .who-image-card:hover .image-label::before {
            transform: scaleX(1);
        }

        /* Animations */
        @keyframes slideInLeft {
            from {
                opacity: 0;
                transform: translateX(-50px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Mobile: Text first, then images below */
        @media (max-width: 1023px) {
            .who-grid {
                grid-template-columns: 1fr;
            }
            
            .who-images {
                margin-top: 1rem;
            }

            .who-title::after {
                width: 60px;
                height: 4px;
            }
        }

   /* ============================================
           PILLARS SECTION - FIXED
           ============================================ */
        .pillars-section {
            padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 4vw, 2rem);
            background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
            overflow: visible;
        }

        .pillars-container {
            max-width: 1400px;
            margin: 0 auto;
        }

        /* Header */
        .pillars-header {
            text-align: center;
            margin-bottom: 3rem;
        }

        .pillars-title {
            font-size: clamp(2rem, 5vw, 3rem);
            font-weight: 800;
            color: #1A1A1A;
            margin-bottom: 1.5rem;
        }

        .pillars-intro {
            font-size: clamp(1rem, 2.5vw, 1.125rem);
            color: #666666;
            line-height: 1.8;
            max-width: 800px;
            margin: 0 auto;
        }

        /* Pillar Grid */
        .pillar-system {
            display: grid;
            grid-template-columns: 1fr;
            gap: 1.5rem;
            margin-bottom: 2rem;
            position: relative;
        }

        @media (min-width: 768px) {
            .pillar-system {
                grid-template-columns: repeat(2, 1fr);
                gap: 2rem;
            }
        }

        @media (min-width: 1024px) {
            .pillar-system {
                grid-template-columns: repeat(4, 1fr);
                gap: 2rem;
            }
        }

        /* Pillar Cards */
        .pillar-module {
            background: white;
            border-radius: 24px;
            padding: 2rem;
            cursor: pointer;
            position: relative;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid color-mix(in srgb, var(--primary-dark) 14%, transparent);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
            display: flex;
            flex-direction: column;
            min-height: 280px;
        }

        .pillar-module::before {
            content: '';
            position: absolute;
            inset: -2px;
            border-radius: 24px;
  background: var(--brand-grad);
            opacity: 0;
            transition: opacity 0.4s ease;
            z-index: -1;
        }

        .pillar-module:hover {
            transform: translateY(-8px);
  box-shadow: 0 15px 50px color-mix(in srgb, var(--primary) 22%, transparent);
            border-color: transparent;
        }

        .pillar-module:hover::before {
            opacity: 1;
        }

        .pillar-module.active {
            border-color: transparent;
            transform: translateY(-8px) scale(1.02);
  background: var(--brand-grad-soft);
  box-shadow: 0 20px 60px color-mix(in srgb, var(--primary) 30%, transparent);        
}

        .pillar-module.active::before {
            opacity: 1;
        }

        .pillar-number {
            font-size: clamp(2rem, 4vw, 3rem);
            font-weight: 800;
            opacity: 0.4;
            margin-bottom: 1rem;
            transition: all 0.4s ease;
            line-height: 1;
              background: linear-gradient(135deg, var(--primary-light), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
        }

        .pillar-module.active .pillar-number,
        .pillar-module:hover .pillar-number {
            opacity: 1;
            transform: scale(1.1);
        }

        .pillar-title {
            font-size: clamp(1.1rem, 2vw, 1.4rem);
            font-weight: 700;
            color: #1A1A1A;
            margin-bottom: 1rem;
            line-height: 1.3;
            transition: color 0.4s ease;
        }

        .pillar-module.active .pillar-title {
  color: var(--primary-dark);
        }

        .pillar-desc {
            font-size: clamp(0.9rem, 1.8vw, 1rem);
            color: #666666;
            line-height: 1.7;
            flex-grow: 1;
        }

        /* Detail Panel - FULL WIDTH ON DESKTOP */
        .pillar-detail-panel {
            background: white;
            border-radius: 24px;
            padding: 0;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
            max-height: 0;
            overflow: hidden;
            opacity: 0;
            transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  border: 2px solid color-mix(in srgb, var(--primary-dark) 14%, transparent);
            width: 100%;
            margin: 0 auto;
        }

        .pillar-detail-panel.visible {
            max-height: 3000px;
            opacity: 1;
            margin-top: 2rem;
            padding: 3rem;
        }

        .detail-content {
            display: none;
            gap: 2rem;
            width: 100%;
        }

        .detail-content.active {
            display: grid;
            grid-template-columns: 1fr;
        }

        @media (min-width: 640px) {
            .detail-content.active {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (min-width: 1024px) {
            .detail-content.active {
                grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            }
        }

        .detail-column {
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--primary-dark) 6%, transparent),
    color-mix(in srgb, var(--primary) 6%, transparent)
  );
  border: 1px solid color-mix(in srgb, var(--primary-dark) 10%, transparent);            padding: 2rem;
            border-radius: 16px;
            transition: all 0.4s ease;
            position: relative;
            overflow: hidden;
        }

        .detail-column::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, #0066CC, #00A8E8);
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.4s ease;
        }

        .detail-column:hover::before {
            transform: scaleX(1);
        }

        .detail-column:hover {
            background: linear-gradient(135deg, rgba(0, 102, 204, 0.08), rgba(0, 168, 232, 0.08));
            transform: translateY(-4px);
            border-color: rgba(0, 102, 204, 0.2);
            box-shadow: 0 8px 24px rgba(0, 102, 204, 0.1);
        }

        .detail-column h4 {
            font-size: clamp(1rem, 2vw, 1.2rem);
            font-weight: 700;
            color: #0066CC;
            margin-bottom: 1.25rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .detail-column h4::before {
            content: '●';
            color: #00A8E8;
            font-size: 0.6em;
        }

        .detail-column ul {
            list-style: none;
            padding: 0;
        }

        .detail-column li {
            font-size: clamp(0.85rem, 1.8vw, 0.95rem);
            color: #666666;
            padding: 0.5em 0;
            padding-left: 1.5em;
            position: relative;
            line-height: 1.6;
            transition: all 0.3s ease;
        }

        .detail-column li:hover {
            color: #1A1A1A;
            transform: translateX(4px);
        }

        .detail-column li::before {
            content: '→';
            position: absolute;
            left: 0;
            color: #4DA6FF;
            font-weight: 700;
            transition: transform 0.3s ease;
        }

        .detail-column li:hover::before {
            transform: translateX(4px);
            color: #0066CC;
        }

/* ============================================
   TECH SECTION - Card Grid
   ============================================ */
.tech-section {
    padding: var(--space-2xl) var(--space-md);
    background: var(--bg-white);
}

.tech-header {
    max-width: 900px;
    margin: 0 auto var(--space-xl);
    text-align: center;
}

.tech-title {
    font-size: var(--text-2xl);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: var(--space-md);
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--transition-smooth);
}

.tech-title.in-view {
    opacity: 1;
    transform: translateY(0);
}

.tech-intro {
    font-size: var(--text-base);
    color: var(--text-light);
    line-height: 1.8;
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--transition-smooth) 0.2s;
}

.tech-intro.in-view {
    opacity: 1;
    transform: translateY(0);
}

.tech-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

@media (min-width: 640px) {
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.tech-card {
    background: white;
    padding: var(--space-lg);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all var(--transition-base);
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.tech-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.tech-card:hover::after {
    transform: scaleX(1);
}

.tech-card.in-view {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.tech-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 50px rgba(0, 102, 204, 0.15);
}

.tech-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.1), rgba(0, 168, 232, 0.1));
    border-radius: 16px;
    margin-bottom: var(--space-md);
    color: var(--primary);
    transition: all var(--transition-base);
}

.tech-card:hover .tech-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
}

.tech-card h3 {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--space-sm);
    line-height: 1.3;
}

.tech-card p {
    font-size: var(--text-sm);
    color: var(--text-light);
    line-height: 1.6;
}

/* ============================================
   VALUES SECTION
   ============================================ */
.values-section {
    padding: var(--space-2xl) var(--space-md);
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-white) 100%);
}

.values-header {
    max-width: 900px;
    margin: 0 auto var(--space-xl);
    text-align: center;
}

.values-title {
    font-size: var(--text-2xl);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: var(--space-md);
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--transition-smooth);
}

.values-title.in-view {
    opacity: 1;
    transform: translateY(0);
}

.values-intro {
    font-size: var(--text-base);
    color: var(--text-light);
    line-height: 1.8;
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--transition-smooth) 0.2s;
}

.values-intro.in-view {
    opacity: 1;
    transform: translateY(0);
}

.values-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

@media (min-width: 640px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.value-item {
    background: white;
    padding: var(--space-lg);
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all var(--transition-base);
    opacity: 0;
    transform: translateY(30px) scale(0.95);
}

.value-item.in-view {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.value-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 50px rgba(0, 102, 204, 0.15);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.1), rgba(0, 168, 232, 0.1));
    border-radius: 50%;
    color: var(--primary);
    transition: all var(--transition-base);
}

.value-item:hover .value-icon {
    transform: scale(1.1) rotate(10deg);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.3);
}

.value-item h4 {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--space-sm);
}

.value-item p {
    font-size: var(--text-sm);
    color: var(--text-light);
    line-height: 1.6;
}

/* ============================================
   CTA SECTION - Animated Background
   ============================================ */
.cta-section {
    position: relative;
    padding: var(--space-2xl) var(--space-md);
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--accent) 100%);
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.cta-circle {
    position: absolute;
    border-radius: 50%;
  background: radial-gradient(
    circle,
    color-mix(in srgb, var(--primary) 22%, transparent),
    transparent
  );
      animation: float 20s infinite ease-in-out;
}

.cta-circle:nth-child(1) {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.cta-circle:nth-child(2) {
    width: 400px;
    height: 400px;
    bottom: -150px;
    right: -150px;
    animation-delay: -7s;
}

.cta-circle:nth-child(3) {
    width: 250px;
    height: 250px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: var(--text-2xl);
    font-weight: 800;
    color: white;
    margin-bottom: var(--space-lg);
    line-height: 1.3;
    animation: fadeInUp 1s var(--transition-smooth);
}

.cta-btn {
    display: inline-block;
    padding: clamp(1rem, 3vw, 1.25rem) clamp(2rem, 6vw, 3rem);
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--bg-dark);
    background: white;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    transition: all var(--transition-base);
    animation: fadeInUp 1s 0.3s var(--transition-smooth) backwards;
    position: relative;
    overflow: hidden;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-btn:hover::before {
    width: 300px;
    height: 300px;
}

.cta-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    color: white;
}

.cta-btn span {
    position: relative;
    z-index: 1;
}

/* ============================================
   FOOTER - Responsive Grid
   ============================================ */
footer {
  background: linear-gradient(
    to top,
    color-mix(in srgb, var(--accent) 75%, #000 25%) 0%,
    color-mix(in srgb, var(--accent) 55%, var(--primary-dark) 45%) 50%,
    color-mix(in srgb, var(--primary-dark) 55%, transparent) 100%
  );
    color: rgba(255, 255, 255, 0.85);
    padding: var(--space-2xl) var(--space-md) var(--space-lg);
    position: relative;
    overflow: hidden;
}

.footer-section p,
.footer-brand p {
    opacity: 0.85;
}

.footer-grid {
    max-width: 1400px;
    margin: 0 auto var(--space-xl);
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}
.footer-logo {
    max-width: 220px;
    margin-bottom: var(--space-md);
    filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.35));
}
.footer-section h4 {
    color: white;
    letter-spacing: 0.04em;
}

    .footer-logo {
    opacity: 0.9;
}

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.footer-brand h2 {
    font-size: var(--text-xl);
    font-weight: 800;
    color: white;
    margin-bottom: var(--space-sm);
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    font-size: var(--text-sm);
    line-height: 1.7;
    opacity: 0.7;
}

.footer-section h4 {
    font-size: var(--text-base);
    font-weight: 700;
    color: white;
    margin-bottom: var(--space-sm);
}

.footer-section p {
    font-size: var(--text-sm);
    line-height: 1.8;
    opacity: 0.7;
    margin-bottom: 0.5em;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: var(--text-xs);
    opacity: 0.5;
}

/* ============================================
   UTILITIES & MOBILE OPTIMIZATIONS
   ============================================ */

/* Touch-friendly tap targets */
@media (hover: none) and (pointer: coarse) {
    .btn,
    .pillar-module,
    .tech-card,
    .value-item {
        min-height: 44px;
    }
}



/* High contrast mode support */
@media (prefers-contrast: high) {
    .pillar-module,
    .tech-card,
    .value-item {
        border: 2px solid currentColor;
    }
}

/* Dark mode support (optional future enhancement) */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-white: #1A1A1A;
        --bg-light: #2A2A2A;
        --text-dark: #FFFFFF;
        --text-light: #CCCCCC;
    }
}

/* Loading state */
.loading {
    opacity: 0;
}

.loaded {
    animation: fadeIn 0.6s forwards;
}

/* Focus visible for keyboard navigation */
:focus-visible {
    outline: 3px solid var(--primary-light);
    outline-offset: 4px;
}

/* Selection styling */
::selection {
    background: var(--primary-light);
    color: white;
}

/* Smooth scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ============================================
   RESPONSIVE BREAKPOINTS SUMMARY
   Mobile First: 320px - 639px (default)
   Tablet: 640px - 1023px
   Desktop: 1024px+
   ============================================ */



      /* Animated Background */
        .contact-section {
            min-height: 100vh;
            padding: clamp(4rem, 8vh, 5rem) clamp(1rem, 5vw, 2rem);
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--accent) 50%, var(--bg-dark) 100%);
            overflow: hidden;
        }

        .contact-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(circle at 20% 50%, rgba(0, 168, 232, 0.1) 0%, transparent 50%),
                        radial-gradient(circle at 80% 80%, rgba(0, 102, 204, 0.1) 0%, transparent 50%);
            animation: pulse 8s ease-in-out infinite;
        }

        @keyframes pulse {
            0%, 100% { opacity: 0.5; }
            50% { opacity: 1; }
        }

        .floating-shapes {
            position: absolute;
            width: 100%;
            height: 100%;
            overflow: hidden;
            pointer-events: none;
        }

        .shape {
            position: absolute;
            opacity: 0.1;
            animation: float 20s infinite ease-in-out;
        }

        .shape:nth-child(1) {
            top: 10%;
            left: 10%;
            width: 100px;
            height: 100px;
            background: linear-gradient(135deg, var(--primary-light), var(--accent));
            border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
            animation-delay: 0s;
        }

        .shape:nth-child(2) {
            top: 60%;
            right: 15%;
            width: 150px;
            height: 150px;
            background: linear-gradient(135deg, var(--accent), var(--primary));
            border-radius: 70% 30% 30% 70% / 60% 40% 60% 40%;
            animation-delay: -7s;
        }

        .shape:nth-child(3) {
            bottom: 20%;
            left: 20%;
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, var(--primary), var(--primary-light));
            border-radius: 50%;
            animation-delay: -14s;
        }

        @keyframes float {
            0%, 100% {
                transform: translate(0, 0) rotate(0deg);
            }
            33% {
                transform: translate(30px, -30px) rotate(120deg);
            }
            66% {
                transform: translate(-20px, 20px) rotate(240deg);
            }
        }

        .contact-container {
            max-width: 1400px;
            margin: 0 auto;
            position: relative;
            z-index: 1;
        }

        .contact-header {
            text-align: center;
            margin-bottom: clamp(3rem, 6vw, 5rem);
            opacity: 0;
            animation: fadeInUp 0.8s ease forwards 0.2s;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .contact-title {
            font-size: clamp(2.5rem, 6vw, 4rem);
            font-weight: 800;
            color: white;
            margin-bottom: 1rem;
            line-height: 1.1;
            letter-spacing: -0.02em;
        }

        .contact-subtitle {
            font-size: clamp(1rem, 2vw, 1.25rem);
            color: rgba(255, 255, 255, 0.8);
            line-height: 1.6;
            max-width: 700px;
            margin: 0 auto;
        }

        .contact-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 2rem;
            opacity: 0;
            animation: fadeInUp 0.8s ease forwards 0.4s;
        }

        @media (min-width: 1024px) {
            .contact-grid {
                grid-template-columns: 1fr 1.5fr;
                gap: 3rem;
            }
        }

        .contact-info {
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(20px);
            padding: clamp(2rem, 4vw, 3rem);
            border-radius: 24px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .contact-info:hover {
            background: rgba(255, 255, 255, 0.08);
            transform: translateY(-5px);
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
        }

        .contact-info h3 {
            font-size: clamp(1.5rem, 2.5vw, 2rem);
            color: white;
            margin-bottom: 2rem;
            font-weight: 700;
        }

        .info-item {
            display: flex;
            align-items: flex-start;
            gap: 1.5rem;
            margin-bottom: 2rem;
            padding: 1rem;
            border-radius: 12px;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .info-item:hover {
            background: rgba(255, 255, 255, 0.05);
            transform: translateX(8px);
        }

        .info-icon {
            width: 56px;
            height: 56px;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 16px;
            flex-shrink: 0;
            transition: all 0.3s ease;
            box-shadow: 0 8px 24px rgba(0, 102, 204, 0.3);
        }

        .info-item:hover .info-icon {
            transform: scale(1.1) rotate(5deg);
            box-shadow: 0 12px 32px rgba(0, 102, 204, 0.4);
        }

        .info-content h4 {
            font-size: 1.1rem;
            color: white;
            margin-bottom: 0.5rem;
            font-weight: 600;
        }

        .info-content p {
            font-size: 1rem;
            color: rgba(255, 255, 255, 0.7);
            line-height: 1.6;
        }

        .contact-form-wrapper {
            background: white;
            padding: clamp(2rem, 4vw, 3rem);
            border-radius: 24px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
            transition: all 0.4s ease;
        }

        .contact-form-wrapper:hover {
            box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
        }

        .form-group {
            margin-bottom: 1.5rem;
            position: relative;
        }

        .form-group label {
            display: block;
            font-size: 0.95rem;
            font-weight: 600;
            color: var(--text-dark);
            margin-bottom: 0.5rem;
            transition: color 0.3s ease;
        }

        .form-group label .required {
            color: var(--error);
        }

        .form-group input,
        .form-group textarea,
        .form-group select {
            width: 100%;
            padding: 1rem 1.2rem;
            border: 2px solid rgba(0, 0, 0, 0.1);
            background: var(--bg-light);
            font-size: 1rem;
            font-family: inherit;
            border-radius: 12px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .form-group input:hover,
        .form-group textarea:hover,
        .form-group select:hover {
            border-color: rgba(0, 102, 204, 0.3);
            background: white;
        }

        .form-group input:focus,
        .form-group textarea:focus,
        .form-group select:focus {
            outline: none;
            border-color: var(--primary);
            background: white;
            box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
            transform: translateY(-2px);
        }

        .form-group.error input,
        .form-group.error textarea,
        .form-group.error select {
            border-color: var(--error);
            animation: shake 0.5s ease;
        }

        @keyframes shake {
            0%, 100% { transform: translateX(0); }
            25% { transform: translateX(-10px); }
            75% { transform: translateX(10px); }
        }

        .form-group.success input,
        .form-group.success textarea,
        .form-group.success select {
            border-color: var(--success);
        }

        .error-message {
            color: var(--error);
            font-size: 0.85rem;
            margin-top: 0.5rem;
            display: none;
            animation: slideDown 0.3s ease;
        }

        .form-group.error .error-message {
            display: block;
        }

        @keyframes slideDown {
            from {
                opacity: 0;
                transform: translateY(-10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .char-counter {
            font-size: 0.85rem;
            color: var(--text-light);
            text-align: right;
            margin-top: 0.5rem;
        }

        .char-counter.warning {
            color: var(--warning);
        }

        .char-counter.error {
            color: var(--error);
        }

        .form-group textarea {
            min-height: 150px;
            resize: vertical;
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }

        @media (min-width: 640px) {
            .form-row {
                grid-template-columns: 1fr 1fr;
            }
        }

        .submit-btn {
            width: 100%;
            padding: 1.25rem 2rem;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            color: white;
            border: none;
            border-radius: 12px;
            font-size: 1.1rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
            box-shadow: 0 8px 24px rgba(0, 102, 204, 0.3);
        }

        .submit-btn::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.3);
            transform: translate(-50%, -50%);
            transition: width 0.6s, height 0.6s;
        }

        .submit-btn:hover:not(:disabled)::before {
            width: 400px;
            height: 400px;
        }

        .submit-btn:hover:not(:disabled) {
            transform: translateY(-3px);
            box-shadow: 0 12px 36px rgba(0, 102, 204, 0.4);
        }

        .submit-btn:active:not(:disabled) {
            transform: translateY(-1px);
        }

        .submit-btn:disabled {
            opacity: 0.7;
            cursor: not-allowed;
            transform: none !important;
        }

        .submit-btn span {
            position: relative;
            z-index: 1;
        }

        .alert {
            padding: 1.2rem 1.5rem;
            margin-bottom: 1.5rem;
            border-radius: 12px;
            font-size: 1rem;
            font-weight: 500;
            display: none;
            animation: slideInDown 0.4s ease;
        }

        @keyframes slideInDown {
            from {
                opacity: 0;
                transform: translateY(-20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .alert.show {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .alert-success {
            background: rgba(16, 185, 129, 0.1);
            color: #065F46;
            border: 2px solid var(--success);
        }

        .alert-error {
            background: rgba(239, 68, 68, 0.1);
            color: #991B1B;
            border: 2px solid var(--error);
        }

        .loading-spinner {
            display: inline-block;
            width: 18px;
            height: 18px;
            border: 3px solid rgba(255, 255, 255, 0.3);
            border-top-color: white;
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
            margin-right: 8px;
            vertical-align: middle;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        /* Progress Bar */
        .form-progress {
            height: 4px;
            background: rgba(0, 102, 204, 0.1);
            border-radius: 2px;
            margin-bottom: 2rem;
            overflow: hidden;
        }

        .form-progress-bar {
            height: 100%;
            background: linear-gradient(90deg, var(--primary), var(--accent));
            width: 0;
            transition: width 0.4s ease;
            border-radius: 2px;
        }

        /* Floating Labels Effect */
        .form-group.focused label,
        .form-group.filled label {
            color: var(--primary);
            transform: translateY(-2px);
        }