@font-face {
    font-family: "GreaterTheory";
    src: url("assets/fonts/GreaterTheory.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
}

@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap");


html,
body {
    font-family: "Roboto", sans-serif;
    background-color: #061B31;
    color: #ffffff;
    margin: 0;
    padding: 0;
}

html {
    overflow: hidden;
    height: 100%;
}

body {
    overflow-x: hidden;
    overflow-y: scroll;
    height: 100%;
    /* Hide scrollbar on all browsers */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body::-webkit-scrollbar {
    display: none;
}

html {
    background-color: #05080d;
}

.hero-bg {
    line-height: 0;
    position: relative;
    overflow: hidden;
}

.hero-image {
    display: block;
    will-change: transform;
}

.hero-overlay {
    line-height: normal;
    box-sizing: border-box;
    padding-top: 0;
    padding-bottom: 0;
    will-change: transform, opacity;
}

.hero-inner {
    margin-top: 0;
    margin-bottom: 280px;
    width: min(100%, 1200px);
    max-width: calc(100% - 32px);
    padding: 0;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title {
    font-family: "GreaterTheory", serif;
    font-size: clamp(2.2rem, 4.4vw, 3rem);
    letter-spacing: 0pt;
    margin-bottom: 0.55rem;
    text-shadow: 0 2px 6px rgba(2, 10, 23, 0.45);
    white-space: normal;
    width: 100%;
    text-align: center;
}

.hero-subtitle {
    font-size: clamp(0.5rem, 1.7vw, 1rem);
    letter-spacing: 0em;
    margin-bottom: 2.1rem;
    white-space: normal;
    width: 100%;
    text-align: center;
}

.top-nav-glass {
    background: rgba(90, 108, 128, 0.32);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 10px 20px rgba(4, 15, 30, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background-color 0.35s ease, box-shadow 0.35s ease;
    /* Desktop: show as pill */
    display: flex;
    visibility: visible;
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 30px 60px !important;
    z-index: 100 !important;
    box-sizing: border-box !important;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.4s ease !important;
}

.social-glass {
    background: rgba(127, 147, 170, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.15), 0 8px 18px rgba(6,22,41,0.35);
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
    width: 196px;
    height: 44px;
    display: inline-flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border-radius: 999px;
    position: relative;
}

/* Each icon link inside the pill — this is what animates */
.social-glass a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    position: relative;
    transition:
        transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
        background 0.25s ease,
        box-shadow 0.25s ease;
    z-index: 1;
}

/* Liquid glass bubble behind each icon on hover */
.social-glass a::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.3);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.4);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.social-glass a:hover {
    transform: scale(1.35) translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}

.social-glass a:hover::before {
    opacity: 1;
}

.social-glass img {
    width: 16px;
    height: 16px;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

nav a,
.stat-item,
.count {
    transition: all 0.3s ease;
}

.reveal-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

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

.about-section {
    margin-top: 0 !important;
    padding: 80px 0 3.5rem;
    position: relative;
    z-index: 10;
    background: #061B31;
}



.about-wrap {
    margin-bottom: 0;
    max-width: 1078px;
}

.about-title {
    font-family: "GreaterTheory", serif;
    font-size: clamp(2.2rem, 3.25vw, 2.8rem);
    letter-spacing: 0.06em;
    margin-bottom: 1rem;
}

.about-text {
    max-width: 1400px;
    margin: 0 auto 2.8rem;
    font-size: 16px;
    line-height: 1.45;
    text-align: center;
}

.stats-row {
    margin-top: 2.8rem;
}

.stat-number {
    font-size: clamp(2.8rem, 4.1vw, 4rem);
    line-height: 1;
    margin-bottom: 0.45rem;
}

.stat-label {
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

.showcase-section {
    position: relative;
    z-index: 5;
    margin-top: 0px;
    padding: 3rem 0 2rem;
    background: radial-gradient(circle at top, rgba(29, 75, 130, 0.38), rgba(6, 27, 49, 0.92) 35%, #061b31 100%);
    background-repeat: no-repeat;
}

.showcase-wrap {
    max-width: 1340px;
    width: 100%;
    box-sizing: border-box;
}

.showcase-title {
    font-family: "GreaterTheory", serif;
    font-size: clamp(2rem, 3vw, 2.5rem);
    margin-bottom: 1.8rem;
    letter-spacing: 0.05em;
}

.service-grid {
    display: grid;
    gap: 14px;
}

.service-grid {
    grid-template-columns: repeat(auto-fit, 282px);
    justify-content: center;
}

.service-card,
.team-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    min-height: 210px;
    transition: transform 0.3s ease;
}

.service-card:hover,
.team-card:hover {
    transform: translateY(-4px);
}

.service-card::before,
.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 4px solid #870000;
    border-radius: 8px;
    clip-path: inset(0 0 100% 0);
    transition: clip-path 0.6s ease;
    pointer-events: none;
}

.service-card:hover::before,
.team-card:hover::before {
    clip-path: inset(0 0 0 0);
}

.service-card {
    width: 282px;
    height: 364px;
    min-height: 364px;
}

.service-card img,
.team-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(0.7) contrast(1.05);
}

.service-overlay,
.team-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 0.85rem 0.7rem 0.7rem;
    background: linear-gradient(to top, rgba(3, 10, 20, 0.86) 10%, rgba(3, 10, 20, 0));
}

