/* Complete CSS for SOHACEP Website */

:root {
    --navy-blue: #001f5a;
    --light-blue: #3a5da8;
    --red: #ce1126;
    --light-red: #e63946;
    --white: #ffffff;
    --light-gray: #f1f1f1;
    --gray: #aaaaaa;
    --dark-gray: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', Arial, sans-serif;
}

body {
    background-color: var(--white);
    color: var(--dark-gray);
    overflow-x: hidden;
}

/* =====  Header ===== */
.header {
    background: linear-gradient(135deg, var(--navy-blue), var(--light-blue));
    color: var(--white);
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
	background: linear-gradient(90deg, #003366, #990000);
}

.header.scrolled {
    padding: 0.5rem 2rem;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: contain;
    background-color: var(--white);
    padding: 3px;
    transition: all 0.3s ease;
}

.header.scrolled .logo {
    width: 60px;
    height: 60px;
	
}

.site-title {
    margin-left: 1rem;
    transition: all 0.3s ease;
}

.site-title h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.site-title .subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
}

.header.scrolled .site-title h1 {
    font-size: 1.2rem;
}

.header.scrolled .site-title .subtitle {
    font-size: 0.8rem;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 1.5rem;
    position: relative;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.nav-links a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--red);
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

.nav-links a:hover:after {
    width: 100%;
}

.language-toggle {
    display: flex;
    align-items: center;
    margin-left: 2rem;
    cursor: pointer;
}

.language-toggle span {
    margin: 0 0.3rem;
    font-size: 0.8rem;
    opacity: 0.8;
}

.language-toggle .active {
    opacity: 1;
    font-weight: 700;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 5px;
    transition: all 0.3s ease;
} 

/* ===== page Articles/publications ===== */
.page-header {
            background: linear-gradient(135deg, #001f5a, #3a5da8);
            color: white;
            padding: 80px 0 40px;
            text-align: center;
        }
        .page-header h1 {
            margin: 0;
            font-size: 2.5rem;
        }
        .breadcrumb {
            background: #f8f9fa;
            padding: 15px 0;
        }
        .breadcrumb a {
            color: #001f5a;
            text-decoration: none;
        }
        .breadcrumb a:hover {
            text-decoration: underline;
        }
        .articles-container {
            max-width: 1200px;
            margin: 40px auto;
            padding: 0 20px;
        }
        .filters {
            background: white;
            padding: 20px;
            border-radius: 10px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            margin-bottom: 30px;
        }
        .filters h3 {
            margin-top: 0;
            color: #001f5a;
        }
        .filter-buttons {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }
        .filter-btn {
            padding: 8px 20px;
            border: 2px solid #001f5a;
            background: white;
            color: #001f5a;
            border-radius: 25px;
            cursor: pointer;
            transition: all 0.3s;
            text-decoration: none;
            display: inline-block;
        }
        .filter-btn:hover, .filter-btn.active {
            background: #001f5a;
            color: white;
        }
        .articles-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 30px;
            margin-bottom: 40px;
        }
        .article-card {
            background: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 2px 15px rgba(0,0,0,0.1);
            transition: transform 0.3s, box-shadow 0.3s;
        }
        .article-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 25px rgba(0,0,0,0.2);
        }
        .article-image {
            width: 100%;
            height: 220px;
            object-fit: cover;
        }
        .article-image-placeholder {
            width: 100%;
            height: 220px;
            background: linear-gradient(135deg, #001f5a, #3a5da8);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 3rem;
        }
        .article-content {
            padding: 25px;
        }
        .article-meta {
            display: flex;
            gap: 15px;
            margin-bottom: 15px;
            font-size: 0.9rem;
            color: #666;
        }
        .article-meta i {
            margin-right: 5px;
        }
        .article-category {
            display: inline-block;
            background: #001f5a;
            color: white;
            padding: 5px 15px;
            border-radius: 20px;
            font-size: 0.85rem;
            margin-bottom: 15px;
        }
        .article-title {
            color: #001f5a;
            font-size: 1.4rem;
            margin: 15px 0;
            line-height: 1.4;
        }
        .article-excerpt {
            color: #555;
            line-height: 1.6;
            margin-bottom: 20px;
        }
        .read-more {
            color: #001f5a;
            font-weight: bold;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 5px;
        }
        .read-more:hover {
            gap: 10px;
        }
        .pagination {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin: 40px 0;
        }
        .pagination a, .pagination span {
            padding: 10px 15px;
            border: 2px solid #001f5a;
            border-radius: 5px;
            text-decoration: none;
            color: #001f5a;
            transition: all 0.3s;
        }
        .pagination a:hover {
            background: #001f5a;
            color: white;
        }
        .pagination .current {
            background: #001f5a;
            color: white;
        }
        .no-articles {
            text-align: center;
            padding: 60px 20px;
            background: white;
            border-radius: 10px;
        }
        .no-articles i {
            font-size: 4rem;
            color: #ccc;
            margin-bottom: 20px;
        }
        @media (max-width: 768px) {
            .articles-grid {
                grid-template-columns: 1fr;
            }
            .page-header h1 {
                font-size: 1.8rem;
            }
        }

/* ===== Hero Section ===== */
.hero {
    height: 100vh;
    background-color: var(--light-gray);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
    margin-top: 80px;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--navy-blue);
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.hero h2:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: var(--red);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: var(--dark-gray);
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.cta-btn {
    padding: 0.8rem 2rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
    letter-spacing: 1px;
}

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

.primary-btn:hover {
    background-color: var(--light-blue);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 31, 90, 0.3);
}

