/* 
 * Newton College Model United Nations 2024
 * Main Stylesheet
 */

/* =========================
   CSS VARIABLES
========================= */
:root {
    --forest-green: #2E563E;
    --forest-green-dark: #1E3D2A;
    --emerald-green: #3A7B5C;
    --turquoise: #5DB7B0;
    --lime-green: #7CB342;
    --white: #FFFFFF;
    --black: #000000;
    --light-gray: #F5F5F5;
    --text-dark: #1A1A1A;
    --text-gray: #666666;
}

/* =========================
   GLOBAL ENHANCEMENTS
========================= */
html {
    scroll-behavior: smooth;
}

body {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

a {
    transition: color 200ms ease, opacity 200ms ease, transform 200ms ease;
}

.btn-apply,
.committees-hero-btn,
.committee-download-btn,
.gallery-load-btn,
.facts-nav-btn,
.letter-nav-btn,
.facts-nav-btn,
.committees-nav-btn {
    transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease, color 200ms ease;
}

.btn-apply:hover,
.committees-hero-btn:hover,
.committee-download-btn:hover,
.gallery-load-btn:hover,
.facts-nav-btn:hover,
.letter-nav-btn:hover,
.committees-nav-btn:hover {
    transform: translateY(-2px);
}

/* =========================
   INDEX PAGE POLISH
========================= */
#letter .letter-image-wrapper {
    transition: transform 350ms ease, box-shadow 350ms ease;
}

#letter .letter-image-wrapper:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.2);
}

#letter .letter-content {
    transition: transform 300ms ease, opacity 300ms ease;
}

.stat-box {
    transition: transform 300ms ease, box-shadow 300ms ease;
}

.stat-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.15);
}

/* =========================
   ABOUT PAGE POLISH
========================= */
.facts-slide-content {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    transition: transform 300ms ease, box-shadow 300ms ease;
}

.facts-slide-content:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
}

.facts-text-block {
    background-image: linear-gradient(135deg, rgba(46, 86, 62, 0.95), rgba(46, 86, 62, 0.75));
}

.secretariat-image,
.secretariat-thumb {
    transition: transform 250ms ease, box-shadow 250ms ease;
}

.secretariat-thumb:hover {
    transform: translateY(-2px);
}

/* =========================
   GALLERY POLISH
========================= */
.gallery-item {
    transition: transform 250ms ease, box-shadow 250ms ease;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.15);
}

/* =========================
   COMMITTEES POLISH
========================= */
.committees-carousel-container {
    background: linear-gradient(180deg, rgba(46, 86, 62, 0.05), rgba(46, 86, 62, 0.0));
    border-radius: 18px;
}

.committee-details-section {
    background: linear-gradient(180deg, #ffffff 0%, #f5f7f6 100%);
}

/* =========================
   ELEGANT + MINIMAL LIFT
========================= */
.section-title,
.facts-heading-main,
.facts-year-highlight,
.what-mun-heading,
.committee-full-name,
.letter-heading {
    letter-spacing: 0.5px;
}

.parallax-section,
.facts-section,
.gallery-section,
.committees-showcase-section,
.committee-details-section,
.contact-section,
.facilities-showcase-section {
    position: relative;
}

.parallax-section::after,
.facts-section::after,
.gallery-section::after,
.committees-showcase-section::after,
.committee-details-section::after,
.facilities-showcase-section::after {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(46, 86, 62, 0.0), rgba(46, 86, 62, 0.2), rgba(46, 86, 62, 0.0));
    pointer-events: none;
}

.custom-navbar .navbar-nav > li > a {
    position: relative;
}

.custom-navbar .navbar-nav > li > a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 6px;
    width: 0;
    height: 2px;
    background: var(--forest-green);
    transition: width 200ms ease, left 200ms ease;
}

.custom-navbar .navbar-nav > li > a:hover::after,
.custom-navbar .navbar-nav > li.active > a::after {
    width: 60%;
    left: 20%;
}

/* =========================
   NAVBAR ENHANCEMENT
========================= */
.custom-navbar {
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: none;
    backdrop-filter: blur(4px);
    transition: background 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
}

.custom-navbar.scrolled {
    background: rgba(18, 32, 25, 0.92);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.custom-navbar .navbar-brand img {
    transition: transform 200ms ease;
}

.custom-navbar .navbar-brand img:hover {
    transform: translateY(-1px);
}

.custom-navbar .navbar-nav > li > a {
    font-weight: 600;
    letter-spacing: 0.6px;
    padding: 10px 16px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.28);
    transition: background 200ms ease, color 200ms ease, transform 200ms ease;
}

