@font-face {
    font-family: FontR;
    src: url(./Fonts/672a4022c04412b253b0aeb9_Gabarito-Regular.woff2);
}

@font-face {
    font-family: FontB;
    src: url(./Fonts/672a4022c04412b253b0ae96_Gabarito-Bold.woff2);
}

/* ==========================================================================
   Base & Resets (Auto-Layout Foundation)
   ========================================================================== */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'General Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html {
    width: 100%;
    min-height: 100%;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    width: 100%;
    min-height: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    background-color: #021a48;
    color: #eaeaed;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, video, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Main wrapper */
#main {
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

/* ==========================================================================
   Background & Atmosphere (60fps Fluid Ocean Effect)
   ========================================================================== */

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    padding: 0 !important;
    z-index: -1;
    pointer-events: none;
    background: #021437;
    background: radial-gradient(circle at 50% 15%, rgba(0, 200, 255, 0.2) 0%, transparent 55%),
                radial-gradient(circle at 85% 75%, rgba(0, 115, 230, 0.22) 0%, transparent 50%),
                linear-gradient(180deg, #021437 0%, #022e7c 50%, #01122e 100%);
}

.water-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.unicorn-embed {
    width: 100%;
    height: 100%;
}

/* ==========================================================================
   Hero & Overlay Container
   ========================================================================== */

.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.overlay-hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    z-index: 1;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* ==========================================================================
   Navigation Bar (Universal Sticky Glassmorphism)
   ========================================================================== */

nav {
    width: 100%;
    min-height: 72px;
    height: 72px;
    padding: 0 clamp(16px, 4vw, 48px);
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(2, 22, 60, 0.75);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(0, 200, 255, 0.15);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #ffffff !important;
    font-size: clamp(1.15rem, 2.5vw, 1.4rem);
    font-weight: 800;
    letter-spacing: -0.3px;
    z-index: 1001;
    white-space: nowrap;
}

.brand-logo-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(0, 200, 255, 0.5));
}

.cntr-nav {
    display: flex;
    align-items: center;
    gap: clamp(1.2rem, 2.5vw, 2.5rem);
}

.nav-hover-btn {
    position: relative;
    text-decoration: none;
    color: #d6e2ee;
    font-size: 1rem;
    font-weight: 600;
    padding: 6px 0;
    transition: color 0.25s ease;
    white-space: nowrap;
}

.nav-hover-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #00c8ff;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s cubic-bezier(0.65, 0.05, 0.36, 1);
    border-radius: 2px;
}

.nav-hover-btn:hover::after,
.nav-hover-btn.active::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.nav-hover-btn:hover,
.nav-hover-btn.active {
    color: #00c8ff !important;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 19px;
    cursor: pointer;
    z-index: 1100;
    background: transparent;
    border: none;
    padding: 0;
}

.mobile-nav-toggle span {
    display: block;
    width: 100%;
    height: 2.5px;
    background-color: #eaeaed;
    border-radius: 3px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, background-color 0.3s ease;
}

.mobile-nav-toggle.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: #00c8ff;
}

.mobile-nav-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.is-active span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
    background-color: #00c8ff;
}

/* Mobile Nav Menu Drawer */
@media (max-width: 991px) {
    .mobile-nav-toggle {
        display: flex;
    }

    .cntr-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background: rgba(2, 18, 52, 0.98);
        backdrop-filter: blur(28px);
        -webkit-backdrop-filter: blur(28px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1.5rem !important;
        transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1050;
        padding: 70px 24px 40px;
        overflow-y: auto;
    }

    .cntr-nav.nav-active {
        right: 0;
    }

    .cntr-nav a {
        font-size: 1.35rem;
        font-weight: 600;
        color: #f0f4f8;
        padding: 10px 24px;
        width: 100%;
        max-width: 300px;
        text-align: center;
        border-radius: 12px;
        transition: background-color 0.2s, color 0.2s;
    }

    .cntr-nav a:hover,
    .cntr-nav a.active {
        background: rgba(0, 200, 255, 0.12);
        color: #00c8ff !important;
    }
}

/* ==========================================================================
   Home Page Auto-Layout
   ========================================================================== */

.content-hero {
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(20px, 4vh, 48px) clamp(16px, 5vw, 60px);
    position: relative;
    box-sizing: border-box;
}

