/* ============================================================
   CEEAC-ECCAS – Institutional Website Redesign
   Design System & Global Stylesheet
   ============================================================ */


/* --- Google Fonts --- */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800&family=Source+Sans+3:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* --- CSS Custom Properties --- */

:root {
    /* Brand Colors */
    --ceeac-blue: #006eb5;
    --ceeac-blue-dark: #004f8a;
    --ceeac-blue-light: #3aaae0;
    --ceeac-gold: #C8A84E;
    --ceeac-gold-light: #E0C878;
    --ceeac-green: #1B7A3D;
    --ceeac-green-light: #27A854;
    /* Neutral Palette */
    --white: #FFFFFF;
    --off-white: #F7F8FA;
    --gray-50: #F0F2F5;
    --gray-100: #E4E7EC;
    --gray-200: #C9CED6;
    --gray-300: #98A2B3;
    --gray-400: #667085;
    --gray-500: #475467;
    --gray-600: #344054;
    --gray-700: #1D2939;
    --gray-800: #101828;
    /* Semantic Colors */
    --success: #12B76A;
    --warning: #F79009;
    --error: #F04438;
    --info: #2E90FA;
    /* Typography */
    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Source Sans 3', 'Segoe UI', Tahoma, sans-serif;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 2rem;
    --space-3xl: 2.5rem;
    --space-4xl: 3.5rem;
    /* Layout */
    --container-max: 1280px;
    --container-wide: 1440px;
    --header-height: 120px;
    --topbar-height: 40px;
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.12);
    /* Borders */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
}


/* --- Reset & Base --- */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.7;
    color: var(--gray-700);
    background-color: var(--white);
    overflow-x: hidden;
}

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

a {
    color: var(--ceeac-blue-light);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--ceeac-gold);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.25;
    color: var(--ceeac-blue-dark);
}

h1 {
    font-size: clamp(2rem, 4vw, 3.25rem);
}

h2 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
}

h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

h4 {
    font-size: 1.25rem;
}

h5 {
    font-size: 1.1rem;
}

p {
    margin-bottom: var(--space-md);
}

::selection {
    background: var(--ceeac-gold-light);
    color: var(--ceeac-blue-dark);
}


/* --- Utility Classes --- */

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

.container-wide {
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

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

.text-gold {
    color: var(--ceeac-gold);
}

.text-blue {
    color: var(--ceeac-blue);
}

.text-white {
    color: var(--white);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}


/* --- Buttons --- */

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.75rem 1.75rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-base);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--ceeac-blue);
    color: var(--white);
    border-color: var(--ceeac-blue);
}

.btn-primary:hover {
    background: var(--ceeac-blue-dark);
    border-color: var(--ceeac-blue-dark);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--ceeac-blue);
}

.btn-gold {
    background: var(--ceeac-gold);
    color: var(--ceeac-blue-dark);
    border-color: var(--ceeac-gold);
}

.btn-gold:hover {
    background: var(--ceeac-gold-light);
    border-color: var(--ceeac-gold-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--ceeac-blue);
    border-color: var(--ceeac-blue);
}

.btn-outline:hover {
    background: var(--ceeac-blue);
    color: var(--white);
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
}

.btn i,
.btn svg {
    font-size: 1.1em;
}


/* ============================================================
   TOP BAR
   ============================================================ */

.topbar {
    background: var(--ceeac-blue-dark);
    height: var(--topbar-height);
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.topbar-left {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.topbar-left a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.topbar-left a:hover {
    color: var(--ceeac-gold);
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.lang-switch {
    display: flex;
    gap: 2px;
}

.lang-switch a {
    color: rgba(255, 255, 255, 0.5);
    padding: 2px 8px;
    font-weight: 600;
    font-size: 0.75rem;
    border-radius: 3px;
    transition: all var(--transition-fast);
}

.lang-switch a.active,
.lang-switch a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
}

.topbar-social {
    display: flex;
    gap: var(--space-sm);
}

.topbar-social a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.topbar-social a:hover {
    color: var(--ceeac-gold);
}


/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */

.header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow var(--transition-base);
}

.header.scrolled {
    box-shadow: var(--shadow-lg);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.logo-icon {
    width: 56px;
    height: 56px;
    background: var(--ceeac-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ceeac-gold);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.65rem;
    text-align: center;
    line-height: 1.1;
    border: 3px solid var(--ceeac-gold);
    flex-shrink: 0;
}

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

.logo-text .org-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--ceeac-blue-dark);
    line-height: 1.2;
}

.logo-text .org-subtitle {
    font-size: 0.72rem;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}


/* Main Nav */

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

.nav-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-list>li {
    position: relative;
}

.nav-list>li>a {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0.5rem 0.9rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    transition: color var(--transition-fast);
    white-space: nowrap;
}

.nav-list>li>a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--ceeac-gold);
    transition: width var(--transition-base);
    border-radius: 2px;
}

.nav-list>li:hover>a,
.nav-list>li.active>a {
    color: var(--ceeac-blue);
}

.nav-list>li:hover>a::after,
.nav-list>li.active>a::after {
    width: 60%;
}


/* Dropdown */

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    background: var(--white);
    box-shadow: var(--shadow-xl);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    border-top: 3px solid var(--ceeac-gold);
    padding: var(--space-sm) 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all var(--transition-base);
    z-index: 100;
}

.nav-list>li:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 0.6rem 1.25rem;
    font-size: 0.88rem;
    color: var(--gray-600);
    transition: all var(--transition-fast);
    border-left: 3px solid transparent;
}

.dropdown-menu a:hover {
    color: var(--ceeac-blue);
    background: var(--gray-50);
    border-left-color: var(--ceeac-gold);
}


/* Nav search */

.nav-search {
    margin-left: var(--space-md);
    position: relative;
}

.nav-search-btn {
    background: none;
    border: none;
    color: var(--gray-400);
    font-size: 1.1rem;
    cursor: pointer;
    padding: var(--space-sm);
    transition: color var(--transition-fast);
}

.nav-search-btn:hover {
    color: var(--ceeac-blue);
}


/* Mobile toggle */

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    margin: 5px 0;
    transition: all var(--transition-base);
}


/* ============================================================
   HERO / SLIDER
   ============================================================ */

.hero {
    position: relative;
    height: clamp(480px, 65vh, 680px);
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    animation: heroZoom 12s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    0% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 135deg, rgba(0, 35, 71, 0.92) 0%, rgba(0, 59, 115, 0.78) 50%, rgba(0, 35, 71, 0.65) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--space-3xl) 0;
    max-width: 760px;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: rgba(200, 168, 78, 0.2);
    border: 1px solid rgba(200, 168, 78, 0.4);
    color: var(--ceeac-gold-light);
    padding: 0.35rem 1rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 20px;
    margin-bottom: var(--space-lg);
    width: fit-content;
    animation: fadeInUp 0.6s ease both;
}

.hero h1 {
    color: var(--white);
    margin-bottom: var(--space-lg);
    animation: fadeInUp 0.6s ease 0.15s both;
}

.hero p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: var(--space-xl);
    animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.45s both;
}

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


/* Hero dots */

.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.hero-dot.active {
    background: var(--ceeac-gold);
    border-color: var(--ceeac-gold);
    transform: scale(1.2);
}


/* ============================================================
   QUICK-ACCESS BAR (below hero)
   ============================================================ */

.quick-access {
    background: var(--ceeac-blue);
    position: relative;
    z-index: 5;
}

