/* ==========================================================================
   🌟 CUSTOM DEVELOPER & OFFLINE STYLESHEET (custom.css)
   ==========================================================================
   This stylesheet ensures the website works seamlessly BOTH:
   1. Live Web Server (Node.js, Apache, Nginx, Vercel, Hostinger, etc.) -> Full WebGL shader & Framer animations!
   2. Offline / Standalone (double-clicking index.html via file:// protocol) -> Graceful CSS fallbacks!
   ========================================================================== */

/* --- GENERAL RESET / ACCENTS --- */
body {
    background-color: #000000 !important;
    color: #ffffff;
    overflow-x: hidden;
}

/* --- OFFLINE (file://) FALLBACKS ONLY --- */
html.is-offline-file .framer-1ygh3u6-container {
    background: url('images/hero_pure_bg.png') center top / cover no-repeat !important;
}
html.is-offline-file .framer-1ygh3u6-container canvas {
    display: none !important;
}

html.is-offline-file .framer-1rid37y,
html.is-offline-file .framer-8bnuea,
html.is-offline-file .framer-okpf4l {
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
}

/* Smooth continuous floating animations for crystals (offline fallback only) */
@keyframes floatCubeLeft {
    0% { transform: rotate(23deg) translateY(0px); }
    50% { transform: rotate(26deg) translateY(-8px); }
    100% { transform: rotate(23deg) translateY(0px); }
}

@keyframes floatCubeRight {
    0% { transform: rotate(65deg) translateY(0px); }
    50% { transform: rotate(60deg) translateY(-6px); }
    100% { transform: rotate(65deg) translateY(0px); }
}

@keyframes floatPrism {
    0% { transform: rotate(0deg) translateY(0px); }
    50% { transform: rotate(4deg) translateY(-10px); }
    100% { transform: rotate(0deg) translateY(0px); }
}

html.is-offline-file .framer-1rid37y {
    animation: floatCubeLeft 6s ease-in-out infinite !important;
}
html.is-offline-file .framer-8bnuea {
    animation: floatCubeRight 7s ease-in-out infinite !important;
}
html.is-offline-file .framer-okpf4l {
    animation: floatPrism 8s ease-in-out infinite !important;
}

/* Unhide elements in offline/file:// mode where React cannot hydrate */
html.is-offline-file [style*="opacity:0.001"],
html.is-offline-file [style*="opacity: 0.001"] {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
}

html.is-offline-file [data-framer-name^="Speaker"] img,
html.is-offline-file [data-framer-name="Guest Card"] img,
html.is-offline-file .framer-153w6u4 img,
html.is-offline-file .framer-1a9ygyv img,
html.is-offline-file .framer-176c16o img {
    opacity: 1 !important;
}

/* Global Guest Card Text Wrapping & Formatting (Desktop & Mobile) */
.framer-FimtX .framer-1q7gem2,
.framer-FimtX .framer-1q7gem2 p {
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    margin: 0 !important;
}
.framer-FimtX .framer-fh90zc,
.framer-FimtX .framer-fh90zc h4 {
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    margin: 0 !important;
}

/* ==========================================================================
   📱 COMPREHENSIVE MOBILE RESPONSIVE ENGINE (@media max-width: 810px)
   ========================================================================== */