.animated-logo {
    width: 100%;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 20px 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 200, 255, 0.12);
    border: 1px solid rgba(0, 200, 255, 0.3);
    color: #00c8ff;
    font-size: clamp(0.75rem, 2vw, 0.88rem);
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 16px;
    backdrop-filter: blur(8px);
}

.mobile-hero-title {
    display: none;
    font-size: clamp(2.2rem, 7.5vw, 3.8rem);
    color: white;
    font-weight: 800;
    text-align: center;
    line-height: 1.15;
    letter-spacing: -0.5px;
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #ffffff 40%, #00c8ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 30px rgba(0, 200, 255, 0.25);
    margin-bottom: 8px;
}

.hero-subtitle-sub {
    display: none;
    font-size: clamp(1rem, 2.8vw, 1.25rem);
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
    margin-top: 8px;
    max-width: 500px;
}

@media (max-width: 900px) {
    .mobile-hero-title,
    .hero-subtitle-sub {
        display: block;
    }

    .unicorn-embed, canvas {
        display: none !important;
    }
}

.btm-content {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0 0 0;
    gap: 20px;
}

.btm-content h3 {
    font-size: clamp(1.4rem, 2.5vw, 2.5rem);
    color: #eaeaed;
    font-weight: 700;
    margin: 0;
    line-height: 1.25;
}

.rght-btn {
    display: flex;
    gap: 14px;
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .btm-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        padding-top: 10px;
    }

    .btm-content h3 {
        width: 100%;
        font-size: clamp(1.2rem, 4vw, 1.6rem);
    }

    .rght-btn {
        width: 100%;
        max-width: 360px;
        justify-content: center;
    }

    .rght-btn .btn {
        flex: 1;
        text-align: center;
    }
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    background: linear-gradient(135deg, #00c8ff 0%, #0088cc 100%) !important;
    color: #021a48 !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: 50px;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0, 200, 255, 0.25);
    white-space: nowrap;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 200, 255, 0.45);
    color: #000 !important;
}

.btn-outline-light,
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    background: transparent !important;
    border: 1.5px solid rgba(255, 255, 255, 0.4) !important;
    color: #ffffff !important;
    border-radius: 50px !important;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.25s ease;
    text-decoration: none;
    white-space: nowrap;
}

.btn-outline-light:hover,
.btn-outline:hover {
    background: rgba(0, 200, 255, 0.15) !important;
    border-color: #00c8ff !important;
    color: #00c8ff !important;
    transform: translateY(-2px);
}

.btn-outline-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    border-radius: 30px;
    color: #fff;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    width: fit-content;
}

.btn-outline-sm:hover {
    background: #00c8ff;
    border-color: #00c8ff;
    color: #021a48 !important;
}

/* ==========================================================================
   Page Sections & Fluid Headings
   ========================================================================== */

.page-section {
    width: 100%;
    padding: clamp(24px, 4vh, 48px) clamp(16px, 5vw, 60px);
    color: #eaeaed;
    position: relative;
    box-sizing: border-box;
}

.page-container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    color: #00c8ff;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    margin-bottom: clamp(16px, 3vh, 32px);
    text-align: center;
}

.section-subtitle {
    font-size: clamp(1.4rem, 3.5vw, 2rem);
    color: #eaeaed;
    margin-bottom: 24px;
    border-bottom: 2px solid #00c8ff;
    display: inline-block;
}

/* ==========================================================================
   Cards & Responsive Grids
   ========================================================================== */

.grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

