/* ----- Variables & Design Tokens ----- */
:root {
    /* Colors */
    --primary: #0a2540;       /* Deep Navy Blue */
    --primary-light: #16365a;
    --accent: #f59e0b;        /* Vibrant Gold/Amber */
    --accent-hover: #d97706;
    
    --bg-light: #f8fafc;
    --bg-dark: #0f172a;
    --text-main: #334155;
    --text-muted: #64748b;
    --text-light: #f1f5f9;
    --white: #ffffff;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --spacing-xl: 5rem;
    --spacing-l: 3rem;
    --spacing-m: 1.5rem;
    --spacing-s: 0.75rem;

    /* Effects */
    --shadow-soft: 0 10px 25px rgba(0,0,0,0.05);
    --shadow-hover: 0 20px 40px rgba(0,0,0,0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 12px;
}

/* ----- Reset & Base ----- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-weight: 700;
    line-height: 1.2;
}

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

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding {
    padding: var(--spacing-xl) 0;
}

.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--bg-dark); }
.text-center { text-align: center; }
.text-white { color: var(--white); }
.text-accent { color: var(--accent); }
.mt-l { margin-top: var(--spacing-l); }
.mt-xl { margin-top: var(--spacing-xl); }
.w-100 { width: 100%; }

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: var(--accent);
    color: var(--white) !important;
    padding: 12px 28px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 0.5px;
    border: 2px solid var(--accent);
    cursor: pointer;
    text-align: center;
}
.btn-primary:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.btn-outline {
    display: inline-block;
    background-color: transparent;
    color: var(--primary);
    padding: 12px 28px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    border: 2px solid var(--primary);
}
.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* Section Headers */
.section-header { margin-bottom: var(--spacing-l); }
.subtitle {
    display: block;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}
.title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.divider {
    height: 4px;
    width: 60px;
    background-color: var(--accent);
    margin: 0 auto;
    border-radius: 2px;
}
.divider-left {
    height: 4px;
    width: 60px;
    background-color: var(--accent);
    border-radius: 2px;
}
.bg-dark .title { color: var(--white); }

/* ----- Navbar ----- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    z-index: 1000;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 10px 5%;
    background-color: rgba(255, 255, 255, 0.98);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}
.logo-icon {
    font-size: 2.5rem;
    color: var(--primary);
}
.logo-text h1 {
    font-size: 1.4rem;
    letter-spacing: -0.5px;
    margin: 0;
}
.logo-text span {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.nav-links a {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--text-main);
    font-size: 1rem;
    position: relative;
}
.nav-links a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    bottom: -4px;
    left: 0;
    transition: var(--transition);
}
.nav-links a:not(.btn-primary):hover::after,
.nav-links a.active:not(.btn-primary)::after {
    width: 100%;
}
.nav-links a:hover, .nav-links a.active {
    color: var(--accent);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

/* ----- Hero Slider ----- */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    margin-top: 0;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out, transform 8s linear;
    transform: scale(1.05); /* Slight zoom for ken burns effect */
    z-index: 1;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

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

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(10, 37, 64, 0.9) 0%, rgba(10, 37, 64, 0.4) 60%, rgba(0,0,0,0.1) 100%);
    display: flex;
    align-items: center;
    padding-left: 10%;
}

.slide-content {
    max-width: 600px;
    color: var(--white);
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease-out 0.3s;
}

.slide.active .slide-content {
    transform: translateY(0);
    opacity: 1;
}

.slide-content .badge {
    display: inline-block;
    background-color: rgba(245, 158, 11, 0.2);
    color: var(--accent);
    padding: 6px 12px;
    border-radius: 30px;
    border: 1px solid var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.slide-content h2 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}
.slider-btn:hover {
    background: var(--accent);
}
.prev-btn { left: 20px; }
.next-btn { right: 20px; }

.slider-dots {
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}
.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
}
.slider-dots .dot.active {
    background: var(--accent);
    width: 30px;
    border-radius: 6px;
}

