/* =========================================
   CHAI & BISCUIT CATERING - INSTITUTIONAL FOCUS
   ========================================= */

/* ===== CSS VARIABLES ===== */
:root {
    --primary-navy: #1a2941;
    --primary-navy-light: #2a3d5a;
    --primary-navy-dark: #0f1a2a;

    --accent-gold: #c9a961;
    --accent-gold-light: #d4b976;
    --accent-gold-dark: #b89550;
    --accent-coral: #ff6b6b;

    --text-dark: #2a2a2a;
    --text-medium: #5a5a5a;
    --text-light: #8a8a8a;

    --bg-cream: #faf8f5;
    --bg-white: #ffffff;
    --bg-light: #f5f2ed;
    --bg-gold-light: #fff9ed;

    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Montserrat', sans-serif;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--bg-cream);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

ul {
    list-style: none;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 { font-size: 4rem; }
h2 { font-size: 3rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }

.lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
}

/* ===== LAYOUT ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 6rem 0;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
}

/* ===== TEXT LOGO ===== */
.logo-text {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    font-family: var(--font-serif);
    transition: var(--transition);
}

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

.logo-main {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--primary-navy);
    letter-spacing: 1px;
}

.logo-divider {
    font-size: 1rem;
    color: var(--accent-gold);
    font-weight: 400;
}

.logo-sub {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-medium);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Legacy logo class for backward compatibility */
.logo {
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    color: var(--text-dark);
    position: relative;
}

.nav-links a:not(.btn-primary):hover {
    color: var(--accent-gold);
}

.nav-links a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: var(--transition);
}

.nav-links a:not(.btn-primary):hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: var(--transition);
}

/* ===== STICKY CONTACT BUTTON ===== */
.sticky-contact-btn {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
    color: white;
    padding: 1.5rem 0.75rem;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    z-index: 999;
    box-shadow: -4px 0 16px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    border-radius: 8px 0 0 8px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sticky-contact-btn:hover {
    background: linear-gradient(135deg, var(--accent-gold-dark), var(--primary-navy));
    padding-right: 1rem;
    box-shadow: -6px 0 24px rgba(0, 0, 0, 0.3);
}

.sticky-btn-text {
    font-family: var(--font-sans);
}

.sticky-btn-icon {
    font-size: 1.5rem;
    transform: rotate(90deg);
}

/* Fade animation for mobile sticky button */
@keyframes fadeInOut {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* Adjust sticky button for mobile */
@media (max-width: 768px) {
    .sticky-contact-btn {
        padding: 1.25rem 0.6rem;
        font-size: 0.95rem;
        letter-spacing: 1.5px;
        animation: fadeInOut 3s ease-in-out infinite;
    }

    .sticky-contact-btn:active {
        animation: none;
        opacity: 1;
    }

    .sticky-btn-icon {
        font-size: 1.2rem;
    }
}

/* ===== BUTTONS ===== */
.btn-primary {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
    color: white;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, var(--accent-gold-dark), var(--accent-gold));
}

.btn-hero {
    display: inline-block;
    background: var(--accent-gold);
    color: white;
    padding: 1.25rem 3rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(201, 169, 97, 0.4);
    background: var(--accent-gold-dark);
}

.btn-submit {
    background: linear-gradient(135deg, var(--primary-navy), var(--primary-navy-light));
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    width: 100%;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Hero CTA Buttons */
.hero-cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-navy);
    padding: 1.25rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    border: 2px solid var(--accent-gold);
}

.btn-hero-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(201, 169, 97, 0.4);
    background: white;
}

.download-icon {
    font-size: 1.3rem;
}

/* Download CTA in Contact Section */
.download-cta {
    text-align: center;
    margin-top: 2rem;
    padding: 2rem;
    background: var(--bg-gold-light);
    border-radius: 12px;
    border: 2px solid var(--accent-gold-light);
}

