/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    width: 100%;
    min-height: 100%;
    font-family: 'Montserrat', sans-serif;
    background-color: #fff;
    color: #fff; /* Keep hero text white */
    overflow-x: hidden;
}

/* Hero Container */
.hero-container {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Background Image & Video */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    /* Slow zoom animation for the background */
    animation: bg-zoom 20s infinite alternate linear;
}

@keyframes bg-zoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient overlay to make text readable */
    background: linear-gradient(
        to bottom, 
        rgba(0,0,0,0.6) 0%, 
        rgba(0,0,0,0.1) 40%, 
        rgba(0,0,0,0.5) 100%
    );
    z-index: 2;
}

/* Content Container */
.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Desktop / Mobile Helper Classes */
.desktop-only {
    display: flex;
}

.mobile-only {
    display: none !important;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 1.5rem 3.5rem;
    width: 100%;
    transform: translateY(-120%);
    opacity: 0;
    background-color: rgba(1, 43, 35, 0);
    transition: transform 0.35s ease, opacity 0.35s ease, background-color 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
}

/* Custom suave entrance transition for header on page load */
.page-loaded .header {
    transition: transform 1.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.8s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
    transition-delay: 0s;
}

/* Revert to fast transition for active scroll/toggle interactions */
.page-loaded .header.scrolled,
.page-loaded .header.header-hidden,
.page-loaded .header.menu-open {
    transition: transform 0.35s ease, opacity 0.35s ease, background-color 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
    transition-delay: 0s;
}

.header .logo-seal img {
    transition: max-width 0.35s ease;
}

.header.scrolled {
    background-color: #ffffff;
    padding: 0.25rem 3.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header.header-hidden:not(.menu-open) {
    transform: translateY(-120%) !important;
}

.header.scrolled .logo-seal img {
    max-width: 80px !important;
}

.page-loaded .header,
.hero-content.visible .header {
    transform: translateY(0);
    opacity: 1;
}

.header.menu-open {
    transform: translateY(0);
    opacity: 1;
    background-color: #ffffff !important;
    box-shadow: none !important;
    border-bottom: none !important;
    padding: 1.5rem 3.5rem !important;
}

.nav-left {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding-right: 2.5rem;
}

.nav-right {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding-left: 2.5rem;
}

.nav-left a, .nav-right a {
    color: #fff;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
    transition: color 0.35s ease, text-shadow 0.35s ease, opacity 0.2s ease;
    text-transform: uppercase;
}

.header.scrolled .nav-left a, .header.scrolled .nav-right a {
    color: #012b23;
    text-shadow: none;
    font-weight: 600;
}

.nav-left a:hover, .nav-right a:hover {
    opacity: 0.7;
}

.header.scrolled .hamburger-btn .bar {
    background-color: #012b23;
}

/* Logo */
.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
}

.logo-seal {
    margin-bottom: 0.5rem;
}

.header .logo-seal {
    margin-bottom: 0;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 2.1rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    line-height: 1;
}

.logo-subtext {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 5px;
    margin-top: 0.4rem;
    text-transform: uppercase;
}

/* Main Content (Center) */
.main-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 5rem 2rem 2rem 2rem;
    margin: auto 0;
    flex: 1;
    overflow: hidden;
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 1.8s cubic-bezier(0.16, 1, 0.3, 1), transform 1.8s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: 0.6s;
}

.page-loaded .main-content,
.hero-content.visible .main-content {
    opacity: 1;
    transform: translateY(0);
}