.quick-access-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

.quick-access-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 1.1rem var(--space-md);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.88rem;
    font-weight: 600;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-base);
    cursor: pointer;
}

.quick-access-item:last-child {
    border-right: none;
}

.quick-access-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--ceeac-gold);
}

.quick-access-item i {
    font-size: 1.2rem;
    color: var(--ceeac-gold);
}


/* ============================================================
   SECTION HEADERS
   ============================================================ */

.section-header {
    margin-bottom: var(--space-3xl);
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--ceeac-gold);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: var(--space-sm);
}

.section-label::before {
    content: '';
    width: 28px;
    height: 2px;
    background: var(--ceeac-gold);
}

.section-header h2 {
    margin-bottom: var(--space-md);
}

.section-header p {
    font-size: 1.05rem;
    color: var(--gray-400);
    max-width: 640px;
}

.section-header.centered {
    text-align: center;
}

.section-header.centered p {
    margin: 0 auto;
}


/* ============================================================
   LATEST NEWS
   ============================================================ */

.section-news {
    padding: var(--space-4xl) 0;
    background: var(--off-white);
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}


/* Featured card */

.news-card-featured {
    grid-row: span 2;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

.news-card-featured:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-3px);
}

.news-card-featured .news-img {
    height: 320px;
    background: linear-gradient(135deg, var(--ceeac-blue), var(--ceeac-blue-light));
    position: relative;
    overflow: hidden;
}

.news-card-featured .news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-category {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    background: var(--ceeac-gold);
    color: var(--ceeac-blue-dark);
    padding: 0.25rem 0.75rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 3px;
}

.news-body {
    padding: var(--space-xl);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: 0.8rem;
    color: var(--gray-300);
    margin-bottom: var(--space-sm);
}

.news-meta i {
    color: var(--ceeac-gold);
}

.news-body h3 {
    margin-bottom: var(--space-sm);
    font-size: 1.35rem;
}

.news-body h3 a {
    color: var(--ceeac-blue-dark);
}

.news-body h3 a:hover {
    color: var(--ceeac-blue-light);
}

.news-excerpt {
    color: var(--gray-400);
    font-size: 0.95rem;
    line-height: 1.7;
    flex: 1;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--ceeac-blue);
    margin-top: var(--space-md);
    transition: gap var(--transition-base);
}

.read-more:hover {
    gap: 10px;
    color: var(--ceeac-gold);
}


/* Side cards */

.news-side {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.news-card-sm {
    display: flex;
    gap: var(--space-md);
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.news-card-sm:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.news-card-sm .news-thumb {
    width: 180px;
    min-height: 140px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--ceeac-blue), var(--ceeac-green));
    position: relative;
}

.news-card-sm .news-body {
    padding: var(--space-md);
}

.news-card-sm .news-body h4 {
    font-size: 1rem;
    margin-bottom: var(--space-xs);
    line-height: 1.4;
}

.news-card-sm .news-body h4 a {
    color: var(--ceeac-blue-dark);
}

.news-card-sm .news-body h4 a:hover {
    color: var(--ceeac-blue-light);
}


/* ============================================================
   ABOUT / MISSION SECTION
   ============================================================ */

.section-about {
    padding: var(--space-4xl) 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image-main img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

.about-image-main .placeholder-img {
    width: 100%;
    height: 420px;
    background: linear-gradient(135deg, var(--ceeac-blue) 0%, var(--ceeac-blue-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.2);
    font-size: 4rem;
}

.about-stat-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--ceeac-gold);
    color: var(--ceeac-blue-dark);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-stat-badge .stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.about-stat-badge .stat-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-text h2 {
    margin-bottom: var(--space-lg);
}

.about-text .lead {
    font-size: 1.1rem;
    color: var(--gray-500);
    margin-bottom: var(--space-lg);
    font-weight: 500;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: var(--gray-50);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--ceeac-gold);
}

.about-feature i {
    color: var(--ceeac-blue);
    font-size: 1.1rem;
    margin-top: 2px;
}

.about-feature span {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--gray-600);
}


/* ============================================================
   STATS BAR
   ============================================================ */

.stats-bar {
    background: linear-gradient(135deg, var(--ceeac-blue-dark), var(--ceeac-blue));
    padding: var(--space-3xl) 0;
    position: relative;
    overflow: hidden;
}

.stats-bar::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(200, 168, 78, 0.08), transparent 70%);
    border-radius: 50%;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    text-align: center;
}

.stat-item {
    padding: var(--space-md);
}

.stat-item .stat-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    color: var(--ceeac-gold);
    line-height: 1;
    margin-bottom: var(--space-sm);
}

.stat-item .stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
}


/* ============================================================
   PILLARS / AXES
   ============================================================ */

.section-pillars {
    padding: var(--space-4xl) 0;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.pillar-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--ceeac-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-slow);
}

.pillar-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.pillar-card:hover::before {
    transform: scaleX(1);
}

.pillar-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--ceeac-blue), var(--ceeac-blue-light));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: var(--space-lg);
}

.pillar-card h4 {
    margin-bottom: var(--space-sm);
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--ceeac-blue-dark);
}

.pillar-card p {
    color: var(--gray-400);
    font-size: 0.92rem;
    margin-bottom: var(--space-md);
}


/* ============================================================
   EVENTS SECTION
   ============================================================ */

.section-events {
    padding: var(--space-4xl) 0;
    background: var(--off-white);
}

.events-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.event-card {
    display: flex;
    align-items: stretch;
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.event-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    padding: var(--space-md);
    background: var(--ceeac-blue);
    color: var(--white);
    text-align: center;
}

.event-date .day {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.event-date .month {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.8;
}

.event-date .year {
    font-size: 0.72rem;
    opacity: 0.6;
}

.event-body {
    padding: var(--space-lg) var(--space-xl);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-body h4 {
    margin-bottom: var(--space-xs);
    font-size: 1.05rem;
}

.event-body h4 a {
    color: var(--ceeac-blue-dark);
}

.event-body h4 a:hover {
    color: var(--ceeac-blue-light);
}

.event-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--gray-300);
}

.event-location i {
    color: var(--ceeac-gold);
}

.event-tag {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background: var(--gray-50);
    color: var(--gray-500);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 3px;
    margin-top: var(--space-sm);
    width: fit-content;
}


/* ============================================================
   MEMBER STATES MAP
   ============================================================ */

.section-members {
    padding: var(--space-4xl) 0;
    background: var(--white);
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.member-card {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: var(--gray-50);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-100);
    transition: all var(--transition-base);
    cursor: pointer;
}

.member-card:hover {
    background: var(--white);
    border-color: var(--ceeac-gold);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.member-flag {
    width: 40px;
    height: 28px;
    border-radius: 3px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.member-card span {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--gray-600);
}


/* ============================================================
   DOCUMENTS / PUBLICATIONS
   ============================================================ */

.section-docs {
    padding: var(--space-4xl) 0;
    background: var(--off-white);
}

.docs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.doc-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    border: 1px solid var(--gray-100);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

.doc-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--ceeac-blue-light);
}

.doc-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: var(--space-md);
}

.doc-icon.pdf {
    background: #FEE2E2;
    color: #DC2626;
}

.doc-icon.word {
    background: #DBEAFE;
    color: #2563EB;
}

.doc-icon.excel {
    background: #D1FAE5;
    color: #059669;
}

.doc-card h4 {
    font-size: 1rem;
    margin-bottom: var(--space-sm);
    font-family: var(--font-body);
    font-weight: 600;
}

