/* =========================================
   FOCUS TRADING SERVICES - STYLE FINAL CORRECT
   ========================================= */

/* --- 1. VARIABLES & RESET --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Open+Sans:wght@400;600&display=swap');

:root {
    --primary-color: #0F172A; /* Bleu Marine */
    --accent-color: #E67E22;  /* Terracotta/Orange */
    --light-bg: #F8FAFC;      /* Gris clair */
    --text-color: #334155;    /* Texte foncé */
    --white: #ffffff;
    --section-padding: 80px 10%;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-bg);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-color);
    font-weight: 700;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* Boutons */
.btn {
    display: inline-block;
    padding: 15px 35px;
    background: var(--accent-color);
    color: var(--white);
    font-weight: 700;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
    border: 2px solid transparent;
    cursor: pointer;
}
.btn:hover {
    background: transparent;
    color: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

/* --- 2. HEADER & NAVIGATION --- */
header {
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.logo { font-size: 1.5rem; font-weight: 700; color: var(--white); text-transform: uppercase; }
.logo span { color: var(--accent-color); }

nav ul { display: flex; gap: 25px; align-items: center; }
nav ul li a { font-size: 0.95rem; font-weight: 500; color: #cbd5e1; }
nav ul li a:hover, nav ul li a.active { color: var(--accent-color); }
nav .btn { padding: 10px 25px; margin-left: 10px; box-shadow: none; }


/* --- 3. HERO SLIDER (SWIPER) - CORRECTIF CENTRAGE --- */
.hero-slider {
    width: 100%;
    height: 85vh; /* Hauteur de l'écran */
    position: relative;
}

.hero-slide {
    background-size: cover;
    background-position: center;
    /* FLEXBOX CENTRAGE TOTAL */
    display: flex !important; /* Force le flex */
    flex-direction: column;
    justify-content: center; /* Centre Verticalement */
    align-items: center;     /* Centre Horizontalement */
    height: 100%;
    width: 100%;
    text-align: center;      /* Force le texte interne au centre */
    padding: 0 20px;
}

/* Overlay sombre pour lisibilité */
.hero-slide::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15, 23, 42, 0.5); /* Filtre noir */
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1100px; /* Limite la largeur pour que ça reste beau */
    margin: 0 auto;    /* Centre le bloc div */
    display: flex;
    flex-direction: column;
    align-items: center; /* Centre les éléments enfants (h1, p, btn) */
}

.slide-content h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-align: center; /* Double assurance */
    width: 100%;
}

.slide-content p {
    font-size: 1.3rem;
    max-width: 800px;
    margin-bottom: 3rem;
    font-weight: 300;
    color: #e2e8f0;
    text-align: center; /* Double assurance */
}

/* Swiper Navigation */
.swiper-button-next, .swiper-button-prev { color: var(--accent-color) !important; z-index: 10; }
.swiper-pagination-bullet-active { background: var(--accent-color) !important; }


/* --- 4. SECTIONS GÉNÉRALES --- */
.section { padding: var(--section-padding); }

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 20px;
}
.section-title::after {
    content: ''; width: 80px; height: 4px; background: var(--accent-color);
    position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
}

/* --- 5. SERVICES (GRID) --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    transition: all 0.3s ease;
    border-bottom: 4px solid transparent;
    position: relative;
    top: 0;
}
.service-card:hover {
    top: -10px;
    border-bottom-color: var(--accent-color);
    box-shadow: 0 20px 40px rgba(230, 126, 34, 0.1);
}
.icon-box {
    font-size: 3.5rem;
    color: var(--accent-color);
    margin-bottom: 25px;
    transition: transform 0.3s ease;
    display: inline-block;
}
.service-card:hover .icon-box { transform: scale(1.1) rotate(-5deg); }
.service-card h3 { margin-bottom: 15px; font-size: 1.3rem; }
.service-card p { color: #64748b; font-size: 0.95rem; }


/* --- 6. SECTION VISION (DARK - 2 COLONNES) --- */
.about-section.dark-theme {
    background-color: var(--primary-color);
    color: var(--white);
    overflow: hidden;
}