.custom-navbar.scrolled .navbar-nav > li > a {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.custom-navbar .navbar-nav > li > a:hover,
.custom-navbar .navbar-nav > li.active > a {
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
}

.custom-navbar.scrolled .navbar-nav > li > a:hover,
.custom-navbar.scrolled .navbar-nav > li.active > a {
    background: rgba(255, 255, 255, 0.28);
}

.btn-apply {
    border-radius: 999px;
    padding: 10px 20px !important;
    box-shadow: 0 8px 18px rgba(46, 86, 62, 0.2);
}

.facts-nav-btn,
.committees-nav-btn,
.letter-nav-btn,
.lightbox-nav,
.lightbox-close {
    backdrop-filter: blur(6px);
}

.footer {
    background: linear-gradient(180deg, rgba(46, 86, 62, 0.06), rgba(46, 86, 62, 0.0));
}

.footer .footer-logo img {
    transition: transform 250ms ease;
}

.footer .footer-logo img:hover {
    transform: translateY(-2px);
}

/* Staggered fade-in helper */
.fade-stagger > * {
    animation: fadeUp 800ms ease both;
}

.fade-stagger > *:nth-child(2) { animation-delay: 80ms; }
.fade-stagger > *:nth-child(3) { animation-delay: 140ms; }
.fade-stagger > *:nth-child(4) { animation-delay: 200ms; }
.fade-stagger > *:nth-child(5) { animation-delay: 260ms; }

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

/* =========================
   BASE STYLES
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

svg,
video,
canvas,
iframe,
embed,
object {
    max-width: 100%;
    height: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* =========================
   NAVIGATION
========================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent;
    border: none;
    border-radius: 0;
    margin: 0;
    padding: 0;
    min-height: 65px;
    z-index: 9999;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: var(--forest-green);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar > .container {
    display: block;
    height: 65px;
    line-height: 65px;
    vertical-align: middle;
}

.navbar-header {
    display: inline-block;
    float: left;
    height: 65px;
    line-height: 65px;
    vertical-align: middle;
}

.navbar-brand {
    padding: 0;
    margin: 0;
    display: inline-block;
    height: 65px;
    line-height: 65px;
    vertical-align: middle;
}

.navbar-brand img {
    display: inline-block;
    height: 50px;
    width: auto;
    vertical-align: middle;
    line-height: 65px;
    margin-top: -3px;
}

.navbar-collapse {
    display: inline-block;
    float: right;
    padding: 0;
    margin: 0;
    height: 65px;
    line-height: 65px;
    vertical-align: middle;
}

.nav.navbar-nav {
    display: block;
    margin: 0;
    padding: 0;
    height: 65px;
    line-height: 65px;
}

.nav.navbar-nav > li {
    list-style: none;
    display: inline-block;
    float: left;
    height: 65px;
    line-height: 65px;
    vertical-align: middle;
}

.nav.navbar-nav > li > a {
    color: var(--white) !important;
    font-size: 12px;
    font-weight: 500;
    padding: 0 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    background: transparent !important;
    display: inline-block;
    white-space: nowrap;
    line-height: 65px;
    height: 65px;
    vertical-align: middle;
}

.nav.navbar-nav > li > a:hover,
.nav.navbar-nav > li.active > a {
    color: var(--lime-green) !important;
    background-color: transparent !important;
}

.nav.navbar-nav > li:last-child > a {
    padding: 0 16px;
}

.btn-apply {
    background-color: var(--emerald-green);
    color: var(--white) !important;
    border-radius: 4px;
    padding: 0 16px !important;
    font-weight: 600 !important;
    font-size: 12px !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    height: 24px;
    line-height: 24px;
}

.btn-apply:hover {
    background-color: var(--forest-green);
    color: var(--white) !important;
}

/* Desktop Navigation - Horizontal */
@media (min-width: 992px) {
    .navbar-collapse {
        display: block !important;
        position: static;
        width: auto;
        background-color: transparent;
        max-height: none !important;
        overflow: visible !important;
    }
    
    .nav.navbar-nav {
        flex-direction: row !important;
        flex-wrap: nowrap;
        padding: 0 !important;
    }
    
    .nav.navbar-nav > li {
        display: inline-block !important;
        float: left !important;
        text-align: left !important;
    }
    
    .nav.navbar-nav > li > a {
        display: inline-block !important;
        padding: 15px 10px !important;
    }
    
    .btn-apply {
        margin: 0 0 0 15px !important;
    }
}

/* Mobile navbar toggle */
.navbar-toggle {
    display: none;
}

@media (max-width: 991px) {
    .navbar-toggle {
        display: block;
        background: transparent;
        border: 2px solid var(--white);
        border-radius: 5px;
        padding: 8px 12px;
        margin-right: 15px;
    }
    
    .navbar-toggle .icon-bar {
        background-color: var(--white);
        width: 25px;
        height: 3px;
        margin: 5px 0;
    }
    
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--forest-green);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .navbar-collapse.show {
        max-height: 500px;
    }
    
    .nav.navbar-nav {
        flex-direction: column;
        padding: 20px 0;
    }
    
    .nav.navbar-nav > li {
        text-align: center;
        display: block;
        float: none;
    }
    
    .nav.navbar-nav > li > a {
        padding: 12px 20px !important;
    }
    
    .btn-apply {
        margin: 15px auto 5px;
    }
}

/* =========================
   HERO SECTION
========================= */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.35));
    z-index: 2;
}

#hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(900px 520px at 85% 20%, rgba(255,255,255,0.06), rgba(0,0,0,0) 60%);
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    padding: 0 6% 0 6%;
    max-width: 1400px;
    margin: 0;
    text-align: left;
    width: 100%;
    background: transparent;
    border-radius: 0;
    padding-top: 0;
    padding-bottom: 0;
    box-shadow: none;
    backdrop-filter: none;
}

.hero-logo {
    margin-bottom: 30px;
    margin-right: 0;
    display: flex;
    align-items: center;
    gap: 16px;
}

.hero-mun-logo {
    width: clamp(260px, 35vw, 420px);
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 12px 26px rgba(0,0,0,0.35));
    animation: heroFloat 6s ease-in-out infinite;
}

.hero-text {
    color: var(--white);
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.hero-date {
    font-size: clamp(18px, 2.1vw, 22px);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: transparent;
    padding: 0;
    margin: 0;
}

.btn-hero {
    background-color: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 999px;
    padding: 10px 30px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: none;
    align-self: flex-start;
}

.btn-hero::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 999px;
    background: linear-gradient(120deg, rgba(255,255,255,0.15), rgba(255,255,255,0.0));
    opacity: 0;
    transition: opacity 200ms ease;
}

.btn-hero {
    position: relative;
}

.btn-hero:hover::after {
    opacity: 1;
}

.btn-hero:hover {
    background-color: var(--emerald-green);
    border-color: var(--emerald-green);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

.hero-content.fade-stagger > * {
    animation: heroFade 900ms ease both;
}

.hero-content.fade-stagger > *:nth-child(2) { animation-delay: 140ms; }
.hero-content.fade-stagger > *:nth-child(3) { animation-delay: 260ms; }

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

@keyframes heroFloat {
    0% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0); }
}

/* =========================
   STATISTICS SECTION
========================= */
#statistics {
    padding: 40px 0 10px;
    margin: 0;
    width: 100%;
    max-width: 100%;
}

#statistics .container-fluid {
    padding: 0;
    margin: 0;
    width: 100%;
    max-width: 100%;
}

#statistics .row {
    margin: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 24px;
}

.stat-item {
    padding: 8px 6px;
    text-align: center;
    transition: transform 300ms ease, box-shadow 300ms ease;
    flex: 0 0 240px;
    max-width: 240px;
}

.stat-item:first-child,
.stat-item:nth-child(2),
.stat-item:last-child {
    background: transparent;
}

.stat-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat-content {
    animation: statFloat 1s ease both;
}

.stat-item:nth-child(2) .stat-content { animation-delay: 120ms; }
.stat-item:nth-child(3) .stat-content { animation-delay: 240ms; }

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

.stat-icon {
    margin-bottom: 20px;
}

.stat-icon img {
    width: 60px;
    height: 60px;
    filter: brightness(0) invert(1);
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--forest-green);
    line-height: 0.95;
    margin-bottom: 2px;
}

.stat-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.1;
}

.stats-countdown {
    max-width: 1100px;
    margin: 0 auto 20px;
    padding: 0 20px;
}

.stats-countdown-inner {
    background: linear-gradient(135deg, rgba(46, 86, 62, 0.08), rgba(46, 86, 62, 0.02));
    border: 1px solid rgba(46, 86, 62, 0.18);
    border-radius: 22px;
    padding: 30px 28px;
    text-align: center;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.14);
}