.doc-card .doc-meta {
    font-size: 0.8rem;
    color: var(--gray-300);
    margin-top: auto;
    padding-top: var(--space-md);
    border-top: 1px solid var(--gray-100);
    display: flex;
    justify-content: space-between;
}


/* ============================================================
   COOPERATION / PARTNERS
   ============================================================ */

.section-partners {
    padding: var(--space-4xl) 0;
}

.partners-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-3xl);
    margin-top: var(--space-2xl);
}

.partner-logo {
    width: 120px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    opacity: 0.5;
    transition: all var(--transition-base);
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--gray-400);
    font-size: 0.75rem;
}

.partner-logo:hover {
    opacity: 1;
    box-shadow: var(--shadow-md);
}


/* ============================================================
   NEWSLETTER / CTA
   ============================================================ */

.section-newsletter {
    background: linear-gradient(135deg, var(--ceeac-blue-dark), var(--ceeac-blue));
    padding: var(--space-3xl) 0;
    position: relative;
    overflow: hidden;
}

.section-newsletter::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(200, 168, 78, 0.06), transparent 70%);
}

.newsletter-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3xl);
    position: relative;
    z-index: 2;
}

.newsletter-text h3 {
    color: var(--white);
    font-size: 1.6rem;
    margin-bottom: var(--space-sm);
}

.newsletter-text p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 480px;
}

.newsletter-form {
    display: flex;
    gap: var(--space-sm);
}

.newsletter-form input[type="email"] {
    padding: 0.85rem 1.25rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    min-width: 300px;
    outline: none;
    transition: border-color var(--transition-fast);
}

.newsletter-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.newsletter-form input[type="email"]:focus {
    border-color: var(--ceeac-gold);
}


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

.footer {
    background: var(--gray-800);
    color: rgba(255, 255, 255, 0.6);
    padding-top: var(--space-4xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-3xl);
    padding-bottom: var(--space-3xl);
}

.footer-brand .logo-text .org-name {
    color: var(--white);
}

.footer-brand .logo-text .org-subtitle {
    color: rgba(255, 255, 255, 0.4);
}

.footer-brand p {
    margin-top: var(--space-md);
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    transition: all var(--transition-base);
}

.footer-social a:hover {
    background: var(--ceeac-gold);
    border-color: var(--ceeac-gold);
    color: var(--ceeac-blue-dark);
}

.footer-col h5 {
    color: var(--white);
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.8rem;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--ceeac-gold);
    display: inline-block;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: var(--space-sm);
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.88rem;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-col ul li a:hover {
    color: var(--ceeac-gold);
    padding-left: 4px;
}

.footer-col ul li a i {
    font-size: 0.7rem;
    color: var(--ceeac-gold);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.footer-col ul li a:hover i {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: var(--space-lg) 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a:hover {
    color: var(--ceeac-gold);
}


/* ============================================================
   PAGE BANNER (Inner pages)
   ============================================================ */

.page-banner {
    background: linear-gradient(135deg, var(--ceeac-blue-dark) 0%, var(--ceeac-blue) 100%);
    padding: var(--space-3xl) 0 var(--space-2xl);
    position: relative;
    overflow: hidden;
}

.page-banner::after {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    border: 40px solid rgba(200, 168, 78, 0.04);
    border-radius: 50%;
}

.page-banner h1 {
    color: var(--white);
    margin-bottom: var(--space-sm);
    position: relative;
    z-index: 2;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.85rem;
    position: relative;
    z-index: 2;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.6);
}

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

.breadcrumb span {
    color: var(--ceeac-gold);
}

.breadcrumb .sep {
    color: rgba(255, 255, 255, 0.3);
}


/* ============================================================
   CONTENT LAYOUTS (Inner pages)
   ============================================================ */

.page-content {
    padding: var(--space-4xl) 0;
}

.content-with-sidebar {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: var(--space-3xl);
}


/* Sidebar */

.sidebar .widget {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    margin-bottom: var(--space-xl);
    border: 1px solid var(--gray-100);
}

.sidebar .widget h4 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--ceeac-blue-dark);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--ceeac-gold);
}

.sidebar .widget-search input {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    outline: none;
    transition: border-color var(--transition-fast);
}

.sidebar .widget-search input:focus {
    border-color: var(--ceeac-blue-light);
}

.sidebar .widget-list ul {
    list-style: none;
}

.sidebar .widget-list ul li {
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--gray-50);
}

.sidebar .widget-list ul li:last-child {
    border-bottom: none;
}

.sidebar .widget-list ul li a {
    color: var(--gray-500);
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
}

.sidebar .widget-list ul li a span {
    background: var(--gray-50);
    color: var(--gray-300);
    padding: 0.1rem 0.5rem;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 600;
}


/* Article list */

.article-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.article-item {
    display: flex;
    gap: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid var(--gray-100);
}

.article-thumb {
    width: 280px;
    height: 190px;
    flex-shrink: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: linear-gradient(135deg, var(--ceeac-blue), var(--ceeac-blue-light));
}

.article-content {
    flex: 1;
}

.article-content h3 {
    font-size: 1.2rem;
    margin-bottom: var(--space-sm);
}

.article-content h3 a {
    color: var(--ceeac-blue-dark);
}

.article-content h3 a:hover {
    color: var(--ceeac-blue-light);
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-top: var(--space-sm);
}

.tag {
    padding: 0.2rem 0.6rem;
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    border-radius: 3px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


/* Pagination */

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    margin-top: var(--space-3xl);
}

.pagination a,
.pagination span {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.pagination a {
    color: var(--gray-500);
    border: 1px solid var(--gray-200);
}

.pagination a:hover {
    background: var(--ceeac-blue);
    color: var(--white);
    border-color: var(--ceeac-blue);
}

.pagination .current {
    background: var(--ceeac-blue);
    color: var(--white);
}


/* ============================================================
   CONTACT PAGE
   ============================================================ */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-3xl);
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.contact-card {
    background: var(--gray-50);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
    transition: all var(--transition-base);
}

.contact-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.contact-card-icon {
    width: 50px;
    height: 50px;
    background: var(--ceeac-blue);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ceeac-gold);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-card h4 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.contact-card p {
    font-size: 0.9rem;
    color: var(--gray-400);
    margin: 0;
}

.contact-form {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    border: 1px solid var(--gray-100);
    box-shadow: var(--shadow-sm);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--gray-600);
    margin-bottom: var(--space-sm);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--gray-700);
    outline: none;
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--ceeac-blue-light);
    box-shadow: 0 0 0 3px rgba(10, 94, 181, 0.08);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}


/* ============================================================
   ABOUT PAGE (detailed)
   ============================================================ */

.about-section-detailed {
    padding: var(--space-4xl) 0;
}

.about-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--gray-100);
    margin-bottom: var(--space-2xl);
}

.about-tab {
    padding: var(--space-md) var(--space-xl);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--gray-400);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all var(--transition-fast);
}

.about-tab.active,
.about-tab:hover {
    color: var(--ceeac-blue);
    border-bottom-color: var(--ceeac-gold);
}

.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gray-200);
}

.timeline-item {
    position: relative;
    padding-bottom: var(--space-2xl);
    padding-left: var(--space-xl);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -35px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--ceeac-gold);
    border: 3px solid var(--white);
    box-shadow: 0 0 0 2px var(--ceeac-gold);
}

.timeline-year {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--ceeac-blue);
    margin-bottom: var(--space-xs);
}