.dark-theme .accent-subtitle {
    color: var(--accent-color);
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
    font-weight: 700;
    display: block;
}
.dark-theme h2 { color: var(--white); font-size: 2.5rem; margin-bottom: 30px; }
.dark-theme p { color: #cbd5e1; font-size: 1.1rem; margin-bottom: 25px; }
.highlight-text { color: var(--accent-color); font-weight: 700; }

.about-image-premium {
    width: auto;
    height: auto;
    border-radius: 15px;
    box-shadow: 25px 25px 0px rgba(230, 126, 34, 0.15), 0 20px 40px rgba(0,0,0,0.3);
    transition: transform 0.5s ease;
}
.about-image-premium:hover { transform: scale(1.02); }

/* LAYOUT PC */
@media (min-width: 993px) {
    .about-section.dark-theme .contact-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 80px;
        flex-wrap: nowrap;
    }
    .about-section .contact-info, .about-section .contact-form { flex: 1; width: 48%; }
    .text-content { padding-right: 30px; }
}
/* LAYOUT MOBILE */
@media (max-width: 992px) {
    .about-section.dark-theme .contact-container {
        display: flex; flex-wrap: wrap; flex-direction: column-reverse; gap: 50px;
    }
    .about-section .contact-info, .about-section .contact-form { width: 100%; flex: none; }
    .text-content { padding-right: 0; }
}


/* --- 7. FOOTER --- */
footer { background: var(--primary-color); color: #94a3b8; padding: 80px 5% 20px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 50px; }
.footer-col h4 { color: var(--white); margin-bottom: 25px; font-size: 1.2rem; }
.footer-col p { margin-bottom: 15px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a:hover { color: var(--accent-color); padding-left: 5px; }
.footer-bottom { text-align: center; border-top: 1px solid #1e293b; padding-top: 30px; font-size: 0.9rem; }


/* --- 8. PAGE CONTACT --- */
.page-header {
    height: 40vh; min-height: 300px;
    background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.8)), url('../img/contact-bg.jpg');
    background-size: cover; background-position: center;
    display: flex; align-items: center; justify-content: center;
    text-align: center; color: var(--white);
    margin-top: -80px; padding-top: 80px;
}
.contact-grid-container {
    display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; align-items: start;
}
.info-item { display: flex; align-items: flex-start; margin-bottom: 30px; }
.info-item .icon { font-size: 1.5rem; color: var(--accent-color); margin-right: 20px; margin-top: 5px; width: 30px; text-align: center; }
.contact-form-col {
    background: var(--white); padding: 40px; border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08); border-top: 4px solid var(--accent-color);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.input-group { position: relative; }
.input-group.full-width { grid-column: 1 / -1; }
.input-icon { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: #94a3b8; }
.textarea-icon { top: 20px; transform: none; }
.input-group input, .input-group select, .input-group textarea {
    width: 100%; padding: 15px 15px 15px 45px; border: 1px solid #e2e8f0; border-radius: 8px; background: #f8fafc;
}
.form-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }


/* --- 9. PAGE ABOUT STYLES --- */
.mission-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 50px; }
.mission-card { background: var(--white); padding: 40px 30px; border: 1px solid #e2e8f0; border-radius: 8px; position: relative; overflow: hidden; transition: 0.3s; }
.mission-card:hover { border-color: var(--accent-color); box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.mission-number { position: absolute; top: -10px; right: -10px; font-size: 5rem; font-weight: 700; color: rgba(15, 23, 42, 0.05); font-family: 'Montserrat', sans-serif; }
.history-section { background-color: var(--primary-color); position: relative; }
.timeline { position: relative; max-width: 1000px; margin: 0 auto; }
.timeline::after { content: ''; position: absolute; width: 4px; background-color: var(--accent-color); top: 0; bottom: 0; left: 50%; margin-left: -2px; }
.timeline-item { padding: 10px 40px; position: relative; background-color: inherit; width: 50%; }
.timeline-item.left { left: 0; text-align: right; }
.timeline-item.right { left: 50%; }
.timeline-item::after { content: ''; position: absolute; width: 20px; height: 20px; right: -10px; background-color: var(--white); border: 4px solid var(--accent-color); top: 20px; border-radius: 50%; z-index: 1; }
.timeline-item.right::after { left: -10px; }
.timeline-content { padding: 20px 30px; background-color: var(--white); position: relative; border-radius: 6px; box-shadow: 0 5px 15px rgba(0,0,0,0.2); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; margin-top: 80px; }
.team-card { text-align: center; padding: 30px 20px; background: var(--white); border: 1px dashed #cbd5e1; border-radius: 10px; transition: 0.3s; }
.team-card:hover { border-style: solid; border-color: var(--accent-color); transform: translateY(-5px); }
.team-icon { font-size: 2.5rem; color: var(--primary-color); margin-bottom: 20px; }


/* --- 10. RESPONSIVE GLOBAL --- */
@media (max-width: 992px) {
    .contact-grid-container { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .form-footer { flex-direction: column; align-items: flex-start; gap: 20px; }
    .btn-submit { width: 100%; justify-content: center; }
}

@media (max-width: 768px) {
    nav ul { display: none; }
    .hero-slider { height: auto; min-height: 600px; }
    .hero-slide { padding-top: 100px; padding-bottom: 100px; }
    .slide-content h1 { font-size: 2.2rem; }
    .timeline::after { left: 31px; }
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; }
    .timeline-item.left { text-align: left; }
    .timeline-item.right { left: 0; }
    .timeline-item::after { left: 21px; }
    .timeline-item.right::after { left: 21px; }
}


/* =========================================
   STYLE SPÉCIAL : SLIDER SPLIT (FIXED VERSION)
   ========================================= */

/* --- STYLE MOBILE (Par défaut) --- */
.split-layout {
    display: flex;
    flex-direction: column-reverse; /* Image en haut, texte en bas sur mobile */
    align-items: center;
    gap: 30px;
    width: 100%;
}

.product-img {
    max-height: 250px; /* Taille image sur mobile */
    width: auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5)); /* Ombre */
    animation: float 6s ease-in-out infinite; /* Animation flottante */
}

/* Le petit badge vert "Succès Client" */
.badge-success {
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: inline-block;
    border: 1px solid #2ecc71;
}

/* ANIMATION FLOTTANTE */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}