.stats-countdown-label {
    margin: 0 0 6px;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-gray);
}

.stats-countdown-time {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.countdown-block {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    min-width: 96px;
    padding: 16px 16px;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #eef3ef 100%);
    border: 1px solid rgba(46, 86, 62, 0.18);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.countdown-value {
    font-size: 34px;
    font-weight: 700;
    color: var(--forest-green);
    line-height: 1;
}

.countdown-label {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-gray);
    margin-top: 4px;
}

.countdown-sep {
    font-size: 24px;
    color: var(--forest-green);
    opacity: 0.5;
}

/* =========================
   LETTER FROM NEWTON SECTION
========================= */
#letter {
    padding: 80px 0;
    background-color: var(--white);
}

/* =========================
   ABOUT: WHAT IS NEWTON MUN
========================= */
.what-mun-section {
    padding: 90px 0 70px;
    background: linear-gradient(180deg, rgba(46, 86, 62, 0.04), rgba(46, 86, 62, 0.0));
}

.what-mun-row {
    align-items: center;
}

.left-column {
    display: flex;
    align-items: center;
    justify-content: center;
}

.left-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.right-column {
    display: flex;
    align-items: center;
}

.what-mun-logo img {
    max-width: 300px;
}

.what-mun-carousel {
    position: relative;
    margin-top: 20px;
    border-radius: 16px;
    box-shadow: none;
    overflow: hidden;
    aspect-ratio: 3 / 4;
}

.what-mun-slides .carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 600ms ease;
}

.what-mun-slides .carousel-slide.active {
    opacity: 1;
    position: relative;
}

.what-mun-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.what-mun-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 12px;
}

.what-mun-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 0;
    background: rgba(46, 86, 62, 0.25);
    cursor: pointer;
    transition: transform 200ms ease, background 200ms ease;
}

.what-mun-dot.active {
    background: var(--forest-green);
    transform: scale(1.2);
}

.what-mun-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 28px 30px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}

.what-mun-heading {
    margin-bottom: 18px;
}

.what-mun-copy p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-dark);
    text-align: justify;
}

.slogan-highlight {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 8px;
    background: rgba(46, 86, 62, 0.12);
    color: var(--forest-green);
}

@media (max-width: 991px) {
    .what-mun-section {
        padding: 70px 0 50px;
    }
    .what-mun-logo img {
        max-width: 240px;
    }
    .what-mun-card {
        margin-top: 20px;
    }

}

.letter-image-col {
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.letter-image-wrapper {
    width: 100%;
    max-width: 450px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.letter-image {
    width: 100%;
    height: auto;
    display: block;
}

.letter-content-col {
    padding: 20px 40px;
    display: flex;
    align-items: center;
}

.letter-content {
    max-width: 550px;
    text-align: left;
}

.letter-preheading {
    font-size: 14px;
    font-weight: 600;
    color: var(--forest-green);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.letter-heading {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.letter-body {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
    text-align: justify;
}

.letter-body p {
    margin-bottom: 15px;
}

.letter-signature {
    margin-top: 30px;
    font-weight: 600;
}

.letter-carousel {
    position: relative;
    min-height: 1px;
}

.letter-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 600ms ease, transform 600ms ease;
    pointer-events: none;
}

.letter-slide.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.letter-carousel-nav {
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.letter-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(46, 86, 62, 0.35);
    background: var(--white);
    color: var(--forest-green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(46, 86, 62, 0.12);
    transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease, color 200ms ease;
}

.letter-nav-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 26px rgba(46, 86, 62, 0.18);
    background: var(--forest-green);
    color: var(--white);
}

.letter-nav-btn:active {
    transform: translateY(0);
    box-shadow: 0 6px 14px rgba(46, 86, 62, 0.12);
}

.letter-nav-btn:focus-visible {
    outline: 3px solid rgba(46, 86, 62, 0.35);
    outline-offset: 2px;
}

.letter-dots {
    display: flex;
    gap: 8px;
}

.letter-dots .letter-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 0;
    background: rgba(46, 86, 62, 0.3);
    cursor: pointer;
    padding: 0;
    transition: transform 200ms ease, background 200ms ease;
}

.letter-dots .letter-dot.active {
    background: var(--forest-green);
    transform: scale(1.25);
}

.letter-dots .letter-dot:focus-visible {
    outline: 2px solid rgba(46, 86, 62, 0.35);
    outline-offset: 3px;
}

/* =========================
   VIDEO SECTION
========================= */
#video {
    position: relative;
    background-color: var(--forest-green);
    padding: 60px 0 80px;
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.video-overlay-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(46, 86, 62, 0.9) 0%, rgba(46, 86, 62, 0.95) 100%);
}

.video-pattern {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    width: 300px;
    opacity: 0.15;
}

.video-header {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

.video-logo {
    width: 80px;
    height: auto;
    margin-right: 20px;
}

.video-title {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--white);
    margin: 0;
}

.video-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.video-container iframe,
.video-container video {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
}

/* =========================
   SPONSORS SECTION
========================= */
#sponsors {
    padding: 70px 0 80px;
    background: var(--white);
}

.sponsors-title {
    font-size: 30px;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

.sponsors-combined {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 24px 18px;
    background: var(--white);
    border: 1px solid rgba(46, 86, 62, 0.1);
    border-radius: 16px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
    flex-direction: column;
    gap: 14px;
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(120px, 1fr));
    gap: 18px;
    width: 100%;
    max-width: 900px;
    align-items: center;
}

.sponsor-card {
    background: linear-gradient(180deg, #ffffff 0%, #f2f6f3 100%);
    border: 1px solid rgba(46, 86, 62, 0.12);
    border-radius: 14px;
    padding: 18px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
    transition: transform 250ms ease, box-shadow 250ms ease, filter 250ms ease;
}

.sponsor-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(46, 86, 62, 0.16);
}

.sponsors-image {
    max-width: 100%;
    height: auto;
    max-height: 120px;
    width: auto;
}

@media (max-width: 768px) {
    .sponsors-grid {
        grid-template-columns: repeat(2, minmax(120px, 1fr));
    }
}

