/* ============================================
   CAMPUS AFRICA TV - Design System
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* --- CSS Variables --- */
:root {
    --blue-royal: #1a3a6b;
    --blue-dark: #0f2444;
    --blue-light: #2a5298;
    --blue-glow: #3d6cc7;
    --orange: #e8610c;
    --orange-light: #ff7b2e;
    --orange-dark: #c44f00;
    --orange-glow: rgba(232, 97, 12, 0.3);
    --black: #0d0d0d;
    --black-soft: #1a1a1a;
    --black-card: #141414;
    --gray-900: #1e1e1e;
    --gray-800: #2a2a2a;
    --gray-700: #3a3a3a;
    --gray-600: #555;
    --gray-400: #999;
    --gray-300: #bbb;
    --gray-200: #ddd;
    --white: #ffffff;
    --white-soft: #f5f5f5;
    --red-live: #e53935;
    --green: #2ecc71;

    --font-primary: 'Outfit', sans-serif;
    --font-secondary: 'Inter', sans-serif;

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50px;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow-blue: 0 0 30px rgba(26, 58, 107, 0.4);
    --shadow-glow-orange: 0 0 30px rgba(232, 97, 12, 0.3);

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-secondary);
    background: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
}

/* --- Container --- */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 36, 68, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
}

.site-header.scrolled {
    background: rgba(10, 25, 50, 0.98);
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: 70px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--white);
    z-index: 1001;
}

.logo img {
    height: 42px;
    width: auto;
}

.logo span.campus {
    color: var(--white);
}

.logo span.africa {
    color: var(--orange);
}

.logo span.tv {
    background: var(--orange);
    color: var(--white);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    margin-left: 2px;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 0;
}

.main-nav a {
    padding: 8px 16px;
    font-family: var(--font-secondary);
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-sm);
    position: relative;
    white-space: nowrap;
}

.main-nav a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.main-nav a.active {
    color: var(--orange);
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--orange);
    border-radius: 10px;
}

/* Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--blue-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
}

.dropdown-menu a:hover {
    background: rgba(232, 97, 12, 0.15);
    color: var(--orange);
}

/* Live indicator in header */
.nav-live-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--red-live);
    color: var(--white) !important;
    padding: 6px 14px !important;
    border-radius: var(--radius-full) !important;
    font-weight: 600 !important;
    font-size: 0.8rem !important;
    animation: pulse-live 2s infinite;
}

.nav-live-btn .dot {
    width: 8px;
    height: 8px;
    background: var(--white);
    border-radius: 50%;
    animation: blink 1s infinite;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
    background: none;
    border: none;
}

.menu-toggle span {
    width: 26px;
    height: 2.5px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}


/* ============================================
   HERO / LIVE TV PLAYER
   ============================================ */
.hero-live {
    margin-top: 70px;
    position: relative;
    background: linear-gradient(135deg, var(--black) 0%, var(--blue-dark) 100%);
    overflow: hidden;
}

.hero-live::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--orange-glow) 0%, transparent 70%);
    pointer-events: none;
}

.hero-live-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
    align-items: start;
}

/* Video Player */
.player-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--black);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.player-wrapper video {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    background: #000;
}

.player-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent);
    z-index: 5;
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--red-live);
    color: var(--white);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    animation: pulse-live 2s infinite;
}

.live-badge .dot {
    width: 8px;
    height: 8px;
    background: var(--white);
    border-radius: 50%;
    animation: blink 1s infinite;
}

.player-title {
    font-family: var(--font-primary);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.player-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    z-index: 5;
}