.secondary-btn {
    background-color: transparent;
    color: var(--navy-blue);
    border: 2px solid var(--navy-blue);
}

.secondary-btn:hover {
    background-color: var(--light-gray);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* ===== Fingerprint Background Animation ===== */
.fingerprint-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    z-index: 0;
    overflow: hidden;
}

.fingerprint {
    position: absolute;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M50,95c-24.85,0-45-20.15-45-45S25.15,5,50,5s45,20.15,45,45S74.85,95,50,95z M50,7C26.26,7,7,26.26,7,50s19.26,43,43,43 s43-19.26,43-43S73.74,7,50,7z"/><path d="M50,85c-19.33,0-35-15.67-35-35s15.67-35,35-35s35,15.67,35,35S69.33,85,50,85z M50,17c-18.2,0-33,14.8-33,33 s14.8,33,33,33s33-14.8,33-33S68.2,17,50,17z"/><path d="M50,75c-13.81,0-25-11.19-25-25s11.19-25,25-25s25,11.19,25,25S63.81,75,50,75z M50,27c-12.68,0-23,10.32-23,23 s10.32,23,23,23s23-10.32,23-23S62.68,27,50,27z"/><path d="M50,65c-8.27,0-15-6.73-15-15s6.73-15,15-15s15,6.73,15,15S58.27,65,50,65z M50,37c-7.17,0-13,5.83-13,13s5.83,13,13,13 s13-5.83,13-13S57.17,37,50,37z"/><path d="M50,55c-2.76,0-5-2.24-5-5s2.24-5,5-5s5,2.24,5,5S52.76,55,50,55z M50,47c-1.65,0-3,1.35-3,3s1.35,3,3,3s3-1.35,3-3 S51.65,47,50,47z"/></svg>');
    width: 150px;
    height: 150px;
    background-size: contain;
    animation: float 15s infinite linear;
}

@keyframes float {
    0% {
        transform: translateY(100vh) translateX(random(100vw)) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-150px) translateX(random(100vw)) rotate(360deg);
        opacity: 0;
    }
}

/* ===== Magnifying Glass Animation ===== */
.magnifying-glass {
    position: absolute;
    top: 60%;
    right: 10%;
    width: 200px;
    height: 200px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border: 5px solid var(--navy-blue);
    transform: rotate(-30deg);
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    animation: magnify 8s infinite ease-in-out;
}

.magnifying-glass:before {
    content: '';
    position: absolute;
    width: 40px;
    height: 150px;
    background-color: var(--navy-blue);
    right: -20px;
    bottom: -30px;
    transform: rotate(30deg);
}

.magnifying-glass:after {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 50%);
}