@media (max-width: 810px) {
    /* --- 1. Top Navbar / Header Bar Fix --- */
    /* On mobile, keep the navbar at the top of the Hero so it scrolls naturally with the page,
       completely eliminating any floating collision with agenda cards, buttons, or sponsor images! */
    .framer-lR50G .framer-1s33hp6-container {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100vw !important;
        transform: none !important;
        z-index: 100 !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 14px 16px !important;
        box-sizing: border-box !important;
        height: auto !important;
    }

    /* Keep navbar inner layout cleanly centered & aligned */
    .framer-Luar2.framer-v-1cvy2t,
    .framer-Luar2.framer-v-1cvy2t .framer-fzdypl,
    .framer-Luar2.framer-v-1cvy2t .framer-b7ke7f {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 48px !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 0 !important;
        margin: 0 !important;
        background: transparent !important;
        overflow: visible !important;
    }

    /* Ensure company logo in navbar scales proportionally with NO vertical clipping */
    .framer-Luar2.framer-v-1cvy2t a.framer-f5khec {
        width: 220px !important;
        max-width: 68vw !important;
        height: 42px !important;
        min-height: 42px !important;
        display: flex !important;
        align-items: center !important;
        flex: none !important;
        position: relative !important;
        overflow: visible !important;
        aspect-ratio: auto !important;
    }

    .framer-Luar2.framer-v-1cvy2t a.framer-f5khec div {
        position: relative !important;
        inset: auto !important;
        width: 100% !important;
        height: 100% !important;
        display: flex !important;
        align-items: center !important;
        overflow: visible !important;
    }

    .framer-Luar2.framer-v-1cvy2t a.framer-f5khec img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        object-position: left center !important;
        display: block !important;
    }

    /* Menu toggle button on right */
    .framer-Luar2.framer-v-1cvy2t .framer-bxnwrn {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        flex: none !important;
    }

    /* --- Hero Center Logo (Utkarsh Beyond Boundaries) size increase on mobile --- */
    .framer-168cvbo .framer-f0om72,
    figure.framer-f0om72 {
        aspect-ratio: auto !important;
        height: auto !important;
        width: 100% !important;
        max-width: 260px !important;
        margin: 0 auto !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .framer-168cvbo .framer-f0om72 > div,
    figure.framer-f0om72 > div {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        display: flex !important;
        justify-content: center !important;
    }

    .framer-168cvbo .framer-f0om72 img,
    figure.framer-f0om72 img,
    img[src*="utkarsh_logo.svg"] {
        width: 100% !important;
        max-width: 250px !important;
        height: auto !important;
        max-height: 140px !important;
        object-fit: contain !important;
        display: block !important;
        margin: 0 auto !important;
        filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.45)) !important;
    }

    /* Smooth anchor scroll offset for sections so sticky navbar never covers headings */
    section,
    [data-framer-name="Speakers"],
    [data-framer-name="Agenda"],
    [data-framer-name="Sponsors"],
    [data-framer-name="Host"],
    [data-framer-name="Venue"],
    #speakers, #agenda, #venue, #event-photos-section {
        scroll-margin-top: 70px !important;
    }

    /* --- 2. Sponsors Section 100% Full Width Banner Fix --- */
    .framer-v0m3u0 {
        padding: 40px 16px 20px 16px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .framer-v0m3u0 .framer-1cwmk1v {
        width: 100% !important;
        max-width: 100% !important;
        gap: 20px !important;
        align-items: center !important;
        box-sizing: border-box !important;
    }

    #injected-sponsor-wrapper,
    .injected-sponsor-img-wrapper,
    .mobile-sponsor-card-few#injected-sponsor-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        min-height: auto !important;
        flex: none !important;
        padding: 0 !important;
        margin: 16px 0 0 0 !important;
        display: block !important;
        box-sizing: border-box !important;
    }

    #injected-sponsor-image-tag,
    .injected-sponsor-img-wrapper img,
    .mobile-sponsor-card-few #injected-sponsor-image-tag {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: none !important;
        object-fit: contain !important;
        display: block !important;
        border-radius: 12px !important;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5) !important;
        padding: 0 !important;
    }

    /* --- 3. Agenda Schedule & Guest Cards Text Wrapping Fix --- */
    .framer-1sfyag6 {
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .framer-14mgspd {
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 20px 16px !important;
    }

    .framer-1sfyag6 .framer-t14vqq {
        width: 100% !important;
    }

    .framer-1sfyag6 .framer-1k3b78x h3 {
        font-size: clamp(18px, 4.8vw, 24px) !important;
        line-height: 1.3 !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        white-space: normal !important;
    }

    .framer-1sfyag6 .framer-wuwh6s h4 {
        font-size: 14px !important;
        line-height: 1.45 !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        white-space: normal !important;
    }

    /* Guest card container inside agenda */
    .framer-FimtX.framer-1git8e4 {
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 14px !important;
        box-sizing: border-box !important;
        margin-top: 12px !important;
    }

    .framer-FimtX .framer-7rs5ed {
        width: 80px !important;
        height: 84px !important;
        flex: none !important;
        border-radius: 18px !important;
    }

    .framer-FimtX .framer-14xlkuf {
        width: 100% !important;
        min-width: 0 !important;
        flex: 1 1 auto !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 3px !important;
        overflow: hidden !important;
    }

    .framer-FimtX .framer-fh90zc,
    .framer-FimtX .framer-fh90zc h4 {
        font-size: 16px !important;
        font-weight: 600 !important;
        white-space: normal !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        line-height: 1.25 !important;
        margin: 0 !important;
    }

    .framer-FimtX .framer-1q7gem2,
    .framer-FimtX .framer-1q7gem2 p {
        font-size: 13px !important;
        line-height: 1.4 !important;
        white-space: normal !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        color: rgba(255, 255, 255, 0.72) !important;
        margin: 0 !important;
    }

    /* Agenda Day 1 / Day 2 Tabs */
    .framer-14if0xb-container,
    .framer-rq32u2-container {
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* --- 4. Event Photos & Attendee Poster Section Mobile Layout --- */
    #event-photos-section {
        padding: 30px 16px 50px 16px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .event-media-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        width: 100% !important;
    }

    .event-photos-card,
    .event-poster-card {
        padding: 30px 18px !important;
        border-radius: 22px !important;
        gap: 18px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .event-photos-title,
    .event-poster-title {
        font-size: 26px !important;
        line-height: 1.2 !important;
    }

    .event-pill-btn {
        width: 100% !important;
        max-width: 280px !important;
        padding: 12px 20px !important;
        font-size: 14px !important;
    }

    /* --- 5. Speakers Carousel / Grid on Mobile --- */
    ul.framer--carousel {
        padding: 0 10px !important;
        gap: 14px !important;
    }

    /* --- 6. Prevent any Horizontal Scrollbar Glitch --- */
    html, body {
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }
}

/* ==========================================================================
   👥 MEET OUR TEAM SECTION STYLES & HOVER ANIMATIONS
   ========================================================================== */
.our-team-section {
    position: relative;
    width: 100%;
    padding: 90px 24px 80px 24px;
    background: radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.04) 0%, rgba(0, 0, 0, 0) 65%), #000000;
    box-sizing: border-box;
    overflow: hidden;
    scroll-margin-top: 80px;
    z-index: 2;
}