.btn-fullscreen {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.85rem;
    font-family: var(--font-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.btn-fullscreen:hover {
    background: rgba(255, 255, 255, 0.25);
}

.btn-volume {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px;
}

.player-fallback {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 3;
    display: none;
}

.player-fallback.show {
    display: block;
}

.player-fallback .spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--orange);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

.player-fallback p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* Hero sidebar - Programme actuel */
.hero-sidebar {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.now-playing-card {
    background: linear-gradient(135deg, var(--blue-royal) 0%, var(--blue-dark) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 24px;
    position: relative;
    overflow: hidden;
}

.now-playing-card::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: var(--orange-glow);
    border-radius: 50%;
    filter: blur(30px);
}

.now-playing-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--orange);
    margin-bottom: 12px;
}

.now-playing-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    position: relative;
}

.now-playing-card p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    position: relative;
}

.programme-schedule {
    background: var(--black-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.schedule-header {
    padding: 16px 20px;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    gap: 8px;
}

.schedule-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    gap: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.schedule-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.schedule-item:last-child {
    border-bottom: none;
}

.schedule-time {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--orange);
    min-width: 50px;
}

.schedule-name {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.85);
}

/* Ad space hero */
.ad-space {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-900);
    border: 1px dashed var(--gray-700);
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
}

.ad-space img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ad-space.ad-728x90 {
    height: 90px;
    max-width: 728px;
    margin: 0 auto;
}

.ad-space.ad-300x250 {
    width: 300px;
    height: 250px;
}

.ad-space.ad-970x250 {
    height: 250px;
    max-width: 970px;
    margin: 0 auto;
}

.ad-space.ad-320x100 {
    width: 320px;
    height: 100px;
}

.ad-label {
    font-size: 0.65rem;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: absolute;
    top: 4px;
    right: 8px;
}


/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: 80px 0;
}

.section-dark {
    background: var(--black);
}

.section-darker {
    background: var(--black-soft);
}

.section-blue {
    background: linear-gradient(135deg, var(--blue-dark), var(--blue-royal));
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.section-header h2 span {
    color: var(--orange);
}

.section-header p {
    color: var(--gray-400);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

.section-header .line {
    width: 60px;
    height: 4px;
    background: var(--orange);
    border-radius: 4px;
    margin: 16px auto 0;
}


/* ============================================
   MISSION SECTION
   ============================================ */
.mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.mission-card {
    background: var(--black-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-royal), var(--orange));
    transform: scaleX(0);
    transition: var(--transition);
}

.mission-card:hover::before {
    transform: scaleX(1);
}

.mission-card:hover {
    transform: translateY(-5px);
    border-color: rgba(232, 97, 12, 0.2);
    box-shadow: var(--shadow-glow-orange);
}

.mission-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--blue-royal), var(--blue-light));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 18px;
}

.mission-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.mission-card p {
    font-size: 0.9rem;
    color: var(--gray-400);
    line-height: 1.6;
}


/* ============================================
   PROGRAMME CARDS
   ============================================ */
.programmes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.programme-card {
    background: var(--black-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.programme-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow-blue);
    border-color: rgba(26, 58, 107, 0.4);
}

.programme-card-img {
    height: 180px;
    background: linear-gradient(135deg, var(--blue-royal), var(--blue-light));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.programme-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.programme-card-img .programme-icon {
    font-size: 3rem;
    opacity: 0.8;
}

.programme-card-img .play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.programme-card:hover .play-overlay {
    opacity: 1;
}

.play-overlay .play-icon {
    width: 50px;
    height: 50px;
    background: var(--orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--white);
    box-shadow: var(--shadow-glow-orange);
}

.programme-card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.programme-card-body h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.programme-card-body p {
    font-size: 0.88rem;
    color: var(--gray-400);
    line-height: 1.5;
    flex: 1;
}

.programme-card-footer {
    padding: 14px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.82rem;
    color: var(--gray-400);
}

.programme-schedule-tag {
    color: var(--orange);
    font-weight: 600;
}


/* ============================================
   ARTICLE CARDS
   ============================================ */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.article-card {
    background: var(--black-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(255, 255, 255, 0.12);
}

.article-card-img {
    height: 200px;
    background: linear-gradient(135deg, var(--gray-800), var(--gray-700));
    overflow: hidden;
    position: relative;
}

.article-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.article-card:hover .article-card-img img {
    transform: scale(1.05);
}

.article-category-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--orange);
    color: var(--white);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-card-body {
    padding: 22px;
}

.article-card-body h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card-body p {
    font-size: 0.88rem;
    color: var(--gray-400);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card-meta {
    padding: 14px 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.8rem;
    color: var(--gray-600);
    display: flex;
    align-items: center;
    gap: 12px;
}


/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.92rem;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--orange), var(--orange-light));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(232, 97, 12, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(232, 97, 12, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    border-color: var(--orange);
    color: var(--orange);
    background: rgba(232, 97, 12, 0.08);
}

.btn-blue {
    background: linear-gradient(135deg, var(--blue-royal), var(--blue-light));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(26, 58, 107, 0.3);
}

.btn-blue:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(26, 58, 107, 0.5);
}