@keyframes magnify {
    0%, 100% {
        transform: rotate(-30deg) scale(1);
    }
    50% {
        transform: rotate(-25deg) scale(1.05);
    }
}

/* ===== Scales of Justice Animation ===== */
.scales {
    position: absolute;
    bottom: 25%;
    left: 5%;
    width: 150px;
    height: 150px;
    animation: balance 6s infinite ease-in-out;
}

.scales-base {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 100px;
    background-color: var(--dark-gray);
}

.scales-top {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 5px;
    background-color: var(--dark-gray);
}

.scale-left, .scale-right {
    position: absolute;
    width: 50px;
    height: 5px;
    background-color: var(--dark-gray);
    top: 30px;
}

.scale-left {
    left: 10px;
    transform-origin: right top;
    animation: scaleLeft 6s infinite ease-in-out;
}

.scale-right {
    right: 10px;
    transform-origin: left top;
    animation: scaleRight 6s infinite ease-in-out;
}

.pan-left, .pan-right {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid var(--dark-gray);
}

.pan-left {
    left: -15px;
    top: 3px;
    animation: panLeft 6s infinite ease-in-out;
}

.pan-right {
    right: -15px;
    top: 3px;
    animation: panRight 6s infinite ease-in-out;
}

@keyframes scaleLeft {
    0%, 100% {
        transform: rotate(-15deg);
    }
    50% {
        transform: rotate(5deg);
    }
}

@keyframes scaleRight {
    0%, 100% {
        transform: rotate(15deg);
    }
    50% {
        transform: rotate(-5deg);
    }
}

