:root {
    --navy-blue: #003366;
    --dark-navy: #002244;
    --gold: #FFD700;
    --dark-gold: #DAA520;
    --green: #2D8659;
    --dark-green: #1F5F3F;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --medium-gray: #e9ecef;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background: var(--light-gray);
    color: var(--navy-blue);
    overflow-x: hidden;
}

.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
}

.animated-bg::before {
    content: '';
    position: absolute;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(45,134,89,0.08) 0%, transparent 70%);
    border-radius: 50%;
    top: -250px;
    right: -250px;
    animation: float 25s ease-in-out infinite;
}

.animated-bg::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0,51,102,0.05) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -150px;
    left: -150px;
    animation: float 20s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(40px, -60px) rotate(120deg); }
    66% { transform: translate(-30px, 30px) rotate(240deg); }
}

.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    width: 100%;
}

.pagination-section {
    max-width: 100%;
    overflow-x: auto;
}

#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--navy-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.6s ease;
}

.loader-container {
    text-align: center;
}

.loader-logo {
    font-size: 4.5rem;
    font-weight: 900;
    color: var(--gold);
    margin-bottom: 2rem;
    animation: pulse 1.5s ease-in-out infinite;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.loader-bar {
    width: 250px;
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto;
}

.loader-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--gold), var(--green));
    width: 0%;
    transition: width 0.3s ease;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.9; }
}

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 30px rgba(0,51,102,0.08);
    transition: all 0.3s ease;
}

.main-header.scrolled {
    background: rgba(255,255,255,1);
    box-shadow: 0 5px 40px rgba(0,51,102,0.12);
}

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

.logo-section {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.logo-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--navy-blue), var(--green));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.6rem;
    transform: rotate(-3deg);
    transition: transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,51,102,0.2);
}

.logo-icon:hover {
    transform: rotate(0deg) scale(1.1);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text h1 {
    font-size: 2rem;
    font-weight: 900;
    color: var(--navy-blue);
    margin: 0;
    line-height: 1;
}

.logo-text span {
    font-size: 0.65rem;
    color: var(--green);
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

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

.nav-item {
    color: var(--navy-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--green));
    transition: width 0.3s ease;
}

.nav-item:hover {
    color: var(--green);
}

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

.nav-item.active {
    color: var(--green);
}

.nav-item.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.live-indicator {
    padding: 0.8rem 1.6rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, var(--green), var(--dark-green));
    color: white;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    animation: pulse-live 2s ease-in-out infinite;
    box-shadow: 0 4px 15px rgba(45,134,89,0.3);
}

@keyframes pulse-live {
    0%, 100% { box-shadow: 0 4px 15px rgba(45,134,89,0.3), 0 0 0 0 rgba(45,134,89,0.7); }
    50% { box-shadow: 0 4px 15px rgba(45,134,89,0.3), 0 0 0 12px rgba(45,134,89,0); }
}

.live-dot {
    width: 9px;
    height: 9px;
    background: var(--gold);
    border-radius: 50%;
    animation: blink 1.2s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.2; }
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: var(--navy-blue);
    cursor: pointer;
    z-index: 1001;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 350px;
    height: 100vh;
    background: white;
    z-index: 999;
    padding: 5rem 2rem 2rem;
    transition: right 0.3s ease;
    box-shadow: -5px 0 25px rgba(0,51,102,0.1);
    overflow-y: auto;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,51,102,0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.mobile-nav-item {
    display: block;
    padding: 1rem 0;
    color: var(--navy-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--light-gray);
    transition: all 0.3s ease;
}

.mobile-nav-item:hover {
    color: var(--green);
    padding-left: 1rem;
}

.page-hero {
    margin-top: 85px;
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--navy-blue), var(--dark-navy));
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,215,0,0.1) 0%, transparent 70%);
    border-radius: 50%;
    top: -200px;
    right: -100px;
    animation: float 20s ease-in-out infinite;
}

.page-hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.breadcrumb-custom {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.breadcrumb-custom a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-custom a:hover {
    color: var(--gold);
}

.breadcrumb-custom span {
    color: var(--gold);
    font-weight: 600;
}

.page-title {
    font-size: 4rem;
    font-weight: 900;
    color: white;
    margin-bottom: 1.5rem;
}

.page-subtitle {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.8);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

.filters-section {
    padding: 3rem 0 1rem;
    position: sticky;
    top: 85px;
    background: var(--light-gray);
    z-index: 100;
    border-bottom: 1px solid var(--medium-gray);
}

.filters-wrapper {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.filter-btn {
    padding: 0.8rem 2rem;
    border-radius: 30px;
    border: 2px solid var(--medium-gray);
    background: white;
    color: var(--navy-blue);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--green);
    color: var(--green);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--green), var(--dark-green));
    color: white;
    border-color: var(--green);
}