.hero-eyebrow {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

/* Trust Bar / Sponsors Bar Section */
.trust-bar-section {
    background-color: #f7faf8;
    padding: 2.25rem 0;
    position: relative;
    z-index: 5;
    overflow: hidden;
}

.trust-bar-container {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.trust-bar-header {
    text-align: center;
    padding: 0 2rem;
}

.trust-bar-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: #006747;
    margin: 0;
    display: inline-block;
}

/* Marquee track & track content */
.trust-bar-marquee-track {
    display: flex;
    overflow: hidden;
    width: 100%;
    user-select: none;
    position: relative;
}

/* Elegant horizontal gradient masks on left/right edges for a smooth fade out */
.trust-bar-marquee-track::before,
.trust-bar-marquee-track::after {
    content: "";
    height: 100%;
    width: 150px;
    position: absolute;
    top: 0;
    z-index: 2;
    pointer-events: none;
}

.trust-bar-marquee-track::before {
    left: 0;
    background: linear-gradient(to right, #f7faf8 0%, rgba(247, 250, 248, 0) 100%);
}

.trust-bar-marquee-track::after {
    right: 0;
    background: linear-gradient(to left, #f7faf8 0%, rgba(247, 250, 248, 0) 100%);
}

.trust-bar-marquee-content {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    min-width: 100%;
    gap: 3rem;
    animation: marquee-scroll 25s linear infinite;
    padding: 0.5rem 1.5rem;
}

/* Pause animation on hover for interactive feel */
.trust-bar-marquee-track:hover .trust-bar-marquee-content {
    animation-play-state: paused;
}

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

.trust-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.5rem;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 0; /* Sharp corner as requested! */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: default;
    white-space: nowrap;
    flex-shrink: 0;
}

.trust-logo-item:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 103, 71, 0.25);
}

.trust-logo-svg {
    max-height: 40px;
    width: auto;
    display: block;
}

@media (max-width: 768px) {
    .trust-bar-section {
        padding: 1.75rem 0;
    }
    .trust-bar-marquee-track::before,
    .trust-bar-marquee-track::after {
        width: 60px;
    }
    .trust-bar-marquee-content {
        gap: 1.5rem;
        animation-duration: 18s; /* slightly faster flow for shorter mobile distance */
    }
    .trust-logo-item {
        padding: 0.5rem 1rem;
    }
    .trust-logo-svg {
        max-height: 32px;
    }
}

/* Seal Divider between Hero and Transformation/About Section */
.seal-divider {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    pointer-events: none;
}

.divider-seal {
    width: 105px;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.45));
    opacity: 0;
    transform: translateY(30px) scale(0.92);
    transition: opacity 1.8s ease-out, transform 1.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.divider-seal.revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.subheading {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.35rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
}

.heading {
    position: relative;
    z-index: 1;
    font-family: 'Playfair Display', serif;
    font-size: 5.5rem;
    font-weight: 400;
    line-height: 1.1;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.6);
}

/* Hero CTA Group */
.hero-cta-group {
    margin-top: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: 1.2s;
}

.page-loaded .hero-cta-group,
.hero-content.visible .hero-cta-group {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Date and Location */
.hero-date-location {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 1rem;
    margin-bottom: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
    position: relative;
    z-index: 1;
}

.hero-dot {
    color: #4cd0a2;
    font-size: 0.9rem;
}

/* Seamless Countdown & CTA Banner */
.countdown-ticker-bar {
    position: relative;
    z-index: 10;
    background-color: #012b23; /* Deep UNCW Seahawk luxury green */
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 2px solid #006747; /* UNCW Teal accent line */
    padding: 1.25rem 3.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.ticker-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.ticker-countdown-wrap {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.ticker-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3.5px;
    color: #4cd0a2; /* Bright UNCW teal accent */
    white-space: nowrap;
}

.ticker-countdown {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.cd-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 42px;
}

.cd-num {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1;
    color: #ffffff;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.5px;
}

.cd-unit {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.5rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.25rem;
    text-transform: uppercase;
}

.cd-divider {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: #4cd0a2;
    opacity: 0.8;
    margin-top: -0.35rem;
}

/* Ticker CTA Group */
.ticker-cta-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-ticker-primary {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #ffffff;
    background: #006747; /* Official UNCW Teal */
    padding: 0.75rem 1.75rem;
    border-radius: 0;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 103, 71, 0.3);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    white-space: nowrap;
}

.btn-ticker-primary:hover {
    box-shadow: 0 6px 22px rgba(0, 103, 71, 0.5);
    background: #007a54;
    color: #ffffff;
}

.btn-ticker-secondary {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    padding: 0.75rem 1.75rem;
    border-radius: 0;
    border: 1px solid rgba(255, 255, 255, 0.25);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.btn-ticker-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.55);
    color: #ffffff;
}