.service-overlay h3,
.team-overlay h3 {
    font-size: 0.98rem;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 4px;
}

.service-overlay p,
.team-overlay p {
    font-size: 0.58rem;
    line-height: 1.2;
    opacity: 0.9;
    text-transform: uppercase;
}

.service-overlay h3 {
    font-family: "Roboto", sans-serif;
    font-size: 12pt;
    font-weight: 900;
    line-height: 1.1;
    white-space: nowrap;
}

.service-overlay p {
    font-family: "Roboto", sans-serif;
    font-size: 7pt;
    font-weight: 400;
    line-height: 1.25;
    text-transform: none;
    opacity: 0.95;
}

.service-placeholder {
    background: #cfcfd2;
}

.announcing-card .service-overlay {
    background: linear-gradient(to top, rgba(3, 10, 20, 0.9) 15%, rgba(3, 10, 20, 0.45));
}

.announcing-card .announcing-title {
    font-family: "Roboto", sans-serif;
    font-size: 20pt;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 0.3rem;
}

.announcing-card .announcing-text {
    font-family: "Roboto", sans-serif;
    font-size: 6pt;
    font-weight: 400;
    line-height: 1.25;
    text-transform: none;
    opacity: 0.95;
}

.team-heading {
    margin-top: 2.8rem;
}

.team-card {
    flex: 0 0 282px;
    width: 282px;
    height: 364px;
    min-height: 364px;
    margin: 0;
}

.team-carousel-wrap {
    overflow: hidden;
    padding: 0;
    box-sizing: border-box;
    height: 400px;
    width: 100%;
}

.team-carousel {
    display: flex;
    flex-wrap: nowrap;
    transition: transform 0.45s ease;
    will-change: transform;
    height: 100%;
}

.team-slide {
    width: 100%;
    flex: 0 0 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    padding: 8px 12px;
    flex-wrap: nowrap;
    box-sizing: border-box;
}

.team-slide.team-slide-main {
    flex-wrap: nowrap !important;
}

.team-slide-main > .team-card,
.team-slide-main > .team-card-main {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    max-width: 392px;
    height: 382px;
    min-height: 382px;
}

.team-slide:not(.team-slide-main) > .team-card {
    flex: 1 1 0;
    min-width: 0;
    max-width: 290px;
    height: 364px;
    min-height: 364px;
}

.team-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
}

.team-dots .dot {
    width: 9px;
    height: 9px;
    border: 0;
    cursor: pointer;
    padding: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    opacity: 0.7;
    transition: opacity 0.3s ease, background 0.3s ease, width 0.3s ease;
}

.team-dots .dot.active {
    width: 20px;
    border-radius: 999px;
    background: #f5a623;
    opacity: 1;
}

/* --- BASE CSS overrides --- */
.service-grid {
    flex-wrap: wrap;
}

.team-slide {
    flex-wrap: nowrap;
}

.team-dots .dot:hover {
    opacity: 1;
}

