/* =====================================================
   FONTS
===================================================== */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;400;500;600;700&family=Merriweather:wght@300;400;700&display=swap');


/* =====================================================
   VARIABLES (NOIR / GRIS / DORÉ)
===================================================== */

:root {

    --primary-color: #0A0A0A;
    --secondary-color: #2B2B2B;
    --tertiary-color: #5A5A5A;

    --accent-color: #D4AF37;
    --accent-dark: #B08D2A;

    --light-gray: #F4F4F4;
    --white: #FFFFFF;

    --text-color: #1E1E1E;
    --muted-text: #666666;
}


/* =====================================================
   RESET
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'IBM Plex Sans', sans-serif;
    background: var(--light-gray);
    color: var(--text-color);
    line-height: 1.75;
    direction: rtl;
    overflow-x: hidden;
}


/* =====================================================
   NAVBAR
===================================================== */

.navbar {

    position: fixed;
    top: 0;
    right: 0;
    left: 0;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 18px 8%;

    background: rgba(10,10,10,0.96);
    backdrop-filter: blur(12px);

    border-bottom: 1px solid rgba(212,175,55,0.2);

    box-shadow: 0 4px 18px rgba(0,0,0,0.35);

    z-index: 999;
}

.logo {
    color: #fff;
    font-weight: 700;
    font-size: 1.4rem;
}
.logo {
    display: flex;
    align-items: center;
}

.logo img {
     height: 80px;
display: block;
}
.navbar ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

.navbar a {
    color: #EDEDED;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    position: relative;
}

.navbar a:hover {
    color: var(--accent-color);
}

.navbar a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -6px;
    width: 0%;
    height: 2px;
    background: var(--accent-color);
    transition: 0.3s;
}

.navbar a:hover::after {
    width: 100%;
}

.navbar.scrolled {
    background: rgba(10,10,10,0.98);
    border-bottom: 1px solid rgba(212,175,55,0.35);
}


/* =====================================================
   HERO SECTION
===================================================== */

.hero {

    height: 125vh;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
    color: white;

    background:
        linear-gradient(
            135deg,
            rgba(10,10,10,0.92),
            rgba(43,43,43,0.85)
        ),
        url("../images/law1.jpeg");

    background-size: cover;
    background-position: center;

    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center,
        rgba(212,175,55,0.08),
        transparent 60%);
}

.hero-content {
    max-width: 950px;
    padding: 20px;
    z-index: 2;
}

.conference-type {
    display: inline-block;
    padding: 8px 18px;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    border-radius: 30px;
    margin-bottom: 15px;
}

.hero h1 {
    font-family: 'Merriweather', serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.hero h2 {
    font-size: 1.6rem;
    color: #E6E6E6;
    margin-bottom: 5px;
}


/* =====================================================
   BUTTONS
===================================================== */

.btn {
    display: inline-block;
    padding: 14px 32px;

    border-radius: 40px;
    border: 2px solid var(--accent-color);

    color: var(--accent-color);
    text-decoration: none;

    transition: 0.3s;
}

.btn:hover {
    background: var(--accent-color);
    color: #111;
    transform: translateY(-3px);
}


/* =====================================================
   COUNTDOWN
===================================================== */

#countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 35px;
}

.time-box {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(212,175,55,0.3);
    backdrop-filter: blur(10px);

    padding: 20px;
    min-width: 110px;
    border-radius: 15px;
    text-align: center;
}

.time-box span {
    font-size: 2rem;
    color: var(--accent-color);
    font-weight: bold;
}


/* =====================================================
   SECTIONS
===================================================== */

section {
    padding: 90px 10%;

    opacity: 0;
    transform: translateY(20px);
    transition: 0.8s;
}

section.show {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.3rem;
    color: var(--secondary-color);
}

.section-title h2::after {
    content: "";
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    display: block;
    margin: 15px auto;
}


/* =====================================================
   GRID SYSTEM
===================================================== */

.statistics,
.topics-grid,
.speakers-grid,
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}


/* =====================================================
   CARDS
===================================================== */

.topic-card,
.speaker-card,
.partner-card {

    background: #fff;
    padding: 30px;

    border-radius: 12px;
    border: 1px solid #e6e6e6;

    box-shadow: 0 6px 18px rgba(0,0,0,0.06);

    text-align: center;
    transition: 0.3s;
}

.topic-card:hover,
.speaker-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-color);
}


/* =====================================================
   SPEAKERS
===================================================== */

.speaker-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--accent-color);
    margin-bottom: 15px;
}