/* Floating Info Box on Slider */
.floating-info-box {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 320px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 25px;
    z-index: 10;
    box-shadow: 0 25px 40px rgba(0,0,0,0.2);
    color: var(--white);
    animation: fadeInRight 1s ease-out 0.8s backwards;
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translate(50px, -50%); }
    to { opacity: 1; transform: translate(0, -50%); }
}

.info-box-header {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.floating-info-box h3 {
    color: var(--white);
    font-size: 1.4rem;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.floating-info-box p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 20px;
    line-height: 1.4;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

@media (max-width: 992px) {
    .floating-info-box {
        display: none; /* Cache la boite sur les petits écrans pour ne pas surcharger */
    }
}

/* ----- Info Ticker ----- */
.info-ticker-wrapper {
    background-color: rgba(10, 37, 64, 0.85); /* Deep blue with glass effect */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--white);
    display: flex;
    align-items: center;
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: 15;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.15);
}
.ticker-label {
    background-color: var(--accent);
    color: var(--white);
    padding: 15px 30px;
    font-family: var(--font-heading);
    font-weight: 700;
    white-space: nowrap;
    z-index: 2;
    position: relative;
    font-size: 0.9rem;
}
.ticker-content-wrapper {
    overflow: hidden;
    flex-grow: 1;
    position: relative;
}
.ticker-content {
    display: flex;
    white-space: nowrap;
    animation: ticker 30s linear infinite;
}
.ticker-content span {
    padding: 0 40px;
    font-size: 0.95rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.ticker-content span i {
    color: var(--accent);
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ----- Pourquoi Nous Choisir ----- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}
.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}
.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-bottom: 4px solid var(--accent);
}
.icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}
.feature-card:hover .icon-wrapper {
    background: var(--accent);
    color: var(--white);
}
.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}
.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ----- Académie ----- */
.academy-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 3rem;
}

@media (max-width: 1200px) {
    .academy-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .academy-grid {
        grid-template-columns: 1fr;
    }
}
.academy-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
}
.academy-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
}
.academy-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 3px solid var(--accent);
    transition: var(--transition);
}
.academy-card:hover .academy-img {
    transform: scale(1.03);
}
.academy-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: var(--white);
    position: relative;
    z-index: 2;
}
.academy-content h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary);
}
.academy-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}
.academy-content .btn-outline {
    margin-top: auto;
}

/* ----- Actualité ----- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px; /* Réduit de 30px à 15px */
    margin-top: 3rem;
}

@media (max-width: 1200px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}
.news-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid #e2e8f0;
    font-size: 0.9rem; /* Réduction globale de la taille du texte */
}
.news-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}
.news-img {
    height: 130px; /* Réduit encore à 130px */
    width: 100%;
    background-size: cover;
    background-position: center;
}
/* Adding random colorful gradients for placeholder news images to make it look premium */
.news-card:nth-child(1) .news-img { background: linear-gradient(135deg, #10b981 0%, #047857 100%); }
.news-card:nth-child(2) .news-img { background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%); }
.news-card:nth-child(3) .news-img { background: linear-gradient(135deg, #f43f5e 0%, #be123c 100%); }
.news-card:nth-child(4) .news-img { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); }

.news-content {
    padding: 12px; /* Réduit encore à 12px */
}
.news-date {
    font-size: 0.7rem;
    color: var(--accent);
    font-weight: 600;
    display: block;
    margin-bottom: 0.3rem;
}
.news-content h3 {
    font-size: 0.95rem; /* Réduit encore à 0.95rem */
    margin-bottom: 0.5rem;
    line-height: 1.2;
}
.news-content p {
    color: var(--text-muted);
    font-size: 0.8rem; /* Réduit encore à 0.8rem */
    margin-bottom: 0.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.read-more {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}
.read-more:hover { color: var(--accent); }
.read-more i { transition: transform 0.3s; }
.read-more:hover i { transform: translateX(5px); }

/* ----- Activités Extra ----- */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}
.activity-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow-soft);
    border-top: 4px solid var(--accent);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.activity-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}
.activity-icon {
    width: 65px;
    height: 65px;
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
    transition: var(--transition);
}
.activity-card:hover .activity-icon {
    background: var(--accent);
    color: var(--white);
}
.activity-card h3 {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 15px;
}
.activity-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 25px;
    line-height: 1.6;
    flex-grow: 1;
}