@media (max-width: 1200px) {
    .grid-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 850px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 520px) {
    .grid-container {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.card-custom {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(0, 200, 255, 0.18);
    border-radius: 14px;
    padding: clamp(18px, 3vw, 32px) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s ease,
                box-shadow 0.3s ease,
                background-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card-custom:hover {
    transform: translateY(-4px);
    border-color: #00c8ff;
    box-shadow: 0 12px 32px rgba(0, 200, 255, 0.15);
    background: rgba(0, 200, 255, 0.06);
}

.card-title {
    color: #00c8ff;
    font-size: clamp(1.15rem, 2.5vw, 1.45rem);
    font-weight: 700;
    margin-bottom: 10px;
}

.card-subtitle {
    color: #ffffff;
    font-size: clamp(1rem, 2vw, 1.15rem) !important;
    margin-bottom: 12px !important;
    font-weight: 600;
}

.card-text {
    font-size: clamp(0.9rem, 1.5vw, 0.98rem);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

/* ==========================================================================
   About Page Auto-Layout
   ========================================================================== */

.about-page-wrapper {
    padding: clamp(20px, 3vh, 40px) clamp(16px, 5vw, 60px) 60px;
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
}

.about-top-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(24px, 4vw, 50px);
    margin-bottom: 50px;
    align-items: center;
}

@media (max-width: 900px) {
    .about-top-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.about-image-card {
    width: 100%;
    max-width: 560px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 200, 255, 0.15);
    border: 1px solid rgba(0, 200, 255, 0.25);
    background: rgba(0, 0, 0, 0.2);
}

.about-image-card img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}

.about-bottom-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding-bottom: 40px;
}

@media (max-width: 900px) {
    .about-bottom-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

.dept-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 200, 255, 0.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: clamp(20px, 3vw, 30px);
    border-radius: 14px;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.dept-card:hover {
    transform: translateY(-3px);
    border-color: #00c8ff;
}

.dept-card h3 {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    color: #00c8ff;
    margin-bottom: 14px;
}

.dept-card ul {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(0.92rem, 1.5vw, 1.05rem);
    line-height: 1.6;
    padding-left: 20px;
    margin: 0;
}

.dept-card li {
    margin-bottom: 8px;
}

/* ==========================================================================
   Achievements Page Auto-Layout
   ========================================================================== */

.year-heading {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    color: #00c8ff;
    border-bottom: 2px solid rgba(0, 200, 255, 0.3);
    padding-bottom: 8px;
    margin-bottom: 24px;
    width: 100%;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
    gap: 24px;
    margin-bottom: 20px;
}

@media (max-width: 600px) {
    .achievements-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ==========================================================================
   Vehicles Page Auto-Layout
   ========================================================================== */

.tab-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid rgba(0, 200, 255, 0.4);
    color: #eaeaed;
    padding: 8px 22px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.25s ease;
}

.tab-btn.active,
.tab-btn:hover {
    background: #00c8ff;
    color: #021a48;
    border-color: #00c8ff;
    box-shadow: 0 4px 16px rgba(0, 200, 255, 0.35);
}

@media (max-width: 768px) {
    .tab-nav {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        padding: 6px 16px 12px;
        margin-left: -16px;
        margin-right: -16px;
        scrollbar-width: none;
    }

    .tab-nav::-webkit-scrollbar {
        display: none;
    }

    .tab-btn {
        flex: 0 0 auto;
        scroll-snap-align: start;
        white-space: nowrap;
        padding: 7px 18px;
        font-size: 0.88rem;
    }
}

.tab-content {
    display: none;
    animation: fadeEffect 0.4s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeEffect {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.h-full-card {
    height: 100%;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 991px) {
    .h-full-card {
        min-height: 240px !important;
        max-height: 320px !important;
        margin-bottom: 20px;
    }
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
    color: #eaeaed;
}

.specs-table th,
.specs-table td {
    padding: 8px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.95rem;
}

.specs-table th {
    color: #00c8ff;
    width: 38%;
    font-weight: 600;
}

/* ==========================================================================
   Team Hub Auto-Layout
   ========================================================================== */

.team-container {
    padding: clamp(20px, 3vh, 40px) clamp(16px, 5vw, 60px) 60px;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

.team-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.team-member {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 20px;
    padding: 20px 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: white;
    transition: all 0.25s ease;
    cursor: pointer;
    align-items: center;
    border-radius: 10px;
}

.team-member:hover {
    background: rgba(0, 200, 255, 0.08);
    border-bottom-color: rgba(0, 200, 255, 0.35);
}

.team-member-thumb {
    display: none;
}

.member-name {
    font-size: 1.15rem;
    font-weight: 600;
    color: #ffffff;
    text-align: left;
}

.member-role {
    font-size: 0.98rem;
    color: rgba(255, 255, 255, 0.75);
    text-align: center;
}

.member-department {
    font-size: 0.95rem;
    color: #00c8ff;
    text-align: right;
    font-weight: 600;
}

@media (max-width: 768px) {
    .team-list {
        gap: 12px;
    }

    .team-member {
        display: grid;
        grid-template-columns: 52px 1fr auto;
        grid-template-rows: auto auto;
        column-gap: 14px;
        row-gap: 3px;
        padding: 12px 16px;
        align-items: center;
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(0, 200, 255, 0.18);
        border-radius: 14px;
    }

    .team-member-thumb {
        display: block !important;
        grid-row: 1 / span 2;
        grid-column: 1;
        width: 52px;
        height: 52px;
        border-radius: 50%;
        object-fit: cover;
        border: 2px solid #00c8ff;
        box-shadow: 0 4px 12px rgba(0, 200, 255, 0.25);
    }

    .member-name {
        grid-row: 1;
        grid-column: 2;
        font-size: 1.05rem;
        font-weight: 700;
        color: #ffffff;
        text-align: left;
        margin: 0;
    }

    .member-role {
        grid-row: 2;
        grid-column: 2;
        font-size: 0.85rem;
        color: rgba(255, 255, 255, 0.7);
        text-align: left;
        margin: 0;
    }

    .member-department {
        grid-row: 1 / span 2;
        grid-column: 3;
        font-size: 0.78rem;
        text-align: right;
        background: rgba(0, 200, 255, 0.12);
        color: #00c8ff;
        padding: 4px 12px;
        border-radius: 20px;
        border: 1px solid rgba(0, 200, 255, 0.3);
        align-self: center;
        white-space: nowrap;
    }

    #hoverImage {
        display: none !important;
    }
}

/* ==========================================================================
   Gallery Page Auto-Layout
   ========================================================================== */

.filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 20px 0 32px;
}

.filter-pill {
    padding: 7px 20px;
    border-radius: 50px;
    border: 1.5px solid rgba(0, 200, 255, 0.35);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.75);
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 500;
    transition: all 0.22s ease;
    white-space: nowrap;
    user-select: none;
}

.filter-pill:hover,
.filter-pill.active {
    background: #00c8ff;
    border-color: #00c8ff;
    color: #021a48;
    font-weight: 700;
}

.timeline-wrapper {
    position: relative;
    padding: 20px clamp(16px, 4vw, 40px) 80px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.timeline-spine {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, rgba(0, 200, 255, 0.5) 10%, rgba(0, 200, 255, 0.5) 90%, transparent);
    transform: translateX(-50%);
}

.timeline-section {
    margin-bottom: 60px;
}

.timeline-section-label {
    text-align: center;
    position: relative;
    margin-bottom: 36px;
}

.timeline-section-label span {
    display: inline-block;
    background: rgba(2, 22, 60, 0.8);
    border: 1.5px solid rgba(0, 200, 255, 0.5);
    color: #00c8ff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 6px 22px;
    border-radius: 50px;
    backdrop-filter: blur(8px);
}

.polaroid-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px;
    padding: 0 10px;
}

.polaroid {
    background: #fff;
    border-radius: 4px;
    padding: 10px 10px 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: transform 0.35s cubic-bezier(.25, .46, .45, .94), box-shadow 0.35s ease;
    position: relative;
    max-width: 380px;
    width: 100%;
}

.polaroid img {
    width: 100%;
    display: block;
    border-radius: 2px;
    object-fit: cover;
    max-height: 320px;
}

.polaroid-caption {
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    text-align: center;
    font-family: 'Caveat', 'Patrick Hand', cursive, sans-serif;
    font-size: 0.95rem;
    color: #333;
    line-height: 1.2;
    padding: 0 10px;
}

@media (max-width: 768px) {
    .timeline-spine {
        display: none;
    }

    .filter-pills {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 4px 16px 12px;
        margin-left: -16px;
        margin-right: -16px;
        scrollbar-width: none;
    }

    .filter-pills::-webkit-scrollbar {
        display: none;
    }

    .filter-pill {
        flex: 0 0 auto;
    }

    .polaroid-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0;
    }

    .polaroid {
        max-width: 100% !important;
        transform: none !important;
        padding: 8px 8px 36px;
    }
}