.btn-whatsapp {
    background: #25d366;
    color: var(--white);
}

.btn-whatsapp:hover {
    background: #1da851;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.82rem;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
}

.text-center {
    text-align: center;
}

.mt-30 {
    margin-top: 30px;
}

.mt-50 {
    margin-top: 50px;
}


/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--blue-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding: 60px 0 40px;
}

.footer-brand .logo {
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
}

.footer-socials a:hover {
    background: var(--orange);
    transform: translateY(-3px);
}

.footer-col h4 {
    font-family: var(--font-primary);
    font-size: 1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--orange);
    border-radius: 3px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-col ul a:hover {
    color: var(--orange);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
    text-align: center;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
}


/* ============================================
   PAGE HEADERS
   ============================================ */
.page-header {
    margin-top: 70px;
    padding: 60px 0;
    background: linear-gradient(135deg, var(--blue-dark), var(--blue-royal));
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--orange-glow), transparent 70%);
    pointer-events: none;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 12px;
    position: relative;
}

.page-header h1 span {
    color: var(--orange);
}

.page-header p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    position: relative;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 16px;
    position: relative;
}

.breadcrumb a {
    color: var(--orange);
}

.breadcrumb a:hover {
    color: var(--orange-light);
}


/* ============================================
   FORMS
   ============================================ */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--gray-300);
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    background: var(--gray-900);
    border: 1px solid var(--gray-700);
    border-radius: var(--radius-md);
    color: var(--white);
    font-family: var(--font-secondary);
    font-size: 0.92rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(232, 97, 12, 0.15);
}

.form-control::placeholder {
    color: var(--gray-600);
}

textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23999' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
}


/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--black-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

.faq-question {
    width: 100%;
    padding: 18px 24px;
    background: none;
    border: none;
    color: var(--white);
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.faq-question .icon {
    font-size: 1.2rem;
    color: var(--orange);
    transition: var(--transition);
    flex-shrink: 0;
}

.faq-item.active .faq-question .icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer-inner {
    padding: 0 24px 20px;
    color: var(--gray-400);
    font-size: 0.92rem;
    line-height: 1.7;
}


/* ============================================
   TEAM / ÉQUIPE
   ============================================ */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
}

.team-card {
    background: var(--black-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-5px);
    border-color: rgba(232, 97, 12, 0.2);
}

.team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue-royal), var(--orange));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin: 0 auto 18px;
    overflow: hidden;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h3 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.team-card .role {
    color: var(--orange);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 12px;
}

.team-card .bio {
    font-size: 0.85rem;
    color: var(--gray-400);
    line-height: 1.6;
}


/* ============================================
   EPREUVES / EXAM PAPERS
   ============================================ */
.epreuves-filters {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.epreuves-filters select {
    min-width: 180px;
}

.epreuve-card {
    background: var(--black-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: 22px;
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 14px;
    transition: var(--transition);
}

.epreuve-card:hover {
    border-color: rgba(232, 97, 12, 0.2);
    background: rgba(255, 255, 255, 0.02);
}

.epreuve-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--blue-royal), var(--blue-light));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.epreuve-info {
    flex: 1;
}