@media (max-width: 480px) {
    .sponsors-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================
   FOOTER
========================= */
.footer {
    background-color: var(--forest-green);
    padding: 22px 0 12px;
    color: var(--white);
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo-main {
    height: 60px !important;
    width: auto !important;
    margin-right: 0 !important;
}

.footer-text h3 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 2px;
    line-height: 1.1;
}

.footer-text p {
    font-size: 11px;
    font-weight: 400;
    margin: 0;
    line-height: 1.2;
}

.footer-right {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.footer-contact {
    margin-bottom: 0;
}

.footer-contact p {
    font-size: 11px;
    margin-bottom: 2px;
    line-height: 1.3;
}

.footer-social {
    margin-top: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    margin-left: 0;
    transition: all 0.2s ease;
}

.social-icon:first-child {
    margin-left: 0;
}

.social-icon-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.social-icon:hover {
    transform: scale(1.1);
}

.footer-copyright {
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* =========================
   PRE LOADER
========================= */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--forest-green);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    /* CSS fallback: hide after 5 seconds if JavaScript fails */
    animation: preloader-timeout 5s forwards;
}

@keyframes preloader-timeout {
    0%, 90% {
        opacity: 1;
        visibility: visible;
    }
    95% {
        opacity: 0;
        visibility: hidden;
    }
    100% {
        display: none;
    }
}

body.loaded .preloader {
    display: none !important;
}

.gavel-loader {
    width: 120px;
    height: 120px;
    background: url('../images/transparent-gavel-animated-17-white.gif') center center / contain no-repeat;
    animation: gavel-impact 0.9s cubic-bezier(0.5, 0, 0.2, 1) infinite;
    transform-origin: 60% 70%;
}

@keyframes gavel-impact {
    0% { transform: rotate(-10deg) translateY(0); }
    40% { transform: rotate(18deg) translateY(2px); }
    55% { transform: rotate(12deg) translateY(0); }
    100% { transform: rotate(-10deg) translateY(0); }
}

/* =========================
   BACK TO TOP
========================= */
.go-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    background-color: var(--forest-green);
    color: var(--white);
    border-radius: 50%;
    z-index: 1000;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.go-top i {
    display: none;
}

.go-top::before {
    content: "↑";
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}

.go-top.active {
    opacity: 1;
    visibility: visible;
}

.go-top:hover {
    background-color: var(--emerald-green);
    color: var(--white);
    transform: translateY(-5px);
}

/* =========================
   PARALLAX
========================= */
.parallax-section {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* =========================
   RESPONSIVE DESIGN
========================= */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 42px;
    }
    
    .hero-subtitle {
        font-size: 36px;
    }
    
    .hero-year {
        font-size: 60px;
    }
    
    .hero-date {
        font-size: 22px;
    }
}

@media (max-width: 992px) {
    .navbar {
        min-height: 60px;
    }
    
    .navbar-brand img {
        height: 50px;
    }
    
    .nav.navbar-nav > li > a {
        padding: 10px 15px;
        font-size: 13px;
    }
    
    .btn-apply {
        padding: 8px 20px !important;
        margin-left: 10px;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
        padding: 100px 20px 60px;
        align-items: center;
        justify-content: center;
    }
    
    .hero-logo {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .hero-mun-logo {
        width: 350px;
        max-width: 100%;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-button-group {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 30px;
    }
    
    .hero-year {
        font-size: 56px;
    }
    
    .hero-date {
        font-size: 20px;
    }
    
    .stat-number {
        font-size: 48px;
    }
    
    .stat-label {
        font-size: 16px;
    }
    
    .letter-image-col {
        margin-bottom: 40px;
    }
    
    .letter-content-col {
        padding: 20px;
    }
    
    .letter-heading {
        font-size: 30px;
    }
    
    .video-container iframe,
    .video-container video {
        height: 400px;
    }
    
    .footer-left {
        flex-direction: column;
        text-align: center;
        margin-bottom: 40px;
    }
    
    .footer-logo img {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .footer-right {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .navbar-header {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }
    
    .navbar-toggle {
        margin-right: 0;
    }
    
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--forest-green);
        z-index: 1000;
    }
    
    .nav.navbar-nav {
        flex-direction: column;
        padding: 20px;
    }
    
    .nav.navbar-nav > li {
        text-align: center;
    }
    
    .nav.navbar-nav > li > a {
        padding: 12px 20px;
    }
    
    .btn-apply {
        margin: 15px auto;
        display: inline-block;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 26px;
    }
    
    .hero-year {
        font-size: 48px;
    }
    
    .hero-date {
        font-size: 18px;
    }
    
    .btn-hero {
        padding: 12px 40px;
        font-size: 16px;
    }
    
    .stat-item {
        padding: 40px 20px;
    }
    
    .stat-number {
        font-size: 42px;
    }
    
    .stat-icon img {
        width: 50px;
        height: 50px;
    }
    
    .letter-heading {
        font-size: 26px;
    }
    
    .video-container iframe,
    .video-container video {
        height: 300px;
    }
    
    .sponsors-title {
        font-size: 28px;
    }
    
    .footer-text h3 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 22px;
    }
    
    .hero-year {
        font-size: 40px;
    }
    
    .hero-logo img {
        width: 120px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .stat-label {
        font-size: 14px;
    }
    
    .letter-heading {
        font-size: 22px;
    }
    
    .video-container iframe,
    .video-container video {
        height: 220px;
    }
    
    .sponsor-logo {
        max-width: 150px;
    }
}

/* =========================
   ANIMATIONS
========================= */
.wow {
    visibility: hidden;
}

.wow.fadeInUp,
.wow.fadeInLeft,
.wow.fadeInRight,
.wow.bounceIn {
    visibility: visible;
}

/* =========================
   SMOOTH SCROLL
========================= */
.smoothScroll {
    scroll-behavior: smooth;
}

/* =========================
   TEXT UTILITIES
========================= */
.text-center {
    text-align: center;
}

.text-justify {
    text-align: justify;
}

/* =========================
   IMAGE STYLES
========================= */
.img-responsive {
    display: block;
    max-width: 100%;
    height: auto;
}

/* =========================
   MODAL STYLES
========================= */
.modal {
    z-index: 1050;
}

.modal-content {
    border-radius: 10px;
    border: none;
}

.modal-header {
    border-bottom: none;
    padding: 20px 25px 0;
}

.modal-body {
    padding: 0 25px 25px;
}

.close {
    font-size: 30px;
    font-weight: 300;
    opacity: 0.7;
}

.close:hover {
    opacity: 1;
}
/* =========================
   EXECUTIVE BOARD SECTION
========================= */
#executive-board {
    padding: 0;
    margin: 0;
    line-height: 0;
}

.executive-board-image {
    width: 100%;
    margin-top: 65px;
    line-height: 0;
}

.executive-board-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* =========================
   WHAT IS NEWTON MUN SECTION
========================= */
.what-mun-section {
    padding: 60px 0;
    background-color: var(--white);
}

.what-mun-row {
    display: grid;
    grid-template-columns: 0.9fr 1.8fr;
    align-items: stretch;
}

.left-column {
    padding: 0 10px 0 0;
}

.left-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.mun-top-logo {
    margin-bottom: 15px;
    text-align: center;
}

.mun-top-logo img {
    max-width: 100%;
    height: auto;
    max-height: 60px;
}

.carousel-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
}