/* --- MOBILE RESPONSIVE SECTION (max-width: 900px) --- */
@media (max-width: 900px) {

    /* =============================================
       1. GLOBAL RESETS
    ============================================= */
    html, body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    *, *::before, *::after {
        box-sizing: border-box;
    }

    /* =============================================
       2. HEADER — logo left, hamburger right, flat row
    ============================================= */
    header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        padding: 16px 20px !important;
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        margin-bottom: 0 !important;
        z-index: 100 !important;
    }

    /* Logo + text: keep as-is, just slightly smaller */
    header .flex.items-center.gap-3 img {
        height: 48px !important;
    }

    header .flex.items-center.gap-3 .strong  {
        font-size: 16px !important;
    }

    header .flex.items-center.gap-3 .opacity-80 {
        margin-top: 0%;
        font-weight: 100;
        font-size: 14px;
        opacity: 0.75 !important;
    }

    /* Right side: only show the hamburger button, hide nav by default */
    header .flex.items-center.relative {
        flex-direction: row !important;
        align-items: center !important;
        gap: 0 !important;
        min-height: unset !important;
    }

    /* Show the hamburger button — liquid glass style */
    #menuToggle {
        display: flex !important;
        order: 0 !important;
        margin: 0 !important;
        width: 46px !important;
        height: 46px !important;
        border-radius: 50% !important;
        background: rgba(255, 255, 255, 0.1) !important;
        border: 1px solid rgba(255, 255, 255, 0.25) !important;
        backdrop-filter: blur(16px) saturate(1.8) !important;
        -webkit-backdrop-filter: blur(16px) saturate(1.8) !important;
        box-shadow:
            inset 0 1px 0 rgba(255,255,255,0.3),
            inset 0 -1px 0 rgba(0,0,0,0.15),
            0 4px 16px rgba(0,0,0,0.3) !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 5px !important;
        cursor: pointer !important;
        transition: background 0.3s ease, box-shadow 0.3s ease !important;
        position: relative !important;
        overflow: hidden !important;
    }

    #menuToggle::before {
        content: '' !important;
        position: absolute !important;
        top: 0 !important; left: 0 !important; right: 0 !important;
        height: 50% !important;
        background: linear-gradient(180deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0) 100%) !important;
        border-radius: 50% 50% 0 0 !important;
        pointer-events: none !important;
    }

    #menuToggle span {
        display: block !important;
        width: 20px !important;
        height: 2px !important;
        background: rgba(255,255,255,0.95) !important;
        border-radius: 2px !important;
        transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.25s ease !important;
        transform-origin: center !important;
        position: relative !important;
    }

    #menuToggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg) !important;
    }
    #menuToggle.active span:nth-child(2) {
        opacity: 0 !important;
        transform: scaleX(0) !important;
    }
    #menuToggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg) !important;
    }

    #menuToggle.active {
        background: rgba(255, 255, 255, 0.18) !important;
    }

    /* Mobile nav — liquid glass dropdown, hidden by default */
    #mainNav {
        display: none !important;
        position: absolute !important;
        top: 58px !important;
        right: 0 !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0 !important;
        padding: 8px !important;
        width: 180px !important;
        margin: 0 !important;
        background: rgba(255, 255, 255, 0.08) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        border-radius: 16px !important;
        backdrop-filter: blur(24px) saturate(1.8) !important;
        -webkit-backdrop-filter: blur(24px) saturate(1.8) !important;
        box-shadow:
            inset 0 1px 0 rgba(255,255,255,0.25),
            0 16px 40px rgba(0,0,0,0.4) !important;
        z-index: 200 !important;
    }

    #mainNav.active {
        display: flex !important;
    }

    #mainNav a {
        font-size: 14px !important;
        font-weight: 600 !important;
        line-height: 1 !important;
        padding: 12px 16px !important;
        border-radius: 10px !important;
        text-align: left !important;
        color: rgba(255,255,255,0.92) !important;
        gap: 0 !important;
    }

    #mainNav a:active {
        background: rgba(255,255,255,0.12) !important;
    }

    /* =============================================
       3. HERO — full width image, centered text overlay
    ============================================= */
    .hero-bg {
        position: relative !important;
        width: 100% !important;
        min-height: 100dvh !important;
        overflow: hidden !important;
    }

    .hero-image {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center top !important;
        display: block !important;
        transform: none !important;
        margin-top: 0 !important;
    }

    .hero-overlay {
        position: absolute !important;
        inset: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 0 20px !important;
        min-height: 100dvh !important;
    }

    .hero-inner {
        transform: none !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .hero-title {
        font-size: clamp(1.5rem, 6.5vw, 1.9rem) !important;
        line-height: 1.15 !important;
        margin-bottom: 0.5rem !important;
        text-align: center !important;
        white-space: normal !important;
    }

    .hero-subtitle {
        font-size: clamp(0.6rem, 2.8vw, 0.8rem) !important;
        margin-bottom: 1.2rem !important;
        text-align: center !important;
    }

    .social-glass {
        width: 140px !important;
        height: 36px !important;
        gap: 6px !important;
        padding: 0 12px !important;
    }

    .social-glass img {
        width: 14px !important;
        height: 14px !important;
    }

    .social-glass a:hover {
        transform: none !important;
        box-shadow: none !important;
    }

    .social-glass a:hover::before {
        opacity: 0 !important;
    }


    /* =============================================
       4. ABOUT SECTION — centered, no overlap offset
    ============================================= */
    .about-section {
        margin-top: 0 !important;
        padding: 2.5rem 0 2rem !important;
        margin-bottom: 120px !important;
        position: relative !important;
        z-index: 30 !important;
    }

    .about-wrap {
        padding-left: 24px !important;
        padding-right: 24px !important;
        max-width: 100% !important;
    }

    .about-title {
        font-size: clamp(1.6rem, 7vw, 2rem) !important;
        margin-bottom: 1rem !important;
    }

    .about-text {
        font-size: clamp(0.62rem, 2.4vw, 0.75rem) !important;
        line-height: 1.65 !important;
        margin-bottom: 1.8rem !important;
        max-width: 100% !important;
        text-align: center !important;
    }

    /* Stats: 3 items in a row, evenly spaced */
    .stats-row {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-around !important;
        align-items: center !important;
        gap: 0.5rem !important;
        flex-wrap: nowrap !important;
        margin-top: 1.2rem !important;
    }

    .stat-item {
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .stat-number {
        font-size: clamp(1.9rem, 7vw, 2.2rem) !important;
        line-height: 1 !important;
        margin-bottom: 0.3rem !important;
    }

    .stat-label {
        font-size: clamp(0.42rem, 1.8vw, 0.55rem) !important;
        letter-spacing: 0.02em !important;
        text-align: center !important;
    }

    /* =============================================
       5. WHAT WE DO — 2-column grid of cards
    ============================================= */
    .showcase-section {
        padding: 5rem 0 2rem !important;
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }

    .showcase-wrap {
        padding-left: 0 !important;
        padding-right: 0 !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    .showcase-title {
        font-size: clamp(1.4rem, 6.5vw, 1.9rem) !important;
        margin-bottom: 1.2rem !important;
        padding: 0 16px !important;
    }

    /* 2-column grid matching the design */
    .service-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
        padding: 0 16px !important;
        justify-content: center !important;
        width: 100% !important;
        box-sizing: border-box !important;
        max-width: 100vw !important;
    }

    .service-card {
        width: 100% !important;
        min-width: 0 !important;         /* kills the 282px base min */
        max-width: 100% !important;
        height: 0 !important;
        padding-bottom: 130% !important;
        min-height: unset !important;    /* kills the 364px base min-height */
        position: relative !important;
        box-sizing: border-box !important;
        border-radius: 8px !important;
    }

    .service-card img {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .service-overlay {
        position: absolute !important;
        inset: auto 0 0 0 !important;
    }

    .service-overlay h3 {
        font-size: clamp(0.6rem, 2.8vw, 0.85rem) !important;
        white-space: normal !important;
    }

    .service-overlay p {
        font-size: clamp(0.45rem, 1.8vw, 0.6rem) !important;
    }

    /* =============================================
       6. OUR TEAM — handled by .mobile-snap-track below
    ============================================= */
    .team-bg-section {
        margin-top: 35px !important;
        padding-top: 35px !important;
    }

    .team-heading {
        margin-top: 0 !important;
    }

    .team-carousel-wrap {
        height: 444px;
        overflow-x: hidden !important;
        overflow-y: visible !important;
        width: 100% !important;
        max-width: 100vw !important;
        padding: 0 !important;
    }

    /* =============================================
       7. FOOTER — two-column layout matching design
    ============================================= */
    .site-footer {
        padding-top: 1.5rem !important;
    }

    .footer-wrap {
        padding-left: 16px !important;
        padding-right: 16px !important;
        max-width: 100% !important;
    }

    /* Top row: brand left, socials+contact right */
    /* =============================================
       7. FOOTER — single column, left-aligned, big touch targets
    ============================================= */
    .footer-top {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1.5rem !important;
    }

    .footer-brand {
        width: 100% !important;
    }

    .footer-brand-row {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        margin-bottom: 1rem !important;
    }

    .footer-brand-row img {
        width: 44px !important;
        height: 44px !important;
        flex-shrink: 0 !important;
    }

    .footer-brand-row h3 {
        font-size: 0.95rem !important;
        line-height: 1.2 !important;
        font-weight: 700 !important;
    }

    .footer-brand-row p {
        font-size: 0.7rem !important;
        opacity: 0.8 !important;
    }

    .footer-creators h4 {
        font-size: 0.95rem !important;
        font-weight: 700 !important;
        margin-bottom: 0.4rem !important;
    }

    .footer-creators p {
        font-size: 0.8rem !important;
        line-height: 1.8 !important;
        opacity: 0.85 !important;
    }

    .footer-contact {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    /* Socials row: left-aligned */
    .footer-socials {
        display: flex !important;
        flex-direction: row !important;
        justify-content: flex-start !important;
        gap: 10px !important;
        margin-bottom: 1rem !important;
        width: 25% !important;
    }

    .footer-socials a {
        width: 40px !important;
        height: 40px !important;
        border-radius: 999px !important;
    }

    .footer-socials img {
        width: 16px !important;
        height: 16px !important;
    }

    .footer-contact h4 {
        font-size: 0.95rem !important;
        font-weight: 700 !important;
        margin-bottom: 0.6rem !important;
        width: 100% !important;
        text-align: left !important;
    }

    .contact-list {
        width: 100% !important;
        gap: 8px !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .contact-list {
        width: 100% !important;
        gap: 8px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .contact-item {
        width: 50% !important;
        min-height: 44px !important;
        font-size: 0.8rem !important;
        padding: 0.55rem 0.75rem !important;
        box-sizing: border-box !important;
    }

    .contact-item span {
        font-size: 0.8rem !important;
    }

    .contact-item img {
        width: 16px !important;
        height: 16px !important;
    }

    .footer-copy {
        margin: 1.7rem 0 0;
        padding: 1rem 1rem;
        text-align: center;
        font-size: 0.62rem;
        opacity: 1;
        width: 100%;
        box-sizing: border-box;
        display: block;
        background: #0D0D0D;
    }   
}



/* --- Desktop Defaults (Outside Media Query) --- */
.menu-btn {
    display: none !important; /* Always hide hamburger on desktop */
}


.team-bg-section {
    position: relative;
    background-image: url('assets/images/teambg.png');
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    width: 100%;
    margin-top: 52px;
    padding-top: 52px;
    padding-bottom: 1rem;
    margin-bottom: 0;
}

.team-bg-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(6, 27, 49, 0.6);
    pointer-events: none;
    z-index: 0;
}

.team-bg-section > * {
    position: relative;
    z-index: 1;
}

.team-inner-wrap {
    max-width: 1240px;
    width: 100%;
    box-sizing: border-box;
}

.site-footer {
    background: #0D0D0D;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2.25rem 0 0;
    margin-bottom: 0;
    position: relative;
}

.footer-wrap {
    max-width: 1240px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2.5rem;
}

.footer-brand-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 1.6rem;
}

.footer-brand-row img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.site-footer p {
    color: #fff;
}

.footer-brand-row h3 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.1;
}

.footer-brand-row p {
    margin-top: 0.25rem;
    font-size: 0.72rem;
    opacity: 0.8;
}

.footer-creators h4,
.footer-contact h4 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.55rem;
}

.footer-creators p {
    font-size: 0.7rem;
    line-height: 1.2;
    opacity: 0.88;
}

.creator-link {
    display: flex;
    align-items: center;
    gap: 7px;
    text-decoration: none;
    color: rgba(255,255,255,0.8);
    font-size: 0.7rem;
    line-height: 1.9;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.creator-link:hover {
    color: #fff;
    opacity: 1;
}

.creator-link img {
    width: 12px;
    height: 12px;
    opacity: 0.7;
    flex-shrink: 0;
}

.footer-socials {
    margin-bottom: 1.3rem;
    /* Inherits all pill styles from .social-glass */
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer-socials img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-item {
    width: 280px;
    min-height: 34px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.16);
    padding: 0.4rem 0.65rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    text-decoration: none;
    color: #fff;
    font-size: 0.88rem;
    position: relative;
    overflow: hidden;
    transition:
        background 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* Liquid glass shimmer layer */
.contact-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 4px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.22) 0%,
        rgba(255, 255, 255, 0.06) 40%,
        rgba(255, 255, 255, 0.14) 100%
    );
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

/* Ripple highlight on top edge */
.contact-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.38);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 8px 24px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.08);
    transform: translateY(-2px) scale(1.01);
}