/* ----- Calendrier des Devoirs & Modal ----- */
.calendar-btn {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 15px 25px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.calendar-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
}
.calendar-btn i {
    font-size: 1.3rem;
    color: var(--accent);
}
.calendar-btn:hover i {
    color: var(--white);
}

/* Modal Styling */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    z-index: 11000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.modal-content {
    background: var(--white);
    width: 90%;
    max-width: 800px;
    border-radius: 16px;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}
.modal-overlay.active .modal-content {
    transform: scale(1);
}
.modal-header {
    background: var(--primary);
    color: var(--white);
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.modal-header h3 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.5rem;
}
.close-modal {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s;
}
.close-modal:hover { color: var(--accent); }
.modal-body {
    padding: 25px;
    max-height: 70vh;
    overflow-y: auto;
}
.calendar-table {
    width: 100%;
    border-collapse: collapse;
}
.calendar-table th, .calendar-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}
.calendar-table th {
    background: var(--bg-light);
    color: var(--primary);
    font-weight: 600;
}
.calendar-table tbody tr:hover {
    background-color: #f8fafc;
}

/* ----- Nos Prodiges ----- */
.prodiges-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 3rem;
}

@media (max-width: 1200px) {
    .prodiges-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .prodiges-grid {
        grid-template-columns: 1fr;
    }
}
.prodige-card {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    border: 1px solid #e2e8f0;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.prodige-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 5px;
    background: var(--accent);
}
.prodige-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}
.prodige-avatar {
    width: 90px;
    height: 90px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    border: 4px solid var(--white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.prodige-info h3 {
    color: var(--primary);
    font-size: 1.25rem;
    margin-bottom: 15px;
}
.prodige-stats {
    display: flex;
    justify-content: space-around;
    background: var(--white);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid #e2e8f0;
}
.stat-item {
    display: flex;
    flex-direction: column;
}
.stat-item .label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 5px;
}
.stat-item .value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}
.stat-item .value small {
    font-size: 0.8rem;
    font-weight: normal;
}
.prodige-info .classe {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* ----- Nos Clubs ----- */
.clubs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}
.club-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid #e2e8f0;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.club-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}
.club-img {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.club-img::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(10, 37, 64, 0.4) 100%);
}
.club-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.club-content h3 {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 10px;
}
.club-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 25px;
    line-height: 1.6;
    flex-grow: 1;
}

/* ----- Vidéos Youtube ----- */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 3rem;
}

@media (max-width: 992px) {
    .videos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .videos-grid {
        grid-template-columns: 1fr;
    }
}
.video-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.video-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}
.video-thumbnail {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.bg-gray-700 { background-color: #334155; }
.bg-gray-600 { background-color: #475569; }

.play-btn-pulse {
    width: 60px;
    height: 60px;
    background: rgba(245, 158, 11, 0.9);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.2rem;
    padding-left: 4px; /* optical alignment for play icon */
    position: relative;
    transition: var(--transition);
}
.video-thumbnail:hover .play-btn-pulse {
    transform: scale(1.1);
    background: var(--accent);
}
.play-btn-pulse::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--accent);
    border-radius: 50%;
    z-index: -1;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.5); opacity: 0; }
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}
.video-info {
    padding: 20px;
}
.video-info h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}
.video-info p {
    color: #94a3b8;
    font-size: 0.9rem;
}