/* --- VERSION PC (Écrans plus larges que 850px) --- */
@media (min-width: 850px) { /* <-- Hna n9esna l-had bach yban dghya */
    
    .split-layout {
        flex-direction: row; /* HADA HOWA L'MOHIM: Jnab-Jnab */
        text-align: left;    /* Texte aligné à gauche */
        justify-content: space-between;
        align-items: center; /* Centrer verticalement image m3a texte */
        max-width: 1200px;   /* Plus large que le slide normal */
    }

    .text-side {
        width: 50%; /* Nes dyal l'espace */
        padding-right: 40px;
        text-align: left;
        display: flex;
        flex-direction: column;
        align-items: flex-start; /* Force le bouton à gauche */
    }

    .image-side {
        width: 45%;
        display: flex;
        justify-content: center;
    }

    /* On force l'alignement à gauche pour ce slide spécifique sur PC */
    .split-layout h1 {
        text-align: left;
        margin-left: 0;
        font-size: 2.8rem; /* Chwia sgher bach y9ed */
    }
    .split-layout p {
        text-align: left;
        margin-left: 0;
        max-width: 100%;
    }
    
    .product-img {
        max-height: 400px; /* Image plus grande sur PC */
    }
}


/* =========================================
   STYLES SPÉCIFIQUES PAGES SERVICES
   ========================================= */

/* --- Detailed Grid Cards (Listes à puces) --- */
.detailed-card {
    text-align: left; /* On aligne à gauche pour les listes */
    padding: 40px;
}

.detailed-card .icon-box {
    display: block; /* On remet l'icône au centre si on veut, ou à gauche */
    text-align: center;
    margin-left: auto; margin-right: auto;
}
.detailed-card h3 { text-align: center; margin-bottom: 25px; }

.detailed-card ul {
    margin-top: 20px;
    padding-left: 10px;
}

.detailed-card ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    font-size: 0.95rem;
    color: #475569;
}