.our-team-section .team-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

/* --- Section Header --- */
.our-team-section .team-header {
    text-align: center;
    margin-bottom: 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.our-team-section .team-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 14px;
    user-select: none;
}

.our-team-section .team-tag-diamond {
    font-size: 9px;
    color: #ffffff;
    line-height: 1;
}

.our-team-section .team-tag-diamond {
    font-size: 9px;
    color: #d4a359;
    line-height: 1;
}

.our-team-section .team-title {
    font-family: 'Inter Display', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: clamp(32px, 4.5vw, 54px);
    font-weight: 600;
    line-height: 1.18;
    margin: 0;
    letter-spacing: -0.03em;
    color: #ffffff !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: #ffffff !important;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.4) !important;
}

/* --- Grid / Row Layout --- */
.our-team-section .team-grid-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
}

.our-team-section .team-row {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 32px;
}

.our-team-section .team-row-5 {
    max-width: 1240px;
}

.our-team-section .team-row-3 {
    max-width: 760px;
}

/* --- Individual Member Card --- */
.our-team-section .team-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 200px;
    max-width: 210px;
    cursor: pointer;
    position: relative;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

/* --- Circular Photo Wrapper --- */
.our-team-section .team-photo-wrap {
    position: relative;
    width: 176px;
    height: 176px;
    margin-bottom: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.45s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.55), 0 0 0 2px rgba(255, 255, 255, 0.12);
}