.download-text {
    font-size: 1.15rem;
    color: var(--text-medium);
    margin-bottom: 1rem;
    font-weight: 500;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--primary-navy);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: var(--primary-navy-light);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(135deg, rgba(26, 41, 65, 0.60) 0%, rgba(15, 26, 42, 0.65) 100%),
        url('../images/meals.png') center/cover no-repeat;
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(201, 169, 97, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(201, 169, 97, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.15) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8), 0 2px 4px rgba(0, 0, 0, 0.6);
    color: #ffffff;
}

.hero-subtitle {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 3rem;
    color: #ffffff;
    font-family: var(--font-sans);
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.8), 0 1px 3px rgba(0, 0, 0, 0.6);
    line-height: 1.6;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.feature-icon {
    font-size: 2rem;
    background: var(--accent-gold);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(201, 169, 97, 0.3);
}

.feature-item span:last-child {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8), 0 1px 3px rgba(0, 0, 0, 0.6);
    color: #ffffff;
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.scroll-arrow {
    width: 2px;
    height: 40px;
    background: rgba(255, 255, 255, 0.5);
    margin: 1rem auto 0;
    position: relative;
    animation: scrollBounce 2s infinite;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid rgba(255, 255, 255, 0.8);
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.section-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-navy);
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    margin: 0 auto 1.5rem;
}

.section-description {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.15rem;
    color: var(--text-medium);
}

/* ===== ABOUT SECTION ===== */
.about {
    background: var(--bg-white);
}

.about-content {
    display: grid;
    gap: 3rem;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.mission-statement {
    background: linear-gradient(135deg, var(--bg-gold-light), var(--bg-light));
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    border: 2px solid var(--accent-gold-light);
    max-width: 700px;
    margin: 0 auto;
}

.mission-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.mission-statement h3 {
    color: var(--primary-navy);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.mission-statement p {
    color: var(--text-medium);
    font-size: 1.15rem;
    font-style: italic;
}

/* ===== INSTITUTIONAL SECTION ===== */
.institutional {
    background: var(--bg-light);
}

.institutional-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

@media (min-width: 1200px) {
    .institutional-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.institutional-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.institutional-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-gold);
}

.card-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.institutional-card h3 {
    color: var(--primary-navy);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.institutional-card p {
    color: var(--text-medium);
    font-size: 1rem;
    line-height: 1.6;
}

.institutional-detail {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    text-align: center;
    margin-bottom: 3rem;
}

.institutional-detail h3 {
    color: var(--primary-navy);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.institutional-detail > p {
    font-size: 1.2rem;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
}

.institution-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
    margin-top: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.institution-types li {
    color: var(--primary-navy);
    font-weight: 500;
    font-size: 1.05rem;
    padding-left: 2rem;
    position: relative;
    text-align: left;
}

.institution-types li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: bold;
    font-size: 1.3rem;
}

/* ===== PARTNERS SECTION ===== */
.partners {
    background: var(--bg-white);
}

.partners-section {
    background: var(--primary-navy);
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
}

.partners-section h3 {
    color: white;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.partner-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.partner-logo {
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.partner-logo img {
    height: 80px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    background: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.testimonial-card {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    position: relative;
    border: 2px solid var(--accent-gold-light);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-gold);
}

.testimonial-quote {
    font-family: var(--font-serif);
    font-size: 6rem;
    line-height: 0.5;
    color: var(--accent-gold-light);
    margin-bottom: 1rem;
    opacity: 0.3;
}

.testimonial-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-medium);
    font-style: italic;
    margin-bottom: 2rem;
}

.testimonial-author {
    padding-top: 1.5rem;
    border-top: 2px solid var(--accent-gold-light);
}

.author-name {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary-navy);
    margin-bottom: 0.25rem;
}

.author-title {
    font-size: 0.95rem;
    color: var(--text-medium);
    margin-bottom: 0.25rem;
}

.author-org {
    font-size: 0.95rem;
    color: var(--accent-gold-dark);
    font-weight: 600;
}

/* ===== EVENTS SECTION ===== */
.events {
    background: var(--bg-white);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.event-card {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    background: var(--bg-gold-light);
}

.event-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.event-card h3 {
    color: var(--primary-navy);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.event-card p {
    color: var(--text-medium);
    font-size: 1rem;
    line-height: 1.6;
}

.event-features {
    background: linear-gradient(135deg, var(--primary-navy), var(--primary-navy-light));
    padding: 3rem;
    border-radius: 16px;
    color: white;
}

.event-features h3 {
    color: var(--accent-gold);
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.feature-list {
    max-width: 800px;
    margin: 0 auto;
}

.feature-list li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.05rem;
    padding-left: 2rem;
    position: relative;
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: bold;
    font-size: 1.3rem;
}

/* ===== WHY US SECTION ===== */
.why-us {
    background: var(--bg-light);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.why-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 2px solid transparent;
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-gold-light);
}

.why-card.featured {
    background: linear-gradient(135deg, var(--bg-gold-light), white);
    border: 2px solid var(--accent-gold);
}

.why-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.why-card h3 {
    color: var(--primary-navy);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.why-card p {
    color: var(--text-medium);
    font-size: 1rem;
    line-height: 1.7;
}

/* ===== GALLERY SECTION ===== */
.gallery {
    background: var(--bg-white);
    padding-top: 3rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

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

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 4/3;
    cursor: pointer;
    border: 3px solid transparent;
    transition: var(--transition);
}

.gallery-item:hover {
    border-color: var(--accent-gold);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, var(--primary-navy) 0%, transparent 100%);
    padding: 2rem;
    color: white;
    transform: translateY(10px);
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
    opacity: 1;
}

.gallery-overlay h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--accent-gold);
}