/* ============================================================
   PROGRAMMES PAGE
   ============================================================ */

.programme-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 0;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    margin-bottom: var(--space-xl);
    transition: all var(--transition-base);
}

.programme-card:hover {
    box-shadow: var(--shadow-lg);
}

.programme-visual {
    background: linear-gradient(135deg, var(--ceeac-blue), var(--ceeac-green));
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.2);
    font-size: 3rem;
    min-height: 200px;
}

.programme-body {
    padding: var(--space-2xl);
}

.programme-body .prog-status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-md);
}

.prog-status.active {
    background: #D1FAE5;
    color: #059669;
}

.prog-status.planned {
    background: #FEF3C7;
    color: #D97706;
}

.prog-status.completed {
    background: #DBEAFE;
    color: #2563EB;
}

.programme-body h3 {
    font-size: 1.3rem;
    margin-bottom: var(--space-sm);
}

.programme-body .prog-meta {
    display: flex;
    gap: var(--space-xl);
    margin-top: var(--space-md);
    font-size: 0.85rem;
    color: var(--gray-300);
}

.programme-body .prog-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.programme-body .prog-meta i {
    color: var(--ceeac-gold);
}


/* ============================================================
   TENDERS / APPELS D'OFFRES
   ============================================================ */

.tender-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.tender-table thead {
    background: var(--ceeac-blue);
    color: var(--white);
}

.tender-table th {
    padding: var(--space-md) var(--space-lg);
    text-align: left;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tender-table td {
    padding: var(--space-md) var(--space-lg);
    font-size: 0.9rem;
    border-bottom: 1px solid var(--gray-50);
    color: var(--gray-500);
}

.tender-table tr:hover td {
    background: var(--gray-50);
}

.tender-status {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
}

.tender-status.open {
    background: #D1FAE5;
    color: #059669;
}

.tender-status.closed {
    background: #FEE2E2;
    color: #DC2626;
}

.tender-status.evaluation {
    background: #FEF3C7;
    color: #D97706;
}


/* ============================================================
   COOPERATION PAGE
   ============================================================ */

.coop-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.coop-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    border: 1px solid var(--gray-100);
    transition: all var(--transition-base);
}

.coop-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--ceeac-gold);
}

.coop-card-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.coop-logo {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: var(--gray-50);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--gray-400);
    font-size: 0.7rem;
    flex-shrink: 0;
}

.coop-card h4 {
    font-size: 1.05rem;
}

.coop-card h4 span {
    display: block;
    font-size: 0.8rem;
    color: var(--gray-300);
    font-weight: 400;
    font-family: var(--font-body);
    margin-top: 2px;
}


/* ============================================================
   INSTITUTIONS PAGE
   ============================================================ */

.org-chart {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2xl);
    padding: var(--space-2xl) 0;
}

.org-level {
    display: flex;
    gap: var(--space-xl);
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

.org-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: var(--space-lg) var(--space-xl);
    text-align: center;
    min-width: 240px;
    border: 2px solid var(--gray-100);
    transition: all var(--transition-base);
}

.org-card:hover {
    border-color: var(--ceeac-gold);
    box-shadow: var(--shadow-md);
}

.org-card.primary {
    background: var(--ceeac-blue);
    border-color: var(--ceeac-blue);
}

.org-card.primary h4,
.org-card.primary p {
    color: var(--white);
}

.org-card.primary p {
    opacity: 0.7;
}

.org-card h4 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.org-card p {
    font-size: 0.8rem;
    color: var(--gray-300);
    margin: 0;
}

.org-connector {
    width: 2px;
    height: 30px;
    background: var(--gray-200);
    margin: 0 auto;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
    .nav-list>li>a {
        padding: 0.5rem 0.6rem;
        font-size: 0.82rem;
    }
    .about-grid,
    .contact-grid,
    .content-with-sidebar {
        grid-template-columns: 1fr;
    }
    .news-grid {
        grid-template-columns: 1fr;
    }
    .news-card-featured {
        grid-row: span 1;
    }
    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .programme-card {
        grid-template-columns: 1fr;
    }
    .coop-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .topbar {
        display: flex !important;
        padding: 5px 0;
        min-height: 38px;
    }
    .topbar .container {
        flex-direction: column;
        gap: 4px;
        align-items: flex-start;
    }
    .topbar-left {
        gap: 14px;
    }
    .topbar-left a:nth-child(2) {
        display: none;
    }
    .topbar-right {
        gap: 10px;
        width: 100%;
        justify-content: space-between;
    }
    .topbar-social {
        display: none;
    }
    .nav-toggle {
        display: flex;
    }
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: var(--shadow-lg);
        padding: var(--space-md);
    }
    .main-nav.open {
        display: block;
    }
    .nav-list {
        flex-direction: column;
    }
    .nav-list>li>a {
        padding: var(--space-md);
    }
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-top: none;
        padding-left: var(--space-xl);
    }
    .hero {
        height: auto;
        min-height: 420px;
    }
    .hero-content {
        padding: var(--space-2xl) 0;
    }
    .quick-access-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pillars-grid {
        grid-template-columns: 1fr;
    }
    .docs-grid {
        grid-template-columns: 1fr;
    }
    .newsletter-inner {
        flex-direction: column;
        text-align: center;
    }
    .newsletter-form {
        flex-direction: column;
    }
    .newsletter-form input[type="email"] {
        min-width: auto;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .article-item {
        flex-direction: column;
    }
    .article-thumb {
        width: 100%;
        height: 200px;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
}


/* ============================================================
   CHARTE GRAPHIQUE — CORRECTIONS GLOBALES
   ============================================================ */


/* Suppression border-radius globale — design carré */

*,
*::before,
*::after {
    border-radius: 0 !important;
}


/* Logo carré sans arrondi */

.logo img {
    border-radius: 0 !important;
}


/* ============================================================
   TOPBAR UNIFORMISÉ
   ============================================================ */

.topbar {
    background: var(--ceeac-blue-dark);
    height: auto;
    min-height: 46px;
    padding: 8px 0;
    border-bottom: 2px solid var(--ceeac-gold);
}

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

.topbar-left {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.topbar-left a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 2px 0;
}

.topbar-left a:hover {
    color: var(--ceeac-gold);
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lang-switch {
    display: flex;
    gap: 4px;
}

.lang-switch a {
    color: rgba(255, 255, 255, 0.55);
    padding: 4px 10px;
    font-weight: 600;
    font-size: 0.76rem;
    transition: all 0.2s;
}

.lang-switch a.active,
.lang-switch a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
}

.topbar-social {
    display: flex;
    gap: 14px;
}

.topbar-social a {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.85rem;
}

.topbar-social a:hover {
    color: var(--ceeac-gold);
}


/* ============================================================
   HEADER UNIFORMISÉ
   ============================================================ */

.header {
    background: var(--white);
    border-bottom: 3px solid var(--ceeac-gold);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo img {
    height: 64px;
    width: 64px;
    flex-shrink: 0;
    object-fit: contain;
}

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

.logo-text .org-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    color: var(--ceeac-blue-dark);
    line-height: 1.2;
}

.logo-text .org-subtitle {
    font-size: 0.68rem;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* ============================================================
   MARQUEE ACTUALITÉS EN BREF
   ============================================================ */

.news-ticker {
    background: var(--ceeac-blue);
    color: var(--white);
    display: flex;
    align-items: stretch;
    overflow: hidden;
    border-bottom: 2px solid var(--ceeac-gold);
}

.news-ticker-label {
    background: var(--ceeac-gold);
    color: var(--ceeac-blue-dark);
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 18px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.news-ticker-track {
    flex: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.news-ticker-inner {
    display: flex;
    gap: 48px;
    white-space: nowrap;
    animation: ticker-scroll 22s linear infinite;
    padding: 10px 0;
}

.news-ticker-inner:hover {
    animation-play-state: paused;
}

.news-ticker-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.9);
}

.news-ticker-item::before {
    content: "●";
    color: var(--ceeac-gold);
    font-size: 0.5rem;
}

.news-ticker-item a {
    color: rgba(255, 255, 255, 0.9);
}

.news-ticker-item a:hover {
    color: var(--ceeac-gold);
}

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


/* ============================================================
   PAGE BANNER AVEC BACKGROUND
   ============================================================ */

.page-banner {
    background: linear-gradient(135deg, var(--ceeac-blue-dark) 0%, var(--ceeac-blue) 60%, var(--ceeac-blue-light) 100%);
    background-size: cover;
    background-position: center;
    padding: 60px 0 40px;
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 35, 71, 0.85) 0%, rgba(0, 59, 115, 0.70) 100%);
    z-index: 1;
}