/* Media Queries for Ticker */
@media (max-width: 992px) {
    .countdown-ticker-bar {
        padding: 1.25rem 2rem;
    }
    .ticker-content {
        flex-direction: column;
        gap: 1.25rem;
        text-align: center;
    }
    .ticker-countdown-wrap {
        flex-direction: column;
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .countdown-ticker-bar {
        padding: 1.5rem 1rem;
    }
    .hero-cta-group,
    .ticker-cta-group {
        width: 100%;
        flex-direction: column;
        gap: 0.75rem;
    }
    .btn-ticker-primary, .btn-ticker-secondary {
        width: 100%;
        text-align: center;
        padding: 0.8rem 1.5rem;
    }
}

/* Scroll Indicator */
.scroll-indicator {
    display: flex;
    justify-content: center;
    padding-bottom: 3rem;
    animation: bounce 2.5s infinite;
    cursor: pointer;
}

.scroll-indicator svg {
    opacity: 0.9;
    filter: drop-shadow(0px 2px 6px rgba(0,0,0,0.6));
    transition: opacity 0.3s ease;
}

.scroll-indicator:hover svg {
    opacity: 1;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-12px);
    }
    60% {
        transform: translateY(-6px);
    }
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .header {
        padding: 2rem 3rem;
    }
    .nav-left {
        padding-right: 1.5rem;
    }
    .nav-right {
        padding-left: 1.5rem;
    }
    .heading {
        font-size: 4.4rem;
    }
}

@media (max-width: 992px) {
    .header {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 2.5rem 2rem 1.5rem 2rem;
    }
    .heading {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .nav-left, .nav-right {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    .main-content {
        margin-top: 0;
        padding: 2.5rem 1.5rem 1.5rem 1.5rem;
    }
    .heading {
        font-size: 2.6rem;
    }
    .subheading {
        font-size: 1rem;
    }
    .scroll-indicator {
        padding-bottom: 2rem;
    }
    .divider-seal {
        width: 95px;
    }
    .hero-watermark {
        width: 450px;
        height: 450px;
    }
    .heading {
        font-size: 3.5rem;
    }
}

@media (max-width: 480px) {
    .heading {
        font-size: 2.5rem;
    }
    .logo-text {
        font-size: 1.5rem;
    }
    .divider-seal {
        width: 80px;
    }
    .hero-watermark {
        width: 320px;
        height: 320px;
    }
    .hero-eyebrow {
        font-size: 0.7rem;
        letter-spacing: 0.3em;
    }
}

/* Transformation Section */
.transformation-section {
    position: relative;
    background-color: #ffffff;
    color: #0f204f; /* Dark blue from reference */
    padding: 6.5rem 1.5rem 4rem 1.5rem;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.content-block {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    text-align: left;
    gap: 2.5rem;
}

.text-col {
    width: 100%;
    max-width: 540px;
}

.image-col {
    width: 100%;
    max-width: 540px;
}

.image-col img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.section-title {
    font-size: 2.2rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    color: #0f204f;
}

.section-desc {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.75rem;
    color: #0f204f;
}

.action-link {
    display: inline-flex;
    align-items: center;
    font-size: 1rem;
    font-weight: 600;
    color: #0f204f;
    text-decoration: none;
    margin-bottom: 2.5rem;
    transition: color 0.2s ease;
}

.action-link:hover {
    color: #076960;
}

.action-link .arrow {
    margin-left: 0.5rem;
    transition: transform 0.2s ease;
}

.action-link:hover .arrow {
    transform: translateX(4px);
}

.stats-container {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: #0f204f;
}

.stat-value {
    font-size: 2.2rem;
    font-weight: 300;
    color: #076960; /* Light blue */
    line-height: 1;
}

/* Scroll Reveal Classes */
.reveal-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal-element.delay-1 {
    transition-delay: 0.1s;
}

.reveal-element.delay-2 {
    transition-delay: 0.3s;
}

.reveal-element.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Desktop layout (min-width: 992px) */
@media (min-width: 992px) {
    .transformation-section {
        padding: 8rem 2rem;
    }

    .container {
        gap: 8rem;
    }

    .content-block {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 4rem;
    }

    .content-block.reverse {
        flex-direction: row-reverse;
    }

    .text-col {
        flex: 1;
        max-width: 480px;
    }

    .image-col {
        flex: 1;
        max-width: none;
    }

    .section-title {
        font-size: 2.8rem;
    }

    .action-link {
        margin-bottom: 4rem;
    }

    .stats-container {
        gap: 3rem;
    }

    .stat-value {
        font-size: 2.8rem;
    }
}


/* Schedule Section (Pattern Interrupt) */
.schedule-section {
    background-color: #0f204f;
    color: #ffffff;
    padding: 6rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.schedule-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.schedule-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
    text-transform: uppercase;
    color: #ffffff;
}

.schedule-subtitle {
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    margin-bottom: 4rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
}

.schedule-grid {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 2rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .schedule-grid {
        flex-direction: row;
        justify-content: space-between;
        gap: 0;
    }
}

.schedule-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 2rem;
}

@media (min-width: 768px) {
    .schedule-card {
        border-bottom: none;
        border-right: 1px solid rgba(255, 255, 255, 0.2);
        padding-bottom: 0;
    }
    .schedule-card:last-child {
        border-right: none;
    }
}

.schedule-date {
    font-size: 1.8rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 2.5rem;
    letter-spacing: 0.05em;
}

.schedule-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
}

.schedule-event {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
}

.schedule-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.schedule-link {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: color 0.2s ease;
    margin-top: auto;
}

.schedule-link:hover {
    color: #ffffff;
}

.schedule-seal-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    opacity: 0.14;
    pointer-events: none;
}