/* Photo Image */
.our-team-section .team-photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 2;
    transition: filter 0.4s ease, transform 0.4s ease;
}

/* Ambient Glow Behind Photo */
.our-team-section .team-photo-glow {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.5) 0%, rgba(59, 130, 246, 0.18) 50%, transparent 75%);
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1;
    pointer-events: none;
}

/* --- Member Info (Name & Role) --- */
.our-team-section .team-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    width: 100%;
}

.our-team-section .team-name {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: 17px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    line-height: 1.3;
    letter-spacing: -0.01em;
    transition: color 0.35s ease, transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), text-shadow 0.35s ease;
}

.our-team-section .team-role {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: 13.5px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
    line-height: 1.35;
    letter-spacing: 0.01em;
    transition: color 0.35s ease, transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), letter-spacing 0.35s ease;
}

/* ==========================================================================
   ✨ HOVER ANIMATION: Light Blue Glow, Border & Name
   ========================================================================== */
.our-team-section .team-card:hover .team-photo-wrap,
.our-team-section .team-card:focus-within .team-photo-wrap {
    transform: translateY(-10px) scale(1.08);
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.75), 0 0 30px rgba(56, 189, 248, 0.65), 0 0 0 3px #38bdf8;
}

.our-team-section .team-card:hover .team-photo,
.our-team-section .team-card:focus-within .team-photo {
    filter: brightness(1.06) contrast(1.03);
}

.our-team-section .team-card:hover .team-photo-glow,
.our-team-section .team-card:focus-within .team-photo-glow {
    opacity: 1;
    transform: scale(1.18);
}

.our-team-section .team-card:hover .team-name,
.our-team-section .team-card:focus-within .team-name {
    color: #38bdf8 !important;
    transform: translateY(-3px);
    text-shadow: 0 2px 14px rgba(56, 189, 248, 0.55);
}

.our-team-section .team-card:hover .team-role,
.our-team-section .team-card:focus-within .team-role {
    color: #ffffff;
    transform: translateY(-2px);
    letter-spacing: 0.3px;
}

/* Mobile active tap animation */
.our-team-section .team-card:active .team-photo-wrap {
    transform: translateY(-4px) scale(1.04);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .our-team-section {
        padding: 70px 20px 60px 20px;
    }
    .our-team-section .team-row {
        gap: 24px;
    }
    .our-team-section .team-card {
        width: 170px;
    }
    .our-team-section .team-photo-wrap {
        width: 150px;
        height: 150px;
    }
    .our-team-section .team-name {
        font-size: 16px;
    }
    .our-team-section .team-role {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .our-team-section {
        padding: 50px 16px 50px 16px;
    }
    .our-team-section .team-header {
        margin-bottom: 32px;
    }
    .our-team-section .team-title {
        font-size: clamp(26px, 7vw, 34px);
    }
    .our-team-section .team-grid-wrapper {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 28px 16px;
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
    }
    .our-team-section .team-row {
        display: contents; /* Unifies all 8 cards into a seamless 2x4 grid */
    }
    .our-team-section .team-card {
        width: 100%;
        max-width: 170px;
    }
    .our-team-section .team-photo-wrap {
        width: 136px;
        height: 136px;
        margin-bottom: 12px;
    }
    .our-team-section .team-name {
        font-size: 14.5px;
    }
    .our-team-section .team-role {
        font-size: 12px;
    }
}

@media (max-width: 380px) {
    .our-team-section .team-photo-wrap {
        width: 115px;
        height: 115px;
    }
    .our-team-section .team-name {
        font-size: 13.5px;
    }
    .our-team-section .team-role {
        font-size: 11.5px;
    }
}

