/* =========================================
   1. GENERAL PAGE SETUP
   Theme: Royal Heritage (Golden Era)
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;800&family=Lato:wght@400;700&display=swap');

body {
    margin: 0;
    font-family: 'Lato', sans-serif; /* Clean modern font for reading */
    color: #fff8e1; /* Warm cream text */
    background-color: #2b0505; /* Deep rich maroon */
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(255, 165, 0, 0.15), transparent 40%),
        linear-gradient(135deg, #2b0505 0%, #4a0a0a 100%);
    background-attachment: fixed;
    background-size: cover;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

/* =========================================
   2. BUTTON STYLES ("Royal Buttons")
   ========================================= */
.btn {
    padding: 12px 30px;
    border-radius: 50px; /* Rounded pill shape */
    font-family: 'Playfair Display', serif; /* Serif for elegance */
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
    border: none;
}

.btn-primary-solid {
    background: linear-gradient(45deg, #d97706, #fbbf24); /* Gold Gradient */
    color: #2b0505; /* Dark text on gold */
}

.btn-primary-solid:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.6); /* Gold Glow */
    background: linear-gradient(45deg, #fbbf24, #f59e0b);
}

.btn-secondary-outline {
    background: transparent;
    border: 2px solid #fbbf24;
    color: #fbbf24;
}

.btn-secondary-outline:hover {
    background: #fbbf24;
    color: #2b0505;
    box-shadow: 0 0 15px rgba(251, 191, 36, 0.4);
}

/* =========================================
   3. HEADER & NAVIGATION BAR
   ========================================= */
.site-header {
    padding: 15px 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
    background: rgba(43, 5, 5, 0.95); /* Deep Maroon */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(251, 191, 36, 0.3); /* Gold Border */
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

/* --- LOGO STYLES --- */
.logo {
    display: flex;          
    align-items: center;    
    gap: 12px;              
    text-decoration: none;  
    z-index: 1001;
}

.logo img {
    height: 65px;           
    width: auto;            
    display: block;
}

.logo span {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 800;
    /* Gold Gradient Text */
    background: linear-gradient(to right, #fbbf24, #fff8e1, #d97706);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    white-space: nowrap; 
}

/* Navigation Links */
.main-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-nav a {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    color: #ffd700; /* Gold */
    text-decoration: none;
    font-size: 16px;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    cursor: pointer;
    letter-spacing: 0.5px;
}

.main-nav a:hover {
    color: #fff;
    text-shadow: 0 0 10px #fbbf24;
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: #fbbf24;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

.main-nav a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Dropdown */
.dropdown { position: relative; }
.dropdown a .bi-chevron-down { font-size: 0.8rem; margin-left: 5px; transition: transform 0.3s ease; }

.dropdown-content {
    display: none;
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 220px;
    background: #1a0202; /* Very dark maroon */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 8px;
    z-index: 1001;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, top 0.3s ease;
}

.dropdown-content.show { display: block; opacity: 1; top: calc(100% + 10px); }

.dropdown-content a {
    padding: 12px 16px;
    display: block;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: #fbbf24;
}
.dropdown-content a:last-child { border-bottom: none; }
.dropdown-content a::after { display: none; }

.dropdown-content a:hover {
    background-color: rgba(251, 191, 36, 0.1);
    color: #ffffff;
    padding-left: 20px;
}

.mobile-menu-toggle {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: #fbbf24;
}

/* =========================================
   4. HERO SECTION
   ========================================= */
.hero-section {
    padding-top: 420px; 
    padding-bottom: 120px;
    display: flex;
    align-items: center;
    position: relative; 
    overflow: hidden;   
}

.hero-section .container { position: relative; z-index: 3; }

.hero-content {
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
    position: relative; 
    z-index: 3;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.2;
    margin: 0 0 20px 0;
    text-shadow: 0 0 30px rgba(217, 119, 6, 0.6);
    letter-spacing: 1px;
}

.highlight-text {
    color: #fbbf24; /* Gold */
    position: relative;
    z-index: 1;
    text-shadow: 0 0 15px rgba(251, 191, 36, 0.4);
}

.hero-subheading {
    font-size: 1.3rem;
    line-height: 1.6;
    color: #ffe4b5;
    opacity: 0.95;
    margin-bottom: 30px;
    border-left: 3px solid #fbbf24;
    padding-left: 15px;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* Hero Video & Divider */
.hero-video-background {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-video-background::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Gradient overlay for video */
    background: linear-gradient(to bottom, rgba(43, 5, 5, 0.6) 0%, rgba(43, 5, 5, 0.95) 100%);
    z-index: 2;
}

.hero-video-background video {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%; min-height: 100%;
    width: auto; height: auto;
    z-index: 1;
}

/* Ornamental Divider */
.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 80%; max-width: 900px;
    height: 3px;
    background: radial-gradient(circle, #fbbf24 0%, transparent 100%);
    z-index: 3;
}

/* =========================================
   5. FEATURES SECTION
   ========================================= */
.features-section {
    padding: 80px 0;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    width: 100%;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(251, 191, 36, 0.2);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: #fbbf24;
    background: rgba(43, 5, 5, 0.8);
    box-shadow: 0 20px 50px rgba(251, 191, 36, 0.15);
}

.feature-card i {
    font-size: 3rem;
    color: #fbbf24;
    margin-bottom: 1.5rem;
    display: inline-block;
    filter: drop-shadow(0 0 10px rgba(251, 191, 36, 0.4));
}

.feature-card h3 {
    font-family: 'Playfair Display', sans-serif;
    font-size: 1.6rem;
    color: #FFFFFF; 
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #e2e8f0;
    opacity: 0.8;
}

/* =========================================
   6. OUR STORY SECTION
   ========================================= */
.story-section {
    padding: 80px 0;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.story-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
}

.story-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid rgba(251, 191, 36, 0.3);
    box-shadow: 10px 10px 0 rgba(251, 191, 36, 0.1);
}

.story-content h2, .section-title {
    font-family: 'Playfair Display', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #FFFFFF; 
    margin-bottom: 1rem;
}

.story-content h3 {
    font-family: 'Playfair Display', sans-serif;
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #fbbf24; 
}

.story-content p {
    font-family: 'Lato', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: #fff8e1; 
    opacity: 0.9;
}

/* =========================================
   7. HIGHLIGHTS SECTION
   ========================================= */
.highlights-section {
    padding: 80px 0;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.column-layout { flex-direction: column; }

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: #FFFFFF; 
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    width: 100%;
}

.highlight-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    text-decoration: none;
    height: 400px;
    display: block;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease; 
}

.highlight-card:hover {
    transform: translateY(-5px);
    border-color: #fbbf24;
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
}

.highlight-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease-out;
}

.card-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, #2b0505 0%, transparent 80%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    color: #FFFFFF;
    box-sizing: border-box;
}

.card-overlay h3 {
    font-family: 'Playfair Display', sans-serif;
    font-size: 2.2rem;
    margin: 0;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease-out;
    color: #fbbf24;
}

.card-overlay p {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    margin: 0;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease-out;
    transition-delay: 0.1s;
    color: #fff;
}

.highlight-card:hover img { transform: scale(1.1); }
.highlight-card:hover .card-overlay h3,
.highlight-card:hover .card-overlay p { transform: translateY(0); opacity: 1; }

/* =========================================
   8. VENUE SECTION
   ========================================= */
.venue-section {
    padding: 80px 0;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.venue-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.venue-map iframe {
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 350px;
    border: 2px solid #fbbf24;
}

.venue-details {
    background: rgba(30, 5, 5, 0.8);
    border: 1px solid rgba(251, 191, 36, 0.3);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.venue-details:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    transform: translateY(-5px);
    border-color: #fbbf24;
}

.venue-details h3 {
    font-family: 'Playfair Display', sans-serif;
    font-size: 2rem;
    color: #fbbf24; 
    margin-top: 0; margin-bottom: 1.5rem;
}

.venue-details p {
    display: flex; align-items: flex-start; gap: 15px;
    font-size: 1.1rem; line-height: 1.6; color: #FFFFFF;
    margin-bottom: 1rem;
}

.venue-details p i { color: #d97706; font-size: 1.3rem; margin-top: 4px; }
.venue-details p a { color: #FFFFFF; text-decoration: none; transition: all 0.3s ease; }
.venue-details p a:hover { color: #fbbf24; }

/* =========================================
   9. FOOTER
   ========================================= */
.site-footer {
    background-color: #1a0202; /* Very dark background */
    color: #DDDDDD; 
    padding: 60px 0 20px 0;
    font-family: 'Lato', sans-serif;
    border-top: 3px solid #fbbf24; /* Gold Top Border */
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-family: 'Playfair Display', sans-serif;
    color: #fbbf24;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    position: relative;
    letter-spacing: 1px;
}

.footer-col h4::after {
    content: '';
    position: absolute; left: 0; bottom: -8px;
    background-color: #d97706;
    height: 2px; width: 50px;
}

.footer-col p, .footer-col ul a, .footer-col ul span, .footer-bottom p {
    font-size: 0.95rem; line-height: 1.7; opacity: 0.8; 
}

.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 0.75rem; }

.footer-col ul a { color: #e0e6ed; text-decoration: none; transition: all 0.3s ease; }
.footer-col ul a:hover { color: #fbbf24; opacity: 1; padding-left: 8px; }

.footer-socials a {
    display: inline-flex; justify-content: center; align-items: center;
    height: 40px; width: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    margin-right: 10px; border-radius: 50%;
    color: #fbbf24; font-size: 1rem; text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.footer-socials a:hover {
    background-color: #fbbf24; color: #1a0202; transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* =========================================
   10. SCROLL ANIMATIONS
   ========================================= */
.is-visible { opacity: 1 !important; transform: translateY(0) !important; }

/* =========================================
   11. PAGE LAYOUT UTILITIES
   ========================================= */
.page-content {
    padding-top: 150px;
    padding-bottom: 80px;
    min-height: 60vh;
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.8rem; text-align: center;
    margin-bottom: 1rem; color: #FFFFFF;
    text-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.page-subtitle {
    text-align: center; font-size: 1.2rem;
    max-width: 600px; margin: 0 auto 3rem auto;
    opacity: 0.9; color: #fbbf24; font-style: italic;
}

/* Grid animation container list */
.events-grid, .coordinator-grid, .gallery-grid, .contact-info-grid, 
.coordinator-contact-grid, .csr-head-section, .text-content-section, 
.story-section, .schedule-section, .event-header-box {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Standard Grids */
.events-grid, .coordinator-grid, .gallery-grid, .contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    width: 100%;
}

.coordinator-contact-grid {
     display: grid;
     grid-template-columns: 1fr;
     gap: 1.5rem;
     width: 100%;
}

/* =========================================
   12. UNIFIED "GLASS" CARD STYLE
   ========================================= */
.event-card, .coordinator-card, .info-card, .coordinator-contact-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(251, 191, 36, 0.2);
    padding: 2rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-align: center;
}

.event-card:hover, .coordinator-card:hover, .info-card:hover, .coordinator-contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    border-color: #fbbf24;
    background: rgba(43, 5, 5, 0.9);
}

.event-card h3, .coordinator-card h3, .info-card h4, .coordinator-contact-card h3 {
    font-family: 'Playfair Display', sans-serif;
    color: #FFFFFF;
    font-size: 1.6rem;
    margin: 0 0 1rem 0;
    text-align: center;
    letter-spacing: 0.5px;
}

.info-card h4 { font-size: 1.4rem; color: #fbbf24; }

.event-card p, .coordinator-card p {
    font-size: 1rem; line-height: 1.6; opacity: 0.85;
    margin-bottom: 1.5rem; text-align: center; color: #e0e6ed;
}

.coordinator-photo {
    width: 130px; height: 130px;
    border-radius: 50%; /* Circle photos for traditional look */
    object-fit: cover;
    margin: 0 auto 1.5rem auto;
    display: block;
    border: 3px solid #fbbf24;
    padding: 3px;
}

.coordinator-role {
    color: #fbbf24;
    font-weight: 700;
    margin-bottom: 1.5rem !important;
    font-size: 1rem; opacity: 1; letter-spacing: 1px;
    text-transform: uppercase;
}

.social-links { text-align: center; }
.social-links a {
    color: #FFFFFF; opacity: 0.7; font-size: 1.5rem;
    margin: 0 0.5rem; transition: all 0.3s ease;
}
.social-links a:hover { opacity: 1; transform: scale(1.1); color: #fbbf24; }

/* =========================================
   13. CONTACT PAGE STYLES
   ========================================= */
.contact-info-grid { margin-bottom: 4rem; }
.info-card i { font-size: 2.5rem; color: #d97706; margin-bottom: 1rem; }

.info-card a, .info-card span {
    font-size: 1rem; color: #FFFFFF; opacity: 0.9;
    text-decoration: none; line-height: 1.5; display: block;
    transition: color 0.3s ease;
}
.info-card a:hover { color: #fbbf24; }

.coordinator-contact-title { margin-top: 2rem; color: #FFFFFF; }
.coordinator-contact-card { padding: 1.5rem; display: flex; align-items: center; gap: 1.5rem; }
.coordinator-contact-card .coordinator-photo { width: 90px; height: 90px; border: 2px solid #fbbf24; margin: 0; border-radius: 50%; }
.coordinator-contact-card .coordinator-details h3 { text-align: left; color: #FFFFFF; }
.coordinator-contact-card .coordinator-details a {
    text-align: left; display: block;
    color: #fbbf24; text-decoration: none;
    font-weight: 600; font-size: 1rem;
}

/* =========================================
   14. GALLERY PAGE STYLES
   ========================================= */
.gallery-grid { gap: 1.5rem; }

.gallery-item {
    position: relative; overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    height: 280px; cursor: pointer;
    background: #000;
    border: 2px solid #4a0a0a;
}

.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    opacity: 0.9;
}

.gallery-item:hover img { transform: scale(1.1); opacity: 0.6; }

.gallery-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(43, 5, 5, 0.6);
    display: flex; justify-content: center; align-items: center;
    font-size: 2.5rem; color: #fbbf24; 
    opacity: 0; transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

/* =========================================
   15. COORDINATORS PAGE STYLES
   ========================================= */
.csr-head-section {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 2rem; align-items: center; margin-bottom: 4rem;
}

.csr-description h2 {
    font-family: 'Playfair Display', sans-serif;
    font-size: 3rem; font-weight: 700;
    color: #FFFFFF; text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    margin-bottom: 1rem;
}

.csr-description p { font-size: 1.1rem; line-height: 1.7; opacity: 0.9; }
.main-coordinator-title { color: #FFFFFF; text-shadow: 0 2px 10px rgba(0,0,0,0.5); text-align: center; margin-bottom: 2rem; }

.card-contact-info {
    list-style: none; padding: 0; margin: 1.5rem 0 0 0; text-align: left;
}
.card-contact-info li { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.card-contact-info i { font-size: 1.2rem; color: #d97706; }
.card-contact-info a {
    font-size: 1rem; color: #FFFFFF; opacity: 0.9;
    text-decoration: none; transition: all 0.3s ease; word-break: break-all;
}
.card-contact-info a:hover { opacity: 1; color: #fbbf24; }

.team-title {
    font-family: 'Playfair Display', sans-serif;
    font-size: 2.2rem; font-weight: 700;
    color: #fbbf24; text-align: center;
    margin-top: 3rem; margin-bottom: 2rem; 
    border-bottom: 2px solid #d97706;
    padding-bottom: 10px; display: inline-block; width: auto;
}

/* =========================================
   16. ABOUT PAGE STYLES
   ========================================= */
.about-page-content .story-content h2, .about-page-content h2 { 
    font-family: 'Playfair Display', sans-serif;
    font-size: 2.8rem; font-weight: 700;
    color: #FFFFFF; margin-bottom: 1rem;
}
.about-page-content .story-content h3 {
    font-family: 'Playfair Display', sans-serif;
    font-size: 1.5rem; font-weight: 600;
    margin-bottom: 1.5rem; color: #fbbf24; opacity: 1;
}
.about-page-content .story-content p, .about-page-content p { 
    font-family: 'Lato', sans-serif;
    font-size: 1.1rem; line-height: 1.8;
    margin-bottom: 1rem; color: #fff8e1; opacity: 0.9;
}

/* =========================================
   17. SCHEDULE TABS (Home Page)
   ========================================= */
.schedule-section { padding: 80px 0; }
.schedule-tabs {
    display: flex; justify-content: center;
    gap: 1rem; margin-bottom: 3rem; flex-wrap: wrap; 
}

.tab-button {
    padding: 1rem 1.5rem;
    font-family: 'Playfair Display', serif;
    font-weight: 600; font-size: 1rem; color: #e0e6ed; 
    background: rgba(255, 255, 255, 0.05); 
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px; cursor: pointer; transition: all 0.3s ease;
}

.tab-button:not(.active):hover {
    background: rgba(251, 191, 36, 0.1);
    transform: translateY(-3px); color: #fbbf24;
}

.tab-button.active {
    background: linear-gradient(45deg, #d97706, #fbbf24);
    color: #2b0505; transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(217, 119, 6, 0.3);
    border-color: transparent;
}

.tab-button h3 { margin: 0; font-size: 1.2rem; color: inherit; }
.tab-button h3 span { display: block; font-weight: 700; }
.tab-button h3 small { font-size: 0.9rem; font-weight: 400; opacity: 0.9; }

.schedule-panel {
    display: none; grid-template-columns: 1fr;
    gap: 1.5rem; width: 100%; opacity: 0; transition: opacity 0.3s ease;
}
.schedule-panel.active { display: grid; opacity: 1; visibility: visible; }

.schedule-card {
    background: rgba(30, 5, 5, 0.9);
    border: 1px solid rgba(251, 191, 36, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    display: grid; grid-template-columns: 300px 1fr; 
    gap: 2rem; align-items: center; padding: 1.5rem; 
    overflow: hidden; transition: all 0.3s ease;
}
.schedule-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-color: #fbbf24;
}

.schedule-image img {
    width: 100%; height: 100%; object-fit: cover;
    border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.schedule-details h3 { font-family: 'Playfair Display', sans-serif; font-size: 1.8rem; margin: 0 0 1rem 0; color: #fbbf24; }
.schedule-details p { font-size: 1rem; line-height: 1.6; opacity: 0.9; margin-bottom: 1.5rem; color: #e0e6ed; }

.schedule-meta {
    display: flex; align-items: center; flex-wrap: wrap; 
    gap: 1.5rem 2.5rem; font-weight: 600; color: #d97706; 
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem; opacity: 1;
}
.meta-item { display: flex; align-items: center; gap: 0.75rem; font-size: 0.95rem; }
.meta-item i { color: #fbbf24; font-size: 1.2rem; }
.meta-item.logo-item img { height: 40px; width: 40px; border-radius: 50%; }

/* =========================================
   18. EVENT PAGE & MODAL
   ========================================= */
.event-header-box {
    background: rgba(30, 5, 5, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(251, 191, 36, 0.3);
    padding: 2.5rem; border-radius: 12px;
    width: 100%; margin-bottom: 3rem; box-sizing: border-box; color: #FFFFFF; 
}

/* =========================================
   XPLORA HEADER LOGO FIX
   ========================================= */

/* Update the H1 to align images and text */
.event-header-box h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #fbbf24;
    line-height: 1.3;
    margin: 0 0 1.5rem 0;
    
    /* Flexbox for alignment */
    display: flex;
    justify-content: center; /* Centers everything horizontally */
    align-items: center;     /* Centers everything vertically */
    gap: 20px;               /* Space between logos and text */
}

/* Style the images inside the header (Desktop) */
.event-header-box h1 img {
    height: 70px;  /* Desktop Height */
    width: auto;   
    display: block;
}

/* =========================================
   FINAL HEADER FIX (Logos + Text in One Line)
   ========================================= */
@media screen and (max-width: 768px) {
    /* 1. Reduce the box padding so content has room to fit */
    .event-header-box {
        padding: 1.5rem 5px !important; 
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* 2. Force single line layout */
    .event-header-box h1 {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important; 
        justify-content: center !important;
        align-items: center !important;
        gap: 8px !important; 
        margin: 0 !important;
        width: 100% !important;
    }

    /* 3. Keep Logos clear and 60px */
    .event-header-box h1 img {
        height: 60px !important;
        width: auto !important;
        flex-shrink: 0 !important; 
        display: block !important;
        object-fit: contain !important;
    }

    /* 4. Adjust text to fit in the remaining space */
    .event-header-box h1 span {
        font-family: 'Playfair Display', serif !important;
        font-size: clamp(1rem, 5vw, 1.5rem) !important; 
        white-space: nowrap !important; 
        line-height: 1 !important;
    }
}

.event-header-box p {
    font-size: 1.1rem; line-height: 1.7; opacity: 0.9;
    text-align: center; max-width: 800px; margin: 0 auto; color: #fff8e1;
}

.events-grid .event-card { text-align: left; }
.events-grid .event-card h3 { text-align: left; }
.events-grid .event-card p { text-align: left; margin-bottom: 1rem; }

.view-details-btn {
    font-family: 'Lato', sans-serif; font-weight: 600;
    text-decoration: none; color: #fbbf24; background: transparent;
    padding: 10px 20px; border-radius: 50px;
    border: 1px solid #fbbf24;
    transition: all 0.3s ease; display: inline-block; 
}
.view-details-btn:hover {
    background: #fbbf24; color: #2b0505; box-shadow: 0 0 15px rgba(251, 191, 36, 0.4);
}

/* Modal */
.event-modal-hidden { display: none; }
.event-modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px); z-index: 1000;
}
.event-modal-content {
    position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
    z-index: 1001; background: #1a0202; border: 2px solid #d97706;
    border-radius: 12px; padding: 2.5rem; width: 90%; max-width: 600px;
    color: #FFFFFF; box-shadow: 0 0 50px rgba(0,0,0,0.8);
}
.event-modal-close {
    position: absolute; top: 1rem; right: 1.5rem; font-size: 2.5rem;
    font-weight: 300; color: #FFFFFF; opacity: 0.7; cursor: pointer; transition: all 0.3s ease;
}
.event-modal-close:hover { opacity: 1; transform: scale(1.1) rotate(90deg); color: #fbbf24; }

.event-modal-content h2 {
    font-family: 'Playfair Display', serif; font-size: 2rem; color: #fbbf24;
    margin: 0 0 1.5rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}
.event-modal-content h4 {
    font-family: 'Lato', sans-serif; font-size: 1rem; font-weight: 600;
    text-transform: uppercase; color: #d97706; margin: 1.5rem 0 0.5rem 0;
    display: flex; align-items: center; gap: 0.5rem;
}
.event-modal-content ul li::before {
    content: '◈'; position: absolute; left: 0; top: 4px; color: #fbbf24; font-size: 0.8rem;
}

/* =========================================
   19. EXPO PAGE
   ========================================= */
.main-container { 
    width: 100%; 
    text-align: center; 
    margin-bottom: 2rem;
}

.centurion-logo {
    width: 200px; 
    height: auto;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.centurion-logo:hover {
    transform: scale(1.05);
}

h2.title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem; 
    font-weight: 800; 
    text-transform: uppercase;
    letter-spacing: 2px; 
    color: #fbbf24; 
    margin: 0 0 3rem 0; 
    text-align: center;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
    -webkit-box-reflect: below -10px linear-gradient(transparent 60%, rgba(0, 0, 0, 0.3));
}

.expo-banner {
    width: 100%;      
    height: auto;
    border-radius: 12px; 
    margin-bottom: 3rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    border: 3px solid #d97706;
    display: block;   
}

.accreditation-list {
    list-style: none; 
    padding: 0; 
    margin: 0 auto; 
    text-align: left;
    display: inline-block; 
    vertical-align: top;
    max-width: 800px;
}

.accreditation-list li { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    margin-bottom: 12px; 
    font-size: 1.1rem; 
    opacity: 0.9; 
    color: #fff8e1;
}

.accreditation-list i { 
    color: #fbbf24; 
    font-size: 1.3rem; 
}

.marquee-container {
    width: 100%; 
    overflow: hidden; 
    background: #1a0202; 
    border-top: 1px solid #d97706;
    border-bottom: 1px solid #d97706;
    margin: 0 auto 1rem auto; 
    max-width: 1000px;
    padding: 10px 0;
}

.marquee-content {
    display: inline-block; 
    white-space: nowrap; 
    padding-left: 100%;
    animation: marquee-scroll 25s linear infinite; 
    font-family: 'Lato', sans-serif;
    font-size: 1.2rem; 
    color: #fbbf24; 
    opacity: 1;
}

@keyframes marquee-scroll { 
    0% { transform: translateX(0); } 
    100% { transform: translateX(-100%); } 
}

.marquee-content:hover { 
    animation-play-state: paused; 
}

/* =========================================
   20. STAR NIGHT GUEST
   ========================================= */
.star-night-section { padding: 60px 0; position: relative; }
.star-night-guest-container {
    display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center;
    background: rgba(30, 5, 5, 0.9); backdrop-filter: blur(15px);
    border: 1px solid rgba(251, 191, 36, 0.3); border-radius: 12px;
    padding: 40px; margin-top: 30px;
}
.star-night-guest-video-section {
    position: relative; border-radius: 10px; overflow: hidden;
    border: 2px solid #fbbf24; box-shadow: 0 0 20px rgba(251, 191, 36, 0.2);
}
.star-night-guest-video { width: 100%; display: block; }
.star-night-guest-muteBtn {
    position: absolute; bottom: 15px; right: 15px;
    background: rgba(43, 5, 5, 0.9); color: #fbbf24; border: 1px solid #fbbf24;
    padding: 6px 15px; border-radius: 4px; cursor: pointer;
    font-size: 0.85rem; display: flex; align-items: center; gap: 8px; transition: all 0.3s ease;
}
.star-night-guest-muteBtn:hover { background: #fbbf24; color: #2b0505; }
.star-night-guest-details-section h2 { font-family: 'Playfair Display', serif; font-size: 2.5rem; color: #fbbf24; margin-bottom: 20px; }
.guest-info-list { list-style: none; padding: 0; margin-bottom: 30px; }
.guest-info-list li { margin-bottom: 10px; color: #e2e8f0; display: flex; align-items: center; gap: 10px; }
.guest-info-list i { color: #d97706; }

/* =========================================
   21. DESKTOP HOVER (Only for screens > 992px)
   ========================================= */
@media (min-width: 992px) {
    .dropdown:hover .dropdown-content {
        display: block; opacity: 1; visibility: visible; transform: translateY(0);
    }
    .dropdown-content {
        display: block; opacity: 0; visibility: hidden;
        transform: translateY(10px); transition: all 0.3s ease;
        top: 100%; margin-top: 0; padding-top: 10px;
    }
}

/* =========================================
   INSTAGRAM FOOTER DROPDOWN
   ========================================= */
.insta-dropdown {
    position: relative;
    display: inline-block;
    margin-right: 10px;
}

.insta-content {
    display: none;
    position: absolute;
    bottom: 100%; 
    left: 50%;
    transform: translateX(-50%); 
    background: #1a0202; 
    min-width: 180px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 8px;
    z-index: 9999;
    padding: 8px 0;
    margin-bottom: 12px;
}

.insta-content::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -6px;
    border-width: 6px;
    border-style: solid;
    border-color: #1a0202 transparent transparent transparent;
}

.insta-dropdown:hover .insta-content {
    display: block;
    animation: fadeIn 0.2s ease-in-out;
}

.insta-content a {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 10px 15px !important;
    text-decoration: none !important;
    color: #fbbf24;
    font-size: 0.9rem !important;
    text-align: left !important;
    width: 100% !important;
    height: auto !important;
    border-radius: 0 !important;
    background: transparent !important;
    margin: 0 !important;
    white-space: nowrap;
}

.insta-content a:hover {
    background-color: rgba(251, 191, 36, 0.1) !important;
    color: #ffffff !important;
    transform: none !important; 
}

.footer-socials .insta-dropdown .insta-content a {
    width: 100% !important;
    border-radius: 0 !important;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateX(-50%) translateY(10px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* =========================================================================
   FINAL ROBUST MOBILE FIX + NAVIGATION RESTORED
   Target: Phones and Tablets (< 992px)
   ========================================================================= */

@media screen and (max-width: 992px) {

    /* --- 1. Global Safety & Box Model Fix --- */
    * {
        box-sizing: border-box !important;
    }

    html, body {
        width: 100% !important;
        overflow-x: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 20px !important; 
        padding-right: 20px !important;
        margin: 0 auto !important;
        overflow: hidden !important; 
    }

    /* --- 2. Image & Media Fixes --- */
    /* EXCLUDE Logo from this global rule to prevent it from blowing up */
    img:not(.logo img), iframe, .banner-hover-effect {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
        margin: 0 auto !important;
    }
    
    /* FIX FOR LOGO IMAGE ON MOBILE - INCREASED SIZE */
    .logo img {
        height: 60px !important; /* Increased from 40px */
        width: auto !important;
        max-width: none !important;
        margin: 0 !important;
        display: block !important;
    }
    
    /* Specific fix for Content Videos (e.g., Star Night) */
    .star-night-guest-video {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Fix for the inline-styled banner in index.html */
    div[style*="width: 100%"] {
        width: 100% !important;
        padding: 0 !important;
        margin: 20px 0 !important;
    }

    /* --- 3. Hero Section Alignment --- */
    .hero-section {
        padding-top: 140px !important;
        padding-bottom: 50px !important;
        text-align: center !important;
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        min-height: 400px !important; /* Reduced from 500px to avoid tall/square look */
    }

    /* FIX HERO VIDEO: Rectangular Video Mode Look */
    .hero-video-background video {
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        /* Ensure it covers properly without distortion */
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important; /* Crucial for aspect ratio */
        min-width: 0 !important; /* Reset these */
        min-height: 0 !important;
        z-index: 1 !important;
        display: block !important;
    }

    .hero-content {
        width: 100% !important;
        padding: 0 !important;
        margin: 0 auto !important;
        position: relative !important;
        z-index: 10 !important; /* Ensure text is above video */
    }

    .hero-buttons {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
        width: 100% !important;
        align-items: center !important;
    }

    .btn {
        width: 100% !important;
        max-width: 280px !important;
        margin: 0 auto !important;
        display: block !important;
    }
    
    /* --- 3b. HERO TITLE FIX --- */
    .hero-content h1 {
        font-size: 2.2rem !important; 
        line-height: 1.2 !important;
        margin-bottom: 15px !important;
        letter-spacing: 1px !important; 
        text-transform: uppercase !important;
        padding: 0 10px !important; 
    }
    
    .hero-subheading {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
        margin-bottom: 25px !important;
        padding: 0 15px !important;
        border-left: none !important;
    }

    /* --- 4. Grid & Layout Fixes --- */
    .features-grid,
    .highlights-grid,
    .events-grid,
    .coordinator-grid,
    .gallery-grid,
    .key-info-grid,
    .venue-container,
    .story-container,
    .star-night-guest-container,
    .csr-head-section {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 30px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* --- 5. Card Sizing --- */
    .feature-card,
    .highlight-card,
    .event-card,
    .key-info-card,
    .coordinator-card,
    .venue-details,
    .story-image,
    .story-content {
        width: 100% !important;
        margin: 0 auto !important;
        max-width: 100% !important;
    }
    
    /* --- 6. Text Alignment --- */
    h1, h2, h3, p {
        text-align: center !important;
        word-wrap: break-word !important;
    }

    /* --- 7. Schedule & Tabs Fix --- */
    .schedule-tabs {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 10px !important;
        margin-bottom: 20px !important;
    }
    
    .tab-button {
        width: 100% !important;
        display: block !important;
        margin-bottom: 5px !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .schedule-content {
        width: 100% !important;
        display: block !important;
    }

    .schedule-panel {
        display: none !important; 
        width: 100% !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .schedule-panel.active {
        display: flex !important; 
        flex-direction: column !important;
        gap: 20px !important;
        animation: none !important; 
    }

    .schedule-card {
        display: flex !important;
        flex-direction: column !important; 
        width: 100% !important;
        height: auto !important;
        opacity: 1 !important;
        visibility: visible !important;
        margin-bottom: 0 !important;
    }
    
    .schedule-image {
        width: 100% !important;
        height: 200px !important; 
    }
    
    .schedule-details {
        width: 100% !important;
        text-align: center !important;
    }
    
    /* --- 8. GALLERY & COORDINATORS VISIBILITY FIX --- */
    .gallery-grid,
    .coordinator-grid,
    .central-coordinators-grid, 
    .coordinator-contact-grid {
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important; 
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        margin-top: 20px !important;
    }

    .gallery-item {
        width: 100% !important;
        height: 250px !important; 
        display: block !important;
        opacity: 1 !important;
    }

    .coordinator-card {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        opacity: 1 !important;
    }
    
    .coordinator-photo {
        width: 140px !important;
        height: 140px !important;
        max-width: none !important; 
    }

    /* --- 9. FOOTER Fix --- */
    .footer-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
        text-align: center !important;
        height: auto !important; /* Fix for visibility */
        padding-bottom: 40px !important;
    }
    
    .footer-col {
        width: 100% !important;
        margin-bottom: 10px !important;
    }
    
    .footer-col h4::after {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    /* --- 10. MENU & NAVIGATION --- */
    .mobile-menu-toggle {
        display: block !important;
        z-index: 10000;
        font-size: 2rem;
        cursor: pointer;
        color: #FFFFFF;
    }

    .main-nav {
        position: fixed !important;
        top: 0;
        right: 0;
        height: 100vh !important;
        width: 280px !important;
        background: rgba(43, 5, 5, 0.98) !important;
        border-left: 1px solid rgba(251, 191, 36, 0.3);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        transform: translateX(100%); 
        transition: transform 0.4s ease-in-out;
        z-index: 9999 !important;
        padding-top: 0 !important;
    }

    .main-nav.nav-active {
        transform: translateX(0) !important;
    }

    .main-nav ul {
        flex-direction: column !important;
        text-align: center;
        gap: 30px !important;
    }
    
    /* Mobile Logo Adjustment */
    .logo span {
        font-size: 1.4rem !important; /* Smaller text */
    }
    
    /* --- 11. CONTACT PAGE FIX --- */
    .coordinator-contact-card {
        display: flex !important;
        flex-direction: column !important; 
        align-items: center !important;
        text-align: center !important;
        gap: 15px !important;
        padding: 20px !important;
    }

    .coordinator-contact-card .coordinator-details {
        width: 100% !important;
    }

    .coordinator-contact-card .coordinator-details h3 {
        text-align: center !important;
        font-size: 1.3rem !important;
        margin-bottom: 5px !important;
    }

    .coordinator-contact-card .coordinator-details a {
        text-align: center !important;
        display: block !important;
        word-break: break-all !important; 
        font-size: 1rem !important;
    }
    
    .coordinator-contact-card .coordinator-photo {
        margin: 0 !important;
        border-width: 3px !important;
    }
    
    /* --- 12. HIGHLIGHTS OVERLAY FIX --- */
    .card-overlay {
        opacity: 1 !important; 
        background: linear-gradient(to top, rgba(43, 5, 5, 0.95) 0%, transparent 100%) !important; 
    }

    .card-overlay h3, 
    .card-overlay p {
        transform: translateY(0) !important; 
        opacity: 1 !important;
        text-align: left !important; 
        padding-left: 10px !important;
    }
    
    /* --- 13. FOOTER "FOLLOW US" VISIBILITY FIX --- */
    .footer-col:last-child {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        width: 100% !important;
        margin-top: 20px !important; 
    }

    .footer-socials {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 15px !important;
        flex-wrap: wrap !important;
        width: 100% !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .footer-socials a, 
    .footer-socials .insta-dropdown {
        display: inline-flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* --- 14. EVENT HEADER FIX (Logos + Text in One Line) --- */
    .event-header-box {
        padding: 10px 0 !important; /* Zero side padding to maximize space */
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .event-header-box h1 {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important; /* Forces single line */
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        gap: 5px !important; /* Minimal gap */
        margin: 0 !important;
    }

    .event-header-box h1 img {
        height: 60px !important; /* Fixed height as requested */
        width: auto !important;
        flex-shrink: 0 !important; /* Never shrink logo below 60px */
        display: block !important;
        object-fit: contain !important;
    }

    .event-header-box h1 span {
        /* Auto-shrink text if screen is too small */
        font-family: 'Playfair Display', serif !important;
        font-size: clamp(1rem, 5vw, 1.8rem) !important; 
        white-space: nowrap !important;
        text-align: center !important;
    }
}
@media screen and (max-width: 768px) {
    /* Override the single column rule just for simple coordinator cards */
    .coordinator-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important; /* 2 columns */
        gap: 10px !important;
    }
    
    /* Make text smaller so it fits in 2 columns */
    .coordinator-card {
        padding: 15px 10px !important;
    }
    .coordinator-card h3 {
        font-size: 0.9rem !important; /* Smaller Name */
        margin-bottom: 5px !important;
    }
    .coordinator-card p {
        font-size: 0.75rem !important; /* Smaller Role */
        margin-bottom: 0 !important;
    }
}
@media screen and (max-width: 768px) {
    .lightbox-close {
        top: auto !important;
        bottom: 30px !important; /* Move to bottom */
        right: 50% !important;   /* Move to center */
        transform: translateX(50%) !important;
        background: rgba(0,0,0,0.5); /* Add a background bubble */
        width: 50px;
        height: 50px;
        border-radius: 50%;
        text-align: center;
        line-height: 45px; /* Center the X vertically */
        border: 2px solid #fbbf24;
    }
}
@media screen and (max-width: 768px) {
    .marquee-content {
        font-size: 1rem !important; /* Reduce from 1.2rem */
        animation-duration: 20s !important; /* Slow it down slightly */
    }
}