.epreuve-info h3 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.epreuve-meta {
    font-size: 0.82rem;
    color: var(--gray-400);
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.epreuve-download {
    flex-shrink: 0;
}


/* ============================================
   CONTACT
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info-card {
    background: var(--black-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 16px;
    transition: var(--transition);
}

.contact-info-card:hover {
    border-color: rgba(232, 97, 12, 0.2);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--orange), var(--orange-light));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-info-card h3 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.contact-info-card p {
    font-size: 0.88rem;
    color: var(--gray-400);
}


/* ============================================
   VIDEO PLAYER (YouTube)
   ============================================ */
.video-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--black);
    margin-bottom: 20px;
    position: relative;
}

.video-main iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: none;
}

.video-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.video-thumb {
    background: var(--black-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.video-thumb:hover {
    border-color: rgba(232, 97, 12, 0.2);
    transform: translateY(-3px);
}

.video-thumb-img {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    position: relative;
}

.video-thumb-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-thumb-info {
    padding: 14px;
}

.video-thumb-info h4 {
    font-size: 0.92rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* ============================================
   ARTICLE DETAIL
   ============================================ */
.article-detail {
    max-width: 800px;
    margin: 0 auto;
}

.article-detail .article-hero-img {
    width: 100%;
    height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 30px;
    background: var(--gray-800);
}

.article-detail .article-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-detail h1 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.article-detail .article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.88rem;
    color: var(--gray-400);
}

.article-detail .content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
}

.article-detail .content p {
    margin-bottom: 18px;
}

.article-detail .content h2 {
    font-size: 1.5rem;
    margin: 30px 0 14px;
}

.article-detail .content h3 {
    font-size: 1.2rem;
    margin: 24px 0 12px;
}


/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--white);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 900;
    transition: var(--transition);
    animation: float-bounce 3s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}


/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

@keyframes pulse-live {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(229, 57, 53, 0.4);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(229, 57, 53, 0);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes float-bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.animate-fadeIn {
    animation: fadeIn 0.5s ease forwards;
    opacity: 0;
}

.animate-delay-1 {
    animation-delay: 0.1s;
}

.animate-delay-2 {
    animation-delay: 0.2s;
}

.animate-delay-3 {
    animation-delay: 0.3s;
}

.animate-delay-4 {
    animation-delay: 0.4s;
}

.animate-delay-5 {
    animation-delay: 0.5s;
}

.animate-delay-6 {
    animation-delay: 0.6s;
}


/* ============================================
   PAGINATION
   ============================================ */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.pagination a,
.pagination span {
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 500;
    transition: var(--transition);
}

.pagination a {
    background: var(--gray-800);
    color: var(--gray-300);
}

.pagination a:hover {
    background: var(--blue-royal);
    color: var(--white);
}

.pagination span.current {
    background: var(--orange);
    color: var(--white);
}


/* ============================================
   ALERT / MESSAGES
   ============================================ */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    font-size: 0.92rem;
}

.alert-success {
    background: rgba(46, 204, 113, 0.15);
    border: 1px solid rgba(46, 204, 113, 0.3);
    color: var(--green);
}

.alert-error {
    background: rgba(229, 57, 53, 0.15);
    border: 1px solid rgba(229, 57, 53, 0.3);
    color: var(--red-live);
}

.alert-info {
    background: rgba(26, 58, 107, 0.15);
    border: 1px solid rgba(26, 58, 107, 0.3);
    color: var(--blue-glow);
}

/* Visibility Utilities */
.show-on-mobile {
    display: none;
}

.hide-on-mobile {
    display: block;
}

@media (max-width: 768px) {
    .show-on-mobile {
        display: block;
    }

    .hide-on-mobile {
        display: none;
    }
}