.page-banner .container {
    position: relative;
    z-index: 2;
}

.page-banner h1 {
    color: var(--white);
    margin-bottom: 12px;
}

.page-banner .breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
}

.page-banner .breadcrumb a {
    color: var(--ceeac-gold);
    font-size: 0.88rem;
}

.page-banner .breadcrumb .sep {
    color: rgba(255, 255, 255, 0.4);
}

.page-banner .breadcrumb span:last-child {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.88rem;
}

.page-banner-sub {
    color: rgba(255, 255, 255, 0.75);
    margin-top: 10px;
    font-size: 0.95rem;
    max-width: 600px;
}


/* ============================================================
   SECTION ACTUALITÉS HERO — ANIMÉE
   ============================================================ */

.news-hero-section {
    background: var(--white);
    padding: 60px 0;
}

.news-hero-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    align-items: start;
}

.news-hero-main {
    position: relative;
    overflow: hidden;
    background: var(--ceeac-blue-dark);
}

.news-hero-slides {
    position: relative;
}

.news-hero-slide {
    display: none;
    position: relative;
}

.news-hero-slide.active {
    display: block;
}

.news-hero-img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    display: block;
    opacity: 0.75;
}

.news-hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px;
    background: linear-gradient(to top, rgba(0, 35, 71, 0.95) 0%, transparent 100%);
}

.news-hero-content .news-category {
    background: var(--ceeac-gold);
    color: var(--ceeac-blue-dark);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 3px 10px;
    display: inline-block;
    margin-bottom: 10px;
}

.news-hero-content h3 {
    color: var(--white);
    font-size: 1.4rem;
    line-height: 1.3;
    margin-bottom: 8px;
}

.news-hero-content .news-meta-bar {
    display: flex;
    gap: 16px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.8rem;
}

.news-hero-dots {
    display: flex;
    gap: 6px;
    margin-top: 14px;
}

.news-hero-dot {
    width: 24px;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background 0.3s;
    border: none;
    padding: 0;
}

.news-hero-dot.active {
    background: var(--ceeac-gold);
    width: 40px;
}

.news-side-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--gray-100);
}

.news-side-item {
    display: flex;
    gap: 14px;
    padding: 16px;
    border-bottom: 1px solid var(--gray-100);
    transition: background 0.2s;
    align-items: flex-start;
}

.news-side-item:last-child {
    border-bottom: none;
}

.news-side-item:hover {
    background: var(--off-white);
}

.news-side-thumb {
    width: 90px;
    height: 70px;
    flex-shrink: 0;
    object-fit: cover;
}

.news-side-body {}

.news-side-body .news-date {
    font-size: 0.74rem;
    color: var(--ceeac-gold);
    font-weight: 600;
    margin-bottom: 4px;
}

.news-side-body h5 {
    font-size: 0.88rem;
    line-height: 1.35;
    color: var(--ceeac-blue-dark);
    margin: 0;
}

.news-side-body h5 a {
    color: var(--ceeac-blue-dark);
}

.news-side-body h5 a:hover {
    color: var(--ceeac-gold);
}


/* ============================================================
   EVENTS AVEC IMAGES
   ============================================================ */

.event-card-img {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 0;
    background: var(--white);
    border: 1px solid var(--gray-100);
    margin-bottom: 16px;
    transition: box-shadow 0.2s;
    overflow: hidden;
}

.event-card-img:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.event-card-img .event-img {
    width: 120px;
    height: 100%;
    min-height: 110px;
    object-fit: cover;
}

.event-card-img .event-date-col {
    background: var(--ceeac-blue);
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 12px;
    min-width: 80px;
}


/* Ajustement event-card standard */

.event-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    margin-bottom: 12px;
    transition: all 0.2s;
}

.event-card:hover {
    border-color: var(--ceeac-gold);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}


/* ============================================================
   PAYS MEMBRES — DRAPEAUX RÉELS
   ============================================================ */

.member-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s;
    cursor: default;
}

.member-card:hover {
    border-color: var(--ceeac-gold);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.member-flag img {
    width: 48px;
    height: 32px;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
}

.member-card span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ceeac-blue-dark);
}


/* ============================================================
   LOGOS PARTENAIRES AMÉLIORÉS
   ============================================================ */

.partners-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-top: 32px;
}

.partner-logo-box {
    background: var(--white);
    border: 2px solid var(--gray-100);
    padding: 16px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 110px;
    transition: all 0.2s;
}

.partner-logo-box:hover {
    border-color: var(--ceeac-gold);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.partner-logo-box .partner-abbr {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--ceeac-blue);
    letter-spacing: 1px;
}

.partner-logo-box .partner-name {
    font-size: 0.68rem;
    color: var(--gray-400);
    text-align: center;
    line-height: 1.2;
}


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

