.hero {
    position: relative;
    padding: 60px 0 40px;
    color: var(--text-white);
    background-color: transparent;
    overflow: hidden;
}

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

.hero-main {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Desktop: Side by side */
    gap: 50px;
    align-items: center;
    margin-bottom: 80px;
}

/* --- LEFT COLUMN: TEXT --- */
.hero-content h1 {
    font-size: var(--h1);
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 10px;
    color: #FDE68A; /* Fallback */
}

/* The Gold/Cream Gradient Text Effect */
.text-gradient {
    background: linear-gradient(90deg, #fff 0%, #FBBF24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size:var(--p1) ;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
    line-height: 1.6;
}

/* Pills / Chips */
.hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.pill {
    background-color:var(--secondary); /* Light gold bg */
    color:var(--text-primary);
    
    padding: 12px 18px;
    border-radius: 50px;
    font-weight: 500;
    font-size: var(--p2);
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
    transition: transform 0.3s;
}

.pill:hover { transform: translateY(-3px); }
.pill i { font-size: 16px; }

/* --- RIGHT COLUMN: COMPLEX VISUAL --- */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* =========================================
   4. TRUSTED BY MARQUEE
   ========================================= */
.trusted-section {
    background: #ffffff;
    border-radius: 100px; /* Fully rounded pill shape */
    padding: 15px 25px;
    display: flex;
    align-items: center;
    gap: 30px;
    position: relative;
    z-index: 3;
    max-width: 1400px;
    margin-top: -2rem; /* Center horizontally */
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.trusted-label h3 {
    color: #1A202C;
    font-size: 18px;
    font-weight: 700;
    white-space: nowrap;
    margin-right: 20px;
}

.marquee-wrapper {
    flex: 1; /* Take remaining space */
    overflow: hidden;
    position: relative;
    /* Mask fade effect on edges */
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
    display: flex;
    gap: 50px;
    width: max-content;
    /* Infinite Scroll Animation */
    animation: scroll 10s linear infinite;
}

.marquee-track img {
    height: 35px; /* Fix logo height */
    width: auto;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.marquee-track img:hover { opacity: 1; }

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Move half distance (because duplicated) */
}

/* =========================================
   5. RESPONSIVE STYLES
   ========================================= */
@media (max-width: 992px) {
    .hero-main {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 { font-size: 36px; }
    .hero-desc { margin: 0 auto 30px; }
    .hero-pills { justify-content: center; }

    .hero-visual {
        
    margin-top: 40px; 
    display: none;
                    }
    .circle-container { width: 320px; height: 320px; }
    
    .badge-left { left: -20px; padding: 10px; }
    .badge-right { right: -10px; padding: 10px; }
    
    .trusted-section {
        flex-direction: column;
        border-radius: 20px;
        padding: 20px;
    }
    .trusted-label { margin-bottom: 15px; }

    .trusted-section {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 16px;
        width: 100%;
    }

    .trusted-label {
        margin-bottom: 0;
        white-space: nowrap;
    }

    /* Marquee container: take remaining space to the right of the label */
    .marquee-wrapper {
        flex: 1 1 auto;
        overflow: hidden;
        position: relative;
        left: auto;
        -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
        mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
        max-width: 100%;
        padding: 6px 0;
        box-sizing: border-box;
        min-width: 0; /* allow flex children to shrink properly */
    }

    /* Marquee track: stretch to fill marquee-wrapper, align items to the left */
    .marquee-track {
        display: flex;
        gap: 16px;
        width: auto;
        flex: 1 1 auto;
        justify-content: flex-start;
        align-items: center;
        padding: 6px;
        box-sizing: border-box;
        min-width: 0;
    }

    .marquee-track img {
        height: 25px;
        width: auto;
        max-width: 40%;
        opacity: 0.9;
        transition: opacity 0.2s, transform 0.2s;
        flex: 0 0 auto; /* keep intrinsic size but prevent growing/shrinking into overflow */
        object-fit: contain;
    }

    /* If you prefer a horizontal swipe on narrow screens instead of wrapping,
       add the class `allow-scroll` to .marquee-wrapper in the HTML. */
    .marquee-wrapper.allow-scroll {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

    /* Tweak for very small devices */
    @media (max-width: 480px) {
        .marquee-track { gap: 12px; }
        .marquee-track img { height: 24px; max-width: 45%; }
    }

    
