:root {
    --primary-blue: #3BB4D9;
    --primary-sky: #4CC9E8;
    --primary-dark: #1B1B2F;
    --accent-red: #E84855;
    --accent-teal: #3BB4D9;
    --cream-bg: #F8FAFB;
    --light-blue: #E8F7FB;
    --text-dark: #1B1B2F;
    --text-gray: #5A6B7A;
    --white: #FFFFFF;
    --orange: #FF8C42;
    --yellow-highlight: #FFE066;
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 10px 40px rgba(0, 0, 0, 0.1);
}

body { 
    font-family: 'Plus Jakarta Sans', sans-serif; 
    background: var(--cream-bg); 
    color: var(--text-dark); 
    
    /* ADD THIS LINE to prevent side-scrolling issues: */
    overflow-x: hidden; 
    width: 100%;
    
    line-height: 1.6;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { 
    font-family: 'Plus Jakarta Sans', sans-serif; 
    background: var(--cream-bg); 
    color: var(--text-dark); 
    overflow-x: hidden;
    line-height: 1.6;
}

.cta-btn { 
    display: inline-block; 
    text-decoration: none; 
    padding: 0.85rem 1.75rem; 
    background: #1B1B2F; 
    color: white; 
    font-weight: 800; 
    font-size: 0.85rem; 
    border-radius: 0; 
    box-shadow: 5px 5px 0 #E84855;
    letter-spacing: 0.3px;
    transition: all 0.2s ease;
    position: relative;
}

.cta-btn:hover {
    transform: translate(-3px, -3px);
    box-shadow: 8px 8px 0 #E84855;
}

.mobile-cta:hover {
    transform: translateX(-50%) !important;
    box-shadow: 5px 5px 0 #E84855;
}

.mobile-cta { display: none; }
.mobile-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 10px; }
.mobile-toggle span { width: 24px; height: 2.5px; background: var(--text-dark); border-radius: 2px; transition: all 0.3s ease; }

/* ============================================
   HERO - SKY BLUE GRADIENT
   ============================================ */