.footer-brand .logo img {
    height: 56px;
    width: 56px;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {
    .news-hero-grid {
        grid-template-columns: 1fr;
    }
    .news-hero-img {
        height: 280px;
    }
}


/* ============================================================
   COULEUR ROUGE INSTITUTIONNELLE + OR SUR FONDS SOMBRES
   ============================================================ */

:root {
    --ceeac-gold: #C1272D;
    --ceeac-gold-light: #E0585C;
    --on-dark: #D4AF37;
    /* or/doré — réservé aux accents sur fond bleu foncé */
}


/* === BLANC SUR FOND ROUGE === */


/* Partout où le rouge est fond, le texte doit être blanc */

.news-ticker-label {
    color: var(--white) !important;
}

.news-category {
    background: var(--ceeac-gold);
    color: var(--white) !important;
}

.event-tag {
    background: var(--gray-100);
    color: var(--ceeac-blue-dark);
}

.event-tag[style*="background:var(--ceeac-blue)"] {
    color: var(--white) !important;
}

.btn-gold,
.btn[style*="background:var(--ceeac-gold)"] {
    color: var(--white) !important;
}

.hero-label {
    border-color: rgba(193, 39, 45, 0.4);
    background: rgba(193, 39, 45, 0.18);
    color: #ffd0d2;
}

.about-stat-badge .stat-number {
    color: var(--white);
}


/* Spans inline avec background gold */

[style*="background:var(--ceeac-gold)"],
[style*="background: var(--ceeac-gold)"] {
    color: var(--white) !important;
}


/* === OR DORÉ SUR FOND BLEU FONCÉ (éviter rouge sur bleu) === */


/* Topbar */

.topbar-left a:hover {
    color: var(--on-dark) !important;
}

.topbar-social a:hover {
    color: var(--on-dark) !important;
}

.topbar {
    border-bottom-color: var(--on-dark) !important;
}


/* News ticker */

.news-ticker {
    border-bottom-color: var(--on-dark) !important;
}

.news-ticker-item::before {
    color: var(--on-dark) !important;
}

.news-ticker-item a:hover {
    color: var(--on-dark) !important;
}


/* Page banner (overlay sombre) */

.page-banner .breadcrumb a {
    color: var(--on-dark) !important;
}

.page-banner .breadcrumb a:hover {
    color: var(--white) !important;
}


/* Nav mobile (fond bleu foncé) */

@media (max-width: 992px) {
    .nav-list>li>a:hover {
        color: var(--on-dark) !important;
    }
    .nav-list>li.dd-open>a {
        color: var(--on-dark) !important;
    }
}


/* Footer (fond gris très sombre) */

.footer a:hover {
    color: var(--on-dark) !important;
}

.footer-bottom a:hover {
    color: var(--on-dark) !important;
}


/* Discours hero (fond bleu foncé) */

.news-side-body .news-date {
    color: var(--on-dark) !important;
}


/* Section label sur fond bleu */

.section-news .section-label,
.news-hero-section .section-label {
    color: var(--ceeac-gold);
}


/* About tab active — rouge sur blanc = OK */

.about-tab.active,
.about-tab:hover {
    color: var(--ceeac-blue) !important;
    border-bottom-color: var(--ceeac-gold) !important;
}


/* ============================================================
   ESPACES HORIZONTAUX — RÉDUITS
   ============================================================ */

.container {
    padding-left: 20px !important;
    padding-right: 20px !important;
}

.container-wide {
    padding-left: 20px !important;
    padding-right: 20px !important;
}


/* ============================================================
   ICÔNE MENU MOBILE — FA-BARS / FA-TIMES
   ============================================================ */

.nav-toggle {
    display: none;
    background: none;
    border: 2px solid var(--ceeac-gold);
    color: var(--ceeac-blue-dark);
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.nav-toggle:hover {
    background: var(--ceeac-gold);
    color: var(--white);
}

.nav-toggle.active {
    background: var(--ceeac-gold);
    color: var(--white);
}


/* ============================================================
   ABOUT TABS — RESPONSIVE
   ============================================================ */

.about-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex-wrap: nowrap !important;
}

.about-tabs::-webkit-scrollbar {
    display: none;
}

.about-tab {
    white-space: nowrap;
    flex-shrink: 0;
}


/* ============================================================
   HERO SLIDER — RESPONSIVE COMPLET
   ============================================================ */

.hero .container {
    height: 100%;
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    .hero {
        height: clamp(500px, 80vh, 680px) !important;
    }
    .hero-content {
        padding: 32px 0 !important;
        max-width: 100% !important;
    }
    .hero h1 {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
    }
    .hero p {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .hero-actions {
        flex-direction: column !important;
        gap: 10px !important;
        align-items: flex-start;
    }
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    .hero-label {
        font-size: 0.7rem !important;
        padding: 0.3rem 0.8rem !important;
    }
    .hero-dots {
        bottom: 16px !important;
    }
}

@media (max-width: 480px) {
    .hero {
        height: clamp(460px, 85vh, 560px) !important;
    }
    .hero h1 {
        font-size: 1.3rem !important;
    }
    .about-tab {
        padding: 8px 12px !important;
        font-size: 0.78rem !important;
    }
}


/* ============================================================
   TOPBAR — SÉPARATEURS + DRAPEAUX LANGUES + ESPACEMENT
   ============================================================ */

.topbar-left a+a {
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    padding-left: 20px;
}


/* Drapeaux des langues */

.lang-switch a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.lang-flag {
    width: 18px;
    height: 12px;
    object-fit: cover;
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}


/* Séparateur entre blocs droite */

.lang-switch {
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    padding-right: 16px;
}


/* ============================================================
   DROPDOWN MENUS ENRICHIS
   ============================================================ */

.nav-list>li {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 3px);
    left: 0;
    min-width: 260px;
    background: var(--white);
    border-top: 3px solid var(--ceeac-gold);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    z-index: 9999;
    padding: 8px 0;
}

.nav-list>li:hover .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    font-size: 0.88rem;
    color: var(--gray-600);
    font-weight: 500;
    border-bottom: 1px solid var(--gray-50);
    transition: all 0.15s;
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background: var(--off-white);
    color: var(--ceeac-blue-dark);
    padding-left: 24px;
}

.dropdown-menu a .dd-icon {
    width: 28px;
    height: 28px;
    background: var(--off-white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--ceeac-gold);
    font-size: 0.75rem;
}

.dropdown-menu a:hover .dd-icon {
    background: var(--ceeac-gold);
    color: var(--white);
}

.dropdown-divider {
    height: 1px;
    background: var(--gray-100);
    margin: 6px 18px;
}

.dropdown-label {
    padding: 8px 18px 4px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-300);
}


/* ============================================================
   SEARCH OVERLAY
   ============================================================ */

.search-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 35, 71, 0.92);
    z-index: 99999;
    align-items: flex-start;
    justify-content: center;
    padding-top: 120px;
}

.search-overlay.open {
    display: flex;
}

.search-overlay-inner {
    width: 100%;
    max-width: 640px;
    padding: 0 20px;
}

.search-overlay-inner form {
    display: flex;
    gap: 0;
    border-bottom: 3px solid var(--ceeac-gold);
}

.search-overlay-inner input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--white);
    font-size: 1.5rem;
    padding: 16px 0;
    font-family: var(--font-body);
}

.search-overlay-inner input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.search-overlay-inner button[type="submit"] {
    background: none;
    border: none;
    color: var(--ceeac-gold);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 16px 8px;
}

.search-overlay-close {
    position: absolute;
    top: 24px;
    right: 28px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
}

.search-overlay-close:hover {
    color: var(--ceeac-gold);
}

.search-overlay-hint {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.82rem;
    margin-top: 14px;
}


/* ============================================================
   RESPONSIVE COMPLET
   ============================================================ */


/* Tablet */

@media (max-width: 1100px) {
    .nav-list>li>a {
        font-size: 0.82rem;
        padding: 0 8px;
    }
    .header-inner {
        gap: 12px;
    }
}

@media (max-width: 992px) {
    /* Header mobile */
    .main-nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--ceeac-blue-dark);
        z-index: 8888;
        flex-direction: column;
        overflow-y: auto;
        padding: 80px 24px 40px;
    }
    .main-nav.open {
        display: flex;
    }
    .nav-list {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }
    .nav-list>li>a {
        padding: 14px 0;
        font-size: 1rem;
        color: var(--white);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .nav-list>li>a:hover {
        color: var(--ceeac-gold);
    }
    .nav-toggle {
        display: flex;
        z-index: 9999;
    }
    .nav-search {
        display: none;
    }
    /* Dropdowns mobile = accordion */
    .dropdown-menu {
        display: none;
        position: static;
        box-shadow: none;
        border-top: none;
        border-left: 3px solid var(--ceeac-gold);
        background: rgba(255, 255, 255, 0.06);
        margin: 0 0 8px 16px;
        padding: 4px 0;
        min-width: unset;
    }
    .dropdown-menu a {
        color: rgba(255, 255, 255, 0.8);
        border-bottom-color: rgba(255, 255, 255, 0.06);
        font-size: 0.88rem;
    }
    .dropdown-menu a:hover {
        background: rgba(255, 255, 255, 0.05);
        color: var(--ceeac-gold);
    }
    .nav-list>li.dd-open .dropdown-menu {
        display: block;
    }
    /* Grids */
    .about-grid {
        grid-template-columns: 1fr !important;
    }
    .coop-grid {
        grid-template-columns: 1fr 1fr !important;
    }
    .news-hero-grid {
        grid-template-columns: 1fr !important;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr !important;
    }
}