.carousel-container {
    position: relative;
    width: 85%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background-color: #f5f5f5;
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 280px;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

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

.custom-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    margin-top: 15px;
    padding: 10px 0 10px 45px;
    position: relative;
    min-height: 60px;
}

.custom-nav .nav-btn {
    position: absolute;
    left: 0;
    z-index: 10;
}

.custom-nav #prevBtn {
    top: 5px;
}

.custom-nav #nextBtn {
    top: 55px;
}

.custom-nav .dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 auto;
    width: 100px;
    position: relative;
    left: -28px;
}

.nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--white);
    border: 1px solid #ddd;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #333;
    font-size: 18px;
}

.nav-btn:hover {
    background-color: var(--lime-green);
    border-color: var(--lime-green);
    color: var(--white);
}

.dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: #333;
    transform: scale(1.2);
}

/* Fallback for when JavaScript is disabled or fails */
.owl-carousel .owl-wrapper-outer {
    display: block !important;
    opacity: 1 !important;
    overflow: visible !important;
}

/* Ensure carousel items are visible */
#what-mun-carousel .owl-wrapper,
#what-mun-carousel .owl-item {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Hide empty carousel if no images loaded */
#what-mun-carousel:empty,
.carousel-wrapper:empty {
    display: none !important;
}

/* Carousel visibility fix */
.owl-carousel.owl-loaded {
    display: block !important;
}

.owl-carousel.owl-loading {
    opacity: 1 !important;
}

.right-column {
    padding: 0 0 0 30px;
}

.right-content {
    display: flex;
    flex-direction: column;
    height: auto;
}

.heading-box {
    margin-bottom: 25px;
}

.what-mun-heading {
    display: inline-block;
    background-color: var(--lime-green);
    color: #000;
    font-size: 18px;
    font-weight: 700;
    padding: 8px 16px;
    margin: 0;
    line-height: 1.2;
}

.text-box {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-dark);
    text-align: left;
}

.text-box p {
    margin-bottom: 15px;
}

.text-box strong {
    font-weight: 700;
    color: #000;
}

/* =========================
   RESPONSIVE - ABOUT PAGE
========================= */
@media (max-width: 992px) {
    .what-mun-section {
        padding: 50px 0;
    }
    
    .what-mun-row {
        grid-template-columns: 1fr;
    }
    
    .left-column {
        margin-bottom: 40px;
        padding: 0 15px;
        max-width: 100% !important;
        flex: none !important;
    }
    
    .right-column {
        padding: 0 15px;
    }
    
    .mun-top-logo img {
        max-height: 60px;
    }
    
    .what-mun-heading {
        font-size: 22px;
        padding: 8px 16px;
    }
    
    .text-box {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .executive-board-image {
        margin-top: 55px;
    }
    
    .what-mun-section {
        padding: 40px 0;
    }
    
    .mun-top-logo img {
        max-height: 50px;
    }
    
    .custom-nav {
        margin-top: 12px;
    }
    
    .nav-btn {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .heading-box {
        margin-bottom: 20px;
    }
    
    .what-mun-heading {
        font-size: 20px;
        padding: 8px 14px;
    }
    
    .text-box {
        font-size: 14px;
        line-height: 1.6;
    }
}

/* =========================
   FACTS CAROUSEL SECTION
========================= */
.facts-section {
    width: 100%;
    background-color: var(--forest-green);
    padding: 60px 0;
}

.facts-bg {
    width: 100%;
}

.facts-row {
    display: grid;
    grid-template-columns: 1fr 2fr;
    align-items: center;
    gap: 40px;
}

.facts-title-col {
    padding-right: 20px;
}

.facts-title {
    text-align: right;
}

.facts-heading {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.facts-heading-main {
    color: var(--white);
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
}

.facts-year-highlight {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--white);
    font-size: 48px;
    font-weight: 700;
    padding: 5px 20px;
    margin-top: 10px;
    line-height: 1;
}

.facts-carousel-col {
    position: relative;
}

.facts-carousel-container {
    position: relative;
    width: 100%;
}

.facts-carousel-slides {
    position: relative;
    width: 100%;
}

.facts-slide {
    display: none;
    width: 100%;
}

.facts-slide.active {
    display: block;
}

.facts-slide-content {
    display: flex;
    width: 100%;
    min-height: 200px;
    height: 240px;
}

.facts-text-block {
    flex: 0 0 55%;
    background-color: var(--lime-green);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    min-height: 200px;
}

.facts-slide-title {
    text-align: center;
    margin: 0;
}

.facts-highlight-text {
    display: block;
    color: var(--white);
    font-size: 36px;
    font-weight: 700;
    background-color: var(--forest-green);
    padding: 10px 20px;
    margin-bottom: 5px;
}

.facts-normal-text {
    display: block;
    color: var(--white);
    font-size: 36px;
    font-weight: 700;
}

.facts-normal-text.hmun-prize {
    font-size: 22px;
    font-weight: 600;
}

.facts-image-block {
    flex: 0 0 45%;
    overflow: hidden;
}

.facts-image-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    display: block;
}

.facts-img-verbal {
    object-fit: contain;
    object-position: center;
    background-color: #e9edea;
}

.facts-img-marco {
    object-fit: contain;
    object-position: center;
    background-color: #e9edea;
}

.facts-img-blanca {
    object-fit: contain;
    object-position: center;
    background-color: #e9edea;
}

.facts-img-vasco {
    object-fit: contain;
    object-position: center;
    background-color: #e9edea;
}

.facts-img-alexander {
    object-fit: contain;
    object-position: center;
    background-color: #e9edea;
}

.facts-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 10;
}

.facts-nav-btn:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.facts-nav-btn i {
    color: var(--forest-green);
    font-size: 20px;
}

.facts-prev-btn {
    left: -25px;
}

.facts-next-btn {
    right: -25px;
}


/* Responsive */
@media (max-width: 1200px) {
    .facts-row {
        grid-template-columns: 1fr 1.5fr;
        gap: 30px;
    }
    
    .facts-heading-main {
        font-size: 28px;
    }
    
    .facts-year-highlight {
        font-size: 42px;
    }
    
    .facts-highlight-text,
    .facts-normal-text {
        font-size: 32px;
    }
}