.hero { 
    min-height: 100vh; 
    background: linear-gradient(180deg, #4CC9E8 0%, #6DD5ED 40%, #B8E6F2 70%, var(--cream-bg) 100%); 
    position: relative; 
    padding: 140px 2rem 4rem; 
}

.hero-bg-pattern { 
    position: absolute; 
    inset: 0; 
    background-image: radial-gradient(circle at 2px 2px, rgba(255, 255, 255, 0.15) 1px, transparent 0); 
    background-size: 50px 50px; 
}

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

.hero-badge { 
    display: inline-block; 
    padding: 0.5rem 1.25rem; 
    background: white; 
    border-radius: 50px; 
    font-size: 0.85rem; 
    font-weight: 600; 
    margin-bottom: 1.5rem; 
    box-shadow: var(--shadow-soft); 
    color: var(--text-dark);
}

.hero-title { 
    font-size: clamp(2rem, 5vw, 3.5rem); 
    font-weight: 700; 
    line-height: 1.2; 
    margin-bottom: 1.25rem; 
    color: var(--text-dark);
}

.changing-text { 
    background: linear-gradient(135deg, #E84855, #FF6B6B); 
    background-clip: text;
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent;
}

.text-cursor { 
    display: inline-block; 
    width: 3px; 
    height: 1em; 
    background: var(--accent-red); 
    margin-left: 4px; 
    animation: blink 1s infinite; 
    vertical-align: middle; 
}

@keyframes blink { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0; } }

.hero-subtitle { 
    font-size: 1.1rem; 
    color: var(--text-gray); 
    max-width: 550px; 
    margin: 0 auto 2rem; 
}

.hero-cta { 
    position: relative; 
    display: inline-block; 
    text-decoration: none; 
    margin-bottom: 3rem; 
}

.hero-cta-content { 
    position: relative; 
    display: block; 
    padding: 1rem 2.5rem; 
    background: var(--primary-dark); 
    color: white; 
    font-weight: 600; 
    border-radius: 8px; 
    z-index: 2; 
    transition: transform 0.2s ease; 
}

.hero-cta-3d { 
    position: absolute; 
    top: 5px; 
    left: 5px; 
    right: -5px; 
    bottom: -5px; 
    background: var(--accent-red); 
    border-radius: 8px; 
    z-index: 1; 
}

.hero-cta:hover .hero-cta-content { 
    transform: translate(-3px, -3px); 
}

/* ============================================
   UPDATED HERO SECTION - TWO COLUMN LAYOUT
   Replace your existing hero CSS in styles.css with this code
   ============================================ */

/* ============================================
   HERO - TWO COLUMN LAYOUT
   ============================================ */
   .hero { 
    min-height: 100vh; 
    background: linear-gradient(180deg, #4CC9E8 0%, #6DD5ED 40%, #B8E6F2 70%, var(--cream-bg) 100%); 
    position: relative; 
    padding: 120px 2rem 4rem; 
    display: flex;
    align-items: center;
}

.hero-bg-pattern { 
    position: absolute; 
    inset: 0; 
    background-image: radial-gradient(circle at 2px 2px, rgba(255, 255, 255, 0.15) 1px, transparent 0); 
    background-size: 50px 50px; 
}

/* Two Column Container */
.hero-container {
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Left Column - Text */
.hero-text {
    max-width: 600px;
}

.hero-title { 
    font-size: clamp(2rem, 4vw, 3.2rem); 
    font-weight: 700; 
    line-height: 1.2; 
    margin-bottom: 1.5rem; 
    color: var(--text-dark);
}

.changing-text-wrapper {
    display: inline;
}

/* ============================================
   FIX FOR CHANGING TEXT JITTER
   ============================================ */

.changing-text-wrapper {
    display: inline-block;
    min-width: 360px; /* Reserves space for the longest word */
    text-align: left; /* Ensures text starts from the same spot */
    vertical-align: bottom; /* Aligns correctly with the line */
    white-space: nowrap; /* Prevents text from breaking onto a new line */
}

/* Mobile Adjustment */
@media (max-width: 768px) {
    .changing-text-wrapper {
        min-width: 220px; /* Smaller width for mobile font sizes */
    }
}

.changing-text { 
    background: linear-gradient(135deg, #E84855, #FF6B6B); 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
    background-clip: text;
}

.text-cursor { 
    display: inline-block; 
    width: 3px; 
    height: 1em; 
    background: var(--accent-red); 
    margin-left: 4px; 
    animation: blink 1s infinite; 
    vertical-align: middle; 
}

@keyframes blink { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0; } }

.hero-subtitle { 
    font-size: 1.15rem; 
    color: var(--text-gray); 
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-cta { 
    position: relative; 
    display: inline-block; 
    text-decoration: none; 
}

.hero-cta-content { 
    position: relative; 
    display: block; 
    padding: 1rem 2.5rem; 
    background: var(--primary-dark); 
    color: white; 
    font-weight: 600; 
    border-radius: 8px; 
    z-index: 2; 
    transition: transform 0.2s ease; 
}

.hero-cta-3d { 
    position: absolute; 
    top: 5px; 
    left: 5px; 
    right: -5px; 
    bottom: -5px; 
    background: var(--accent-red); 
    border-radius: 8px; 
    z-index: 1; 
}

.hero-cta:hover .hero-cta-content { 
    transform: translate(-3px, -3px); 
}

/* Right Column - Envelope Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* ============================================
   ENVELOPE ANIMATION STYLES
   ============================================ */

.animation-container {
    height: 600px; /* Keep your existing height */
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    perspective: 1200px;
    cursor: pointer;
    
    /* ✅ ADD THIS LINE TO MOVE IT DOWN */
    margin-top: 60px; /* Adjust this number (e.g., 40px, 80px) to move it lower */
    
    /* Alternatively, if margin messes up layout, use transform: */
    /* transform: translateY(40px); */
}

/* Glow effect */
.glow-effect {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 350px;
    background: radial-gradient(ellipse at center bottom, rgba(255,200,100,0.3) 0%, rgba(255,180,50,0.1) 40%, transparent 70%);
    filter: blur(20px);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.animation-container.hovered .glow-effect {
    opacity: 1;
}

/* Envelope */
.envelope {
    position: relative;
    width: 300px;
    height: 200px;
    transform-style: preserve-3d;
    transform: rotateX(15deg);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.animation-container.hovered .envelope {
    transform: rotateX(5deg) translateY(-15px);
}

.envelope-shadow {
    position: absolute;
    bottom: -24px;
    left: 50%;
    transform: translateX(-50%);
    width: 260px;
    height: 30px;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.15) 0%, transparent 70%);
    filter: blur(8px);
}

.envelope-back {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #e8e8e8 0%, #d0d0d0 100%);
    border-radius: 10px;
    transform: translateZ(-5px);
}

/* Letter inside envelope */
.envelope-letter {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 10px;
    height: 140px;
    background: white;
    border-radius: 6px 6px 0 0;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
    transform-origin: bottom center;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.5s;
}

.animation-container.hovered .envelope-letter {
    transform: translateY(-40px) rotateX(-5deg);
}

.letter-lines {
    padding: 20px;
}

.letter-line {
    height: 8px;
    background: #f5f5f5;
    border-radius: 4px;
    margin-bottom: 12px;
}

.letter-line:nth-child(1) { width: 80%; }
.letter-line:nth-child(2) { width: 100%; }
.letter-line:nth-child(3) { width: 60%; }
.letter-line:nth-child(4) { width: 80%; }

/* Envelope front */
.envelope-front {
    position: absolute;
    inset: 0;
    border-radius: 10px;
    overflow: hidden;
    z-index: 5;
}

.envelope-surface {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #fafafa 0%, #f0f0f0 50%, #e8e8e8 100%);
}

.envelope-fold {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
}

.envelope-fold svg {
    width: 100%;
    height: 100%;
}

.envelope-border {
    position: absolute;
    inset: 0;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.5);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    pointer-events: none;
    z-index: 6;
}

.envelope-shine {
    position: absolute;
    inset: 0;
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(255,255,255,0.3) 0%, transparent 30%);
    pointer-events: none;
    z-index: 7;
}

/* Envelope flap */
.envelope-flap {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 110px;
    transform-origin: top center;
    transform-style: preserve-3d;
    z-index: 10;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.animation-container.hovered .envelope-flap {
    transform: rotateX(-170deg);
}

.flap-front, .flap-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
}

.flap-front svg, .flap-back svg {
    width: 100%;
    height: 100%;
}

.flap-back {
    transform: rotateX(180deg);
}

/* Wax seal */
.wax-seal {
    position: absolute;
    left: 50%;
    top: 55px;
    margin-left: -28px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #ef4444 0%, #dc2626 40%, #b91c1c 100%);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3), inset 0 2px 4px rgba(255,255,255,0.2), inset 0 -2px 4px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 15;
    transition: transform 0.3s, opacity 0.3s;
}

.animation-container.hovered .wax-seal {
    transform: scale(0.7);
    opacity: 0.3;
}

.wax-seal-ring {
    position: absolute;
    inset: 4px;
    border: 2px solid rgba(153,27,27,0.4);
    border-radius: 50%;
}

.wax-seal-text {
    color: white;
    font-weight: bold;
    font-size: 18px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* 3D Cubes */
.cubes-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 20;
}

.cube {
    position: absolute;
    left: 50%;
    top: 50%;
    transform-style: preserve-3d;
    opacity: 0;
    transform: translate(-50%, -50%) translateY(50px) scale(0);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.animation-container.hovered .cube {
    opacity: 1;
}

.cube-face {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    backface-visibility: hidden;
}

.cube-face.front {
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.cube-face.front::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, transparent 50%);
    pointer-events: none;
}

.cube-icon {
    font-size: 24px;
}

.cube-label {
    font-size: 8px;
    font-weight: 600;
    margin-top: 4px;
    text-align: center;
    white-space: nowrap;
}

/* Individual cube animations - positions when hovered */
.animation-container.hovered .cube-1 {
    transform: translate(calc(-50% - 140px), calc(-50% - 180px)) rotateX(-15deg) rotateY(20deg) rotateZ(-10deg) scale(1);
    transition-delay: 0.05s;
}
.animation-container.hovered .cube-2 {
    transform: translate(calc(-50% + 180px), calc(-50% - 120px)) rotateX(10deg) rotateY(-15deg) rotateZ(8deg) scale(1);
    transition-delay: 0.15s;
}
.animation-container.hovered .cube-3 {
    transform: translate(calc(-50% + 80px), calc(-50% - 200px)) rotateX(-10deg) rotateY(15deg) rotateZ(5deg) scale(1);
    transition-delay: 0.08s;
}
.animation-container.hovered .cube-4 {
    transform: translate(calc(-50% + 160px), calc(-50% - 260px)) rotateX(5deg) rotateY(-20deg) rotateZ(-5deg) scale(1);
    transition-delay: 0.12s;
}
.animation-container.hovered .cube-5 {
    transform: translate(calc(-50% - 100px), calc(-50% - 280px)) rotateX(-8deg) rotateY(12deg) rotateZ(3deg) scale(1);
    transition-delay: 0.03s;
}
.animation-container.hovered .cube-6 {
    transform: translate(calc(-50% + 220px), calc(-50% - 180px)) rotateX(12deg) rotateY(-18deg) rotateZ(-8deg) scale(1);
    transition-delay: 0.18s;
}
.animation-container.hovered .cube-7 {
    transform: translate(calc(-50% + 120px), calc(-50% - 320px)) rotateX(-5deg) rotateY(10deg) rotateZ(12deg) scale(1);
    transition-delay: 0.1s;
}
.animation-container.hovered .cube-8 {
    transform: translate(calc(-50% - 60px), calc(-50% - 100px)) rotateX(15deg) rotateY(-10deg) rotateZ(-15deg) scale(1);
    transition-delay: 0.02s;
}
.animation-container.hovered .cube-9 {
    transform: translate(calc(-50% + 200px), calc(-50% - 300px)) rotateX(-12deg) rotateY(8deg) rotateZ(5deg) scale(1);
    transition-delay: 0.2s;
}
.animation-container.hovered .cube-10 {
    transform: translate(calc(-50% - 20px), calc(-50% - 220px)) rotateX(-10deg) rotateY(15deg) rotateZ(-5deg) scale(1);
    transition-delay: 0.06s;
}

/* Cube colors - Facebook */
.cube-facebook .front { background: linear-gradient(135deg, #4267B2 0%, #3b5998 100%); }
.cube-facebook .cube-icon, .cube-facebook .cube-label { color: white; }

/* Cube colors - Instagram */
.cube-instagram .front { background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.cube-instagram .cube-icon, .cube-instagram .cube-label { color: white; }

/* Cube colors - Google */
.cube-google .front { background: linear-gradient(135deg, #fff 0%, #f5f5f5 100%); border: 1px solid #e0e0e0; }
.cube-google .cube-icon { color: #FBBC05; }
.cube-google .cube-label { color: #333; }

/* Cube colors - YouTube */
.cube-youtube .front { background: linear-gradient(135deg, #fff 0%, #f5f5f5 100%); border: 1px solid #e0e0e0; }
.cube-youtube .cube-icon { color: #FF0000; }
.cube-youtube .cube-label { color: #333; }

/* Cube colors - LinkedIn */
.cube-linkedin .front { background: linear-gradient(135deg, #0077B5 0%, #005885 100%); }
.cube-linkedin .cube-icon, .cube-linkedin .cube-label { color: white; }

/* Cube colors - TikTok */
.cube-tiktok .front { background: linear-gradient(135deg, #000 0%, #111 100%); }
.cube-tiktok .cube-icon, .cube-tiktok .cube-label { color: white; }

/* Cube colors - X (Twitter) */
.cube-x .front { background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%); border: 1px solid #e0e0e0; }
.cube-x .cube-icon, .cube-x .cube-label { color: #000; }

/* Cube colors - Plus */
.cube-plus .front { background: linear-gradient(135deg, #00D4FF 0%, #0099CC 100%); }
.cube-plus .cube-icon { color: white; font-size: 20px; }

/* Cube colors - GX Brand */
.cube-gx .front { background: linear-gradient(135deg, #3BB4D9 0%, #1d4ed8 100%); }
.cube-gx .cube-icon { color: white; font-weight: bold; font-size: 20px; }

/* Side faces for depth */
.cube-face.left { background: rgba(0,0,0,0.1); }
.cube-face.right { background: rgba(0,0,0,0.05); }
.cube-face.top { background: rgba(255,255,255,0.2); }
.cube-face.bottom { background: rgba(0,0,0,0.15); }
.cube-face.back { background: inherit; }

/* ============================================
   RESPONSIVE - HERO TWO COLUMN LAYOUT
   ============================================ */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-text {
        max-width: 100%;
        order: 1;
    }
    
    .hero-visual {
        order: 2;
    }
    
    .hero-subtitle {
        max-width: 550px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .hero { 
        padding: 100px 1.5rem 3rem; 
    }
    
    .hero-title { 
        font-size: 1.75rem; 
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .animation-container {
        height: 400px;
        max-width: 100%;
    }
    
    .envelope {
        width: 240px;
        height: 160px;
    }
    
    .envelope-letter {
        left: 12px;
        right: 12px;
        top: 8px;
        height: 110px;
    }
    
    .letter-lines {
        padding: 15px;
    }
    
    .letter-line {
        height: 6px;
        margin-bottom: 10px;
    }
    
    .envelope-flap {
        height: 88px;
    }
    
    .wax-seal {
        width: 44px;
        height: 44px;
        margin-left: -22px;
        top: 44px;
    }
    
    .wax-seal-text {
        font-size: 14px;
    }
    
    .glow-effect {
        width: 300px;
        height: 280px;
    }
    
    /* Adjust cube positions for tablet */
    .animation-container.hovered .cube-1 {
        transform: translate(calc(-50% - 100px), calc(-50% - 140px)) rotateX(-15deg) rotateY(20deg) rotateZ(-10deg) scale(0.85);
    }
    .animation-container.hovered .cube-2 {
        transform: translate(calc(-50% + 130px), calc(-50% - 100px)) rotateX(10deg) rotateY(-15deg) rotateZ(8deg) scale(0.85);
    }
    .animation-container.hovered .cube-3 {
        transform: translate(calc(-50% + 60px), calc(-50% - 160px)) rotateX(-10deg) rotateY(15deg) rotateZ(5deg) scale(0.85);
    }
    .animation-container.hovered .cube-4 {
        transform: translate(calc(-50% + 120px), calc(-50% - 200px)) rotateX(5deg) rotateY(-20deg) rotateZ(-5deg) scale(0.85);
    }
    .animation-container.hovered .cube-5 {
        transform: translate(calc(-50% - 70px), calc(-50% - 220px)) rotateX(-8deg) rotateY(12deg) rotateZ(3deg) scale(0.85);
    }
    .animation-container.hovered .cube-6 {
        transform: translate(calc(-50% + 160px), calc(-50% - 140px)) rotateX(12deg) rotateY(-18deg) rotateZ(-8deg) scale(0.85);
    }
    .animation-container.hovered .cube-7 {
        transform: translate(calc(-50% + 90px), calc(-50% - 250px)) rotateX(-5deg) rotateY(10deg) rotateZ(12deg) scale(0.85);
    }
    .animation-container.hovered .cube-8 {
        transform: translate(calc(-50% - 40px), calc(-50% - 80px)) rotateX(15deg) rotateY(-10deg) rotateZ(-15deg) scale(0.85);
    }
    .animation-container.hovered .cube-9 {
        transform: translate(calc(-50% + 150px), calc(-50% - 240px)) rotateX(-12deg) rotateY(8deg) rotateZ(5deg) scale(0.85);
    }
    .animation-container.hovered .cube-10 {
        transform: translate(calc(-50% - 10px), calc(-50% - 180px)) rotateX(-10deg) rotateY(15deg) rotateZ(-5deg) scale(0.85);
    }
}

@media (max-width: 480px) {
    .hero-title { 
        font-size: 1.5rem; 
    }
    
    .animation-container {
        height: 350px;
    }
    
    .envelope {
        width: 200px;
        height: 133px;
    }
    
    .envelope-letter {
        left: 10px;
        right: 10px;
        top: 6px;
        height: 90px;
    }
    
    .letter-lines {
        padding: 12px;
    }
    
    .letter-line {
        height: 5px;
        margin-bottom: 8px;
    }
    
    .envelope-flap {
        height: 73px;
    }
    
    .wax-seal {
        width: 36px;
        height: 36px;
        margin-left: -18px;
        top: 36px;
    }
    
    .wax-seal-text {
        font-size: 12px;
    }
    
    .cube-icon {
        font-size: 18px;
    }
    
    .cube-label {
        font-size: 6px;
    }
    
    /* Further reduce cube spread on very small screens */
    .animation-container.hovered .cube-1 {
        transform: translate(calc(-50% - 70px), calc(-50% - 110px)) rotateX(-15deg) rotateY(20deg) rotateZ(-10deg) scale(0.7);
    }
    .animation-container.hovered .cube-2 {
        transform: translate(calc(-50% + 100px), calc(-50% - 80px)) rotateX(10deg) rotateY(-15deg) rotateZ(8deg) scale(0.7);
    }
    .animation-container.hovered .cube-3 {
        transform: translate(calc(-50% + 45px), calc(-50% - 130px)) rotateX(-10deg) rotateY(15deg) rotateZ(5deg) scale(0.7);
    }
    .animation-container.hovered .cube-4 {
        transform: translate(calc(-50% + 90px), calc(-50% - 160px)) rotateX(5deg) rotateY(-20deg) rotateZ(-5deg) scale(0.7);
    }
    .animation-container.hovered .cube-5 {
        transform: translate(calc(-50% - 50px), calc(-50% - 170px)) rotateX(-8deg) rotateY(12deg) rotateZ(3deg) scale(0.7);
    }
    .animation-container.hovered .cube-6 {
        transform: translate(calc(-50% + 120px), calc(-50% - 110px)) rotateX(12deg) rotateY(-18deg) rotateZ(-8deg) scale(0.7);
    }
    .animation-container.hovered .cube-7 {
        transform: translate(calc(-50% + 70px), calc(-50% - 190px)) rotateX(-5deg) rotateY(10deg) rotateZ(12deg) scale(0.7);
    }
    .animation-container.hovered .cube-8 {
        transform: translate(calc(-50% - 30px), calc(-50% - 60px)) rotateX(15deg) rotateY(-10deg) rotateZ(-15deg) scale(0.7);
    }
    .animation-container.hovered .cube-9 {
        transform: translate(calc(-50% + 110px), calc(-50% - 180px)) rotateX(-12deg) rotateY(8deg) rotateZ(5deg) scale(0.7);
    }
    .animation-container.hovered .cube-10 {
        transform: translate(calc(-50% - 5px), calc(-50% - 140px)) rotateX(-10deg) rotateY(15deg) rotateZ(-5deg) scale(0.7);
    }
}

/* ============================================
   RESPONSIVE - ENVELOPE ANIMATION
   ============================================ */
@media (max-width: 768px) {
    .animation-container {
        height: 400px;
        max-width: 100%;
    }
    
    .envelope {
        width: 240px;
        height: 160px;
    }
    
    .envelope-letter {
        left: 12px;
        right: 12px;
        top: 8px;
        height: 110px;
    }
    
    .letter-lines {
        padding: 15px;
    }
    
    .letter-line {
        height: 6px;
        margin-bottom: 10px;
    }
    
    .envelope-flap {
        height: 88px;
    }
    
    .wax-seal {
        width: 44px;
        height: 44px;
        margin-left: -22px;
        top: 44px;
    }
    
    .wax-seal-text {
        font-size: 14px;
    }
    
    .glow-effect {
        width: 300px;
        height: 280px;
    }
    
    /* Adjust cube positions for mobile */
    .animation-container.hovered .cube-1 {
        transform: translate(calc(-50% - 100px), calc(-50% - 140px)) rotateX(-15deg) rotateY(20deg) rotateZ(-10deg) scale(0.85);
    }
    .animation-container.hovered .cube-2 {
        transform: translate(calc(-50% + 130px), calc(-50% - 100px)) rotateX(10deg) rotateY(-15deg) rotateZ(8deg) scale(0.85);
    }
    .animation-container.hovered .cube-3 {
        transform: translate(calc(-50% + 60px), calc(-50% - 160px)) rotateX(-10deg) rotateY(15deg) rotateZ(5deg) scale(0.85);
    }
    .animation-container.hovered .cube-4 {
        transform: translate(calc(-50% + 120px), calc(-50% - 200px)) rotateX(5deg) rotateY(-20deg) rotateZ(-5deg) scale(0.85);
    }
    .animation-container.hovered .cube-5 {
        transform: translate(calc(-50% - 70px), calc(-50% - 220px)) rotateX(-8deg) rotateY(12deg) rotateZ(3deg) scale(0.85);
    }
    .animation-container.hovered .cube-6 {
        transform: translate(calc(-50% + 160px), calc(-50% - 140px)) rotateX(12deg) rotateY(-18deg) rotateZ(-8deg) scale(0.85);
    }
    .animation-container.hovered .cube-7 {
        transform: translate(calc(-50% + 90px), calc(-50% - 250px)) rotateX(-5deg) rotateY(10deg) rotateZ(12deg) scale(0.85);
    }
    .animation-container.hovered .cube-8 {
        transform: translate(calc(-50% - 40px), calc(-50% - 80px)) rotateX(15deg) rotateY(-10deg) rotateZ(-15deg) scale(0.85);
    }
    .animation-container.hovered .cube-9 {
        transform: translate(calc(-50% + 150px), calc(-50% - 240px)) rotateX(-12deg) rotateY(8deg) rotateZ(5deg) scale(0.85);
    }
    .animation-container.hovered .cube-10 {
        transform: translate(calc(-50% - 10px), calc(-50% - 180px)) rotateX(-10deg) rotateY(15deg) rotateZ(-5deg) scale(0.85);
    }
}

@media (max-width: 480px) {
    .animation-container {
        height: 350px;
    }
    
    .envelope {
        width: 200px;
        height: 133px;
    }
    
    .envelope-letter {
        left: 10px;
        right: 10px;
        top: 6px;
        height: 90px;
    }
    
    .letter-lines {
        padding: 12px;
    }
    
    .letter-line {
        height: 5px;
        margin-bottom: 8px;
    }
    
    .envelope-flap {
        height: 73px;
    }
    
    .wax-seal {
        width: 36px;
        height: 36px;
        margin-left: -18px;
        top: 36px;
    }
    
    .wax-seal-text {
        font-size: 12px;
    }
    
    .cube-icon {
        font-size: 18px;
    }
    
    .cube-label {
        font-size: 6px;
    }
    
    /* Further reduce cube spread on very small screens */
    .animation-container.hovered .cube-1 {
        transform: translate(calc(-50% - 70px), calc(-50% - 110px)) rotateX(-15deg) rotateY(20deg) rotateZ(-10deg) scale(0.7);
    }
    .animation-container.hovered .cube-2 {
        transform: translate(calc(-50% + 100px), calc(-50% - 80px)) rotateX(10deg) rotateY(-15deg) rotateZ(8deg) scale(0.7);
    }
    .animation-container.hovered .cube-3 {
        transform: translate(calc(-50% + 45px), calc(-50% - 130px)) rotateX(-10deg) rotateY(15deg) rotateZ(5deg) scale(0.7);
    }
    .animation-container.hovered .cube-4 {
        transform: translate(calc(-50% + 90px), calc(-50% - 160px)) rotateX(5deg) rotateY(-20deg) rotateZ(-5deg) scale(0.7);
    }
    .animation-container.hovered .cube-5 {
        transform: translate(calc(-50% - 50px), calc(-50% - 170px)) rotateX(-8deg) rotateY(12deg) rotateZ(3deg) scale(0.7);
    }
    .animation-container.hovered .cube-6 {
        transform: translate(calc(-50% + 120px), calc(-50% - 110px)) rotateX(12deg) rotateY(-18deg) rotateZ(-8deg) scale(0.7);
    }
    .animation-container.hovered .cube-7 {
        transform: translate(calc(-50% + 70px), calc(-50% - 190px)) rotateX(-5deg) rotateY(10deg) rotateZ(12deg) scale(0.7);
    }
    .animation-container.hovered .cube-8 {
        transform: translate(calc(-50% - 30px), calc(-50% - 60px)) rotateX(15deg) rotateY(-10deg) rotateZ(-15deg) scale(0.7);
    }
    .animation-container.hovered .cube-9 {
        transform: translate(calc(-50% + 110px), calc(-50% - 180px)) rotateX(-12deg) rotateY(8deg) rotateZ(5deg) scale(0.7);
    }
    .animation-container.hovered .cube-10 {
        transform: translate(calc(-50% - 5px), calc(-50% - 140px)) rotateX(-10deg) rotateY(15deg) rotateZ(-5deg) scale(0.7);
    }
}

/* ============================================
   PERFORMANCE CREATIVE - CLEAN WHITE
   ============================================ */
.performance-creative { 
    padding: 8rem 2rem; /* Increased padding from 6rem to 8rem */
    background: var(--cream-bg); 
}

.performance-creative .container { 
    max-width: 1100px; 
    margin: 0 auto; 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 4rem; 
    align-items: center; 
}

.creative-images { 
    display: flex; 
    gap: 2rem; /* Increased from 1.5rem to 2rem */
    justify-content: center; 
}

.creative-img-wrapper { 
    position: relative; 
}

.creative-img { 
    width: 220px; /* Increased from 160px to 220px */
    height: 330px; /* Increased from 240px to 330px */
    border-radius: 110px; /* Adjusted radius proportionally */
    box-shadow: var(--shadow-medium); 
    object-fit: cover;
    display: block;
    background-color: #e8e8e8;
}

.creative-img-wrapper:first-child { 
    transform: translateY(30px); 
}

.creative-label { 
    position: absolute; 
    bottom: -12px; 
    left: 50%; 
    transform: translateX(-50%); 
    padding: 0.5rem 1.5rem; /* Increased padding slightly */
    background: var(--primary-dark); 
    color: white; 
    border-radius: 50px; 
    font-size: 0.85rem; /* Slightly increased from 0.8rem */
    font-weight: 600; 
}

.performance-content h2 { 
    font-size: 2.25rem; 
    font-weight: 700; 
    line-height: 1.25; 
    margin-bottom: 1.25rem; 
}

.performance-content p { 
    font-size: 1.05rem; /* Increased from 1rem to 1.05rem */
    color: var(--text-gray); 
    line-height: 1.8; 
    margin-bottom: 1rem; /* Added margin for spacing between paragraphs */
}

/* ============================================
       MOBILE FIX: PERFORMANCE CREATIVE (TALL FRAMES)
       ============================================ */
    .performance-creative {
        padding: 4rem 1.5rem !important; /* Adjust padding for mobile */
    }

    .performance-creative .container { 
        display: flex;
        flex-direction: column;
        gap: 3rem; 
    }

    .creative-images { 
        order: -1; /* Keep images on top */
        display: flex; 
        flex-direction: row; /* Keep them side-by-side */
        justify-content: center;
        align-items: flex-start; /* Aligns them at the top */
        gap: 12px; /* Small gap to maximize width */
        width: 100%;
    }

    .creative-img-wrapper {
        width: 46%; /* Each image takes up slightly less than half the screen */
    }

    .creative-img {
        width: 100%;
        /* HERE IS THE FIX FOR "FRAME LENGTH" */
        height: 320px !important; /* Forces them to be TALL */
        object-fit: cover; /* Ensures image fills the tall frame without stretching */
        border-radius: 14px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1); /* Adds depth */
    }

    /* Keep the stylish offset (one lower than the other) */
    .creative-img-wrapper:first-child { 
        margin-top: 30px; /* Pushes the first image down slightly for that "designer" look */
    }
    
/* ============================================
   SUCCESS STORIES - WHITE BACKGROUND
   ============================================ */
/* BRAND MATRIX STYLES */
.brand-matrix-section {
    background: #08080a; /* Ultra-black for depth */
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.matrix-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(circle, rgba(76, 201, 232, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.matrix-header {
    text-align: center;
    margin-bottom: 60px;
}

.matrix-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #fff;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.gradient-text {
    background: linear-gradient(90deg, #4CC9E8, #E84855);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.matrix-subtitle {
    color: #888;
    font-size: 1.1rem;
    margin-top: 15px;
}

/* THE GRID ANIMATION */
.brand-matrix {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.brand-card {
    background: transparent; /* Removes the ugly box look */
    border: 1px solid rgba(255, 255, 255, 0.03); /* Softer, more premium border */
    height: 140px; /* Made slightly taller to fit logos perfectly */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #555;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    padding: 15px; /* Ensures logos never touch the edges */
}

/* Next-Level Hover Logic */
.brand-card:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: #4CC9E8;
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 20px rgba(76, 201, 232, 0.1);
}

.brand-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(76, 201, 232, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.brand-card:hover::after {
    transform: translateX(100%);
}

/* Brand Logo Images — Desktop */
.brand-logo {
    max-width: 90%; /* Increased so logo fills the space */
    max-height: 85px; /* Increased so logo fills the space */
    object-fit: contain;
    opacity: 0.5; /* Faded resting state */
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    filter: grayscale(100%); /* REMOVED brightness(2) to fix the white block issue */
}

.brand-card:hover .brand-logo {
    opacity: 1; /* Full opacity on hover */
    filter: grayscale(0%); /* Brings original colors back on hover */
    transform: scale(1.1); /* Nice pop effect */
}

/* Brand Logo Images — Mobile */
.brand-logo-mobile {
    max-width: 85%;
    max-height: 60px;
    object-fit: contain;
    opacity: 0.5;
    transition: all 0.4s ease;
    filter: grayscale(100%); /* REMOVED brightness(2) to fix mobile */
}

/* MOBILE VIEW ADAPTATION */
@media (max-width: 1024px) {
    .brand-matrix { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .brand-matrix { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 10px;
    }
    .brand-card {
        height: 100px;
        font-size: 0.9rem;
        /* Mobile Specific Animation: Auto-pulse */
        animation: mobilePulse 4s infinite ease-in-out;
    }
}

@keyframes mobilePulse {
    0%, 100% { border-color: rgba(255,255,255,0.05); }
    50% { border-color: rgba(76, 201, 232, 0.3); }
}
/* ============================================
   BRANDS SECTION - DARK NAVY
   ============================================ */
.brands-section { 
    background: linear-gradient(135deg, #1B1B2F, #252540); 
    padding: 6rem 2rem; /* Increased top padding for a "frame" feel */
    margin-top: 0; /* Remove the gap */
}

.brands-section .container { 
    max-width: 1200px; 
    margin: 0 auto; 
    text-align: center; 
}

.brands-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.brands-sparkle {
    font-size: 1.2rem;
}

.brands-label { 
    font-size: 0.85rem; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    color: var(--accent-red); 
    font-weight: 700; 
}

.brands-title { 
    font-size: 2rem; 
    color: white; 
    margin-bottom: 2.5rem;
    font-weight: 700;
}

.brands-carousel { 
    overflow: hidden; 
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); 
}

.brands-carousel-mobile { 
    display: none; 
    margin-top: 1rem; 
}

.brands-track { 
    display: flex; 
    gap: 1.5rem; 
    animation: scrollBrands 35s linear infinite; 
}

.brands-track-reverse { 
    animation-direction: reverse; 
}

@keyframes scrollBrands { 
    0% { transform: translateX(0); } 
    100% { transform: translateX(-50%); } 
}

.brand-item { 
    flex-shrink: 0; 
    padding: 0.85rem 2rem; 
    background: rgba(255, 255, 255, 0.08); 
    border-radius: 10px; 
    color: white; 
    font-weight: 700; 
    min-width: 140px; 
    text-align: center; 
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.25s ease;
}

.brand-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* ============================================
   CERTIFICATIONS - MAROON/DARK RED
   ============================================ */
/* ============================================
   CERTIFIED PARTNERS - SPLIT LAYOUT
   ============================================ */
.trust-hub-royal {
    padding: 100px 20px;
    background: linear-gradient(135deg, #2BA8CC 0%, #3BB4D9 50%, #4CC9E8 100%);
}

.royal-bg-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.trust-split-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* LEFT COLUMN - TEXT */
.trust-text-col {
    flex: 1;
    max-width: 550px;
}

.trust-headline {
    font-size: clamp(2.4rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.trust-highlight {
    color: #4CC9E8;
}

/* ROTATING HEADLINE KEYWORD EFFECT */
.trust-keyword-wrap {
    position: relative;
    display: inline-block;
}

.trust-keyword {
    color: #E84855;
    position: relative;
    display: inline-block;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.trust-keyword.fade-out {
    opacity: 0;
    transform: translateY(-10px);
}

.trust-keyword.fade-in {
    opacity: 0;
    transform: translateY(10px);
}

.keyword-underline {
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 12px;
    overflow: visible;
}

.keyword-underline path {
    stroke: #E84855 !important;
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: drawUnderline 0.8s ease forwards 0.3s;
}

.trust-keyword-wrap.redraw .keyword-underline path {
    stroke-dashoffset: 200;
    animation: drawUnderline 0.8s ease forwards 0.1s;
}

@keyframes drawUnderline {
    to { stroke-dashoffset: 0; }
}

.trust-rest {
    transition: opacity 0.4s ease;
}

.trust-rest.fade-out {
    opacity: 0;
}

.trust-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 480px;
}

.trust-cta {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    border: 2px solid #FFFFFF;
    border-radius: 50px;
    padding: 14px 32px;
    background: transparent;
    transition: all 0.3s ease;
}

.trust-cta .cta-btn-text {
    color: #FFFFFF;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.trust-cta:hover {
    background: #FFFFFF;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.trust-cta:hover .cta-btn-text {
    color: #3BB4D9;
}

/* RIGHT COLUMN - BADGES */
.trust-badges-col {
    flex: 1;
    max-width: 520px;
    display: flex;
    justify-content: center;
}

.trust-badges-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.trust-badge-card {
    background: #FFFFFF;
    border-radius: 18px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    width: 210px;
    height: 170px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.trust-badge-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
}

.badge-tilt-left {
    transform: rotate(-4deg);
}

.badge-tilt-right {
    transform: rotate(4deg);
}

.badge-tilt-left:hover {
    transform: rotate(0deg) translateY(-5px);
}

.badge-tilt-right:hover {
    transform: rotate(0deg) translateY(-5px);
}

.badge-icon-wrap {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-icon-wrap svg {
    width: 44px;
    height: 44px;
}

.badge-name {
    font-size: 1rem;
    font-weight: 700;
    color: #1B1B2F;
    line-height: 1.2;
}

.badge-tier {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #E84855;
    text-transform: uppercase;
}

/* MOBILE */
@media (max-width: 900px) {
    .trust-split-layout {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .trust-text-col {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .trust-desc {
        max-width: 100%;
    }

    .trust-badges-col {
        max-width: 100%;
    }

    .trust-badges-grid {
        gap: 14px;
    }

    .trust-badge-card {
        width: 160px;
        height: 140px;
        padding: 20px 16px;
    }

    .badge-icon-wrap svg {
        width: 36px;
        height: 36px;
    }

    .badge-name {
        font-size: 0.9rem;
    }
}

/* ============================================
   MOBILE TRANSFORMATION (Glass Strips)
   ============================================ */
@media (max-width: 900px) {
    .royal-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .glass-panel {
        flex-direction: row; /* Switch to horizontal strip */
        padding: 12px 20px;
        border-radius: 60px; /* Pill Shape */
        height: 80px;
        align-items: center;
        background: rgba(255, 255, 255, 0.05);
    }

    .panel-content {
        flex-direction: row;
        gap: 16px;
        align-items: center;
    }

    .panel-icon-box {
        width: 48px;
        height: 48px;
        border-radius: 50%; /* Circle on mobile */
        margin-bottom: 0;
        background: rgba(255, 255, 255, 0.1);
        border: none;
    }

    .panel-icon-box svg { width: 22px; height: 22px; }

    .panel-details {
        text-align: left;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .panel-details h4 {
        font-size: 1rem;
        margin-bottom: 2px;
    }

    .status-badge {
        background: transparent;
        border: none;
        padding: 0;
        font-size: 0.75rem;
        color: #94A3B8;
        justify-content: flex-start;
    }
    
    .status-badge .dot-online {
        background: #3BB4D9;
        box-shadow: none;
    }
}
/* ============================================
   GOALS SECTION - CLEAN WHITE
   ============================================ */
.goals-section { 
    padding: 5rem 2rem; 
    background: var(--cream-bg); 
}

.goals-section .container { 
    max-width: 1200px; 
    margin: 0 auto; 
}

.handwritten-note { 
    font-family: 'Caveat', cursive; 
    font-size: 1.35rem; 
    color: #555; 
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.arrow-down,
.arrow-right {
    font-family: 'Caveat', cursive;
}

.goals-header { 
    text-align: center; 
    margin-bottom: 3rem; 
}

.goals-header h2 { 
    font-size: 2.5rem; 
    font-weight: 800; 
    margin-bottom: 1.25rem;
    line-height: 1.3;
}

.highlight-box { 
    background: linear-gradient(to bottom, transparent 55%, var(--yellow-highlight) 55%); 
    padding: 0 0.3rem;
    display: inline;
}

.goals-desc { 
    font-size: 1.1rem; 
    color: var(--text-dark); 
    max-width: 800px; 
    margin: 0 auto;
    line-height: 1.7;
}

.goals-desc a { 
    color: var(--accent-red); 
    text-decoration: none; 
    font-weight: 600; 
}

.goals-visual { 
    display: grid; 
    grid-template-columns: 2fr 1fr; 
    gap: 2.5rem; 
    align-items: start; 
}

/* Chart Box */
.goals-chart-box { 
    background: white; 
    border: 3px solid var(--primary-dark); 
    border-radius: 20px; 
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.chart-legend { 
    display: flex; 
    gap: 2.5rem; 
    justify-content: center; 
    margin-bottom: 1.5rem; 
}

.legend-item { 
    display: flex; 
    align-items: center; 
    gap: 0.6rem; 
    font-size: 0.95rem; 
    font-weight: 600; 
}

.legend-box { 
    width: 24px; 
    height: 14px; 
    border-radius: 3px; 
}

.legend-box.goal { 
    background: var(--primary-blue); 
}

.legend-box.time { 
    background: #F4A5A5; 
}

.chart-wrapper {
    display: flex;
    flex-direction: column;
    position: relative;
}

.y-axis-labels {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 350px;
    padding-right: 0.75rem;
    font-size: 0.8rem;
    color: var(--text-gray);
    font-weight: 500;
    position: absolute;
    left: 0;
    top: 0;
}

.chart-main {
    position: relative;
    height: 350px;
    margin-left: 50px;
    border-left: 2px dashed #ddd;
    border-bottom: 2px dashed #ddd;
    overflow: visible;
}

.chart-grid {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.grid-line {
    border-top: 1px dashed #e5e5e5;
    width: 100%;
}

.chart-annotation {
    position: absolute;
    top: 28%;
    left: 3%;
    font-family: 'Caveat', cursive;
    font-size: 1.1rem;
    color: #333;
    line-height: 1.4;
    display: flex;
    flex-direction: column;
    z-index: 5;
}

.chart-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.chart-points {
    position: absolute;
    inset: 0;
}

.data-point {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    transform: translate(-50%, 50%);
}

.goal-point {
    background: var(--primary-blue);
    border: 2px solid white;
    box-shadow: 0 2px 6px rgba(59, 180, 217, 0.5);
}

.time-point {
    background: var(--accent-red);
    border: 2px solid white;
    box-shadow: 0 2px 6px rgba(232, 72, 85, 0.5);
}

.point-label {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    white-space: nowrap;
    margin-bottom: 4px;
}

.goal-label {
    background: var(--primary-blue);
    color: white;
}

.time-label {
    background: var(--accent-red);
    color: white;
}

.x-axis-labels {
    display: flex;
    justify-content: space-around;
    padding-top: 1rem;
    padding-left: 50px;
    font-size: 0.9rem;
    color: var(--text-gray);
    font-weight: 600;
}

/* Goal Cards */
.goals-cards { 
    display: flex; 
    flex-direction: column; 
    gap: 1.25rem; 
}

.goal-card-box { 
    background: white; 
    border: 3px solid var(--primary-dark); 
    border-radius: 16px; 
    padding: 1.75rem; 
    text-align: center; 
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.goal-card-box:hover { 
    transform: translateY(-4px); 
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08); 
}

.goal-card-box h4 { 
    font-size: 1.2rem; 
    font-weight: 800; 
    margin-bottom: 0.85rem; 
    color: var(--primary-dark); 
}

.goal-card-box p { 
    font-size: 0.95rem; 
    color: var(--text-gray); 
    line-height: 1.65; 
}

/* ============================================
   INDUSTRIES - DARK SECTION
   ============================================ */
/* ============================================
   REDEVELOPED INDUSTRIES - PREMIUM DARK
   ============================================ */
.industries-section { 
    background: #0D0D0F; 
    padding: 100px 2rem; 
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.industries-section h2 { 
    font-size: 2.5rem; 
    color: white; 
    text-align: center; 
    margin-bottom: 60px; 
    font-weight: 800;
    letter-spacing: -1px;
}

.industries-grid { 
    max-width: 1200px; 
    margin: 0 auto; 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 1.5rem; 
}

.industry-card { 
    padding: 40px; 
    background: rgba(255, 255, 255, 0.02); 
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    border-radius: 0; /* Professional sharp edges */
}

.industry-card:hover { 
    background: rgba(255, 255, 255, 0.04); 
    border-color: #3BB4D9;
    transform: translateY(-5px); 
}

.industry-card h4 { 
    font-size: 1.1rem; 
    color: #3BB4D9; 
    margin-bottom: 15px; 
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.industry-card p { 
    font-size: 0.95rem; 
    color: #A0A0A0; 
    line-height: 1.6;
}

/* ============================================
   GROWTH GRID - DATA DRIVEN
   ============================================ */
.growth-grid-section { 
    padding: 100px 2rem; 
    background: #FFFFFF; 
}

.growth-tagline {
    color: #E84855;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 10px;
}

.growth-header h2 { 
    font-size: 2.8rem; 
    font-weight: 800; 
    color: #1B1B2F;
    margin-bottom: 20px; 
}

.growth-description { 
    font-size: 1.1rem; 
    color: #5A6B7A; 
    max-width: 650px;
}

.kpi-tabs { 
    justify-content: flex-start;
    gap: 20px;
    margin: 40px 0;
    border-bottom: 1px solid #EEE;
}

.kpi-tab { 
    background: none;
    border: none;
    padding: 15px 0;
    font-weight: 700;
    color: #999;
    border-bottom: 3px solid transparent;
    border-radius: 0;
}

.kpi-tab.active { 
    color: #1B1B2F;
    border-bottom: 3px solid #3BB4D9;
}

/* Desktop-first Table Styling */
.growth-table thead th { 
    background: #F8F9FA;
    color: #1B1B2F;
    font-weight: 700;
    padding: 20px;
    border-bottom: 2px solid #EEE;
}

.growth-table tbody td {
    padding: 20px;
    border: none;
    border-bottom: 1px solid #F0F0F0;
    color: #444;
}

@media (max-width: 768px) {
    .industries-grid { grid-template-columns: 1fr; }
    .growth-header h2 { font-size: 2rem; }
}

/* ============================================
   GROWTH GRID - WHITE SECTION
   ============================================ */
.growth-grid-section { 
    padding: 5rem 2rem; 
    background: var(--cream-bg); 
}

.growth-grid-section .container { 
    max-width: 1000px; 
    margin: 0 auto; 
}

.growth-header { 
    text-align: center; 
    margin-bottom: 2.5rem; 
}

.growth-tagline {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.growth-header h2 { 
    font-size: 2rem; 
    font-weight: 800; 
    margin-bottom: 1.25rem; 
}

.growth-header h2 .highlight { 
    background: linear-gradient(to bottom, transparent 55%, var(--yellow-highlight) 55%);
    padding: 0 0.25rem;
}

.growth-description { 
    font-size: 1.1rem; 
    color: var(--text-gray); 
    margin-bottom: 0.75rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.growth-description a { 
    color: var(--accent-red); 
    text-decoration: none; 
    font-weight: 600; 
}

.growth-header .handwritten-note { 
    margin-top: 1rem;
    justify-content: center;
}

.kpi-tabs { 
    display: flex; 
    gap: 0.75rem; 
    justify-content: center; 
    flex-wrap: wrap; 
    margin-bottom: 2rem; 
}

.kpi-tab { 
    padding: 0.7rem 1.75rem; 
    background: white; 
    border: 2px solid #e5e7eb; 
    border-radius: 50px; 
    font-size: 0.95rem; 
    font-weight: 700; 
    cursor: pointer; 
    font-family: inherit;
    transition: all 0.25s ease;
}

.kpi-tab:hover { 
    border-color: var(--accent-red); 
}

.kpi-tab.active { 
    background: var(--accent-red); 
    border-color: var(--accent-red); 
    color: white; 
}

/* Table */
.growth-table-wrapper { 
    overflow-x: auto; 
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1rem;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-blue) #f0f0f0;
}

.growth-table-wrapper::-webkit-scrollbar {
    height: 8px;
}

.growth-table-wrapper::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
}

.growth-table-wrapper::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 10px;
}

.growth-table { 
    width: 100%; 
    min-width: 700px; 
    border-collapse: separate; 
    border-spacing: 0 0.75rem; 
}

.growth-table thead th { 
    padding: 1.1rem; 
    text-align: center; 
    font-weight: 700; 
    font-size: 0.9rem; 
    color: white; 
    background: var(--primary-blue);
    white-space: nowrap;
}

.growth-table thead th:first-child { 
    border-radius: 12px 0 0 12px; 
}

.growth-table thead th:last-child { 
    border-radius: 0 12px 12px 0; 
}

.growth-table thead th.highlight-col { 
    background: var(--accent-red); 
}

.growth-table tbody tr { 
    background: white; 
    border-radius: 12px; 
    box-shadow: 0 3px 12px rgba(0,0,0,0.05); 
}

.growth-table tbody td { 
    padding: 1.1rem 0.85rem; 
    text-align: center; 
    font-size: 0.9rem; 
    border: 2px solid #E8F4F8;
    white-space: nowrap;
}

.growth-table tbody td:first-child { 
    border-radius: 12px 0 0 12px; 
    border-left: 2px solid #E8F4F8; 
}

.growth-table tbody td:last-child { 
    border-radius: 0 12px 12px 0; 
    border-right: 2px solid #E8F4F8; 
}

.growth-table tbody tr:hover td { 
    border-color: var(--primary-blue); 
}

.priority-badge { 
    font-weight: 800; 
    color: var(--primary-blue); 
    font-size: 1.05rem; 
}

.gain-value { 
    font-weight: 800; 
    color: var(--accent-red); 
    font-size: 1.05rem; 
    display: block; 
}

.gain-detail { 
    font-size: 0.75rem; 
    color: var(--text-gray); 
}

/* ============================================
   RESULTS
   ============================================ */
/* ============================================
   RESULTS SECTION - REDESIGNED DARK
   ============================================ */
.results-section-dark {
    background-color: #050505;
    padding: 8rem 2rem;
    position: relative;
    overflow: hidden;
    color: white;
}

/* Ambient Background Glow */
.results-glow {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(circle, rgba(76, 201, 232, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.results-section-dark .container {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
}

/* Header Styling */
.results-header-dark {
    text-align: center;
    margin-bottom: 4rem;
}

.results-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(59, 180, 217, 0.1);
    border: 1px solid rgba(59, 180, 217, 0.3);
    color: #4CC9E8;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
}

.results-header-dark h2 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.results-header-dark p {
    font-size: 1.1rem;
    color: #888;
    max-width: 650px;
    margin: 0 auto 3rem;
}

/* Quick Stats Row */
.results-quick-stats {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem 3rem;
    border-radius: 16px;
    gap: 3rem;
    backdrop-filter: blur(5px);
}

.quick-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.q-val {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 5px;
}

.q-label {
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.quick-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
}

/* Dark Tabs */
.platform-tabs-dark {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.platform-tab-dark {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #888;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.platform-tab-dark:hover {
    border-color: #fff;
    color: #fff;
}

.platform-tab-dark.active {
    background: #fff;
    color: #000;
    border-color: #fff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* The Glass Frame - Classy Layout */
.glass-result-frame {
    background: rgba(20, 20, 23, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
}

.glass-result-frame:hover {
    border-color: rgba(59, 180, 217, 0.3);
    box-shadow: 0 20px 60px rgba(59, 180, 217, 0.1);
}

/* Frame Top Bar */
.frame-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.browser-dots { display: flex; gap: 8px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #FF5F56; }
.dot.yellow { background: #FFBD2E; }
.dot.green { background: #27C93F; }

.frame-meta-tag {
    font-size: 0.75rem;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Frame Content Grid */
.frame-content-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Left Side Info */
.frame-info {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.frame-info h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #fff, #bbb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.frame-info p {
    color: #999;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.metric-grid {
    display: flex;
    gap: 20px;
}

.metric-box {
    background: rgba(255, 255, 255, 0.03);
    padding: 15px 25px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    min-width: 120px;
}

.m-label {
    display: block;
    font-size: 0.75rem;
    color: #666;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.m-value {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
}

.m-value.highlight {
    color: #4CC9E8;
    text-shadow: 0 0 15px rgba(76, 201, 232, 0.4);
}

/* Right Side Visual */
.frame-visual {
    background: #0a0a0c;
    position: relative;
    overflow: hidden;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
}

.visual-placeholder {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #333;
    overflow: hidden;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.3);
}

.placeholder-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 30px 30px;
}

.visual-text {
    z-index: 2;
    font-size: 1.1rem;
    font-weight: 500;
    color: #555;
    background: rgba(0,0,0,0.5);
    padding: 10px 20px;
    border-radius: 8px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.1);
}

/* NEW: Result Screenshot Styles */
.result-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.result-screenshot:hover {
    transform: scale(1.02);
}

/* Optional: Make screenshot container clickable/zoomable */
.frame-visual {
    position: relative;
    cursor: pointer;
}

.frame-visual:hover::after {
    opacity: 1;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .result-screenshot {
        object-fit: contain;
    }
}


/* Screenshot Container with Zoom Support */
.screenshot-container {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
}

.zoom-wrapper {
    width: 100%;
    height: 100%;
    cursor: zoom-in;
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.screenshot-container.zoomed .zoom-wrapper {
    transform: scale(2.5);
    cursor: grab;
    transition: none;
}

.screenshot-container.zoomed .zoom-wrapper:active {
    cursor: grabbing;
}

.result-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    user-select: none;
    -webkit-user-select: none;
    pointer-events: none;
}

/* Zoom Toggle Button */
.zoom-toggle-btn {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 15;
}

.zoom-toggle-btn:hover {
    background: rgba(76, 201, 232, 0.8);
    transform: scale(1.1);
}

.zoom-toggle-btn:active {
    transform: scale(0.95);
}

/* Screenshot Navigation Controls */
.screenshot-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    padding: 8px 15px;
    border-radius: 50px;
    z-index: 10;
    transition: opacity 0.3s ease;
}

.screenshot-container:not(:hover) .screenshot-nav {
    opacity: 0.7;
}

.screenshot-container:hover .screenshot-nav {
    opacity: 1;
}

/* Hide navigation when zoomed */
.screenshot-container.zoomed .screenshot-nav,
.screenshot-container.zoomed .screenshot-counter {
    opacity: 0;
    pointer-events: none;
}

.screenshot-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.screenshot-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.screenshot-btn:active {
    transform: scale(0.95);
}

/* Dot Navigation */
.screenshot-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.2);
}

.dot.active {
    background: #4CC9E8;
    width: 24px;
    border-radius: 4px;
}

/* Screenshot Counter */
.screenshot-counter {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: opacity 0.3s ease;
}

/* Zoom Hint */
.screenshot-container.zoomed::after {
    content: 'Press ESC or click zoom button to exit';
    position: absolute;
    top: 60px;
    left: 15px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    z-index: 15;
    animation: fadeInOut 3s ease-in-out;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0; }
    10%, 90% { opacity: 1; }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .screenshot-nav {
        bottom: 10px;
        padding: 6px 12px;
        gap: 10px;
    }
    
    .screenshot-btn {
        width: 28px;
        height: 28px;
    }
    
    .screenshot-btn svg {
        width: 14px;
        height: 14px;
    }
    
    .dot {
        width: 6px;
        height: 6px;
    }
    
    .dot.active {
        width: 18px;
    }
    
    .screenshot-counter {
        top: 10px;
        right: 10px;
        font-size: 0.75rem;
        padding: 4px 10px;
    }
    
    .zoom-toggle-btn {
        width: 36px;
        height: 36px;
        top: 10px;
        left: 10px;
    }
    
    .zoom-toggle-btn svg {
        width: 18px;
        height: 18px;
    }
    
    .screenshot-container.zoomed .zoom-wrapper {
        transform: scale(2);
    }
    
    .screenshot-container.zoomed::after {
        font-size: 0.7rem;
        padding: 6px 10px;
        top: 50px;
    }
}

/* Frame Footer & Nav */
.frame-footer {
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
}

.footer-note {
    font-size: 0.75rem;
    color: #444;
    font-weight: 500;
}

.result-nav-dark {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-counter {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
}

.nav-btn-dark {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.nav-btn-dark:hover {
    background: white;
    color: black;
    transform: translateY(-2px);
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .frame-content-grid {
        grid-template-columns: 1fr;
    }
    .frame-visual {
        min-height: 250px;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }
    .results-quick-stats {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
        width: 100%;
    }
    .quick-stat-divider {
        width: 100%;
        height: 1px;
    }
    .results-header-dark h2 { font-size: 2rem; }
}

/* ============================================
   CTA STRIP
   ============================================ */

.cta-section-white {
    background: #FFFFFF;
    padding: 8rem 2rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: relative;
}

.cta-section-white .container {
    max-width: 1100px;
    margin: 0 auto;
}

/* Grid Layout */
.cta-grid-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
}

/* Left Column Styling */
.cta-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-red);
    background: rgba(232, 72, 85, 0.08);
    padding: 6px 14px;
    border-radius: 4px;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.cta-content-col h2 {
    font-size: 3rem;
    font-weight: 800;
    color: #1B1B2F;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.highlight-underline {
    position: relative;
    display: inline-block;
    color: var(--primary-blue);
}

.highlight-underline::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(59, 180, 217, 0.15);
    z-index: -1;
}

.cta-main-text {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 90%;
}

/* Trust Icons Row */
.cta-trust-row {
    display: flex;
    gap: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f0f0f0;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1B1B2F;
}

.trust-icon {
    width: 20px;
    height: 20px;
    color: var(--primary-blue);
}

/* Right Column: Offer Card */
.cta-offer-card {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease;
}

.cta-offer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.12);
}

.card-header {
    background: #1B1B2F;
    padding: 2rem;
    color: white;
}

.card-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.card-value {
    display: inline-block;
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 500;
    color: #FFD700; /* Gold text for value */
}

.card-body {
    padding: 2rem;
}

.card-intro {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

/* Checklist */
.offer-checklist {
    list-style: none;
    margin-bottom: 2rem;
}

.offer-checklist li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
}

.check-icon {
    width: 18px;
    height: 18px;
    color: #27C93F; /* Green check */
    flex-shrink: 0;
}

/* Full Width Button */
.cta-full-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--accent-red);
    color: white;
    text-decoration: none;
    padding: 1.2rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(232, 72, 85, 0.3);
}

.cta-full-btn:hover {
    background: #d63d4a;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(232, 72, 85, 0.4);
}

.card-footer-text {
    text-align: center;
    font-size: 0.75rem;
    color: #999;
    margin-top: 1rem;
}

/* Responsive */
@media (max-width: 900px) {
    .cta-grid-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .cta-content-col h2 {
        font-size: 2.2rem;
    }
    
    .cta-trust-row {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ============================================
   TESTIMONIALS - DARK SECTION
   ============================================ */
/* ============================================
   TESTIMONIALS - DARK & SCROLLING
   ============================================ */
.testimonials-section-dark {
    background-color: #000000;
    padding: 8rem 2rem;
    overflow: hidden; /* Hides the scrolling overflow */
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.testimonials-section-dark .container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Top Grid Layout */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
    align-items: center;
}

/* Dark Stats Card */
.stats-card-dark {
    background: rgba(20, 20, 23, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.stats-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.reviews-count {
    color: #888;
    font-size: 0.9rem;
    font-weight: 500;
}

.stats-numbers {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-item h3 {
    font-size: 2.5rem;
    color: white;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-item p {
    color: #666;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stats-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.stats-tag {
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    color: #ccc;
    border: 1px solid rgba(255,255,255,0.05);
}

/* Header Text Area */
.clients-say-dark .clients-say-header {
    color: #4CC9E8; /* Primary Blue */
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.clients-say-dark h3 {
    font-size: 3rem;
    color: white;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.clients-say-dark h3 em {
    font-style: normal;
    background: linear-gradient(90deg, #E84855, #FF6B6B); /* Accent Red Gradient */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.clients-say-dark p {
    color: #888;
    font-size: 1.1rem;
    max-width: 500px;
}

/* ============================================
   INFINITE SCROLL MARQUEE
   ============================================ */
.testimonial-marquee-wrapper {
    width: 100vw; /* Full viewport width */
    margin-left: calc(-50vw + 50%); /* Center it back relative to container */
    overflow: hidden;
    position: relative;
}

/* Gradient Masks to fade edges */
.testimonial-marquee-wrapper::before,
.testimonial-marquee-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.testimonial-marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #000, transparent);
}

.testimonial-marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #000, transparent);
}

.testimonial-track {
    display: flex;
    gap: 24px;
    width: max-content; /* Allows track to grow based on content */
    /* Animation: Name | Duration | Timing | Infinite Loop */
    animation: scrollTestimonials 60s linear infinite; 
    padding: 20px 0;
}

/* Pause on Hover */
.testimonial-track:hover {
    animation-play-state: paused;
}

@keyframes scrollTestimonials {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Moves exactly half (since we duplicate content) */
}

/* Individual Testimonial Card */
.t-card-dark {
    width: 380px; /* Fixed width for smooth scrolling */
    background: #0A0A0C;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
    position: relative;
}

.t-card-dark:hover {
    border-color: #4CC9E8;
    background: #0F0F12;
    transform: translateY(-5px);
}

.t-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.25rem;
}

.t-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.t-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1B1B2F, #333);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    border: 2px solid rgba(255,255,255,0.1);
}

.t-info h5 {
    color: white;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.t-info span {
    color: #666;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.t-quote-icon {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.05);
    line-height: 0;
    position: relative;
    top: 10px;
}

.t-text {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-style: italic;
}

.t-rating {
    color: #FFD700;
    font-size: 0.9rem;
    display: flex;
    gap: 2px;
}

/* Responsive */
@media (max-width: 900px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    .stats-header, .stats-numbers, .stats-tags, .clients-say-header {
        justify-content: center;
    }
    .clients-say-dark p { margin: 0 auto; }
    
    .t-card-dark {
        width: 300px; /* Smaller cards on mobile */
        padding: 1.5rem;
    }
}

/* ============================================
   GLOBAL MAP
   ============================================ */
/* ============================================
   GLOBAL MAP V2 - WHITE SECTION / DARK MAP
   ============================================ */
.global-section-v2 {
    position: relative;
    padding: 6rem 2rem;
    background: #ffffff;
    overflow: hidden;
}
.global-v2-bg-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(0,0,0,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.025) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}
.global-section-v2 .container { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.global-v2-header { text-align: center; margin-bottom: 3rem; }
.global-v2-tag {
    display: inline-block;
    font-size: 0.75rem; font-weight: 700; letter-spacing: 3px;
    color: #E84855;
    background: rgba(232,72,85,0.06);
    border: 1px solid rgba(232,72,85,0.15);
    padding: 6px 18px; border-radius: 50px;
    margin-bottom: 1.2rem;
}
.global-section-v2 h2 {
    font-size: 2.5rem; font-weight: 800; color: var(--text-dark);
    line-height: 1.25; margin-bottom: 1rem;
}
.india-highlight {
    background: linear-gradient(135deg, #FF8C42, #E84855);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.global-v2-subtitle { color: var(--text-gray); font-size: 1.05rem; max-width: 540px; margin: 0 auto; }
.global-v2-map-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 1;
    min-height: 420px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15), 0 4px 20px rgba(0,0,0,0.08);
}
.global-v2-map-wrap canvas {
    display: block; width: 100%; height: 100%;
}
.map-legend {
    position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 24px;
    background: rgba(10,12,24,0.8); backdrop-filter: blur(8px);
    padding: 8px 22px; border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.08);
    font-size: 0.78rem; color: #8899a8; font-weight: 600;
}
.legend-dot {
    display: inline-block; width: 8px; height: 8px; border-radius: 50%;
    margin-right: 6px; vertical-align: middle;
}
.origin-dot { background: #E84855; box-shadow: 0 0 8px #E84855; }
.dest-dot { background: #E84855; box-shadow: 0 0 6px rgba(232,72,85,0.5); }

/* ============================================
   FAQ
   ============================================ */
/* ============================================
   PREMIUM FAQ SECTION (New Design)
   ============================================ */
.faq-section-premium {
    padding: 8rem 2rem;
    background: #FFFFFF; /* Clean white for premium contrast against dark footer */
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.faq-section-premium .container {
    max-width: 1200px; /* Wider container */
    margin: 0 auto;
}

.faq-premium-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr; /* Split layout: 40% Text / 60% Questions */
    gap: 4rem;
    align-items: start;
}

/* Left Column - Sticky */
.faq-left {
    position: sticky;
    top: 120px; /* Sticks as you scroll */
}

.faq-title-premium {
    font-size: 2.75rem;
    font-weight: 800;
    color: #1B1B2F;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.faq-desc-premium {
    font-size: 1.05rem;
    color: #5A6B7A;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 90%;
}

.faq-cta-link {
    font-size: 1rem;
    font-weight: 700;
    
    /* CHANGE THIS LINE BELOW */
    color: #E84855; /* Updated to Red */
    
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

/* Optional: Keep the hover effect red or make it darker */
.faq-cta-link:hover {
    gap: 12px;
    color: #c9303d; /* Slightly darker red on hover */
}

.faq-cta-link:hover {
    gap: 12px;
}

/* Right Column - Accordion List */
.faq-right {
    display: flex;
    flex-direction: column;
}

/* The Individual Item */
.faq-item-premium {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.faq-item-premium:first-child {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.faq-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center; /* Align center vertically */
    padding: 2rem 0;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    group: hover;
}

.faq-q-text {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1B1B2F;
    padding-right: 20px;
    transition: color 0.3s ease;
}

.faq-item-premium:hover .faq-q-text {
    color: var(--primary-blue);
}

.faq-indicator {
    position: relative;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* The Plus Icon lines */
.faq-indicator::before,
.faq-indicator::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: #1B1B2F;
    transform: translate(-50%, -50%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-indicator::before {
    width: 14px;
    height: 2px;
}

.faq-indicator::after {
    width: 2px;
    height: 14px;
}

/* Active State Styles */
.faq-item-premium.active .faq-indicator::after {
    transform: translate(-50%, -50%) rotate(90deg); /* Turns plus to minus/flat */
}

.faq-item-premium.active .faq-indicator::before {
    transform: translate(-50%, -50%) rotate(180deg);
}

.faq-content-premium {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
    opacity: 0;
}

.faq-item-premium.active .faq-content-premium {
    max-height: 500px; /* Allow expansion */
    opacity: 1;
}

.faq-answer-text {
    padding-bottom: 2rem;
    color: #5A6B7A;
    line-height: 1.7;
    font-size: 1rem;
    max-width: 95%;
}

/* Responsive FAQ */
@media (max-width: 900px) {
    .faq-premium-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .faq-left {
        position: static; /* Unstick on mobile */
        text-align: left;
    }
    .faq-title-premium {
        font-size: 2.25rem;
    }
}
/* ============================================
   FOOTER - DARK
   ============================================ */
/* ============================================
   ULTRA DARK PREMIUM FOOTER
   ============================================ */
.footer-ultra-dark {
    background-color: #000000;
    position: relative;
    padding: 6rem 2rem 2rem;
    color: white;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

/* Background Grid Pattern */
.footer-bg-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.5;
    pointer-events: none;
}

.footer-ultra-dark .container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* MAIN LAYOUT: 2 Columns */
.footer-main-wrapper {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr; /* Brand narrower, Form wider */
    gap: 6rem;
    margin-bottom: 5rem;
    align-items: start;
}

/* LEFT COL: Brand Info */
.f-brand-header { margin-bottom: 3rem; }

.f-logo-text {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 1rem;
}

.dot-accent { color: #E84855; } /* Red Accent */

.f-tagline {
    font-size: 1rem;
    color: #888;
    line-height: 1.6;
    max-width: 300px;
}

.f-contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-block { display: flex; flex-direction: column; gap: 5px; }

.c-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #555;
    font-weight: 700;
    letter-spacing: 1px;
}

.c-value {
    font-size: 1.1rem;
    color: white;
    text-decoration: none;
    font-weight: 500;
    line-height: 1.4;
    transition: color 0.3s;
}

.c-value:hover { color: #3BB4D9; }

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

.social-btn {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: white;
    color: black;
    transform: translateY(-3px);
}

/* RIGHT COL: Form Card */
.form-card-glass {
    background: #0A0A0C;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    position: relative;
    /* Subtle inner glow */
    box-shadow: inset 0 0 40px rgba(0,0,0,0.5);
}

/* Top Glow Line on Form */
.form-card-glass::before {
    content: '';
    position: absolute;
    top: 0; left: 20px; right: 20px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #3BB4D9, transparent);
    opacity: 0.5;
}

.form-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.form-header-row h3 { font-size: 1.5rem; font-weight: 700; }

.live-indicator {
    font-size: 0.8rem;
    color: #27C93F;
    background: rgba(39, 201, 63, 0.1);
    padding: 6px 12px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.blink-dot {
    width: 6px; height: 6px; background: #27C93F; border-radius: 50%;
    box-shadow: 0 0 8px #27C93F;
    animation: blinkLive 2s infinite;
}

@keyframes blinkLive { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* Form Fields */
.smart-form { display: flex; flex-direction: column; gap: 1.5rem; }

.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }

.input-wrap { position: relative; }

/* Floating Labels Styling */
.input-wrap input,
.input-wrap textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 0;
    color: white;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.input-wrap textarea {
    resize: vertical;
    min-height: 60px;
    max-height: 180px;
    line-height: 1.6;
}

.input-wrap input:focus,
.input-wrap textarea:focus {
    outline: none;
    border-color: #3BB4D9;
}

.input-wrap label {
    position: absolute;
    left: 0;
    top: 12px;
    color: #666;
    font-size: 1rem;
    pointer-events: none;
    transition: all 0.3s ease;
}

/* Float label when focused or has content */
.input-wrap input:focus ~ label,
.input-wrap input:not(:placeholder-shown) ~ label,
.input-wrap textarea:focus ~ label,
.input-wrap textarea:not(:placeholder-shown) ~ label {
    top: -10px;
    font-size: 0.75rem;
    color: #3BB4D9;
}

/* Phone Group */
.phone-group {
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: border-color 0.3s;
}
.phone-group:focus-within { border-color: #3BB4D9; }

.country-select-wrapper { position: relative; width: 90px; flex-shrink: 0; }

.country-select {
    width: 100%;
    background: transparent;
    border: none;
    color: #ccc;
    font-size: 0.95rem;
    font-family: inherit;
    cursor: pointer;
    appearance: none;
    padding: 12px 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M2 3l3 3 3-3' fill='none' stroke='%23888' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 2px center;
    padding-right: 16px;
}
.country-select option { background: #111; color: white; }
.country-select:focus { outline: none; }

.phone-field { border-bottom: none !important; padding-left: 15px !important; flex: 1; }

/* Select Box */
.minimal-select {
    display: none !important; /* Hidden — replaced by custom dropdown */
}

/* ================================
   CUSTOM DROPDOWN — PREMIUM STYLE
   ================================ */
.custom-select-wrap {
    position: relative;
    width: 100%;
}

.custom-select-trigger {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 14px 40px 14px 16px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.95rem;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    box-sizing: border-box;
    user-select: none;
    -webkit-user-select: none;
}

.custom-select-trigger::after {
    content: '';
    position: absolute;
    right: 14px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid rgba(255,255,255,0.35);
    border-bottom: 2px solid rgba(255,255,255,0.35);
    transform: translateY(-65%) rotate(45deg);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-select-wrap.open .custom-select-trigger::after {
    transform: translateY(-25%) rotate(-135deg);
    border-color: #3BB4D9;
}

.custom-select-trigger:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
}

.custom-select-wrap.open .custom-select-trigger,
.custom-select-trigger:focus {
    border-color: #3BB4D9;
    background: rgba(59, 180, 217, 0.04);
    box-shadow: 0 0 0 3px rgba(59, 180, 217, 0.08), 0 0 20px rgba(59, 180, 217, 0.05);
    outline: none;
}

.custom-select-trigger.has-value {
    color: #fff;
}

/* Dropdown options panel */
.custom-select-options {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #131318;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 6px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(59, 180, 217, 0.05);
    overflow: hidden;
}

.custom-select-wrap.open .custom-select-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.custom-select-option {
    padding: 12px 16px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.92rem;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.2s ease;
    font-family: inherit;
    position: relative;
}

.custom-select-option:hover {
    background: rgba(59, 180, 217, 0.1);
    color: #fff;
    padding-left: 20px;
}

.custom-select-option.selected {
    background: rgba(59, 180, 217, 0.12);
    color: #3BB4D9;
    font-weight: 600;
}

.custom-select-option.selected::before {
    content: '✓';
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
    color: #3BB4D9;
}

.custom-select-option.disabled-opt {
    color: rgba(255, 255, 255, 0.25);
    cursor: default;
    font-size: 0.82rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-weight: 600;
    padding: 10px 16px 6px;
}

.custom-select-option.disabled-opt:hover {
    background: transparent;
    padding-left: 16px;
    color: rgba(255, 255, 255, 0.25);
}

/* Submit Button */
.f-submit-btn {
    margin-top: 1rem;
    background: white;
    color: black;
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
    transition: all 0.3s ease;
}
.f-submit-btn:hover { background: #3BB4D9; color: white; }
.f-submit-btn .arrow-icon { transition: transform 0.3s ease; }
.f-submit-btn:hover .arrow-icon { transform: translateX(4px); }
.f-submit-btn:disabled { opacity: 0.7; cursor: not-allowed; }
.f-submit-btn.sending { background: #333; color: #aaa; }

/* Form Status Messages */
.form-status { padding: 12px 16px; border-radius: 8px; font-size: 0.9rem; font-weight: 600; line-height: 1.4; text-align: center; }
.form-status.success { background: rgba(16, 185, 129, 0.12); color: #10B981; border: 1px solid rgba(16, 185, 129, 0.25); }
.form-status.error { background: rgba(232, 72, 85, 0.12); color: #E84855; border: 1px solid rgba(232, 72, 85, 0.25); }

/* BOTTOM BAR */
.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.f-links-group a {
    color: #888;
    text-decoration: none;
    font-size: 0.9rem;
    margin-right: 2rem;
    transition: color 0.3s;
}

.f-links-group a:hover { color: white; }

.copyright { color: #555; font-size: 0.85rem; }

/* Responsive */
@media (max-width: 900px) {
    .footer-main-wrapper {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .footer-bottom-bar {
        flex-direction: column;
        text-align: center;
    }
    .f-links-group a { margin: 0 10px; }
}
@media (max-width: 600px) {
    .form-row-2 { grid-template-columns: 1fr; }
    .form-card-glass { padding: 1.5rem; }
    .footer-ultra-dark { padding: 4rem 1.5rem 2rem; }
    .dynamic-headline { font-size: 1.3rem; white-space: normal; height: auto; }
    .form-header-row { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
}

/* ============================================
   FINAL FOOTER STYLES (Typewriter & Nav Grid)
   ============================================ */

/* Typewriter Container */
.dynamic-headline {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    display: flex;
    align-items: center;
    white-space: nowrap;
    height: 40px; /* Force height so it doesn't collapse */
}

/* The Typing Text - Bright Blue */
.typewriter-text {
    color: #3BB4D9 !important; /* Force Blue Color */
    font-weight: 800;
    margin: 0;
    padding: 0;
    min-width: 10px;
}

/* The Cursor - Bright Red */
.cursor {
    display: inline-block;
    width: 3px;
    height: 28px;
    background-color: #E84855;
    margin-left: 5px;
    animation: blinkCursor 0.8s infinite;
}

@keyframes blinkCursor { 
    0%, 100% { opacity: 1; } 
    50% { opacity: 0; } 
}

/* --- New Navigation Grid --- */
.footer-nav-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 4rem 0 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 2rem;
}

.nav-col h5 {
    font-size: 1rem;
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-col a {
    display: block;
    color: #888;
    text-decoration: none;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.nav-col a:hover {
    color: #3BB4D9;
    transform: translateX(5px);
}

/* --- Mobile Responsiveness for Nav --- */
@media (max-width: 768px) {
    .footer-nav-grid {
        grid-template-columns: 1fr 1fr; /* 2 columns on mobile */
        gap: 2rem;
    }
}

/* (Keep your existing styles for .footer-main-wrapper, .form-card-glass etc.) */

/* ============================================
   MINIMAL ANIMATIONS (REMOVED EXCESSIVE ONES)
   ============================================ */
.animate-on-scroll { 
    opacity: 1; 
    transform: none; 
}

.animate-on-scroll.visible { 
    opacity: 1; 
    transform: none; 
}

/* ============================================
   RESPONSIVE
   ============================================ */
   @media (max-width: 1024px) {
    .mega-menu-inner { grid-template-columns: repeat(2, 1fr); }
    .goals-visual { grid-template-columns: 1fr; }
    .goals-cards { flex-direction: row; flex-wrap: wrap; }
    .goal-card-box { flex: 1; min-width: 250px; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .testimonials-cards { grid-template-columns: repeat(2, 1fr); }
    .industries-grid { grid-template-columns: repeat(2, 1fr); }
    .faq-grid { grid-template-columns: 1fr; }
    .footer-contact-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-info-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
    
    .mega-menu-inner { grid-template-columns: 1fr; padding: 1rem; }
    .mega-menu-column { border-right: none; border-bottom: 1px solid #f0f0f0; padding: 0.75rem 0; }
    .nav-item.expanded .mega-menu { max-height: 400px; }
    .mobile-toggle { display: flex; }
    .desktop-cta { display: none; }
    .mobile-cta { display: block; position: absolute; left: 50%; transform: translateX(-50%) !important; padding: 0.5rem 1rem; font-size: 0.75rem; z-index: 10; }  .logo-text { display: none; }   
    .hero { padding: 120px 1.5rem 3rem; }
    .hero-title { font-size: 1.75rem; }
    
    .envelope-wrapper { padding: 1rem; }
    .envelope-main { height: 300px; }
    .paper { width: 130px; height: 160px; padding: 1rem; }
    .paper-icon { font-size: 2rem; }
    .paper-title { font-size: 0.9rem; }
    .paper-subtitle { font-size: 0.7rem; }
    .paper-1 { transform: rotate(-15deg) translateX(-90px) translateY(-40px); }
    .paper-2 { transform: translateY(-60px); }
    .paper-3 { transform: rotate(15deg) translateX(90px) translateY(-40px); }
    .envelope-wrapper:hover .paper-1 { transform: rotate(-18deg) translateX(-100px) translateY(-130px); }
    .envelope-wrapper:hover .paper-2 { transform: translateY(-160px); }
    .envelope-wrapper:hover .paper-3 { transform: rotate(18deg) translateX(100px) translateY(-130px); }
    .envelope-seal { width: 60px; height: 60px; font-size: 1.2rem; }
    .floating-tag { font-size: 0.75rem; padding: 0.5rem 1rem; }
    
    .performance-creative .container { 
        grid-template-columns: 1fr; 
        text-align: center; 
        gap: 2.5rem; 
    }

    /* FIX: Keep images side-by-side but scale them to fit */
    .creative-images { 
        order: -1; 
        display: flex; 
        flex-direction: row; /* Forces side-by-side layout */
        justify-content: center;
        gap: 15px; /* Smaller gap for mobile */
        width: 100%;
    }

    .creative-img {
        /* This magic number ensures both fit on screen */
        width: 42vw; /* 42% of the viewport width */
        max-width: 200px; /* Never get larger than original */
        height: auto; /* Maintain aspect ratio automatically */
        border-radius: 15px; /* Slightly smaller curves for mobile */
    }

    /* Reduce the vertical offset slightly for mobile balance */
    .creative-img-wrapper:first-child { 
        transform: translateY(20px); 
    }
    
    .brands-carousel-mobile { display: block; }
    .brands-title { font-size: 1.5rem; }
    
    .cert-logos { gap: 1rem; flex-wrap: wrap; }
    .cert-logo { padding: 0.6rem 1rem; font-size: 0.9rem; }
    .cert-icon { width: 32px; height: 32px; font-size: 0.9rem; }
    
    /* Goals Section Mobile */
    .goals-header h2 { font-size: 1.75rem; }
    .goals-visual { gap: 2rem; }
    .goals-chart-box { padding: 1.25rem; }
    .chart-main { height: 280px; margin-left: 40px; }
    .y-axis-labels { font-size: 0.7rem; }
    .x-axis-labels { font-size: 0.8rem; padding-left: 40px; }
    .chart-annotation { font-size: 0.95rem; top: 20%; }
    .goals-cards { flex-direction: column; }
    .goal-card-box { min-width: auto; }
    .handwritten-note { font-size: 1.1rem; justify-content: center; }
    
    .industries-grid { grid-template-columns: 1fr; }
    
    /* Growth Table Mobile - Horizontal Scroll */
    .growth-tagline { font-size: 1.35rem; }
    .growth-header h2 { font-size: 1.5rem; }
    .growth-table-wrapper { 
        margin: 0 -1rem; 
        padding: 0 1rem;
        overflow-x: auto;
    }
    .growth-table { min-width: 650px; }
    
    .testimonials-cards { grid-template-columns: 1fr; }
    .global-v2-map-wrap { min-height: 260px; }
    .global-section-v2 h2 { font-size: 1.5rem; }
    .map-legend { font-size: 0.7rem; gap: 14px; padding: 6px 14px; }
    .contact-left h2 { font-size: 3rem; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.5rem; }
    
    .envelope-main { height: 250px; }
    .paper { width: 100px; height: 130px; padding: 0.75rem; }
    .paper-icon { font-size: 1.5rem; }
    .paper-1 { transform: rotate(-12deg) translateX(-65px) translateY(-30px); }
    .paper-2 { transform: translateY(-45px); }
    .paper-3 { transform: rotate(12deg) translateX(65px) translateY(-30px); }
    .envelope-wrapper:hover .paper-1 { transform: rotate(-15deg) translateX(-70px) translateY(-100px); }
    .envelope-wrapper:hover .paper-2 { transform: translateY(-120px); }
    .envelope-wrapper:hover .paper-3 { transform: rotate(15deg) translateX(70px) translateY(-100px); }
    .envelope-seal { width: 50px; height: 50px; font-size: 1rem; border-width: 3px; }
    .floating-tags { display: none; }
    
    .goals-header h2 { font-size: 1.5rem; }
    .chart-main { height: 220px; margin-left: 35px; }
    .chart-annotation { font-size: 0.85rem; }
    .point-label { font-size: 0.6rem; padding: 0.15rem 0.3rem; }
    
    .growth-tagline { font-size: 1.15rem; }
    .growth-header h2 { font-size: 1.3rem; }
    
    .contact-left h2 { font-size: 2.5rem; }
    .newsletter { flex-direction: column; }
    .newsletter button { width: 100%; }
}

/* ============================================
   UPDATED HERO LAYOUT - PERFECT BOTTOM ALIGNMENT
   ============================================ */

.hero { 
    min-height: 100vh; 
    background: linear-gradient(180deg, #4CC9E8 0%, #6DD5ED 40%, #B8E6F2 70%, var(--cream-bg) 100%); 
    position: relative; 
    padding: 120px 2rem 4rem; 
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
    display: flex; /* Use flexbox for layout */
    gap: 40px;
    align-items: stretch; /* Forces both columns to be equal height */
}

/* LEFT COLUMN */
.hero-text-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Spreads content */
}

.hero-text-top {
    margin-bottom: 2rem;
}

/* RIGHT COLUMN */
.hero-visual-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Spreads content: Animation top, Stats bottom */
    align-items: center;
}

/* === LEFT: "Why Choose" Card === */
.why-card {
    background: rgba(255, 255, 255, 0.4); /* Glassmorphism effect */
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    backdrop-filter: blur(10px);
    width: 100%;
    margin-top: auto; /* Force push to bottom */
}

.why-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #1B1B2F;
}

.why-desc {
    font-size: 0.9rem;
    color: #4b5563;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.feature-name {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: #1B1B2F;
}

.feature-text {
    font-size: 0.7rem;
    line-height: 1.4;
    color: #6b7280;
}

/* ============================================
   PREMIUM ICON STYLES
   ============================================ */

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

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Premium Icon Box */
.feature-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px; /* Soft square looks more premium than circle */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover Effect for Icons */
.feature-icon-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* SVG Styling */
.feature-icon-box svg {
    width: 24px;
    height: 24px;
}

/* Color Themes */
/* Gold/Trophy */
.icon-gold {
    background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
    color: #D97706; /* Dark Gold Text */
    border: 1px solid #FDE68A;
}

/* Rose/Target */
.icon-rose {
    background: linear-gradient(135deg, #FFF1F2 0%, #FFE4E6 100%);
    color: #BE123C; /* Deep Rose Text */
    border: 1px solid #FECDD3;
}

/* Blue/Layers */
.icon-blue {
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
    color: #1D4ED8; /* Deep Blue Text */
    border: 1px solid #BFDBFE;
}

/* Text Styling updates */
.feature-name {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: #1B1B2F;
    letter-spacing: -0.01em;
}

.feature-text {
    font-size: 0.75rem;
    line-height: 1.5;
    color: #64748B;
}

/* Responsive spacing */
@media (max-width: 1024px) {
    .features-grid {
        gap: 15px;
    }
}

/* === RIGHT: Stats Bar === */
.trust-bar {
    background: rgba(255, 255, 255, 0.55);
    border-radius: 20px;
    padding: 15px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(255, 255, 255, 0.6);
    width: 100%;
    margin-top: auto; /* Force push to bottom */
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stat-value {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1B1B2F;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #4b5563;
    text-transform: capitalize;
}

.stars {
    color: #fbbf24;
    font-size: 10px;
    margin-top: 2px;
    display: inline-block;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-right: 20px;
    border-right: 1px solid rgba(0,0,0,0.1);
}

.user-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .hero-container {
        flex-direction: column;
    }
    .trust-bar {
        margin-top: 40px; /* Add space on mobile since alignment isn't side-by-side */
    }
    .features-grid {
        gap: 10px;
    }
}

/* ============================================
   FIX SUBTITLE ALIGNMENT
   ============================================ */

/* 1. Ensure the container aligns everything to the start (left) */
.hero-text-top {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Forces Title, Subtitle, and Button to left */
    text-align: left;       /* Ensures text inside paragraphs is left-aligned */
    margin-bottom: 2rem;
}

/* 2. Fix the Subtitle Text */
.hero-subtitle { 
    font-size: 1.1rem; 
    color: #5A6B7A; /* var(--text-gray) */
    line-height: 1.6;
    
    /* IMPORTANT FIXES BELOW: */
    max-width: 90%;       /* Prevents it from being too wide, but keeps it readable */
    margin: 0 0 2rem 0;   /* Removed 'auto' to stop centering. Sets bottom margin only. */
    text-align: left;     /* Strictly aligns text to the left */
}

/* ============================================
   MOBILE FIXES (Place at the end of styles.css)
   ============================================ */

@media (max-width: 768px) {
    
    /* 1. Fix Mobile Title & Tagline */
    .hero-title {
        font-size: 1.8rem !important; /* Forces smaller size to fit screen */
        line-height: 1.3 !important;
        text-align: left;
    }

    .changing-text-wrapper {
        min-width: 0 !important; /* Removes the desktop spacing that causes breaks */
        display: inline !important; 
    }

    /* 2. Hide "Why Choose GrowX" Card on Mobile */
    .why-card {
        display: none !important;
    }

    /* 3. Fix Stats Bar Layout (Grid 2x2) */
    .trust-bar {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 15px !important;
        padding: 20px !important;
        width: 100% !important;
        margin-top: 30px !important;
    }

    .user-profile {
        grid-column: span 2 !important; /* Top row full width */
        border-right: none !important;
        border-bottom: 1px solid rgba(0,0,0,0.1) !important;
        padding-right: 0 !important;
        padding-bottom: 10px !important;
        justify-content: center !important;
    }

    .stat-item {
        align-items: center !important;
        text-align: center !important;
    }

    /* 4. Fix Navigation & Mega-Menu Overflow */
    .nav-menu {
        overflow-y: auto !important; /* Allows scrolling if menu is long */
        max-height: calc(100vh - 70px) !important;
    }

    .mega-menu {
        position: static !important; /* Stack inside the menu */
        transform: none !important; 
        width: 100% !important; 
        display: none; /* Hidden by default */
        box-shadow: none !important; 
        border: none !important;
        padding: 0 1rem !important;
    }

    .nav-item.expanded .mega-menu {
        display: block !important; /* Shows when clicked */
    }

    .mega-menu-inner {
        grid-template-columns: 1fr !important; /* Single column stack */
        padding: 0.5rem 0 !important;
    }

    .mega-menu-column {
        border-right: none !important;
        border-bottom: 1px solid rgba(0,0,0,0.05) !important;
        padding: 10px 0 !important;
    }
}

/* ============================================
   FIXED GOALS ALIGNMENT
   ============================================ */

.goals-visual { 
    display: flex; /* Changed from grid to flex for better height control */
    gap: 2.5rem; 
    align-items: stretch; /* Forces both columns to be equal height */
    max-width: 1200px;
    margin: 0 auto;
}

/* Left Column Container */
.goals-chart-box { 
    flex: 2; /* Takes up 2/3 of the space */
    background: white; 
    border: 3px solid var(--primary-dark); 
    border-radius: 20px; 
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    
    /* Internal Flex Layout to push chart to center/bottom if needed */
    display: flex;
    flex-direction: column;
}

.chart-wrapper {
    flex-grow: 1; /* Makes the chart area fill the available vertical space */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Keeps chart centered vertically if the box grows */
    position: relative;
    margin-top: 1rem;
}

/* Right Column Container */
.goals-cards { 
    flex: 1; /* Takes up 1/3 of the space */
    display: flex; 
    flex-direction: column; 
    gap: 1.25rem; 
    justify-content: space-between; /* Ensures cards spread out to fill the height */
}

.goal-card-box { 
    flex: 1; /* Each card grows equally to fill the right column height */
    background: white; 
    border: 3px solid var(--primary-dark); 
    border-radius: 16px; 
    padding: 1.5rem; 
    text-align: center; 
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centers text inside the individual cards */
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

/* Mobile Responsive Fix */
@media (max-width: 1024px) {
    .goals-visual { 
        flex-direction: column; 
        align-items: flex-start;
    }
    
    .goals-chart-box, .goals-cards {
        width: 100%;
    }
}

/* ============================================
   CRITICAL FIX FOR BRAND MATRIX
   ============================================ */

/* 1. RESET THE PARENT CONTAINER */
/* This overrides the old 'display: grid' that is crushing the layout */
#brandMatrix, .brand-matrix {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    grid-template-columns: none !important;
}

/* 2. DESKTOP VIEW (Width > 768px) */
.desktop-view-only {
    display: block !important;
    width: 100%;
}

/* DESKTOP VERTICAL SCROLLING COLUMNS */
.brand-matrix-columns {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 15px;
    height: 420px;
    overflow: hidden;
}

.brand-col-desktop {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 100%;
}

.brand-col-track {
    display: flex;
    flex-direction: column;
    gap: 15px;
    animation-duration: 25s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.brand-col-track .brand-card {
    width: 100%;
    min-height: 100px;
    flex-shrink: 0;
}

.brand-col-track.scroll-up-desktop {
    animation-name: desktopScrollUp;
}

.brand-col-track.scroll-down-desktop {
    animation-name: desktopScrollDown;
}

@keyframes desktopScrollUp {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

@keyframes desktopScrollDown {
    0% { transform: translateY(-50%); }
    100% { transform: translateY(0); }
}

.brand-col-track:hover {
    animation-play-state: paused;
}

/* 3. MOBILE VIEW (Width <= 768px) */
.mobile-view-only {
    display: none !important; /* Hidden by default on desktop */
}

@media (max-width: 768px) {
    /* Hide Desktop */
    .desktop-view-only {
        display: none !important;
    }

    /* Show Mobile */
    .mobile-view-only {
        display: block !important;
        width: 100%;
        height: 350px; /* Visible height */
        overflow: hidden;
        position: relative;
    }

    .mobile-scroll-container {
        display: flex;
        flex-direction: row; /* Horizontal alignment of columns */
        justify-content: space-between;
        gap: 12px;
        width: 100%;
        height: 100%;
    }

    .mobile-col {
        flex: 1;
        height: 100%;
        position: relative;
        overflow: hidden;
    }

    .mobile-track {
        display: flex;
        flex-direction: column; /* Vertical stacking of brands */
        gap: 12px;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        /* Animation Logic */
        animation-duration: 25s;
        animation-timing-function: linear;
        animation-iteration-count: infinite;
    }

    .brand-square {
        width: 100%;
        aspect-ratio: 1/1; /* Makes them perfect squares */
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        font-weight: 600;
        font-size: 0.85rem;
        color: white;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        backdrop-filter: blur(5px);
    }
    
    /* Animation Keyframes */
    .scroll-up { animation-name: scrollUpMobile; }
    .scroll-down { animation-name: scrollDownMobile; }
    
    @keyframes scrollUpMobile {
        0% { transform: translateY(0); }
        100% { transform: translateY(-50%); } /* Moves up by half the total duplicated height */
    }

    @keyframes scrollDownMobile {
        0% { transform: translateY(-50%); } /* Starts from middle */
        100% { transform: translateY(0); } /* Moves down to top */
    }
}

/* ============================================
   UPDATED FOOTER STYLES
   ============================================ */
/* Dynamic Headline */
.dynamic-headline {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    min-height: 40px; /* Prevents layout shift */
}

.typewriter-text {
    color: #3BB4D9; /* Primary Blue */
}

.cursor {
    display: inline-block;
    width: 2px;
    background-color: #E84855;
    animation: blinkCursor 1s infinite;
}

@keyframes blinkCursor { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* Textarea Styling */
.input-wrap textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 0;
    color: white;
    font-size: 1rem;
    font-family: inherit;
    resize: none;
    transition: border-color 0.3s;
}

.input-wrap textarea:focus {
    outline: none;
    border-color: #3BB4D9;
}

/* Float label logic for textarea */
.input-wrap textarea:focus ~ label,
.input-wrap textarea:not(:placeholder-shown) ~ label {
    top: -10px;
    font-size: 0.75rem;
    color: #3BB4D9;
}

/* Legal Links */
.legal-links-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.legal-links-group a {
    color: #666;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}

.legal-links-group a:hover {
    color: white;
    text-decoration: underline;
}



/* ============================================
   FINAL MOBILE FIXES (Replace your previous bottom block with this)
   ============================================ */

/* ============================================
   FINAL GROWTH GRID MOBILE FIX (NEXT-LEVEL)
   ============================================ */
@media (max-width: 768px) {
    
    /* 1. The Scroll Container */
    .growth-table-wrapper {
        display: block;
        width: 100%;
        overflow-x: auto; /* Mandatory horizontal scroll */
        -webkit-overflow-scrolling: touch; /* Smooth momentum scrolling on iOS */
        margin-bottom: 20px;
        padding-bottom: 10px; /* Space for the scrollbar */
        
        /* Visual cue that content exists to the right */
        background: linear-gradient(to right, white 30%, rgba(255,255,255,0)),
                    linear-gradient(to right, rgba(255,255,255,0), white 70%) 0 100%,
                    radial-gradient(farthest-side at 0 50%, rgba(0,0,0,.2), rgba(0,0,0,0)),
                    radial-gradient(farthest-side at 100% 50%, rgba(0,0,0,.2), rgba(0,0,0,0)) 0 100%;
        background-repeat: no-repeat;
        background-attachment: local, local, scroll, scroll;
        background-size: 40px 100%, 40px 100%, 14px 100%, 14px 100%;
    }

    /* 2. The Table Structure */
    .growth-table {
        width: max-content !important; /* Forces table to take up necessary space */
        min-width: 100%; 
        border-collapse: separate; /* Required for sticky columns to render borders correctly */
        border-spacing: 0;
        margin: 0;
    }

    /* 3. STRICT COLUMN SIZING (The Fix) */
    /* We assign specific minimum widths to force the table to expand */
    
    .growth-table th, 
    .growth-table td {
        box-sizing: border-box;
        padding: 15px 10px !important;
        font-size: 0.85rem !important;
        vertical-align: middle;
        background: #fff;
        border-bottom: 1px solid #eee;
    }

    /* Column 1: Priority (Sticky Left) */
    .growth-table th:first-child,
    .growth-table td:first-child {
        position: sticky;
        left: 0;
        z-index: 20; /* Stays on top */
        width: 60px !important;
        min-width: 60px !important;
        max-width: 60px !important;
        border-right: 2px solid #f0f0f0; /* Hard separator */
        background-color: #fff; /* Opaque background needed for sticky */
        text-align: center;
    }
    
    /* Header specific fix for sticky column */
    .growth-table thead th:first-child {
        background-color: var(--primary-blue);
        color: white;
        z-index: 21; /* Highest layer */
    }

    /* Column 2: Revenue Gain */
    .growth-table th:nth-child(2),
    .growth-table td:nth-child(2) {
        min-width: 140px !important; /* Forces width */
        white-space: nowrap;
    }

    /* Column 3: What (Description) */
    .growth-table th:nth-child(3),
    .growth-table td:nth-child(3) {
        min-width: 200px !important; /* Wide enough for text */
        white-space: normal !important; /* Allow text wrapping */
        line-height: 1.4;
    }

    /* Column 4: Investment */
    .growth-table th:nth-child(4),
    .growth-table td:nth-child(4) {
        min-width: 120px !important;
        white-space: nowrap;
    }

    /* Column 5: Speed (The one getting cut off) */
    .growth-table th:last-child,
    .growth-table td:last-child {
        min-width: 120px !important;
        white-space: nowrap;
        padding-right: 20px !important; /* Extra padding on the end */
    }
}
/* ============================================
   MOBILE FIXES: OPTIMIZED TABLE & BUTTONS
   ============================================ */
@media (max-width: 768px) {
    
    /* 1. COMPACT BUTTON GRID (3 Columns x 2 Rows) */
    .kpi-tabs {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important; /* 3 buttons per line */
        gap: 8px !important;
        margin-bottom: 20px !important;
    }

    .kpi-tab {
        width: 100%;
        padding: 8px 4px;
        font-size: 0.75rem; /* Smaller text to fit "SQL Volume" etc. */
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* 2. TABLE OPTIMIZATION (Full Width, No Scroll, Readable) */
    .growth-table-wrapper {
        width: 100%;
        overflow-x: hidden; /* Prevent scroll */
        padding: 0;
        margin: 0;
    }

    .growth-table {
        min-width: 100% !important; /* Override the desktop 700px limit */
        width: 100% !important;
        table-layout: fixed; /* Forces table to fit screen width exactly */
        transform: none !important; /* Remove the "thumbnail" shrink effect */
        margin: 0 !important;
    }

    /* Cell adjustments for legibility */
    .growth-table thead th, 
    .growth-table tbody td {
        padding: 8px 2px !important; /* Tight padding */
        font-size: 0.7rem !important; /* Readable small font */
        word-wrap: break-word; /* Wrap text naturally */
        white-space: normal !important;
        line-height: 1.3;
    }

    /* Column Specifics */
    .growth-table th:first-child,
    .growth-table td:first-child {
        width: 30px; /* "Priority" column very narrow */
    }
    
    .growth-table th:nth-child(2), /* Revenue Gain */
    .growth-table td:nth-child(2) {
        width: 28%; /* Give important data more space */
    }

    .gain-value { font-size: 0.75rem !important; }
    .gain-detail { display: none; } /* Optional: Hide tiny details to clean up UI */
}

/* ============================================
   RESULTS SECTION: FINAL POLISH
   ============================================ */

/* 1. "MULTIPLY REVENUE" TEXT & UNDERLINE (Matches Growth/Trust Sections) */
.results-header-dark h2 {
    position: relative;
    display: inline-block; /* Keeps underline with text */
}

.brand-highlight-text {
    color: #E84855; /* The Exact Brand Red */
    font-weight: 800;
    position: relative;
    display: inline-block;
    padding-bottom: 5px; /* Space for underline */
}

/* The Red Underline SVG */
.results-underline {
    position: absolute;
    bottom: 0; /* Adjust vertical position */
    left: 0;
    width: 100%;
    height: 12px;
    overflow: visible;
    z-index: 1;
}

.results-underline path {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: drawResultsLine 1.5s ease forwards 0.5s; /* Draws line after slight delay */
}

@keyframes drawResultsLine {
    to { stroke-dashoffset: 0; }
}

/* 2. PREMIUM "GLASS" BUTTONS (Redesign) */
.platform-tabs-dark {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.platform-tab-dark {
    background: rgba(255, 255, 255, 0.05); /* Subtle Glass */
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #b0b0b0;
    padding: 14px 32px;
    border-radius: 14px; /* Soft Square look */
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    letter-spacing: 0.5px;
}

.platform-tab-dark:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    transform: translateY(-2px);
}

.platform-tab-dark.active {
    background: #E84855; /* Active is Brand Red */
    color: white;
    border-color: #E84855;
    box-shadow: 0 4px 20px rgba(232, 72, 85, 0.4); /* Red Glow */
}

/* 3. MOBILE LAYOUT FIXES (Max Width 768px) */
@media (max-width: 768px) {
    
    /* A. Stats Strip: Single Line */
    .results-quick-stats {
        flex-direction: row !important; /* Force Horizontal */
        justify-content: space-between;
        align-items: flex-start;
        padding: 1.2rem 0.5rem !important;
        gap: 0 !important;
        width: 100%;
        background: rgba(255,255,255,0.03); /* Lighter bg for visibility */
    }

    .quick-stat {
        flex: 1;
        text-align: center;
        border-right: 1px solid rgba(255,255,255,0.1); /* Subtle divider */
    }

    .quick-stat:last-child { border-right: none; }
    .quick-stat-divider { display: none; } /* Hide old dividers */

    .q-val { font-size: 1.1rem !important; margin-bottom: 4px; }
    .q-label { font-size: 0.65rem !important; line-height: 1.1; display: block; }

    /* B. Buttons: 3 on Line 1, 2 on Line 2 */
    .platform-tabs-dark {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 10px !important;
    }

    .platform-tab-dark {
        /* Math: (100% - 2 gaps) / 3 items = ~31% width */
        flex: 0 0 calc(33.33% - 7px);
        width: calc(33.33% - 7px);
        
        padding: 10px 0 !important; /* Compact padding */
        font-size: 0.75rem !important;
        border-radius: 10px;
        text-align: center;
        white-space: nowrap;
    }
    /* The 4th and 5th buttons will automatically wrap to the next line and center */
}

/* ============================================
   CTA STRIP IMPROVEMENTS
   ============================================ */

/* 1. HEADLINE UNDERLINE POSITION */
.cta-section-white h2 {
    position: relative;
    display: inline-block; /* Keeps underline with text */
    z-index: 2;
}

.cta-underline {
    position: absolute;
    bottom: 5px; /* Adjust to sit perfectly under "Dominating?" */
    right: 0;
    width: 220px; /* Specific width for this headline */
    height: 12px;
    z-index: 1;
}

.cta-underline path {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: drawCtaLine 1.5s ease forwards 0.5s;
}

@keyframes drawCtaLine {
    to { stroke-dashoffset: 0; }
}

/* 2. BRANDED CHECKMARKS (Switching Green to Brand Blue) */
.check-icon {
    color: #3BB4D9 !important; /* Brand Blue */
    filter: drop-shadow(0 0 5px rgba(59, 180, 217, 0.4)); /* Subtle Glow */
}

/* 3. STANDARDIZED CTA BUTTON (Full Width Version) */
.cta-strip-btn {
    width: 100%; /* Fills the card */
    display: flex;
    justify-content: center; /* Centers the text */
    align-items: center;
    margin-top: 1.5rem;
    padding: 1rem !important; /* Slightly larger click area */
    font-size: 1rem !important;
}

/* Ensure hover effect works on full width */
.cta-strip-btn:hover {
    transform: translate(-3px, -3px);
    box-shadow: 8px 8px 0 #E84855;
}

/* 4. PREMIUM CARD LIFT */
.cta-offer-card {
    border: 1px solid rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.cta-offer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(27, 27, 47, 0.15); /* Deep navy shadow */
    border-color: #3BB4D9; /* Highlight border on hover */
}

/* ============================================
   FIX: CTA ALIGNMENT & UNDERLINE
   ============================================ */

/* 1. Fix the "Dropping" Text */
/* We change it from inline-block to inline so it sits perfectly on the text line */
.brand-highlight-text {
    position: relative;
    display: inline; 
    color: #E84855;
    font-weight: 800;
    padding-bottom: 0; /* Remove padding that was pushing it down */
}

/* 2. Lock the Underline to the Word */
.cta-underline {
    position: absolute;
    left: 0;
    bottom: -8px; /* Push slightly below the text */
    width: 100%;  /* Automatically matches the width of "Dominating?" */
    height: 12px;
    z-index: 1;
    pointer-events: none;
}

/* Ensure the animation still works */
.cta-underline path {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: drawCtaLine 1.5s ease forwards 0.5s;
}

@keyframes drawCtaLine {
    to { stroke-dashoffset: 0; }
}

/* Reset the H2 to standard behavior so it doesn't mess up spacing */
.cta-section-white h2 {
    display: block; /* Ensures it behaves like a standard headline */
    position: relative;
}

/* ============================================
   FAQ IMPROVEMENTS: UNDERLINE & SPACE FILLER
   ============================================ */

/* 1. BLUE ANIMATED UNDERLINE */
.faq-blue-highlight {
    position: relative;
    display: inline-block;
    color: #4CC9E8; /* Keep the Cyan Color */
    padding-bottom: 5px;
}

.faq-underline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 12px;
}

.faq-underline path {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: drawBlueLine 1.5s ease forwards 0.5s;
}

@keyframes drawBlueLine {
    to { stroke-dashoffset: 0; }
}

/* 2. SPACE FILLER: VISUAL CARD */
.faq-extra-visual {
    margin-top: 3.5rem; /* Pushes it down to fill space */
    background: #F8FAFB;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 20px;
    padding: 1.5rem;
    max-width: 320px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.visual-card-glass {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1.5rem;
}

.v-icon-box {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4CC9E8;
    box-shadow: 0 4px 12px rgba(76, 201, 232, 0.2);
}

.v-icon-box svg {
    width: 24px;
    height: 24px;
}

.v-text-content h4 {
    font-size: 1rem;
    font-weight: 800;
    color: #1B1B2F;
    margin-bottom: 2px;
}

.v-text-content p {
    font-size: 0.8rem;
    color: #666;
}

.visual-stat-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 1rem;
}

.v-stat {
    text-align: center;
    flex: 1;
}

.v-stat strong {
    display: block;
    font-size: 1.2rem;
    color: #1B1B2F;
    font-weight: 800;
}

.v-stat span {
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
    font-weight: 600;
}

.v-divider {
    width: 1px;
    height: 30px;
    background: rgba(0,0,0,0.1);
}

/* Hide on mobile if screen is too small */
@media (max-width: 900px) {
    .faq-extra-visual {
        display: none;
    }
}

/* ============================================
   MARKET LEADERS - BLUE & UNDERLINE
   ============================================ */

.market-blue-text {
    position: relative;
    display: inline-block;
    color: #4CC9E8; /* Bright Brand Blue */
    padding-bottom: 5px; /* Space for the underline */
}

.market-underline {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 12px;
}

.market-underline path {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: drawMarketLine 1.5s ease forwards 0.5s;
}

@keyframes drawMarketLine {
    to { stroke-dashoffset: 0; }
}

/* ============================================
   FIX: CENTER ALIGNMENT FOR BRAND MATRIX
   ============================================ */

.matrix-header {
    width: 100% !important;
    max-width: 100% !important;
    text-align: center !important;
    display: flex;
    flex-direction: column;
    align-items: center; /* Forces children to center horizontally */
    justify-content: center;
    margin-bottom: 60px;
}

.matrix-title {
    text-align: center !important;
    width: 100%;
    display: block; /* Ensures it spans full width */
}

/* Ensure the blue text stays inline so it centers with the rest of the headline */
.market-blue-text {
    display: inline-block; 
    text-align: left; /* Keep internal text natural, block itself is centered by parent */
}

.matrix-subtitle {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block;
}

/* ============================================
   GOALS SECTION: RED TEXT & UNDERLINE
   ============================================ */

.goals-red-text {
    position: relative;
    display: inline-block;
    color: #E84855; /* Brand Red */
    font-weight: 800;
}

.goals-underline {
    position: absolute;
    bottom: -2px; /* Sits perfectly under the comma */
    left: 0;
    width: 100%;
    height: 12px;
}

.goals-underline path {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: drawGoalsLine 1.5s ease forwards 0.5s;
}

@keyframes drawGoalsLine {
    to { stroke-dashoffset: 0; }
}

/* ============================================
   MOBILE MAP SPACING FIX
   Paste this at the very bottom of styles.css
   ============================================ */

@media (max-width: 768px) {
    
    /* 1. Reduce the massive whitespace above and below the section */
    .global-section-v2 {
        padding: 2.5rem 1.25rem !important; /* Reduced from 6rem to 2.5rem */
    }

    /* 2. Pull the text closer to the map */
    .global-v2-header {
        margin-bottom: 1.5rem !important; /* Reduced from 3rem to 1.5rem */
    }

    /* 3. Tweak the subtitle to be tighter */
    .global-v2-subtitle {
        margin-bottom: 0.5rem !important;
        font-size: 0.95rem !important;
    }

    /* 4. (Optional) Adjust map height slightly if it still feels too tall */
    .global-v2-map-wrap {
        min-height: 220px !important; /* Compact height for mobile */
    }
}

/* ============================================
   MOBILE MAP FIXES
   ============================================ */
@media (max-width: 768px) {
    /* 1. Hide the Legend (India HQ - Service Regions) on Mobile */
    .map-legend {
        display: none !important;
    }

    /* 2. Reduce the empty vertical space inside the map container */
    .global-v2-map-wrap {
        min-height: 200px !important; /* Reduced from 260px */
        height: 220px !important;     /* Force a compact height */
        margin-bottom: 0 !important;  /* Remove extra bottom margin */
    }

    /* 3. Reduce the padding of the whole section to tighten it up */
    .global-section-v2 {
        padding: 3rem 1.5rem !important; /* Reduced from 6rem to 3rem */
    }
    
    /* Optional: Adjust header spacing for better flow */
    .global-v2-header {
        margin-bottom: 1.5rem !important;
    }
}

/* ============================================
   MOBILE TESTIMONIALS FIX
   ============================================ */
@media (max-width: 768px) {
    /* Hide the Stats/Reviews Card on Mobile */
    .stats-card-dark {
        display: none !important;
    }
    
    /* Optional: Center the remaining text on mobile for better looks */
    .testimonials-grid {
        grid-template-columns: 1fr !important;
        text-align: center !important;
        gap: 0 !important; /* Remove gap since card is gone */
    }

    .clients-say-dark {
        margin: 0 auto; /* Center the text block */
    }
    
    .clients-say-dark .clients-say-header {
        justify-content: center; /* Center the checkmark header */
    }
}

/* Remove the red animated underline completely */
.keyword-underline,
.market-underline path[stroke="#E84855"],
svg.keyword-underline,
.trust-keyword-wrap .keyword-underline {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* ============================================
   PREMIUM LOGO SCROLL ANIMATION
   ============================================ */

/* 1. Main Container Setup */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    height: 50px; /* Keeps header height stable */
    overflow: hidden; /* Hides the parts of logos moving in/out */
    position: relative;
}

/* 2. Full Logo (The Text Version) - Default State */
.logo-full {
    height: 38px;          /* Adjust height to fit header */
    width: auto;           /* Keep aspect ratio */
    max-width: 250px;      /* Allow full width initially */
    opacity: 1;            /* Fully visible */
    transform: translateX(0);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); /* Smooth premium easing */
    /* Fix for mobile text hiding rule */
    display: block !important; 
}

/* 3. Symbol Logo (The X) - Default State */
.logo-symbol {
    height: 38px;
    width: auto;
    max-width: 0;          /* Start width at 0 to hide it */
    opacity: 0;            /* Start invisible */
    transform: rotate(-180deg); /* Start rotated */
    margin-left: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   SCROLLED STATE (Triggered when user scrolls)
   ============================================ */

/* A. Hide Full Logo */
header.scrolled .logo-full {
    max-width: 0;          /* Shrink width to 0 */
    opacity: 0;            /* Fade out */
    padding: 0;            /* Remove spacing */
    margin: 0;
}

/* B. Show Symbol Logo */
header.scrolled .logo-symbol {
    max-width: 50px;       /* Expand to natural width */
    opacity: 1;            /* Fade in */
    transform: rotate(0deg); /* Spin to 0 degrees */
    margin-right: 15px;    /* Optional spacing */
}

/* ============================================
   SMART MOBILE HEADER ANIMATION (Full Text Version)
   ============================================ */
@media (max-width: 768px) {
    
    /* 1. Header Layout */
    nav {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0.75rem 1rem;
        gap: 10px;
    }

    /* 2. LOGO ANIMATION (Full -> X) */
    .logo {
        flex-shrink: 0;
        height: 40px;
        display: flex;
        align-items: center;
        transition: all 0.5s ease;
    }

    .logo-full {
        height: 24px;
        width: auto;
        opacity: 1;
        max-width: 200px; 
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* 3. BUTTON ANIMATION (Hidden -> Visible) */
    .mobile-cta {
        /* INITIAL STATE: Hidden & Collapsed */
        max-width: 0;
        padding: 0;
        opacity: 0;
        overflow: hidden;
        white-space: nowrap;
        margin: 0;
        border: none;
        
        /* Smooth Transition */
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        
        /* Flex setup */
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Show the original text from HTML */
    .mobile-cta .cta-btn-text {
        display: block; 
        font-size: 0.65rem; /* Slightly smaller font to ensure it fits */
        font-weight: 800;
        letter-spacing: 0.5px;
    }

    /* 4. SCROLLED STATE (The Magic Moment) */
    
    /* When scrolled: Hide Full Logo */
    header.scrolled .logo-full {
        max-width: 0;
        opacity: 0;
        margin: 0;
    }

    /* When scrolled: Show Button */
    header.scrolled .mobile-cta {
        max-width: 220px;       /* Increased width to fit "Free Marketing Plan" */
        padding: 8px 16px;      
        opacity: 1;             
        margin-right: auto;     
        margin-left: 10px;      
    }

    /* 5. Hamburger Menu */
    .mobile-toggle {
        margin-left: auto; 
        flex-shrink: 0;
    }
}

/* ============================================
   CLEAN RESULTS LAYOUT (Desktop & Mobile)
   ============================================ */

/* 1. Main Grid Layout */
.frame-content-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr; /* Text Left, Image Right */
    align-items: stretch;
    border: none;
}

/* 2. Right Side Container (Image + Buttons) */
.frame-visual {
    background: transparent;
    display: flex;
    flex-direction: column; /* Stack Image on top of Buttons */
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0;
    min-height: auto;
}

/* 3. The Image Area */
.ss-display {
    flex-grow: 1; /* Fills available space */
    position: relative;
    overflow: hidden;
    min-height: 350px; /* Good height for desktop */
}

.result-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 4. New Embedded Footer (Just below image) */
.frame-footer-embedded {
    background: rgba(0,0,0,0.3); /* Slight darkness behind buttons */
    padding: 15px;
    display: flex;
    justify-content: center; /* PERFECTLY CENTERED */
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* 5. Navigation Capsule */
.ss-nav-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

/* 6. Buttons (Small & Smooth) */
.nav-btn-dark {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.nav-btn-dark:hover {
    background: white;
    color: black;
    transform: scale(1.05);
}

/* 7. Dots */
.ss-dots {
    display: flex;
    gap: 8px;
}
.ss-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: none;
    cursor: pointer;
    padding: 0;
}
.ss-dot.active {
    background: #4CC9E8; /* Blue active dot */
    transform: scale(1.3);
}

/* ============================================
   MOBILE LAYOUT FIXES (The "Description First" Fix)
   ============================================ */
@media (max-width: 768px) {
    
    /* 1. Stack Vertical: Text First, Then Image */
    .frame-content-grid {
        display: flex !important;
        flex-direction: column !important; /* Normal Column Order */
    }

    /* 2. Text Section (Top) */
    .frame-info {
        order: 1 !important; /* First */
        padding: 1.5rem !important;
        text-align: left;
    }

    /* 3. Visual Section (Bottom) */
    .frame-visual {
        order: 2 !important; /* Second */
        width: 100% !important;
        border-left: none !important;
        border-top: 1px solid rgba(255,255,255,0.1);
    }

    /* 4. Image Height */
    .ss-display {
        min-height: 250px !important;
    }

    /* 5. Buttons remain centered below image automatically */
    .frame-footer-embedded {
        padding: 12px;
        background: rgba(0,0,0,0.5); /* Darker on mobile for contrast */
    }
}

/* ============================================
   FOOTER LOGO UPDATE
   ============================================ */
.footer-logo-img {
    width: 160px;         /* adjust to your logo's natural width */
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 12px;
    object-fit: contain;
    filter: brightness(0) invert(1); /* fallback: forces image white if it's not already */
}

.footer-logo-img:hover {
    opacity: 1;
}

.footer-logo-link {
    display: inline-block;
    text-decoration: none;
    border: none;
}