/* ==========================================================================
   Sponsors Page Auto-Layout
   ========================================================================== */

.sponsor-logo-img {
    max-width: 180px;
    max-height: 80px;
    object-fit: contain;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
    transition: transform 0.25s ease;
}

.sponsor-logo-img.already-white {
    filter: none;
}

.sponsor-logo-img.remove-bg {
    filter: grayscale(1) invert(1) brightness(2) !important;
    mix-blend-mode: screen;
}

@media (max-width: 768px) {
    .sponsor-logo-img {
        max-width: 130px;
        max-height: 55px;
    }
}

/* ==========================================================================
   Contact Page Auto-Layout
   ========================================================================== */

.contact-grid-container {
    width: 100%;
    min-height: calc(100vh - 72px);
    display: flex;
    flex-direction: column;
}

.contact-grid-main {
    display: flex;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    flex: 1;
}

.contact-left {
    width: 50%;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(30px, 5vw, 60px);
    background: rgba(0, 0, 0, 0.15);
}

.big-drop-text {
    font-family: 'FontB', 'Inter', sans-serif;
    font-size: clamp(3rem, 7vw, 7rem);
    line-height: 0.95;
    color: #fff;
    text-transform: uppercase;
    margin: 0;
}

.contact-right {
    width: 50%;
    display: flex;
    flex-direction: column;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    height: 100%;
    width: 100%;
}