@media (max-width: 992px) {
    .facts-row {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .facts-title {
        text-align: center;
    }
    
    .facts-heading {
        align-items: center;
    }
    
    .facts-slide-content {
        flex-direction: column;
    }
    
    .facts-text-block {
        flex: 0 0 auto;
        padding: 30px;
    }
    
    .facts-image-block {
        flex: 0 0 300px;
    }
    
    .facts-highlight-text,
    .facts-normal-text {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .facts-section {
        padding: 40px 0;
    }
    
    .facts-heading-main {
        font-size: 24px;
    }
    
    .facts-year-highlight {
        font-size: 36px;
        padding: 5px 15px;
    }
    
    .facts-highlight-text,
    .facts-normal-text {
        font-size: 24px;
    }
    
    .facts-text-block {
        padding: 25px;
        min-height: auto;
    }
    
    .facts-image-block {
        flex: 0 0 250px;
    }
    
    .facts-nav-btn {
        width: 45px;
        height: 45px;
    }
    
    .facts-nav-btn i {
        font-size: 18px;
    }
}

/* =========================
   SECRETARIAT SECTION
============================== */
.secretariat-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.secretariat-header {
    text-align: center;
    margin-bottom: 50px;
}

.secretariat-heading {
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #000000;
    letter-spacing: 0.5px;
}

.secretariat-divider {
    width: 80px;
    height: 3px;
    background-color: #1e4d2b;
    margin: 15px auto 0;
}

.secretariat-content {
    display: flex;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    align-items: flex-start;
}

/* Left Column - Image */
.secretariat-image-col {
    flex: 0 0 400px;
    max-width: 400px;
}

.secretariat-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    aspect-ratio: 3/4;
}

/* Right Column - Text */
.secretariat-text-col {
    flex: 1;
    position: relative;
}

/* Navigation Arrows */
.secretariat-nav {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    gap: 10px;
}

.secretariat-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ffffff;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.secretariat-nav-btn:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.secretariat-nav-btn i {
    color: #333333;
    font-size: 16px;
}

/* Member Info */
.secretariat-role {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #555555;
    margin-bottom: 5px;
    margin-top: 0;
}

.secretariat-name {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #000000;
    margin: 0 0 25px 0;
    padding-right: 100px;
}

.secretariat-bio {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: #333333;
    text-align: justify;
    margin: 0;
}

.secretariat-bio p {
    margin-bottom: 15px;
}

.secretariat-bio p:last-child {
    margin-bottom: 0;
}

/* Thumbnails Navigation */
.secretariat-thumbnails {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid #e5e5e5;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.secretariat-thumb {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.secretariat-thumb:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

.secretariat-thumb.active {
    opacity: 1;
    border-color: #1e4d2b;
    box-shadow: 0 4px 12px rgba(30, 77, 43, 0.3);
}

/* Responsive */
@media (max-width: 992px) {
    .secretariat-content {
        flex-direction: column;
        align-items: center;
    }
    
    .secretariat-image-col {
        flex: 0 0 auto;
        max-width: 350px;
    }
    
    .secretariat-text-col {
        width: 100%;
        text-align: center;
    }
    
    .secretariat-nav {
        position: relative;
        justify-content: center;
        margin-top: 20px;
        margin-bottom: 20px;
        right: auto;
        top: auto;
    }
    
    .secretariat-name {
        padding-right: 0;
    }
    
    .secretariat-thumbnails {
        flex-wrap: wrap;
    }
}

@media (max-width: 576px) {
    .secretariat-heading {
        font-size: 26px;
    }
    
    .secretariat-name {
        font-size: 24px;
    }
    
    .secretariat-thumb {
        width: 55px;
        height: 55px;
    }
    
    .secretariat-bio {
        font-size: 14px;
    }
}

/* =========================
   FACULTY ADVISORS SECTION
============================== */
.faculty-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.faculty-header {
    text-align: center;
    margin-bottom: 60px;
}

.faculty-heading {
    font-family: 'Poppins', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #000000;
    margin: 0 0 15px 0;
    letter-spacing: 0.5px;
}

.faculty-divider {
    width: 80px;
    height: 3px;
    background-color: #1e4d2b;
    margin: 0 auto;
}

.faculty-content {
    display: flex;
    justify-content: center;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.faculty-advisor {
    flex: 1;
    max-width: 450px;
    text-align: left;
}

.faculty-role {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #666666;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 8px 0;
}

.faculty-name {
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #000000;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.faculty-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    aspect-ratio: 3/4;
    display: block;
}

/* Responsive */
@media (max-width: 992px) {
    .faculty-content {
        flex-direction: column;
        align-items: center;
        gap: 50px;
    }
    
    .faculty-advisor {
        max-width: 400px;
        text-align: center;
    }
    
    .faculty-name {
        font-size: 28px;
    }
}

@media (max-width: 576px) {
    .faculty-section {
        padding: 50px 0;
    }
    
    .faculty-heading {
        font-size: 28px;
    }
    
    .faculty-role {
        font-size: 12px;
        letter-spacing: 1px;
    }
    
    .faculty-name {
        font-size: 24px;
    }
    
    .faculty-advisor {
        max-width: 100%;
        padding: 0 10px;
    }
}

/* =========================
   SCHEDULE PAGE STYLES
============================== */
.schedule-section {
    min-height: 100vh;
    position: relative;
}

.schedule-bg {
    background-image: url('../images/header-bg-schedule-newton-mun-desk.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    position: relative;
}

.schedule-overlay {
    position: absolute;
    inset: 0;
    background: transparent;
}

.schedule-content {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 90px 40px;
}

.schedule-column {
    flex: 1;
    max-width: 600px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 30px 26px 24px;
    backdrop-filter: blur(6px);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
}

.schedule-header {
    text-align: center;
    margin-bottom: 40px;
}

.schedule-day-badge {
    display: inline-block;
    background-color: rgba(74, 222, 128, 0.18);
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 8px 20px;
    border-radius: 25px;
    margin-bottom: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.schedule-day-title {
    font-family: 'Poppins', sans-serif;
    font-size: 30px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    letter-spacing: 1px;
}

.schedule-timeline {
    padding-left: 20px;
}

.schedule-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    padding: 8px 0;
    transition: transform 200ms ease, background 200ms ease;
}

.schedule-time {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    width: 130px;
    flex-shrink: 0;
    text-align: right;
    padding-right: 20px;
    opacity: 0.85;
}

.schedule-line {
    width: 20px;
    position: relative;
    display: flex;
    justify-content: center;
}

.schedule-line::before {
    content: '';
    position: absolute;
    top: 8px;
    bottom: -15px;
    width: 2px;
    background-color: rgba(255, 255, 255, 0.3);
}

.schedule-item:last-child .schedule-line::before {
    display: none;
}

.schedule-dot {
    width: 8px;
    height: 8px;
    background-color: var(--lime-green);
    border-radius: 50%;
    position: relative;
    z-index: 2;
    margin-top: 4px;
    box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.12);
}

.schedule-event {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #ffffff;
    padding-left: 15px;
    padding-top: 2px;
    opacity: 0.92;
}

.schedule-item:hover {
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 1200px) {
    .schedule-content {
        flex-direction: column;
        align-items: center;
        gap: 60px;
        padding: 60px 30px;
    }
    
    .schedule-column {
        width: 100%;
        max-width: 700px;
    }
}

@media (max-width: 768px) {
    .schedule-content {
        padding: 50px 20px;
        gap: 50px;
    }
    
    .schedule-day-title {
        font-size: 24px;
    }
    
    .schedule-item {
        margin-bottom: 12px;
    }
    
    .schedule-time {
        font-size: 13px;
        width: 100px;
        padding-right: 15px;
    }
    
    .schedule-event {
        font-size: 13px;
        padding-left: 10px;
    }
    
    .schedule-timeline {
        padding-left: 10px;
    }
    
    .schedule-line {
        width: 15px;
    }
}

@media (max-width: 480px) {
    .schedule-content {
        padding: 40px 15px;
        gap: 40px;
    }
    
    .schedule-day-badge {
        font-size: 12px;
        padding: 6px 15px;
    }
    
    .schedule-day-title {
        font-size: 20px;
    }
    
    .schedule-time {
        font-size: 12px;
        width: 85px;
        padding-right: 10px;
    }
    
    .schedule-event {
        font-size: 12px;
        padding-left: 8px;
    }
    
    .schedule-item {
        margin-bottom: 10px;
    }
}

/* =========================
   COMMITTEES PAGE STYLES
============================== */

/* Hero Section */
.committees-hero-section {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 65px;
    overflow: hidden;
}

.committees-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/header-bg-home-newton-mun-desk.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.committees-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.committees-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 20px;
}

.committees-hero-title {
    color: var(--white);
    font-size: 48px;
    font-weight: 700;
    margin: 0 0 20px 0;
    letter-spacing: 2px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.committees-hero-text {
    color: var(--white);
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.committees-hero-btn {
    display: inline-block;
    background-color: var(--forest-green);
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    padding: 10px 25px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.committees-hero-btn:hover {
    background-color: var(--emerald-green);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Carousel Section */
.committees-showcase-section {
    padding: 60px 0;
    background-color: var(--white);
    overflow: hidden;
}

.committees-carousel-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

.committees-carousel-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 40px 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    justify-content: center;
}

.committees-carousel-track::-webkit-scrollbar {
    display: none;
}

.committees-card {
    flex: 0 0 220px;
    height: 320px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
    opacity: 0.5;
    transform: scale(0.85);
}

.committees-card.active {
    flex: 0 0 280px;
    height: 400px;
    opacity: 1;
    transform: scale(1);
    z-index: 10;
}

.committees-card.prev,
.committees-card.next {
    opacity: 0.7;
    transform: scale(0.9);
}

.committees-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: all 0.4s ease;
}

.committees-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.5) 100%);
}

.committees-card:hover .committees-card-bg {
    transform: scale(1.05);
}

/* Navigation Buttons */
.committees-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 10;
}

