/* ==========================================================================
   DESIGN SYSTEM & VARIABLES - COLEGIO ESENI DE MÉXICO
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Colors */
    --primary-color: #282771;       /* Dark Indigo from Logo */
    --primary-dark: #1b1a4f;
    --primary-light: #44439c;
    --primary-lightest: #f0f1ff;
    --accent-color: #d32f2f;        /* Crimson Red from Banner */
    --accent-hover: #b71c1c;
    --accent-light: #ffebee;
    
    /* Neutrals */
    --bg-light: #f8fafc;
    --bg-card: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    --border-color: #e2e8f0;
    
    /* Layout */
    --max-width: 1200px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --border-radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 4px 6px -1px rgba(40, 39, 113, 0.08), 0 2px 4px -1px rgba(40, 39, 113, 0.03);
    --shadow-lg: 0 20px 25px -5px rgba(40, 39, 113, 0.1), 0 10px 10px -5px rgba(40, 39, 113, 0.04);
    --shadow-hover: 0 25px 50px -12px rgba(40, 39, 113, 0.18);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: 'Outfit', sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

body {
    line-height: 1.6;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
    transition: var(--transition-fast);
}

input, textarea, select {
    font-family: inherit;
    outline: none;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.text-center { text-align: center; }
.text-accent { color: var(--accent-color); }
.text-primary { color: var(--primary-color); }

.badge {
    display: inline-block;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--border-radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-primary {
    background-color: var(--primary-lightest);
    color: var(--primary-color);
}

.badge-accent {
    background-color: var(--accent-light);
    color: var(--accent-color);
}

/* ==========================================================================
   TOP BAR & HEADER NAVIGATION
   ========================================================================== */

.top-bar {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    font-weight: 400;
    padding: 8px 0;
    border-bottom: 2px solid var(--accent-color);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-bar-info {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.top-bar-info span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-info i {
    color: var(--accent-color);
}

.top-bar-socials {
    display: flex;
    gap: 16px;
}

.top-bar-socials a:hover {
    color: #ffffff;
    transform: translateY(-1px);
}

header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
    padding: 15px 0;
    transition: var(--transition-fast);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-wrapper img {
    height: 52px;
    width: auto;
}

.logo-text {
    font-weight: 700;
    font-size: 20px;
    color: var(--primary-color);
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.logo-subtext {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-secondary);
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-weight: 500;
    font-size: 15px;
    color: var(--text-primary);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent-color);
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

.nav-link.active::after {
    width: 100%;
    background-color: var(--primary-color);
}

.btn-header {
    background-color: var(--accent-color);
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 20px;
    border-radius: var(--border-radius-full);
    box-shadow: 0 4px 6px rgba(211, 47, 47, 0.15);
}

.btn-header:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(211, 47, 47, 0.25);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    font-size: 24px;
    color: var(--primary-color);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
    background: radial-gradient(circle at 10% 20%, var(--primary-color) 0%, var(--primary-dark) 90%);
    color: #ffffff;
    padding: 100px 0 120px;
    position: relative;
    overflow: hidden;
}

/* Visual decorations */
.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(68, 67, 156, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    top: -200px;
    right: -200px;
}

.hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(211, 47, 47, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    bottom: -150px;
    left: -100px;
}

.hero-content {
    max-width: 750px;
    position: relative;
    z-index: 5;
}

.hero-tag {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--border-radius-full);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
}

.hero-tag i {
    color: #ffd700;
}

.hero h1 {
    font-size: 54px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
}

.hero h1 span {
    background: linear-gradient(135deg, #ffffff 40%, #ffcdd2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 18px;
    color: #e2e8f0;
    margin-bottom: 36px;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #ffffff;
    padding: 14px 28px;
    font-weight: 600;
    font-size: 16px;
    border-radius: var(--border-radius-full);
    box-shadow: 0 4px 14px rgba(211, 47, 47, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.4);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 14px 28px;
    font-weight: 600;
    font-size: 16px;
    border-radius: var(--border-radius-full);
    backdrop-filter: blur(4px);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Wave Decoration */
.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 8;
}

.hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 48px;
}

.hero-wave .shape-fill {
    fill: var(--bg-light);
}

/* ==========================================================================
   MONTH TIMELINE NAVIGATOR
   ========================================================================== */

.section-news {
    padding: 60px 0 100px;
    position: relative;
    z-index: 10;
}

.month-navigator-container {
    margin-top: -60px;
    margin-bottom: 50px;
    position: relative;
    z-index: 15;
}

.month-timeline {
    background-color: #ffffff;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    padding: 10px;
    display: flex;
    overflow-x: auto;
    gap: 8px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
}

.month-timeline::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.month-btn {
    flex: 0 0 calc(100% / 6 - 8px);
    min-width: 140px;
    padding: 14px 10px;
    border-radius: var(--border-radius-sm);
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    scroll-snap-align: start;
}

.month-btn span.month-name {
    font-size: 15px;
    text-transform: capitalize;
}

.month-btn span.month-status {
    font-size: 10px;
    font-weight: 500;
    background-color: #f1f5f9;
    color: var(--text-light);
    padding: 2px 8px;
    border-radius: var(--border-radius-full);
}

.month-btn:hover {
    background-color: var(--primary-lightest);
    color: var(--primary-color);
}

.month-btn.active {
    background-color: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(40, 39, 113, 0.2);
}

.month-btn.active span.month-status {
    background-color: var(--accent-color);
    color: #ffffff;
}

.month-btn.has-news span.month-status {
    background-color: var(--accent-light);
    color: var(--accent-color);
}

.month-btn.active.has-news span.month-status {
    background-color: #ffffff;
    color: var(--accent-color);
}

/* ==========================================================================
   NEWS SECTION CONTAINER
   ========================================================================== */

.section-title-block {
    margin-bottom: 40px;
}

.section-title-block h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section-title-block p {
    color: var(--text-secondary);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

/* Empty State / Coming Soon */
.empty-state {
    background-color: #ffffff;
    border-radius: var(--border-radius-lg);
    padding: 80px 40px;
    box-shadow: var(--shadow-md);
    max-width: 600px;
    margin: 40px auto;
    border: 2px dashed var(--border-color);
    display: none;
    animation: fadeInUp 0.5s ease forwards;
}

.empty-state-icon {
    font-size: 60px;
    color: var(--primary-light);
    margin-bottom: 24px;
}

.empty-state h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-weight: 700;
}

.empty-state p {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 24px;
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    animation: fadeIn 0.6s ease forwards;
}

@media (min-width: 992px) {
    .news-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* News Card */
.news-card {
    background-color: var(--bg-card);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
    opacity: 0;
    transform: translateY(20px);
}

/* Animation trigger class added in JS */
.news-card.show {
    opacity: 1;
    transform: translateY(0);
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(40, 39, 113, 0.15);
}

.card-img-wrapper {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: var(--primary-dark);
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.news-card:hover .card-img-wrapper img {
    transform: scale(1.08);
}

.card-category {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;
}

.card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.3;
    margin-bottom: 12px;
    min-height: 48px; /* For alignment */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-text {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    font-size: 13px;
    font-weight: 600;
}

.btn-card {
    color: var(--accent-color);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
}

.btn-card:hover {
    color: var(--accent-hover);
}

.btn-card i {
    transition: var(--transition-fast);
}

.btn-card:hover i {
    transform: translateX(4px);
}

.card-footer-info {
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ==========================================================================
   LIGHTBOX MODAL VISUALIZER
   ========================================================================== */

.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-container {
    width: 90%;
    max-width: 1100px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lightbox-modal.active .lightbox-container {
    transform: scale(1);
}

.lightbox-content-wrapper {
    background-color: #ffffff;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    width: 100%;
    aspect-ratio: 16 / 9;
    position: relative;
}

.lightbox-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #f1f5f9;
}

/* Control Buttons */
.lightbox-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(4px);
    z-index: 1010;
}

.lightbox-btn:hover {
    background-color: var(--accent-color);
    color: #ffffff;
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(211, 47, 47, 0.4);
}

.lightbox-prev {
    left: -70px;
}

.lightbox-next {
    right: -70px;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(4px);
}

.lightbox-close:hover {
    background-color: var(--accent-color);
    color: #ffffff;
    border-color: var(--accent-color);
}

.lightbox-caption {
    width: 100%;
    color: #ffffff;
    text-align: center;
}

.lightbox-caption h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.lightbox-caption p {
    font-size: 14px;
    color: #94a3b8;
}

/* Lightbox Actions */
.lightbox-actions {
    display: flex;
    gap: 12px;
    margin-top: 5px;
}

.btn-lightbox-action {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-lightbox-action:hover {
    background-color: #ffffff;
    color: var(--primary-color);
}

/* ==========================================================================
   ADMISSIONS & CONTACT SECTION
   ========================================================================== */

.admissions-contact {
    padding: 80px 0;
    background-color: #ffffff;
    position: relative;
    border-top: 1px solid var(--border-color);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}

@media (min-width: 992px) {
    .contact-layout {
        grid-template-columns: 1.2fr 1.8fr;
    }
}

.info-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-card {
    background-color: var(--bg-light);
    border-radius: var(--border-radius-md);
    padding: 30px;
    border-left: 4px solid var(--accent-color);
    box-shadow: var(--shadow-sm);
}

.info-card h3 {
    color: var(--primary-color);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-card h3 i {
    color: var(--accent-color);
}

.info-card p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.cct-list {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cct-item {
    background-color: #ffffff;
    border-radius: var(--border-radius-sm);
    padding: 10px 15px;
    font-size: 13px;
    border: 1px solid var(--border-color);
}

.cct-item strong {
    color: var(--primary-color);
    display: block;
    font-size: 14px;
}

.cct-item span {
    color: var(--text-secondary);
}

.contact-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--primary-lightest);
    color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 2px;
}

.contact-text p, .contact-text a {
    font-size: 14px;
    color: var(--text-secondary);
}

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

/* Contact Form Card */
.form-card {
    background-color: #ffffff;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 40px;
    border: 1px solid var(--border-color);
}

.form-card h3 {
    color: var(--primary-color);
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
}

.form-card p {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 30px;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .contact-form {
        grid-template-columns: 1fr 1fr;
    }
    .form-full-width {
        grid-column: span 2;
    }
}

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

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
}

.form-control {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 12px 16px;
    font-size: 15px;
    color: var(--text-primary);
    transition: var(--transition-fast);
}

.form-control:focus {
    border-color: var(--primary-color);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(40, 39, 113, 0.1);
}

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

.btn-submit {
    background-color: var(--accent-color);
    color: #ffffff;
    padding: 14px;
    font-weight: 600;
    font-size: 16px;
    border-radius: var(--border-radius-full);
    margin-top: 10px;
    box-shadow: 0 4px 10px rgba(211, 47, 47, 0.2);
}

.btn-submit:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(211, 47, 47, 0.3);
}

.form-message {
    padding: 12px;
    border-radius: var(--border-radius-sm);
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    margin-top: 15px;
    display: none;
}

.form-message.success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
    display: block;
}

.form-message.error {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
    display: block;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

footer {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 30px;
    border-top: 4px solid var(--accent-color);
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .footer-top {
        grid-template-columns: 1.5fr 1fr 1fr;
    }
}

.footer-about img {
    height: 52px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1); /* Render logo white */
}

.footer-about p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-title {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 14px;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    font-size: 14px;
}

.footer-contact-item i {
    color: var(--accent-color);
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 13px;
}

/* ==========================================================================
   ANIMATIONS & RESPONSIVE LAYOUTS
   ========================================================================== */

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* Mobile responsive styles */
@media (max-width: 991px) {
    .lightbox-btn {
        width: 44px;
        height: 44px;
        font-size: 16px;
    }
    .lightbox-prev { left: -10px; }
    .lightbox-next { right: -10px; }
    .lightbox-close { top: -45px; }
}

@media (max-width: 767px) {
    .top-bar {
        display: none; /* Hide topbar on mobile to save space */
    }
    
    .menu-toggle {
        display: block; /* Show hamburger */
    }
    
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        box-shadow: var(--shadow-lg);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-top: 1px solid var(--border-color);
        display: none; /* Controlled by JS */
    }
    
    .main-nav.active {
        display: flex;
    }
    
    .hero {
        padding: 60px 0 80px;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 36px;
        letter-spacing: -1px;
    }
    
    .hero-desc {
        font-size: 16px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .month-navigator-container {
        margin-top: -40px;
    }
    
    .section-title-block h2 {
        font-size: 28px;
    }
    
    .form-card {
        padding: 24px;
    }
}