.gallery-overlay p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Gallery CTA Button */
.gallery-cta {
    text-align: center;
    margin-top: 3rem;
}

.btn-view-gallery {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--primary-navy), var(--primary-navy-light));
    color: white;
    padding: 1.25rem 3rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    border: 2px solid var(--accent-gold);
}

.btn-view-gallery:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(26, 41, 65, 0.4);
    background: linear-gradient(135deg, var(--primary-navy-light), var(--primary-navy));
}

.gallery-btn-icon {
    font-size: 1.3rem;
}

/* Gallery Modal */
.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    animation: fadeIn 0.3s ease-out;
}

.gallery-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.gallery-modal-image-container {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#galleryModalImage {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8);
    object-fit: contain;
}

.gallery-caption {
    margin-top: 1.5rem;
    text-align: center;
    color: white;
    font-size: 1.2rem;
    font-weight: 500;
}

.gallery-close {
    position: absolute;
    top: -50px;
    right: 0;
    font-size: 3rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border-radius: 50%;
}

.gallery-close:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.5rem;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border-radius: 50%;
    backdrop-filter: blur(10px);
}

.gallery-nav:hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    transform: translateY(-50%) scale(1.1);
}

.gallery-prev {
    left: -80px;
}

.gallery-next {
    right: -80px;
}