.committees-nav-btn:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    transform: translateY(-50%) scale(1.05);
}

.committees-nav-btn i {
    color: var(--forest-green);
    font-size: 20px;
}

.committees-prev-btn {
    left: 10px;
}

.committees-next-btn {
    right: 10px;
}

/* Committee Details Section */
.committee-details-section {
    padding: 60px 0 80px;
    background-color: var(--white);
}

.committee-details-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.committee-details-header {
    margin-bottom: 25px;
}

.committee-full-name {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.committee-delegates {
    display: inline-block;
    font-size: 12px;
    font-weight: 400;
    color: var(--text-gray);
    padding: 6px 16px;
    background-color: var(--light-gray);
    border-radius: 25px;
}

.committee-topic {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-dark);
    margin: 0 0 25px 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.committee-download-section {
    margin-top: 20px;
}

.committee-download-btn {
    display: inline-block;
    background-color: var(--forest-green);
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    padding: 10px 25px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.committee-download-btn:hover {
    background-color: var(--emerald-green);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 1200px) {
    .committees-hero-section {
        min-height: 50vh;
    }
    
    .committees-carousel-container {
        padding: 0 50px;
    }
    
    .committees-card {
        flex: 0 0 180px;
        height: 260px;
    }
    
    .committees-card.active {
        flex: 0 0 240px;
        height: 340px;
    }
    
    .committees-card-acronym {
        font-size: 26px;
    }
    
    .committees-card.active .committees-card-acronym {
        font-size: 36px;
    }
    
    .committee-full-name {
        font-size: 28px;
    }
    
    .committee-topic {
        font-size: 16px;
    }
}

@media (max-width: 992px) {
    .committees-hero-section {
        min-height: 45vh;
    }
    
    .committees-hero-title {
        font-size: 36px;
        margin-bottom: 15px;
    }
    
    .committees-hero-text {
        font-size: 20px;
    }
    
    .committees-hero-btn {
        font-size: 16px;
        padding: 12px 30px;
    }
    
    .committees-carousel-container {
        padding: 0 45px;
    }
    
    .committees-card {
        flex: 0 0 160px;
        height: 240px;
    }
    
    .committees-card.active {
        flex: 0 0 200px;
        height: 300px;
    }
    
    .committees-card-content {
        padding: 20px;
    }
    
    .committees-card-acronym {
        font-size: 22px;
    }
    
    .committees-card.active .committees-card-acronym {
        font-size: 30px;
    }
    
    .committee-full-name {
        font-size: 24px;
    }
    
    .committee-topic {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .committees-hero-section {
        min-height: 40vh;
        margin-top: 55px;
    }
    
    .committees-hero-title {
        font-size: 28px;
        margin-bottom: 12px;
    }
    
    .committees-hero-text {
        font-size: 18px;
    }
    
    .committees-hero-btn {
        font-size: 14px;
        padding: 10px 25px;
    }
    
    .committees-showcase-section {
        padding: 40px 0;
    }
    
    .committees-carousel-container {
        padding: 0 40px;
    }
    
    .committees-nav-btn {
        width: 40px;
        height: 40px;
    }
    
    .committees-nav-btn i {
        font-size: 16px;
    }
    
    .committees-card {
        flex: 0 0 140px;
        height: 200px;
    }
    
    .committees-card.active {
        flex: 0 0 170px;
        height: 250px;
    }
    
    .committees-card-content {
        padding: 15px;
    }
    
    .committees-card-acronym {
        font-size: 18px;
    }
    
    .committees-card.active .committees-card-acronym {
        font-size: 24px;
    }
    
    .committee-details-section {
        padding: 40px 0 60px;
    }
    
    .committee-full-name {
        font-size: 20px;
    }
    
    .committee-delegates {
        font-size: 14px;
        padding: 6px 16px;
    }
    
    .committee-topic {
        font-size: 14px;
        padding: 0 10px;
    }
    
    .committee-download-btn {
        font-size: 14px;
        padding: 12px 25px;
    }
}

@media (max-width: 480px) {
    .committees-hero-section {
        min-height: 35vh;
    }
    
    .committees-hero-text {
        font-size: 16px;
    }
    
    .committees-carousel-container {
        padding: 0 35px;
    }
    
    .committees-nav-btn {
        width: 35px;
        height: 35px;
    }
    
    .committees-card {
        flex: 0 0 120px;
        height: 170px;
    }
    
    .committees-card.active {
        flex: 0 0 150px;
        height: 220px;
    }
    
    .committees-card-acronym {
        font-size: 16px;
    }
    
    .committees-card.active .committees-card-acronym {
        font-size: 22px;
    }
    
    .committee-full-name {
        font-size: 18px;
    }
}

/* =========================
   CONTACT PAGE STYLES
============================== */
.contact-section {
    padding: 90px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f5f7f6 100%);
    min-height: calc(100vh - 65px);
    display: flex;
    align-items: center;
}

.contact-content {
    display: flex;
    justify-content: center;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-profile {
    text-align: left;
    max-width: 350px;
    background: #ffffff;
    border: 1px solid rgba(46, 86, 62, 0.08);
    border-radius: 18px;
    padding: 24px 22px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
    transition: transform 300ms ease, box-shadow 300ms ease;
}

.contact-profile:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 44px rgba(46, 86, 62, 0.16);
}

.contact-title {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-gray);
    margin: 0 0 8px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-name {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 8px 0;
}

.contact-email {
    font-size: 16px;
    font-weight: 400;
    color: var(--emerald-green);
    margin: 0 0 30px 0;
    word-break: break-word;
}

.contact-email a {
    color: inherit;
}

.contact-email a:hover {
    text-decoration: underline;
}

.contact-photo-wrapper {
    margin-top: 10px;
}

.contact-photo {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 20px;
    object-fit: cover;
    display: block;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

/* Responsive */
@media (max-width: 992px) {
    .contact-content {
        flex-direction: column;
        align-items: center;
        gap: 60px;
    }
    
    .contact-profile {
        text-align: center;
        max-width: 400px;
    }
    
    .contact-photo-wrapper {
        margin-top: 15px;
    }
    
    .contact-photo {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-name,
    .contact-email {
        font-size: 24px;
    }
    
    .contact-title {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .contact-content {
        padding: 0 15px;
        gap: 50px;
    }
    
    .contact-name,
    .contact-email {
        font-size: 20px;
    }
    
    .contact-photo {
        border-radius: 15px;
    }
}

/* =========================
   GALLERY PAGE STYLES
============================== */

/* Gallery Hero Section */
.gallery-hero-section {
    position: relative;
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 65px;
    overflow: hidden;
}

.gallery-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/header-bg-home-newton-mun-desk.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.gallery-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.gallery-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 20px;
}

.gallery-hero-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--white);
    margin: 0 0 15px 0;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.gallery-hero-subtitle {
    font-size: 20px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* Gallery Section */
.gallery-section {
    padding: 70px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f5f7f6 100%);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
    margin-bottom: 50px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0;
    transform: translateY(30px);
    transition: transform 360ms ease, box-shadow 360ms ease, opacity 360ms ease;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}

.gallery-item.is-placeholder {
    background: linear-gradient(135deg, var(--forest-green) 0%, var(--emerald-green) 100%);
}

.gallery-item-inner {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.6s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.08);
    filter: saturate(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.75) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-number {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 5px;
}

.gallery-text {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
}

/* Load More Button */
.gallery-load-more {
    text-align: center;
    margin-top: 30px;
}

.gallery-load-btn {
    background-color: var(--forest-green);
    color: var(--white);
    border: none;
    padding: 14px 36px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gallery-load-btn:hover {
    background-color: var(--emerald-green);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Lightbox Modal */
.gallery-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 82vh;
}

.lightbox-image {
    max-width: 90vw;
    max-height: 82vh;
    object-fit: contain;
}

.lightbox-nav,
.lightbox-close {
    transition: transform 200ms ease, background 200ms ease, box-shadow 200ms ease;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
}

.lightbox-nav:hover,
.lightbox-close:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 40px;
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 10001;
}

.lightbox-close:hover {
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
    margin-top: 20px;
    text-align: center;
    color: var(--white);
}

.lightbox-number {
    font-size: 18px;
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
}

.lightbox-text {
    font-size: 14px;
    font-weight: 400;
    opacity: 0.8;
}

.lightbox-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 20px;
    }
    
    .gallery-hero-title {
        font-size: 42px;
    }
}

@media (max-width: 992px) {
    .gallery-hero-section {
        min-height: 35vh;
    }
    
    .gallery-hero-title {
        font-size: 36px;
    }
    
    .gallery-hero-subtitle {
        font-size: 18px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .lightbox-nav {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .lightbox-prev {
        left: 15px;
    }
    
    .lightbox-next {
        right: 15px;
    }
}

@media (max-width: 768px) {
    .gallery-hero-section {
        min-height: 30vh;
        margin-top: 55px;
    }
    
    .gallery-hero-title {
        font-size: 30px;
    }
    
    .gallery-hero-subtitle {
        font-size: 16px;
    }
    
    .gallery-section {
        padding: 40px 0;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .gallery-item {
        aspect-ratio: 3/2;
    }
    
    .gallery-number {
        font-size: 20px;
    }
    
    .lightbox-close {
        top: 15px;
        right: 20px;
        font-size: 32px;
    }
    
    .lightbox-nav {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .gallery-hero-title {
        font-size: 26px;
    }
    
    .gallery-hero-subtitle {
        font-size: 14px;
    }
    
    .gallery-load-btn {
        padding: 12px 30px;
        font-size: 14px;
    }
    
    .lightbox-caption {
        padding: 0 20px;
    }
    
    .lightbox-number {
        font-size: 16px;
    }
    
    .lightbox-text {
        font-size: 12px;
    }
}
}