.info-box {
    padding: clamp(24px, 3.5vw, 40px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    transition: background 0.3s ease;
}

.info-box:hover {
    background: rgba(0, 200, 255, 0.08);
}

.info-box h3 {
    font-family: 'FontB', sans-serif;
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    color: #fff;
    text-transform: uppercase;
}

.info-box p {
    font-size: clamp(0.92rem, 1.5vw, 1.05rem);
    color: #eaeaed;
    line-height: 1.6;
    margin: 0;
}

.info-box a {
    color: #eaeaed;
    text-decoration: none;
    transition: color 0.3s;
}

.info-box a:hover {
    color: #00c8ff;
}

.border-right {
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.border-bottom {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.social-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.social-list li {
    margin-bottom: 10px;
}

.social-list a {
    font-size: 1.1rem;
    color: #eaeaed;
}

.contact-footer {
    padding: 30px clamp(16px, 5vw, 60px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    gap: 20px;
}

.contact-footer p {
    max-width: 60%;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    color: #aaa;
    margin: 0;
}

@media (max-width: 900px) {
    .contact-grid-main {
        flex-direction: column;
    }

    .contact-left {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        padding: 40px 20px;
        text-align: center;
    }

    .big-drop-text {
        font-size: clamp(2.5rem, 11vw, 4.2rem);
    }

    .contact-right {
        width: 100%;
    }

    .info-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .border-right {
        border-right: none !important;
    }

    .info-box {
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        padding: 24px 20px;
    }

    .contact-footer {
        flex-direction: column;
        gap: 16px;
        text-align: center;
        padding: 24px 20px 40px;
    }

    .contact-footer p {
        max-width: 100%;
    }
}

/* ==========================================================================
   Section 2 (Preserved Legacy Sections)
   ========================================================================== */

.section-2 {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-color: #88b7bd;
}

.video-flow {
    position: sticky;
    top: 0;
    z-index: 3;
    width: 100%;
    height: 100vh;
}

.video-flow #blob {
    height: 100%;
    position: absolute;
    top: -15%;
    left: 0%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.nav-inner-2 {
    position: absolute;
    width: 100%;
    height: 7vh;
    background-color: #FBE7C5;
    border: 1px solid #333;
    z-index: 4;
    display: flex;
    align-items: center;
    padding: 0 2vw;
}

.nav-inner-2 h3 {
    font-weight: 600;
}

#section2-1,
#section2-2,
#section2-3,
#section2-4 {
    position: absolute;
    top: 0;
    z-index: 3;
}

.content-inner-2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 2vw;
    overflow: hidden;
    height: 100vh;
}

.lft-content-inner-2 {
    display: flex;
    align-items: start;
    justify-content: center;
    flex-direction: column;
    gap: 5vh;
    width: 50%;
    height: 100%;
}

.lft-content-inner-2 h1 {
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: 600;
    color: #eaeaed;
}

.lft-content-inner-2 p {
    font-size: clamp(1.1rem, 2vw, 2rem);
    font-weight: 400;
    width: 80%;
    line-height: initial;
    color: #eaeaed;
}

.rght-content-inner-2 {
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
}

.inner-2-1 {
    position: relative;
    width: 100%;
    height: 100vh;
    background-color: #022e7c;
    overflow: hidden;
}

#section-2-3-p {
    background-color: #88b7bd;
}

@media (max-width: 900px) {
    .content-inner-2 {
        flex-direction: column;
        height: auto;
        padding: 80px 5vw;
        justify-content: center;
    }

    .lft-content-inner-2,
    .rght-content-inner-2 {
        width: 100%;
        align-items: center;
        text-align: center;
    }

    .lft-content-inner-2 p {
        width: 100%;
    }

    .rght-content-inner-2 {
        margin-top: 30px;
    }
}