.detailed-card ul li i {
    color: #2ecc71; /* Vert pour les checks */
    margin-right: 15px;
    margin-top: 5px;
}


/* --- Case Study Box (Dark Theme Highlights) --- */
.badge-success-dark {
    background: rgba(46, 204, 113, 0.1);
    color: #2ecc71 !important; /* Force la couleur verte */
    padding: 8px 15px;
    border-radius: 4px;
    display: inline-block;
}

.highlight-box-dark {
    background: rgba(15, 23, 42, 0.5); /* Fond plus foncé */
    padding: 25px;
    border-radius: 10px;
    border: 1px solid rgba(230, 126, 34, 0.3); /* Bordure orange subtile */
    margin-top: 30px;
}

.highlight-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}
.highlight-item:last-child { margin-bottom: 0; }

.highlight-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-right: 20px;
}

.highlight-item strong { color: var(--white); }

.big-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-color);
    font-family: 'Montserrat', sans-serif;
    margin-top: 5px;
}

/* --- Inversion de l'ordre Image/Texte sur PC pour varier --- */
@media (min-width: 993px) {
    /* L'image passe à gauche (ordre 1) */
    .order-swap-img { order: 1; padding-right: 50px; }
    /* Le texte passe à droite (ordre 2) */
    .order-swap-txt { order: 2; padding-right: 0; padding-left: 20px; }
}



/* =========================================
   STYLES PAGE NÉGOCE
   ========================================= */

/* --- 1. Hero Video --- */
.hero-video {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
    /* Fallback image si la vidéo ne marche pas */
    background: url('../img/trading-bg.jpg') no-repeat center center/cover; 
}

.video-bg {
    position: absolute;
    top: 50%; left: 50%;
    min-width: 100%; min-height: 100%;
    width: auto; height: auto;
    z-index: 0;
    transform: translateX(-50%) translateY(-50%);
}

.video-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.7); /* Assombrit la vidéo */
    z-index: 1;
}

.hero-content { position: relative; z-index: 2; padding: 20px; }
.hero-content h1 { color: var(--white); font-size: 3rem; margin-bottom: 20px; }
.hero-content p { font-size: 1.3rem; max-width: 700px; margin: 0 auto; color: #e2e8f0; }


/* --- 2. Intro Services (Petites modifications) --- */
.hover-up { transition: transform 0.3s; }
.hover-up:hover { transform: translateY(-10px); }
.icon-box-small {
    font-size: 2.5rem; color: var(--accent-color); margin-bottom: 15px; display: block;
}


/* --- 3. Interactive Sector Cards (C'est là que la magie opère) --- */
.sectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.sector-card {
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    background-size: cover;
    background-position: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    cursor: pointer;
}

/* L'overlay qui change au survol */
.sector-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.5); /* Fond semi-transparent au début */
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Texte en bas */
    padding: 30px;
    transition: all 0.4s ease-in-out;
}

/* Au survol de la carte */
.sector-card:hover .sector-overlay {
    background: rgba(15, 23, 42, 0.85); /* Le fond devient plus sombre */
    justify-content: center; /* Le contenu remonte au centre */
}

.sector-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 10px;
    transition: 0.4s;
}

/* Le titre remonte et change de couleur */
.sector-card h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 0;
    transition: 0.4s;
}

/* Les détails sont cachés au début */
.sector-details {
    max-height: 0; /* Hauteur 0 = caché */
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s ease-in-out;
    transform: translateY(20px);
}

/* Au survol, les détails apparaissent */
.sector-card:hover .sector-details {
    max-height: 200px; /* On donne de la hauteur */
    opacity: 1;
    margin-top: 20px;
    transform: translateY(0);
}
.sector-card:hover .sector-icon { transform: scale(0.8); margin-bottom: 5px; }
.sector-card:hover h3 { color: var(--accent-color); }