@media (max-width: 768px) {
    /* Topbar */
    .topbar-left a:nth-child(3) {
        display: none;
    }
    .topbar-left a+a {
        padding-left: 14px;
    }
    /* Typography */
    h1 {
        font-size: 1.6rem !important;
    }
    h2 {
        font-size: 1.35rem !important;
    }
    /* Page banner */
    .page-banner {
        padding: 40px 0 24px !important;
    }
    .page-banner h1 {
        font-size: 1.5rem;
    }
    /* Grids */
    .coop-grid {
        grid-template-columns: 1fr !important;
    }
    .section-stats .stats-grid {
        grid-template-columns: 1fr 1fr !important;
    }
    .members-grid {
        grid-template-columns: 1fr 1fr !important;
    }
    .programmes-grid {
        grid-template-columns: 1fr !important;
    }
    .gallery-grid {
        grid-template-columns: 1fr 1fr !important;
    }
    .gallery-item.large img {
        height: 200px !important;
    }
    /* Events */
    .event-card {
        flex-direction: column !important;
    }
    .event-card>div:first-child {
        width: 100% !important;
        height: 140px !important;
    }
    /* Article detail */
    article+aside {
        display: none;
    }
    div[style*="grid-template-columns:1fr 320px"] {
        display: block !important;
    }
    /* News side list */
    .news-side-list {
        display: none;
    }
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr !important;
    }
    .footer-bottom {
        flex-direction: column !important;
        gap: 8px !important;
        text-align: center;
    }
}

@media (max-width: 480px) {
    /* Topbar */
    .topbar-left {
        gap: 14px;
    }
    .topbar-left a {
        font-size: 0.72rem;
    }
    .topbar-left a:nth-child(2) {
        display: none;
    }
    .topbar-right {
        gap: 12px;
    }
    .lang-switch a {
        padding: 3px 6px;
    }
    /* Buttons */
    .btn {
        padding: 0.6rem 1.1rem;
        font-size: 0.82rem;
    }
    /* Member cards */
    .members-grid {
        grid-template-columns: 1fr !important;
    }
    /* Stats */
    .stats-grid {
        grid-template-columns: 1fr !important;
    }
}


/* Member card link hover */

a.member-card {
    color: inherit;
    transition: box-shadow 0.2s, transform 0.2s;
}

a.member-card:hover {
    box-shadow: 0 4px 20px rgba(0, 35, 71, 0.15);
    transform: translateY(-2px);
}

a.member-card:hover strong {
    color: var(--ceeac-gold) !important;
}


/* ======================================================
   SPACING REDUCTION + #006eb5 BRAND COLOR OVERRIDES
   ====================================================== */


/* Reduce section vertical spacing */

section,
.page-content {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
}

.news-hero-section,
.about-section-detailed,
.section-stats,
.pillars-section,
.partners-section,
.members-section,
.coop-section,
.events-section,
.programmes-section {
    padding: 2.5rem 0 !important;
}

.page-banner {
    padding: 40px 0 28px !important;
}


/* Remove excess margin between stacked sections */

.section-header {
    margin-bottom: 1.5rem !important;
}

.section-header+* {
    margin-top: 0 !important;
}


/* #006eb5 applied to elements that had very dark navy */

.topbar {
    background: #006eb5 !important;
}

.header {
    background: #fff !important;
    box-shadow: 0 2px 8px rgba(0, 78, 138, 0.12) !important;
}

.header .nav-list>li>a {
    color: #004f8a !important;
}

.header .nav-list>li>a:hover,
.header .nav-list>li.active>a {
    color: #C1272D !important;
}

.dropdown-menu {
    border-top-color: #C1272D !important;
}

.footer {
    background: #006eb5 !important;
}

.footer a,
.footer p,
.footer span,
.footer li {
    color: rgba(255, 255, 255, 0.85) !important;
}

.footer h5 {
    color: #fff !important;
    border-bottom-color: rgba(255, 255, 255, 0.25) !important;
}

.footer a:hover {
    color: #fff !important;
}

.footer-bottom {
    background: #004f8a !important;
    border-top-color: rgba(255, 255, 255, 0.15) !important;
}

.footer-bottom span,
.footer-bottom a {
    color: rgba(255, 255, 255, 0.75) !important;
}


/* Page banner — use #006eb5 tint overlay */

.page-banner::before {
    background: linear-gradient(135deg, rgba(0, 110, 181, 0.88), rgba(0, 79, 138, 0.75)) !important;
}


/* Quick-access bar */

.quick-access {
    background: #006eb5 !important;
}

.quick-access-item {
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.quick-access-item:hover {
    background: rgba(255, 255, 255, 0.15) !important;
}


/* News ticker */

.news-ticker {
    background: #004f8a !important;
}

.news-ticker-label {
    background: #C1272D !important;
}


/* Stat items dark bg (homepage) */

.stat-item {
    background: #006eb5 !important;
}


/* Mobile nav overlay */

@media (max-width: 992px) {
    .main-nav {
        background: #006eb5 !important;
    }
    .nav-list>li>a {
        color: #fff !important;
    }
}


/* ======================================================
   GOLD ON BLUE + FOOTER-BOTTOM PADDING + PARTNERS SLIDER
   ====================================================== */


/* Gold icons and white text on all blue backgrounds */

.topbar i,
.topbar a {
    color: #fff;
}

.topbar-left a {
    color: rgba(255, 255, 255, 0.85) !important;
}

.topbar-left a i {
    color: var(--ceeac-gold) !important;
}

.topbar-left a:hover {
    color: #fff !important;
}

.topbar-social a {
    color: rgba(255, 255, 255, 0.8) !important;
}

.topbar-social a:hover {
    color: var(--ceeac-gold) !important;
}

.lang-switch a {
    color: rgba(255, 255, 255, 0.8) !important;
}

.lang-switch a.active {
    color: #fff !important;
    font-weight: 700;
}

.lang-switch a:hover {
    color: var(--ceeac-gold) !important;
}


/* Quick access bar: icons gold, text white */

.quick-access-item i {
    color: var(--ceeac-gold) !important;
}

.quick-access-item {
    color: rgba(255, 255, 255, 0.9) !important;
}

.quick-access-item:hover {
    color: #fff !important;
}


/* News ticker: bolt icon gold */

.news-ticker-label i {
    color: #fff !important;
}

.news-ticker-item a {
    color: rgba(255, 255, 255, 0.88) !important;
}

.news-ticker-item a:hover {
    color: var(--ceeac-gold) !important;
}


/* Footer brand & links */

.footer-brand .org-name {
    color: #fff !important;
}

.footer-brand .org-subtitle {
    color: rgba(255, 255, 255, 0.65) !important;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.75) !important;
}