/* ----- Contact ----- */
.contact-upper-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 30px;
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    margin-bottom: 40px;
}
.contact-img {
    height: 100%;
    min-height: 250px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
}
.contact-middle {
    padding-right: 20px;
}
.contact-main-title {
    font-size: 1.6rem;
    color: var(--primary);
    line-height: 1.3;
    margin-bottom: 10px;
    font-weight: 700;
}
.contact-phone {
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 15px;
}
.contact-intro {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
}
.contact-info-title {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 700;
}
.contact-list {
    list-style: none;
    padding: 0;
}
.contact-list li {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}
.contact-list li .bullet {
    color: var(--accent);
    margin-right: 8px;
    font-size: 1.2rem;
}
.contact-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.timing-card {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 15px 20px;
}
.timing-card h4 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 15px;
}
.timing-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-muted);
    padding: 8px 0;
    border-bottom: 1px solid #e2e8f0;
}
.timing-row:last-child { border-bottom: none; }
.map-container {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}
.map-link {
    display: inline-block;
    position: absolute;
    top: 10px; left: 10px;
    background: var(--white);
    color: var(--primary);
    font-size: 0.8rem;
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: 600;
    box-shadow: var(--shadow-soft);
    border: 1px solid #e2e8f0;
}
.map-link:hover { color: var(--accent); }

.contact-divider {
    border: 0;
    height: 1px;
    background: #e2e8f0;
    margin: 40px 0;
}

/* Administration Row */
.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}
.admin-profile {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: 8px;
}
.admin-highlight {
    background-color: var(--bg-light);
}
.admin-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}
.admin-details h5 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.badge-info {
    background: var(--primary-light);
    color: var(--white);
    font-size: 0.6rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
}
.admin-role {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 2px;
}
.admin-email {
    font-size: 0.85rem;
    color: var(--accent);
}
.admin-email:hover {
    text-decoration: underline;
}

/* ----- Footer ----- */
footer {
    background-color: var(--primary-light);
    color: var(--white);
    padding-top: var(--spacing-l);
}
.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 3rem;
}
.footer-brand p {
    color: #cbd5e1;
    margin-top: 1rem;
    max-width: 400px;
}
.logo-foot {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo-foot i { color: var(--accent); }
.footer-links h4 {
    color: var(--white);
    margin-bottom: 1.2rem;
    font-size: 1.2rem;
}
.footer-links ul {
    list-style: none;
}
.footer-links li {
    margin-bottom: 0.8rem;
}
.footer-links a {
    color: #cbd5e1;
    transition: var(--transition);
}
.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}
.footer-bottom {
    background-color: var(--primary);
    padding: 20px 0;
    color: #94a3b8;
    font-size: 0.9rem;
}

/* ----- Settings Drawer ----- */
.settings-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 10500;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}
.settings-overlay.active {
    opacity: 1;
    visibility: visible;
}
.settings-drawer {
    position: fixed;
    top: 0; right: -400px;
    width: 400px;
    height: 100vh;
    background: var(--white);
    z-index: 10600;
    box-shadow: -5px 0 30px rgba(0,0,0,0.1);
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}
.settings-drawer.active {
    right: 0;
}
.settings-header {
    background: var(--primary);
    color: var(--white);
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.settings-header h3 {
    font-size: 1.2rem;
    display: flex;
    align-items: center;
}
.settings-header h3 i {
    color: var(--accent);
}
.settings-close-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--white);
    width: 35px; height: 35px;
    border-radius: 5px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}
.settings-close-btn:hover {
    background: var(--accent);
}
.settings-content {
    padding: 30px 25px;
    overflow-y: auto;
    flex-grow: 1;
}
.settings-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e2e8f0;
}
.settings-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    margin-bottom: 15px;
    transition: var(--transition);
    cursor: pointer;
}
.settings-option:hover {
    border-color: var(--primary);
    background: rgba(5, 30, 56, 0.02);
    transform: translateY(-2px);
}
.opt-icon {
    width: 45px; height: 45px;
    border-radius: 8px;
    background: rgba(5, 30, 56, 0.05);
    color: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
}
.opt-text h4 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 3px;
}
.opt-text p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ----- Responsive Design ----- */
@media (max-width: 992px) {
    .slide-content h2 { font-size: 2.8rem; }
    .contact-wrapper { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        transition: 0.4s ease-in-out;
    }
    .nav-links.active { left: 0; }
    .mobile-menu-btn { display: block; }
    
    .ticker-label { display: none; }
    .slide-overlay { padding-left: 5%; padding-right: 5%; text-align: center; }
    .slide-content h2 { font-size: 2.2rem; }
    
    .footer-content { grid-template-columns: 1fr; text-align: center; }
    .footer-brand p { margin: 1rem auto; }
}