.featured-event-section {
    padding: 4rem 0;
}

.featured-event {
    background: linear-gradient(135deg, var(--navy-blue), var(--dark-navy));
    border-radius: 35px;
    overflow: hidden;
    box-shadow: 0 20px 70px rgba(0,51,102,0.2);
    position: relative;
}

.featured-event::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,215,0,0.1) 0%, transparent 70%);
    border-radius: 50%;
    top: -150px;
    right: -100px;
}

.featured-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    z-index: 2;
}

.featured-image {
    height: 100%;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.featured-badge {
    position: absolute;
    top: 2rem;
    left: 2rem;
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    color: var(--navy-blue);
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.featured-content {
    padding: 4rem;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-date {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.date-box {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 20px;
    text-align: center;
    min-width: 100px;
}

.date-day {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
}

.date-month {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.3rem;
}

.featured-info {
    flex: 1;
}

.featured-info-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    color: rgba(255,255,255,0.9);
}

.featured-info-item i {
    color: var(--gold);
    width: 20px;
}

.featured-title {
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.featured-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.9);
}

.featured-actions {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.btn-primary-custom {
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    color: var(--navy-blue);
    padding: 1.1rem 2.5rem;
    border-radius: 30px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: 0 6px 25px rgba(255,215,0,0.3);
    text-decoration: none;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255,215,0,0.4);
}

.btn-secondary-custom {
    background: transparent;
    color: white;
    padding: 1.1rem 2.5rem;
    border-radius: 30px;
    font-weight: 600;
    border: 2px solid white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.btn-secondary-custom:hover {
    background: white;
    color: var(--navy-blue);
    transform: translateY(-2px);
}

.events-section {
    padding: 4rem 0;
}

.section-title-modern {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--navy-blue);
    text-align: center;
    margin-bottom: 3.5rem;
    position: relative;
}

.section-title-modern::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, var(--gold), var(--green));
    border-radius: 10px;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
}

.event-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 8px 35px rgba(0,51,102,0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,51,102,0.05);
    position: relative;
}

.event-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(0,51,102,0.18);
}

.event-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    position: relative;
}

.event-category {
    position: absolute;
    top: 1.2rem;
    left: 1.2rem;
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    color: var(--navy-blue);
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-status {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-status.upcoming {
    background: linear-gradient(135deg, var(--green), var(--dark-green));
    color: white;
}

.event-status.ongoing {
    background: linear-gradient(135deg, #FF6B6B, #C92A2A);
    color: white;
    animation: pulse-status 2s ease-in-out infinite;
}

@keyframes pulse-status {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.event-status.past {
    background: rgba(0,0,0,0.6);
    color: white;
}

.event-content {
    padding: 2rem;
}

.event-date-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.event-date-box {
    background: linear-gradient(135deg, var(--navy-blue), var(--green));
    padding: 1rem;
    border-radius: 15px;
    text-align: center;
    min-width: 80px;
    color: white;
}

.event-date-day {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
    color: var(--gold);
}

.event-date-month {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.2rem;
}

.event-meta {
    flex: 1;
}

.event-meta-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.event-meta-item i {
    color: var(--green);
    width: 16px;
}

.event-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--navy-blue);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.event-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.event-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--light-gray);
}

.event-participants {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: #666;
}

.participants-count {
    font-weight: 700;
    color: var(--green);
}

.event-btn {
    background: linear-gradient(135deg, var(--green), var(--dark-green));
    color: white;
    padding: 0.7rem 1.8rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.85rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.event-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45,134,89,0.3);
}

.calendar-section {
    padding: 5rem 0;
    background: white;
}

.calendar-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--light-gray);
    border-radius: 30px;
    padding: 3rem;
    box-shadow: 0 12px 45px rgba(0,51,102,0.08);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
}

.calendar-month {
    font-size: 2rem;
    font-weight: 800;
    color: var(--navy-blue);
}

.calendar-nav {
    display: flex;
    gap: 1rem;
}

.calendar-nav-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    background: white;
    color: var(--navy-blue);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,51,102,0.1);
}

.calendar-nav-btn:hover {
    background: var(--green);
    color: white;
    transform: scale(1.1);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1rem;
}