/* =====================================================
   TABLE
===================================================== */

table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
}

th {
    background: var(--secondary-color);
    color: white;
    padding: 15px;
}

td {
    padding: 15px;
    border-bottom: 1px solid #eee;
}


/* =====================================================
   STATISTICS
===================================================== */

.stat-box {
    background: white;
    padding: 35px;
    border-radius: 15px;
    border-left: 4px solid var(--accent-color);
    text-align: center;
}

.stat-box h3 {
    font-size: 2.5rem;
    color: var(--secondary-color);
}


/* =====================================================
   CONTACT
===================================================== */

.contact-box {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}


/* =====================================================
   FOOTER
===================================================== */

footer {
    background: var(--primary-color);
    color: white;
    text-align: center;
    padding: 30px;
}


/* =====================================================
   BACK TO TOP
===================================================== */

#topBtn {
    position: fixed;
    bottom: 30px;
    left: 30px;

    width: 45px;
    height: 45px;

    border-radius: 50%;
    background: var(--accent-color);
    color: #111;

    border: none;
    display: none;
    cursor: pointer;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 768px) {

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero h2 {
        font-size: 1.3rem;
    }

    .navbar {
        flex-direction: column;
        gap: 12px;
    }

    .navbar ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    section {
        padding: 70px 5%;
    }
}
//
.committees-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 20px;
}

.committee-block {
    background-color: #0b0b0b;
    padding: 20px;
    border-right: 4px solid #d4af37;
}

.committee-title {
    color: #d4af37;
    margin-bottom: 20px;
    font-size: 20px;
    text-align: center;
}

.committee-card {
    background-color: #151515;
    color: #eaeaea;
    padding: 12px 15px;
    margin-bottom: 10px;
    border-right: 3px solid #777;
    text-align: right;
    line-height: 1.6;
}

.committee-card strong {
    color: #d4af37;
}

.main-chair {
    border-right: 5px solid #d4af37;
    background-color: #111;
}

.contact-logo {
    margin-left: auto; /* pousse le reste à droite */
}

.contact-logo img {
    height: 100px;
    width: auto;
    object-fit: contain;
    display: block;
}

.contact-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-logo {
    order: 1;
}

.contact-info {
    order: 2;
    text-align: right;
}

.committees-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;

    /* garantit l’égalité verticale */
    align-items: stretch;
}

/* chaque bloc prend exactement la même hauteur */
.committee-block {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;

    display: flex;
    flex-direction: column;

    height: 100%;
}

/* titre fixe et aligné */
.committee-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #111;
    border-bottom: 2px solid #c9a227;
    padding-bottom: 8px;
}

/* zone des cartes occupe tout l’espace */
.committee-block-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 10px;
}

/* cartes uniformes */
.committee-card {
    background: #f9f9f9;
    border-left: 4px solid #c9a227;
    padding: 10px 12px;
    border-radius: 6px;
}

/* président / responsable */
.committee-card.main-chair {
    background: #111;
    color: #fff;
    border-left: 4px solid #c9a227;
}

/* responsive */
@media (max-width: 900px) {
    .committees-container {
        grid-template-columns: 1fr;
    }
}
/* =========================
   TEXTE GLOBAL NOIR
========================= */
#committees {
    color: #000;
}

/* =========================
   TITRES
========================= */
.committee-title {
    color: #000;
}

/* =========================
   CARTES
========================= */
.committee-card {
    color: #000;
}

/* =========================
   PRESIDENT / RESPONSABLE
   (on garde fond sombre → texte blanc)
========================= */
.committee-card.main-chair {
    color: #fff;
}

.problematic {
    margin-top: 30px;
    padding: 25px;
    background-color: #111111;
    border-right: 5px solid #d4af37;
    color: #eaeaea;
    text-align: center;
}

/* Titre de la problématique */
.problematic h3 {
    color: #d4af37;
    font-size: 20px;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

/* Texte de la question centrale */
.problematic p {
    margin: 0;
    line-height: 1.9;
}

/* Mise en évidence de la question */
.problematic strong {
    font-size: 18px;
    color: #ffffff;
    display: block;
    padding: 5px 10px;
}

/* Effet visuel discret (optionnel mais recommandé) */
.problematic {
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.15);
    border-radius: 4px;
}

/* Responsive */
@media (max-width: 768px) {
    .problematic {
        padding: 18px;
    }

    .problematic strong {
        font-size: 16px;
    }

    .problematic h3 {
        font-size: 18px;
    }
}
.text-justify {
    text-align: justify;
    line-height: 1.9;
}