.contact-item:hover::before {
    opacity: 1;
}

.contact-item:hover::after {
    opacity: 1;
}

.contact-item img {
    width: 16px;
    height: 16px;
    position: relative;
    z-index: 1;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.contact-item:hover img {
    transform: scale(1.25) rotate(-8deg);
}

.contact-item span {
    position: relative;
    z-index: 1;
}

.footer-copy {
    margin: 1.7rem 0 0;
    padding: 1rem 1rem;
    text-align: center;
    font-size: 0.62rem;
    opacity: 1;
    width: 100%;
    box-sizing: border-box;
    display: block;
    background: #0D0D0D;
}

/* footer-specific mobile styles merged into main mobile block above */

/* =============================================
   DUAL CAROUSEL: Desktop shows desktop-carousel,
   Mobile shows mobile-snap-track
============================================= */

/* Desktop: show desktop carousel + its dots, hide mobile snap track */
.mobile-snap-track,
.mobile-dots {
    display: none !important;
}

.desktop-carousel {
    display: flex;
}

.desktop-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
}

/* ---- MOBILE SNAP CAROUSEL ---- */
@media (max-width: 900px) {

    /* Hide desktop carousel & its dots */
    .desktop-carousel,
    .desktop-dots {
        display: none !important;
    }

    /* Show mobile snap track & dots */
    .mobile-snap-track {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        overflow-x: scroll !important;
        overflow-y: visible !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
        padding-top: 20px !important;
        padding-bottom: 20px !important;
        padding-left: 50% !important;
        padding-right: 50% !important;
        gap: 14px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        scroll-padding-inline: 50% !important;
    }

    .mobile-snap-track::-webkit-scrollbar {
        display: none !important;
    }

    .mobile-snap-card {
        flex: 0 0 auto !important;
        scroll-snap-align: center !important;
        scroll-snap-stop: always !important;
        position: relative !important;
        border-radius: 8px !important;
        overflow: hidden !important;
        background: rgba(255, 255, 255, 0.06) !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        opacity: 0.45 !important;
        filter: blur(1px) brightness(0.6) !important;
        transform: scale(0.88) !important;
        transition: opacity 0.3s ease, filter 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease !important;
        box-shadow: none !important;
        cursor: grab !important;
    }

    .mobile-snap-card.is-active {
        opacity: 1 !important;
        filter: none !important;
        transform: scale(1) !important;
        box-shadow: 0 12px 36px rgba(0,0,0,0.55) !important;
    }

    .mobile-snap-officer {
        width: 76vw !important;
        max-width: 382px !important;
        height: min(394px, 78.8vw) !important;
    }

    .mobile-snap-member {
        width: 56vw !important;
        max-width: 282px !important;
        height: min(366px, 73.2vw) !important;
    }

    .mobile-snap-card img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block !important;
    }

    .mobile-snap-card .team-overlay {
        position: absolute !important;
        inset: auto 0 0 0 !important;
    }

    .mobile-snap-card .team-overlay h3 {
        font-size: clamp(0.7rem, 3vw, 0.9rem) !important;
    }

    .mobile-snap-card .team-overlay p {
        font-size: clamp(0.5rem, 2vw, 0.62rem) !important;
    }

    /* Mobile dots */
    .mobile-dots {
        display: flex !important;
        justify-content: center !important;
        gap: 5px !important;
        margin-top: 10px !important;
        flex-wrap: wrap !important;
        padding: 0 12px !important;
    }
}

/* =============================================
   PRELOADER
============================================= */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-gif {
    width: 500px;
    height: 500px;
    object-fit: contain;
}

/* =============================================
   CAROUSEL EDGE ARROWS
============================================= */
.team-carousel-wrap {
    position: relative;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, background 0.2s ease, transform 0.25s ease;
}

.carousel-arrow-left  { left: 12px; }
.carousel-arrow-right { right: 12px; }

/* Show left arrow when hovering left 20% of the wrap */
.team-carousel-wrap:hover .carousel-arrow-left.edge-active,
.team-carousel-wrap:hover .carousel-arrow-right.edge-active {
    opacity: 1;
    pointer-events: all;
}

.carousel-arrow:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-50%) scale(1.1);
}

/* Hide on mobile */
@media (max-width: 767px) {
    .carousel-arrow { display: none !important; }
}