.sector-details p { color: #e2e8f0; font-size: 0.95rem; margin-bottom: 20px; }

/* Petit bouton blanc */
.btn-small-white {
    display: inline-block;
    padding: 8px 20px;
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    border-radius: 4px;
    font-weight: 600; font-size: 0.9rem;
}
.btn-small-white:hover { background: var(--white); color: var(--primary-color); }


/* --- 4. Markets Geography Flow --- */
.markets-section {
    background-color: var(--primary-color); /* Fond bleu foncé */
    padding-bottom: 100px;
}

.markets-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 1000px; margin: 50px auto 0;
}

.market-box {
    background: rgba(255, 255, 255, 0.05); /* Blanc très transparent */
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    flex: 1; /* Les boites prennent la même taille */
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.3s;
}
.market-box.main-hub { /* Le Maroc en avant */
    background: rgba(230, 126, 34, 0.1); /* Fond orange léger */
    border-color: var(--accent-color);
    transform: scale(1.1); /* Plus grand */
    z-index: 2;
}
.market-box h4 { color: var(--white); margin: 15px 0; font-size: 1.1rem; }
.market-box p { color: #94a3b8; font-size: 0.9rem; }

.market-icon { font-size: 2.5rem; color: #94a3b8; }
.market-icon.accent { color: var(--accent-color); }

.market-arrow { font-size: 2rem; color: var(--accent-color); opacity: 0.5; }


/* --- 5. CTA Simple --- */
.cta-section-plain {
    text-align: center; padding: 80px 10%; background: var(--white);
}
.cta-section-plain h2 { margin-bottom: 15px; font-size: 2rem; }
.cta-section-plain p { color: #64748b; margin-bottom: 30px; font-size: 1.1rem; }


/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .hero-video { height: 60vh; }
    .hero-content h1 { font-size: 2rem; }
    
    .markets-container { flex-direction: column; gap: 40px; }
    .market-arrow { transform: rotate(90deg); /* Flèches vers le bas sur mobile */ }
    .market-box.main-hub { transform: scale(1); } /* Maroc taille normale sur mobile */
}



/* =========================================
   FIX: BIO SECTION - IMAGE A GAUCHE, TEXTE A DROITE
   ========================================= */

.about-bio-section {
    padding: 80px 10%;
    display: flex;
    justify-content: center;
}

/* 1. La Carte Beige qui rassemble tout */
.bio-card {
    background-color: #f0e5de; /* La couleur Beige */
    border-radius: 20px;
    padding: 40px;
    display: flex; /* Hada howa li kaydirhom jenb hda jenb */
    align-items: center; /* Centrer verticalement */
    gap: 50px; /* L'espace bin l'image w texte */
    max-width: 1100px; /* Bach matjich 3rida bzaf */
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* 2. Style de l'Image (Gauche) */
.bio-image-side {
    flex: 0 0 350px; /* L'image 3ndha 3erd fix (350px) */
    position: relative;
}

.hicham-photo {
    width: 100%;
    border-radius: 15px;
    border: 8px solid #ffffff; /* Cadre byed dayr biha */
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    /* Optionnel : Bach tban kharja chwia mn cadre (Effet 3D) */
    transform: scale(1.05); 
}

/* 3. Style du Texte (Droite) */
.bio-text-side {
    flex: 1; /* Texte yakhod l-espace li b9a kaml */
}

.accent-subtitle {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 5px;
    display: block;
}

.bio-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 5px;
    line-height: 1.1;
}

.bio-role {
    font-size: 1.1rem;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 20px;
}

.bio-text-side p {
    margin-bottom: 15px;
    color: #475569;
    font-size: 1rem;
    line-height: 1.6;
}

/* Citation Sghira */
.quote-box-simple {
    margin-top: 20px;
    color: var(--primary-color);
    font-weight: 600;
    font-style: italic;
    display: flex;
    gap: 10px;
}
.quote-box-simple i { color: var(--accent-color); font-size: 1.2rem; }

/* RESPONSIVE (Mobile) */
@media (max-width: 992px) {
    .bio-card {
        flex-direction: column; /* Reja3hom wahed fo9 lakhor f mobile */
        text-align: center;
        padding: 30px 20px;
    }

    .bio-image-side {
        flex: none;
        width: 100%;
        max-width: 300px;
        margin-bottom: 30px;
    }

    .hicham-photo { transform: none; }
    .quote-box-simple { justify-content: center; }
}