.gallery-counter {
    margin-top: 1rem;
    color: white;
    font-size: 1rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

/* Responsive Gallery Modal */
@media (max-width: 968px) {
    .gallery-nav {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }

    .gallery-prev {
        left: -60px;
    }

    .gallery-next {
        right: -60px;
    }
}

@media (max-width: 768px) {
    .gallery-modal-content {
        width: 100%;
        padding: 0 10px;
    }

    .gallery-close {
        top: 10px;
        right: 10px;
        font-size: 2.5rem;
        background: rgba(0, 0, 0, 0.7);
        z-index: 10001;
    }

    .gallery-nav {
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
        background: rgba(0, 0, 0, 0.7);
        border: 2px solid rgba(255, 255, 255, 0.5);
        z-index: 10001;
    }

    .gallery-nav:active {
        background: var(--accent-gold);
    }

    .gallery-prev {
        left: 10px;
    }

    .gallery-next {
        right: 10px;
    }

    #galleryModalImage {
        max-height: 65vh;
    }

    .btn-view-gallery {
        width: 100%;
        justify-content: center;
    }

    .gallery-caption {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .gallery-caption h4 {
        font-size: 1.2rem !important;
    }

    .gallery-counter {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
}

/* ===== CONTACT SECTION ===== */
.contact {
    background: var(--bg-light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-gold-light);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--primary-navy);
}

.contact-card a {
    color: var(--accent-gold-dark);
    font-weight: 500;
    font-size: 1.05rem;
}

.contact-card a:hover {
    color: var(--accent-gold);
}

.contact-card p {
    color: var(--text-medium);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* ===== CONTACT FORM ===== */
.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    border: 2px solid var(--accent-gold-light);
}

.form-header {
    grid-column: 1 / -1;
    margin-bottom: 0.5rem;
}

.form-intro {
    background: linear-gradient(135deg, var(--bg-gold-light), var(--bg-light));
    padding: 1.25rem 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-gold);
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-navy);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.9rem 1.2rem;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-cream);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: white;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    font-size: 1.05rem;
    line-height: 1.8;
    display: none;
    border: 2px solid #28a745;
}

.form-success strong {
    font-weight: 700;
    font-size: 1.15rem;
}

.form-success.show {
    display: block;
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, var(--primary-navy-dark), var(--primary-navy));
    color: white;
    padding: 3rem 0 2rem;
}

.footer-content {
    text-align: center;
}

/* ===== FOOTER TEXT LOGO ===== */
.footer-logo-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-serif);
}

.footer-logo-main {
    font-size: 2.25rem;
    font-weight: 600;
    color: white;
    letter-spacing: 1px;
}

.footer-logo-divider {
    font-size: 1.25rem;
    color: var(--accent-gold);
    font-weight: 400;
}

.footer-logo-sub {
    font-size: 1.4rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* Legacy footer logo class */
.footer-logo {
    height: 60px;
    width: auto;
    margin: 0 auto 1.5rem;
    filter: brightness(0) invert(1);
}

.footer-text {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.footer-contact {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-contact a {
    color: var(--accent-gold-light);
    font-weight: 500;
}

.footer-contact a:hover {
    color: white;
}

.footer-copyright {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* ===== ANIMATIONS ===== */
.fade-in {
    animation: fadeIn 1s ease-out;
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

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

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 968px) {
    html { font-size: 15px; }

    h1 { font-size: 3.5rem; }
    h2 { font-size: 2.5rem; }
    h3 { font-size: 1.75rem; }

    .hero-title { font-size: 3.5rem; }
    .section-title { font-size: 3rem; }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .partner-logos {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    html { font-size: 14px; }

    section { padding: 4rem 0; }

    .logo-text {
        gap: 0.5rem;
    }

    .logo-main {
        font-size: 1.4rem;
    }

    .logo-sub {
        font-size: 0.9rem;
    }

    .footer-logo-text {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-logo-main {
        font-size: 1.75rem;
    }

    .footer-logo-sub {
        font-size: 1.1rem;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.2rem; }

    .hero-features {
        flex-direction: column;
        gap: 1.5rem;
    }

    .hero-cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-hero,
    .btn-hero-secondary {
        width: 100%;
        text-align: center;
        justify-content: center;
        opacity: 1 !important;
        transform: none !important;
    }

    .hero-content {
        opacity: 1 !important;
        transform: none !important;
    }

    .contact-form {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    .institutional-grid,
    .events-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .partner-logos {
        flex-direction: column;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    html { font-size: 13px; }

    .container { padding: 0 1.5rem; }

    .hero-title { font-size: 2rem; }
    .section-title { font-size: 2rem; }

    .btn-hero {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .institutional-card,
    .event-card,
    .why-card,
    .contact-card,
    .testimonial-card {
        padding: 1.5rem;
    }

    .testimonial-quote {
        font-size: 4rem;
    }
}