.calendar-day-header {
    text-align: center;
    font-weight: 700;
    color: var(--navy-blue);
    padding: 1rem;
    font-size: 0.85rem;
}

.calendar-day {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.calendar-day:hover {
    background: var(--medium-gray);
    transform: translateY(-3px);
}

.calendar-day.has-event {
    background: linear-gradient(135deg, var(--green), var(--dark-green));
    color: white;
}

.calendar-day.has-event:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(45,134,89,0.3);
}

.calendar-day-number {
    font-weight: 700;
    font-size: 1.1rem;
}

.calendar-event-dot {
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    margin-top: 0.3rem;
}

.newsletter-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--navy-blue), var(--dark-navy));
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,215,0,0.1) 0%, transparent 70%);
    border-radius: 50%;
    top: -200px;
    right: -100px;
}

.newsletter-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.newsletter-icon {
    font-size: 4rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.newsletter-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: white;
    margin-bottom: 1rem;
}

.newsletter-description {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 1.2rem 1.8rem;
    border-radius: 30px;
    border: none;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
}

.newsletter-btn {
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    color: var(--navy-blue);
    padding: 1.2rem 2.5rem;
    border-radius: 30px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.newsletter-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255,215,0,0.4);
}

.footer {
    background: var(--navy-blue);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.footer-description {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    margin-bottom: 2rem;
}

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

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--green);
    transform: translateY(-5px);
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--gold);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 8px;
}

.footer-contact-item {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: start;
    gap: 0.8rem;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
}

@media (max-width: 1200px) {
    .events-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 992px) {
    .main-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .featured-grid {
        grid-template-columns: 1fr;
    }

    .featured-image {
        min-height: 350px;
    }

    .featured-content {
        padding: 3rem 2rem;
    }

    .calendar-grid {
        grid-template-columns: repeat(7, 1fr);
        gap: 0.5rem;
    }

    .calendar-day {
        padding: 0.8rem;
        min-height: 60px;
    }

    .page-title {
        font-size: 3rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 3rem 0;
    }

    .page-title {
        font-size: 2.5rem;
    }

    .page-subtitle {
        font-size: 1.1rem;
    }

    .featured-event-section,
    .events-section,
    .calendar-section,
    .newsletter-section {
        padding: 3rem 0;
    }

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

    .featured-title {
        font-size: 2rem;
    }

    .featured-content {
        padding: 2rem;
    }

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

    .calendar-wrapper {
        padding: 2rem;
    }

    .calendar-day-header {
        font-size: 0.7rem;
        padding: 0.5rem;
    }

    .newsletter-form {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .page-title {
        font-size: 2rem;
    }

    .page-subtitle {
        font-size: 1rem;
    }

    .section-title-modern {
        font-size: 1.6rem;
    }

    .filters-wrapper {
        flex-direction: column;
        width: 100%;
    }

    .filter-btn {
        width: 100%;
    }

    .featured-date {
        flex-direction: column;
        align-items: flex-start;
    }

    .featured-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary-custom,
    .btn-secondary-custom {
        width: 100%;
        justify-content: center;
    }

    .event-card {
        margin: 0;
    }

    .calendar-wrapper {
        padding: 1.5rem;
    }

    .calendar-month {
        font-size: 1.5rem;
    }

    .calendar-day {
        padding: 0.5rem;
        min-height: 50px;
        font-size: 0.85rem;
    }

    .logo-text h1 {
        font-size: 1.4rem;
    }

    .logo-text span {
        font-size: 0.5rem;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .newsletter-title {
        font-size: 1.8rem;
    }

    .newsletter-icon {
        font-size: 3rem;
    }
}

.pagination-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2.5rem; /* espace entre les deux paginations */
    margin-top: 2rem;
}

.pagination-section {
    display: flex;
    justify-content: center;
}

.page-item {
    margin: 0 0.25rem;
}

.page-link {
    width: 40px;
    height: 40px;
    border: 2px solid var(--medium-gray);
    background: white;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.page-link:hover {
    background-color: var(--light-gray);
}

.page-item.active .page-link {
    background-color: var(--gold);
    color: white;
    border-color: var(--gold);
}

/* Loader */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--navy-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.6s ease;
}

.loader-container {
    text-align: center;
}

.loader-logo {
    font-size: 4.5rem;
    font-weight: 900;
    color: var(--gold);
    margin-bottom: 2rem;
    animation: pulse 1.5s ease-in-out infinite;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.loader-bar {
    width: 250px;
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto;
}

.loader-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--gold), var(--green));
    width: 0%;
    transition: width 0.3s ease;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.9; }
}