.schedule-seal {
    width: 380px;
    height: auto;
    display: block;
}


/* Events Gallery Section */
.events-gallery-section {
    background-color: #ffffff;
    padding: 6rem 0;
    overflow: hidden;
}

.gallery-container {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.gallery-header {
    padding: 0 2rem;
    max-width: 1200px;
    margin: 0 auto 3rem auto;
    width: 100%;
}

.gallery-title {
    font-size: 2.8rem;
    font-weight: 400;
    color: #0f204f;
    margin-bottom: 0.2rem;
}

.gallery-subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    color: #076960; /* Brighter blue for subtitle */
}

.gallery-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 1rem 0;
    /* Adding a left padding to offset the start slightly, or we can just let it start at edge */
    padding-left: max(2rem, calc((100vw - 1200px) / 2));
}

.gallery-track {
    display: flex;
    gap: 2rem;
    will-change: transform;
}

.gallery-item {
    flex: 0 0 auto;
    height: 450px;
}

.gallery-item img {
    height: 100%;
    width: auto;
    max-width: 80vw; /* Prevent images from being wider than screen on mobile */
    object-fit: cover;
    display: block;
}

.gallery-controls {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 4rem;
}

.gallery-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 1px solid #0f204f;
    background: transparent;
    color: #0f204f;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-btn:hover {
    background: #0f204f;
    color: #ffffff;
}

@media (max-width: 992px) {
    .gallery-carousel {
        padding-left: 2rem;
    }
}

@media (max-width: 768px) {
    .events-gallery-section {
        padding: 4rem 0;
    }
    .gallery-title {
        font-size: 2.2rem;
    }
    .gallery-item {
        height: 350px;
    }
    .gallery-controls {
        margin-top: 3rem;
    }
}

