.mobile-marquee-dup{
    display: none;
}
.hero, #hero {
    position: relative;
    color: var(--text-white);
    background-color: transparent;
    overflow: hidden;
    margin-top: 0; /* flush with navbar; spacing is handled by navbar height */
    padding-top: 2vh;
}

.hero .container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 3rem;
}

.hero-main {

    display: grid;
    grid-template-columns: 1.3fr 1fr; /* Desktop: Side by side */
    gap: 30px;
    align-items: center;
}

/* --- LEFT COLUMN: TEXT --- */
.hero-content h1 {
    font-size: var(--h1-large);
    line-height: 1.6;
    font-weight: 700;
    margin-bottom: 10px;
}

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

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

/* Pills / Chips */
.hero-pills {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    flex-wrap: wrap;
    gap: 15px;
}

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

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

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

/* =========================================
   4. TRUSTED BY MARQUEE
   ========================================= */
.trusted-section {
    background: #ffffff;
    border-radius: 50px; /* Fully rounded pill shape */
    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: var(--h2);
    font-weight: 700;
    white-space: nowrap;
    margin:0 20px;
}

.marquee-wrapper {
    background:#DCDCDC;
    flex: 1; /* Take remaining space */
    overflow: hidden;
    padding: 10px ;
    display: flex;
    justify-content: center;
    border-radius: 0 50px 50px 0 ; /* Rounded top corners only */
    /* Mask fade effect on edges */
}

.marquee-track {
    display: flex;
    gap: 100px;
    width: max-content;
    align-items: center;
    min-width: 100%;
    flex-shrink: 0;
    /* Infinite Scroll Animation */
    /* animation: scroll 9s linear infinite; */
}
@media (max-width: 1080px) and (min-width:993px) {
    .marquee-track {
        gap: 40px;
    }
}

.trusted-logo-tehama {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 120px;
        height: 80px;
    }
.trusted-logo-rashal{
        display: flex;
        justify-content: center;
        align-items: center;
        width: 120px;
        height: 80px;
    }
.trusted-logo-rashal img {
         width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .trusted-logo-tehama img {
         width: 100%;
        height: 100%;
        object-fit: cover;
    }
.marquee-track img {
    opacity: 0.8;
    transition: opacity 0.3s;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Professional logo sizing for large screens */
.trusted-logo-tispa {
    width: 90px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.trusted-logo-binary {
    width: 110px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.trusted-logo-pycon {
    width: 80px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.trusted-logo-tehama {
    width: 120px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.trusted-logo-rashal {
    width: 120px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.marquee-track img:hover { opacity: 1; }
/* 
@keyframes scroll {
    0% { transform: translateX(0); }
     100% { transform: translateX(calc(-50% - 25px)); /* Move half distance (because duplicated) + half gap) */

/* =========================================
   5. RESPONSIVE STYLES
   ========================================= */
@media (max-width: 768px) {
    .hero {
        margin-top: 0;
    }
    .mobile-marquee-dup{
        display: flex !important;
    }
    .hero .container{
        margin: 0;
        padding: 3rem 1rem 0 1rem;
    }
    .hero-main {
        display: flex;
        flex-direction: column;
        text-align: center;
    }

    .hero-content h1 { 
        font-size: var(--h2-small);
     text-align: left; }
    .hero-desc {
        font-size: var(--p1-small);
        margin: 0;
     text-align: left; }

    .hero-pills {
        margin-top: 1rem;
        display: flex;
        flex-direction: row;
        
         
    }

    .hero-visual {
      width: 100%; 
                    }   
    .hero-visual img{
        width: 100%;
        height: auto;

    }
    .pill {
        font-size: var(--p4);
        padding:12px;
    }
    .circle-container { width: 320px; height: 320px; }
    
    .badge-left { left: -20px; padding: 10px; }
    .badge-right { right: -10px; padding: 10px; }
    
    .project-section-desc p, .section-desc p{
        width: 100%;
        padding: 0;
        font-size: var(--p1-small);
    }
    .trusted-label { 
        margin: 0;

     }
     .trusted-label h3 {
        font-size: var(--p1);
        padding: 0 5px;
    }
    .trusted-section {
        flex-direction:row ;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        gap: 0;
    }

    

    /* Marquee container: take remaining space to the right of the label */
    .marquee-wrapper {
        flex: 1 1 auto;
        overflow-x: hidden;
        position: relative;
        left: auto;
        max-width: 100%;
        border-radius: 0;
        padding: 6px 0;
        box-sizing: border-box;
        border-radius: 0 40px 40px 0;
        min-width: 0; /* allow flex children to shrink properly */
    }
    .marquee-track {
        display: flex;
        gap: 16px;
        justify-content: flex-start;
        align-items: center;
        padding: 6px 10px;
        box-sizing: border-box;
        min-width: 0;
        animation: marquee-mobile 18s linear infinite;
    }

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

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

    
    .marquee-track img {
        opacity: 0.9;
        transition: opacity 0.2s, transform 0.2s;
        object-fit: contain;
        width: 100%;
        height: 100%;
    }
    .trusted-logo-tispa {
        width: 100px;
        height: 20px;
    }
    .trusted-logo-binary {
        width: 100px;
        height: 30px;
    }
    .trusted-logo-pycon {
        width: 100px;
        height: 30px;
    }
    .trusted-logo-tehama {
        width: 100px;
        height: 50px;
    }
    .trusted-logo-rashal {
        width: 100px;
        height: 50px;
    }

    /* 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: 8px; }
    }

    