.footer-col h5 i {
    color: var(--ceeac-gold) !important;
}

.footer-col a i {
    color: var(--ceeac-gold) !important;
}


/* Footer-bottom: padding left/right */

.footer-bottom {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
}


/* Partners infinite scroll slider */

.partners-logos {
    overflow: hidden !important;
    display: block !important;
    position: relative;
    padding: 8px 0;
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.partners-track {
    display: flex !important;
    align-items: center;
    gap: 40px;
    width: max-content;
    animation: partners-scroll 28s linear infinite;
}

.partners-track:hover {
    animation-play-state: paused;
}

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

.partner-logo-box {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 110px;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid var(--gray-100);
    transition: box-shadow 0.2s, transform 0.2s;
    flex-shrink: 0;
}

.partner-logo-box:hover {
    box-shadow: 0 4px 16px rgba(0, 78, 138, 0.12);
    transform: translateY(-2px);
}

.partner-logo-box img {
    height: 44px;
    width: auto;
    max-width: 100px;
    object-fit: contain;
}

.partner-logo-box .partner-name {
    font-size: 0.68rem;
    color: var(--gray-400);
    text-align: center;
    line-height: 1.3;
    max-width: 90px;
}


/* Hero news card layout */

.hero-content {
    display: grid !important;
    grid-template-columns: 1fr 280px !important;
    gap: 2rem !important;
    align-items: center !important;
}

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

.hero-news-card {
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    border: 3px solid rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
}

.hero-news-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.hero-news-card-body {
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    padding: 12px 14px;
}

.hero-news-card-body .news-category {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--ceeac-gold);
    display: block;
    margin-bottom: 6px;
}

.hero-news-card-body p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
    font-weight: 500;
    margin: 0;
}

.hero-news-card-body a {
    font-size: 0.75rem;
    color: var(--ceeac-gold);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
    font-weight: 600;
    text-decoration: none;
}

@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr !important;
    }
    .hero-news-card {
        display: none;
    }
}


/* ======================================================
   HERO NEWS CARD — IMAGE ONLY, FULL HEIGHT
   ====================================================== */

.hero-content {
    display: grid !important;
    grid-template-columns: 1fr 340px !important;
    gap: 2.5rem !important;
    align-items: stretch !important;
    /* stretch so card = same height as text col */
}

.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-news-card {
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    border: 3px solid rgba(255, 255, 255, 0.18);
    border-radius: 0 !important;
    flex-shrink: 0;
    align-self: stretch;
}

.hero-news-card img {
    width: 100%;
    height: 100% !important;
    /* fill the full card height */
    min-height: 260px;
    object-fit: cover;
    display: block;
}


/* Remove the old card body if it somehow remains */

.hero-news-card-body {
    display: none !important;
}


/* ======================================================
   GOLD ON BLUE — DEFINITIVE OVERRIDES
   ====================================================== */


/* Topbar: icons gold, text white */

.topbar .topbar-left a {
    color: rgba(255, 255, 255, 0.9) !important;
}

.topbar .topbar-left a i {
    color: var(--ceeac-gold) !important;
}

.topbar .topbar-left a:hover {
    color: #fff !important;
}

.topbar .topbar-social a {
    color: rgba(255, 255, 255, 0.85) !important;
}

.topbar .topbar-social a:hover {
    color: var(--ceeac-gold) !important;
}

.topbar .lang-switch a {
    color: rgba(255, 255, 255, 0.85) !important;
}

.topbar .lang-switch a.active,
.topbar .lang-switch a:hover {
    color: var(--ceeac-gold) !important;
}


/* Quick access bar: icons gold */

.quick-access .quick-access-item {
    color: rgba(255, 255, 255, 0.9) !important;
}

.quick-access .quick-access-item i {
    color: var(--ceeac-gold) !important;
}

.quick-access .quick-access-item:hover {
    color: #fff !important;
}


/* News ticker */

.news-ticker .news-ticker-label {
    color: #fff !important;
}

.news-ticker .news-ticker-label i {
    color: #fff !important;
}

.news-ticker .news-ticker-item a {
    color: rgba(255, 255, 255, 0.9) !important;
}

.news-ticker .news-ticker-item a:hover {
    color: var(--ceeac-gold) !important;
}


/* Stats bar: numbers already gold, labels white */

.stats-bar .stat-number {
    color: var(--ceeac-gold) !important;
}

.stats-bar .stat-label {
    color: rgba(255, 255, 255, 0.85) !important;
}


/* Footer */

.footer .footer-brand .org-name {
    color: #fff !important;
}

.footer .footer-brand .org-subtitle {
    color: rgba(255, 255, 255, 0.65) !important;
}

.footer .footer-brand p {
    color: rgba(255, 255, 255, 0.8) !important;
}

.footer .footer-col h5 {
    color: #fff !important;
}

.footer .footer-col a {
    color: rgba(255, 255, 255, 0.8) !important;
}

.footer .footer-col a i {
    color: var(--ceeac-gold) !important;
}

.footer .footer-col a:hover {
    color: var(--ceeac-gold) !important;
}

.footer .footer-bottom span {
    color: rgba(255, 255, 255, 0.7) !important;
}

.footer .footer-bottom a {
    color: rgba(255, 255, 255, 0.7) !important;
}

.footer .footer-bottom a:hover {
    color: var(--ceeac-gold) !important;
}


/* Nav mobile overlay */

@media (max-width: 992px) {
    .main-nav .nav-list>li>a {
        color: rgba(255, 255, 255, 0.9) !important;
    }
    .main-nav .nav-list>li>a i {
        color: var(--ceeac-gold) !important;
    }
    .main-nav .nav-list>li>a:hover {
        color: var(--ceeac-gold) !important;
    }
}


/* Page banners: breadcrumb + h1 white */

.page-banner h1 {
    color: #fff !important;
}

.page-banner .breadcrumb a {
    color: rgba(255, 255, 255, 0.8) !important;
}

.page-banner .breadcrumb a:hover {
    color: var(--ceeac-gold) !important;
}

.page-banner .breadcrumb .sep {
    color: rgba(255, 255, 255, 0.5) !important;
}

.page-banner .breadcrumb span:last-child {
    color: var(--ceeac-gold) !important;
}


/* HERO — reset to text-only layout */

.hero-content {
    display: block !important;
    grid-template-columns: unset !important;
}

.hero-news-card {
    display: none !important;
}

.hero-text {
    display: contents;
}


/* ======================================================
   PAGE LOADER
   ====================================================== */

#page-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#page-loader.loader-done {
    opacity: 0;
    visibility: hidden;
}

.loader-inner {
    position: relative;
    width: 240px;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-logo {
    width: 130px;
    height: 130px;
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}


/* Orbital dots around logo */

.loader-dots {
    position: absolute;
    inset: 0;
    animation: loader-spin 5s linear infinite;
}

.loader-dot-arm {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 68px;
    height: 0;
    transform-origin: 0 50%;
    transform: rotate(calc(var(--i) * 45deg));
}

.loader-dot-arm span {
    position: absolute;
    right: -5px;
    top: 50%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #C1272D;
    transform: translateY(-50%) scale(calc(1.1 - var(--i) * 0.08));
    opacity: calc(1.05 - var(--i) * 0.12);
}

@keyframes loader-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.loader-label {
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #004f8a;
    opacity: 0.7;
    animation: loader-pulse 1.4s ease-in-out infinite;
}

@keyframes loader-pulse {
    0%,
    100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}