@media (max-width: 480px) {
    .gallery-item {
        height: 280px;
    }
    .gallery-carousel {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .gallery-track {
        gap: 1rem;
    }
}


/* Socials Section */
.socials-section {
    background-color: #ffffff;
    padding: 6rem 2rem;
    overflow: hidden;
}

.socials-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.socials-text {
    flex: 1;
    max-width: 450px;
}

.socials-title {
    font-size: 2.8rem;
    color: #0f204f;
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.socials-desc {
    font-size: 1.15rem;
    color: #076960;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 2.5rem;
}

.follow-us {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.follow-label {
    font-size: 1rem;
    color: #0f204f;
    font-weight: 600;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: #0f204f;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
    background-color: #076960;
}

.socials-carousel-wrapper {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.socials-carousel {
    position: relative;
    width: 100%;
    height: 400px;
    max-width: 500px;
}

.socials-item {
    position: absolute;
    top: 50%;
    width: 280px;
    height: 280px;
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), left 0.8s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.8s ease, box-shadow 0.8s ease;
    will-change: transform, left, opacity;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.socials-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ig-logo-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    background: #fff;
    border-radius: 50%;
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.ig-logo-overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Positions */
.socials-item.pos-0 {
    left: 0;
    transform: translate(-50%, -50%) scale(0.6);
    opacity: 0;
    z-index: 1;
}

.socials-item.pos-1 {
    left: 0;
    transform: translate(0, -50%) scale(0.85);
    opacity: 0.6;
    z-index: 2;
}

.socials-item.pos-2 {
    left: 50%;
    transform: translate(-50%, -50%) scale(1.15);
    opacity: 1;
    z-index: 3;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.socials-item.pos-3 {
    left: 100%;
    transform: translate(-100%, -50%) scale(0.85);
    opacity: 0.6;
    z-index: 2;
}

.socials-item.pos-4 {
    left: 100%;
    transform: translate(50%, -50%) scale(0.6);
    opacity: 0;
    z-index: 1;
}

.socials-controls {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.socials-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid #0f204f;
    background: transparent;
    color: #0f204f;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.socials-btn:hover {
    background: #0f204f;
    color: #ffffff;
}

.view-post-btn {
    background: #0f204f;
    color: #ffffff;
    text-decoration: none;
    padding: 0.8rem 2rem;
    border-radius: 0;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.view-post-btn:hover {
    background: #076960;
}

/* Responsive */
@media (max-width: 992px) {
    .socials-container {
        flex-direction: column-reverse;
        text-align: center;
    }
    .socials-text {
        max-width: 100%;
    }
    .follow-us {
        align-items: center;
    }
    .socials-carousel {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .socials-section {
        padding: 4rem 1.5rem;
    }
    .socials-title {
        font-size: 2.2rem;
    }
    .socials-carousel {
        height: 300px;
    }
    .socials-item {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 480px) {
    .socials-item {
        width: 160px;
        height: 160px;
    }
    .socials-item.pos-1 {
        transform: translate(-10%, -50%) scale(0.85); 
    }
    .socials-item.pos-3 {
        transform: translate(-90%, -50%) scale(0.85);
    }
}

/* Footer Section */
.footer-section {
    background-color: #0f204f;
    color: #ffffff;
    padding: 6rem 2rem 2rem 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 4rem;
    margin-bottom: 6rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.logo-col {
    align-items: flex-start;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo .logo-text {
    font-size: 2.5rem;
}

.footer-logo .logo-subtext {
    font-size: 0.8rem;
}

.footer-heading {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-heading.mt-4 {
    margin-top: 2.5rem;
}

.footer-text {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-link-action {
    display: inline-flex;
    align-items: center;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link-action:hover {
    color: #076960;
}

.footer-link-action .arrow {
    margin-left: 0.5rem;
    transition: transform 0.2s ease;
}

.footer-link-action:hover .arrow {
    transform: translateX(4px);
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #ffffff;
}

.footer-link.strong {
    color: #ffffff;
    font-weight: 600;
}

.footer-socials {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.footer-social-icon {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.footer-social-icon:hover {
    transform: translateY(-3px);
    background-color: #076960;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.footer-bottom-container {
    display: flex;
    justify-content: flex-start;
}

.footer-bottom-container p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.divider {
    margin: 0 0.8rem;
    color: rgba(255, 255, 255, 0.3);
}

/* Responsive */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-section {
        padding: 4rem 1.5rem 2rem 1.5rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        margin-bottom: 4rem;
    }
    
    .logo-col {
        align-items: center;
        margin-bottom: 2rem;
    }
    
    .footer-bottom-container {
        justify-content: center;
        text-align: center;
    }
}

/* Hamburger Button */
.hamburger-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    z-index: 102;
    padding: 0;
    position: relative;
}

.hamburger-btn .bar {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #ffffff;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.hamburger-btn.menu-open .bar {
    background-color: #0f204f;
}

.hamburger-btn .bar.half {
    width: 70%;
    margin-left: auto;
}

.hamburger-btn.menu-open .bar:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.hamburger-btn.menu-open .bar:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.menu-open .bar:nth-child(3) {
    width: 100%;
    transform: translateY(-8.5px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    overflow-y: auto;
    overscroll-behavior: none;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-inner {
    padding: 9rem 2rem 4rem 2rem;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
}

.mobile-nav-list > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1.5rem 0;
    font-size: 1.4rem;
    color: #0f204f;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid #eef2f5;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    text-transform: uppercase;
}

.mobile-nav-list > a:hover {
    color: #076960;
}

/* Dynamic Header States */
.header {
    transition: all 0.3s ease;
}

.header.menu-open .logo-seal svg text {
    fill: #0f204f;
}

.header.menu-open .logo-seal svg path {
    stroke: #0f204f;
}

.header.menu-open .logo-text, .header.menu-open .logo-subtext {
    color: #0f204f;
    text-shadow: none;
}

/* Responsive Overrides */
@media (max-width: 992px) {
    .desktop-only {
        display: none !important;
    }
    
    .mobile-only {
        display: flex !important;
    }
    
    .header {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 1.25rem 1.5rem;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        background-color: rgba(1, 43, 35, 0);
        transition: transform 0.35s ease, opacity 0.35s ease, background-color 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
    }

    /* Custom suave entrance transition for mobile header on page load */
    .page-loaded .header {
        transition: transform 1.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.8s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
        transition-delay: 0s;
    }

    /* Revert to fast transition for active scroll/toggle interactions on mobile */
    .page-loaded .header.scrolled,
    .page-loaded .header.header-hidden,
    .page-loaded .header.menu-open {
        transition: transform 0.35s ease, opacity 0.35s ease, background-color 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
        transition-delay: 0s;
    }

    .header.scrolled {
        background-color: #ffffff;
        padding: 0.25rem 1.25rem;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .header.menu-open {
        padding: 1.25rem 1.5rem !important;
    }
    
    /* Position the logo to the left and hamburger button to the right naturally */
    .header::before {
        display: none;
    }
    
    .header .logo {
        position: relative;
        left: auto;
        transform: none;
        margin: 0;
        display: flex;
        align-items: center;
    }

    .header .logo-seal img {
        max-width: 95px !important;
        height: auto !important;
    }

    .header.scrolled .logo-seal img {
        max-width: 70px !important;
    }
    
    .header.menu-open .logo-seal img {
        max-width: 95px !important;
    }
    
    .hamburger-btn {
        margin-left: 0;
        position: relative;
        z-index: 102;
    }
}

.header.menu-open .logo-text,
.header.menu-open .logo-subtext {
    color: #0f204f;
}

.header.menu-open .hamburger-btn .bar {
    background-color: #0f204f;
}

.logo-seal svg text, .logo-seal svg path, .logo-text, .logo-subtext {
    transition: all 0.3s ease;
}

/* 2026 FIELD SECTION */
.field-section {
    background-color: #ffffff;
    padding: 5rem 1.5rem;
    color: #0f204f;
    text-align: center;
}

.field-container {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.field-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.1rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: #0f204f;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.field-divider {
    width: 70px;
    height: 1px;
    background-color: #c5a059;
    margin-bottom: 3.5rem;
}

.field-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 2.5rem;
}

@media (min-width: 768px) {
    .field-layout {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 2rem;
    }
}

.field-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.field-col-left {
    text-align: center;
}

.field-col-right {
    text-align: center;
}

@media (min-width: 768px) {
    .field-col-left {
        text-align: right;
        padding-right: 2rem;
    }
    .field-col-right {
        text-align: left;
        padding-left: 2rem;
    }
}

.team-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #1a2b4c;
    text-transform: uppercase;
    line-height: 1.4;
}

.field-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    min-width: 140px;
}

.host-logo-wrapper {
    margin-bottom: 0.75rem;
}

.host-logo {
    max-width: 85px;
    height: auto;
    display: block;
}

.host-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #0f204f;
    text-transform: uppercase;
}