@keyframes panLeft {
    0%, 100% {
        transform: translateY(15px);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes panRight {
    0%, 100% {
        transform: translateY(-5px);
    }
    50% {
        transform: translateY(15px);
    }
}

@keyframes balance {
    0%, 100% {
        transform: rotate(-5deg);
    }
    50% {
        transform: rotate(5deg);
    }
}

/* ===== Haiti Map Outline ===== */
.haiti-map {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    height: 70%;
    opacity: 0.03;
    z-index: 0;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M489.66,250.38c0,0-25.33,22.01-36.68,19.33c-11.35-2.67-22.69-6.67-31.35-4c-8.66,2.67-18.66,4-21.34,4 s-14.01-0.67-14.01-0.67s-9.33-8-17.33-9.33c-8-1.33-18.67-1.33-23.34,2c-4.67,3.33-6,10-13.34,11.33 c-7.33,1.33-21.33,1.33-22.67,6.67c-1.33,5.33,4,7.33,4,10.67c0,3.33-2.67,6-0.67,10.67c2,4.67,6.67,7.33,8,13.33 c1.33,6-4.67,12.67-2.67,18c2,5.33,6.67,8.67,5.33,15.33c-1.33,6.67-6.67,11.33-9.33,16c-2.67,4.67-5.33,10-5.33,10 s-5.33,9.33-10,12c-4.67,2.67-13.33,4.67-13.33,4.67s-50.01-29.34-56.68-35.34c-6.67-6-14.67-14-18-18.67 c-3.33-4.67-12-10.67-16.67-10.67c-4.67,0-12.67,11.33-20,11.33c-7.33,0-16-18-16-18s-6.67-10.67-8-17.33 c-1.33-6.67-4-42.67-4-42.67s4-18,5.33-23.33c1.33-5.33,5.33-16.67,4.67-22c-0.67-5.33-4-5.33-4-10.67c0-5.33,8-14,8-14 s7.33-2,11.33-5.33c4-3.33,11.33-12.67,15.33-15.33c4-2.67,12-4,16.67-8c4.67-4,8.67-9.33,8.67-9.33s20-6,25.33-10.67 c5.33-4.67,23.33-16,28-16s13.33,9.33,18.67,9.33c5.33,0,10.67-3.33,10.67-3.33s9.33,6,14,5.33c4.67-0.67,12.67-7.33,12.67-7.33 s8-1.33,13.33-0.67c5.33,0.67,23.33,10.67,23.33,10.67s10.67,5.33,13.33,0.67c2.67-4.67,2-10,7.33-15.33 c5.33-5.33,16.67-10,16.67-10s10.67,2,16-0.67c5.33-2.67,10.67-6.67,16-5.33c5.33,1.33,7.33,8.67,8.67,13.33 c1.33,4.67-3.33,9.33,0,14.67c3.33,5.33,11.33,4.67,14.67,10c3.33,5.33,9.33,15.33,13.33,20c4,4.67,14,8.67,17.33,14 c3.33,5.33,6,12.67,9.33,18c3.33,5.33,12,7.33,13.33,14c1.33,6.67-1.33,12.67,0,17.33C489.66,237.04,489.66,250.38,489.66,250.38z"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    z-index: 0;
}

/* ===== Main Sections ===== */
.main-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.section-title {
    font-size: 2rem;
    color: var(--navy-blue);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background-color: var(--red);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* ===== About Section ===== */
.about {
    background-color: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.about-image {
    position: relative;
    height: 400px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid var(--navy-blue);
    border-radius: 10px;
    top: 15px;
    left: 15px;
    z-index: -1;
}

/* ===== Services Section ===== */
.services {
    background-color: var(--light-gray);
    padding: 4rem 2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 2rem auto;
    background-color: var(--navy-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
}

.service-card h3 {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--navy-blue);
    padding: 0 1.5rem;
}

.service-card p {
    padding: 0 1.5rem 2rem;
    text-align: center;
    line-height: 1.6;
}

.service-card:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--red), var(--navy-blue));
    top: 0;
    left: 0;
}

/* ===== Statistics Section ===== */
.statistics {
    background-color: var(--navy-blue);
    color: var(--white);
    padding: 4rem 2rem;
}

.statistics .section-title {
    color: var(--white);
}

.statistics .section-title:after {
    background-color: var(--red);
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-title {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ===== Team Section ===== */
.team {
    background-color: var(--light-gray);
    padding: 4rem 2rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-member {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.team-photo {
    height: 250px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-member:hover .team-photo img {
    transform: scale(1.1);
}

.team-info {
    padding: 1.5rem;
    text-align: center;
}

.team-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy-blue);
    margin-bottom: 0.5rem;
}

.team-role {
    font-size: 0.9rem;
    color: var(--red);
    margin-bottom: 1rem;
    font-weight: 600;
}

.team-bio {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.team-social-link {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy-blue);
    text-decoration: none;
    transition: all 0.3s ease;
}

.team-social-link:hover {
    background-color: var(--navy-blue);
    color: var(--white);
    transform: translateY(-3px);
}



/* ===== Testimonials ===== */
.testimonials {
    padding: 4rem 2rem;
    background-color: var(--white);
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.testimonial-slide {
    text-align: center;
    padding: 2rem;
    background-color: var(--light-gray);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-quote {
    font-style: italic;
}

/*  ################################################################ */



/* ===== News Section (Actualités) ===== */
.news {
    background-color: var(--light-gray);
    padding: 4rem 2rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.news-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.news-image {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.news-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-date {
    font-size: 0.8rem;
    color: var(--gray);
    margin-bottom: 0.5rem;
}

.news-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--navy-blue);
    transition: all 0.3s ease;
    line-height: 1.4;
}

.news-card:hover .news-title {
    color: var(--red);
}

.news-excerpt {
    line-height: 1.5;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.news-link {
    display: inline-block;
    color: var(--navy-blue);
    font-weight: 600;
    text-decoration: none;
    position: relative;
    align-self: flex-start;
    margin-top: auto;
}

.news-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--red);
    bottom: -2px;
    left: 0;
    transition: width 0.3s ease;
}

.news-link:hover:after {
    width: 100%;
}

.news-cta {
    text-align: center;
    margin-top: 3rem;
}

/* ===== Contact Section (Contactez-Nous) ===== */
.contact {
    padding: 4rem 2rem;
    background-color: var(--white);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.contact-form {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--navy-blue);
}

.form-control {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--gray);
    border-radius: 5px;
    transition: all 0.3s ease;
    background-color: var(--white);
}

.form-control:focus {
    outline: none;
    border-color: var(--navy-blue);
    box-shadow: 0 0 0 2px rgba(0, 31, 90, 0.2);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background-color: var(--navy-blue);
    color: var(--white);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.submit-btn:hover {
    background-color: var(--light-blue);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 31, 90, 0.3);
}

.contact-info {
    padding: 1rem;
}

.contact-info h3 {
    margin-bottom: 1.5rem;
    color: var(--navy-blue);
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.contact-info h3:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background-color: var(--red);
    bottom: 0;
    left: 0;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.contact-icon {
    min-width: 30px;
    margin-right: 1rem;
    color: var(--navy-blue);
    font-size: 1.2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--navy-blue);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.social-link:hover {
    background-color: var(--red);
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.map {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.map:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* ===== Footer ===== */
.footer {
    background-color: var(--navy-blue);
    color: var(--white);
    padding: 3rem 2rem 1rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-about {
    max-width: 350px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--white);
    padding: 3px;
    margin-right: 1rem;
    object-fit: contain;
}

.footer-logo h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-about p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    opacity: 0.8;
    font-size: 0.9rem;
}

.footer-links h4, .footer-contact h4, .footer-newsletter h4 {
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
    font-size: 1.2rem;
}

.footer-links h4:after, .footer-contact h4:after, .footer-newsletter h4:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background-color: var(--red);
    bottom: 0;
    left: 0;
}

.footer-link-list {
    list-style: none;
}

.footer-link-list li {
    margin-bottom: 0.8rem;
}

.footer-link-list a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-link-list a:hover {
    opacity: 1;
    color: var(--light-blue);
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.footer-contact-icon {
    margin-right: 1rem;
    opacity: 0.8;
}

.footer-newsletter p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    opacity: 0.8;
    font-size: 0.9rem;
}

.newsletter-form {
    display: flex;
}

.newsletter-input {
    flex-grow: 1;
    padding: 0.8rem;
    border: none;
    border-radius: 5px 0 0 5px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: all 0.3s ease;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-input:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.2);
}

.newsletter-btn {
    background-color: var(--red);
    color: var(--white);
    border: none;
    padding: 0 1rem;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    background-color: var(--light-red);
}

.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Responsive adjustments for these sections */
/* ========== BREAKPOINT 991 px (tablette) ========== */
@media (max-width: 991px) {

  /* ----- NAVBAR ----- */
  .burger          { display: block; }      /* icône visible       */
  .nav-links       {                       /* menu hors écran     */
      position: absolute;
      top: 100%;
      right: 0;
      background: var(--navy-blue);
      flex-direction: column;
      width: 220px;
      transform: translateX(110%);
      transition: transform .3s ease;
  }
  .nav-links li    { margin: .5rem 0; }
  .nav-links a     { padding: .8rem 1.2rem; }

  /* classe ajoutée en JS quand on clique sur le burger */
  .nav-links.open  { transform: translateX(0); }

  /* ----- GRILLES 2 COLONNES → 1 COLONNE ----- */
  .about-content,
  .contact-container {
      grid-template-columns: 1fr;          /* empile */
  }

  /* Ajuste le hero pour laisser respirer */
  .hero {
      height: auto;
      padding: 7rem 2rem 4rem;             /* dégage le header fixe */
  }
}

/* ========== BREAKPOINT 768 px (mobile) ========== */
@media (max-width: 768px) {

  /* cache les gros ornements pour éviter le chevauchement */
  .fingerprint-container,
  .magnifying-glass,
  .scales { display: none; }

  /* Hero */
  .hero h2 { font-size: 1.8rem; }
  .hero p  { font-size: 1rem;   }

  /* Services / News grilles : 1 carte par ligne */
  .services-grid,
  .news-grid,
  .publications-grid,
  .team-grid,
  .stats-container {
      grid-template-columns: 1fr;
  }

  /* Images responsive */
  img { max-width: 100%; height: auto; }
}

/* ========== BREAKPOINT 576 px (très petit mobile) ========== */
@media (max-width: 576px) {
  .site-title h1      { font-size: 1.2rem; }
  .site-title .subtitle { font-size: 0.7rem; }
}
