/* Variables */
:root {
    --primary-color: #FF6B00;
    --secondary-color: #2C3E50;
    --accent-color: #3498DB;
    --text-color: #333333;
    --light-gray: #F5F5F5;
    --white: #FFFFFF;
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

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

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.3s ease-in-out;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar.navbar-scrolled {
    background: rgba(145, 144, 144, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(30px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.navbar-brand {
    padding: 0;
    margin-right: 1rem;
}

.navbar-logo {
    height: 60px;
    width: auto;
    transition: var(--transition);
}

.navbar-toggler {
    display: none;
    border: none;
    padding: 0.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: none;
    background: rgba(255, 102, 0, 0.1);
}

.navbar-collapse {
    display: flex;
    align-items: center;
}

.navbar-nav {
    margin-left: auto;
    display: flex;
    gap: 1rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

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

@media (max-width: 991.98px) {
    .navbar-logo {
        height: 50px;
    }
    
    .navbar-collapse {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-radius: 10px;
        padding: 1rem;
        margin: 0.5rem 1rem;
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    }
    
    .navbar-collapse.show {
        display: block;
    }
    
    .navbar-nav {
        flex-direction: column;
        margin: 0;
        padding: 0.5rem 0;
    }
    
    .nav-link {
        display: block;
        padding: 0.75rem 1rem;
        border-radius: 5px;
    }
    
    .nav-link:hover {
        background: rgba(255, 102, 0, 0.1);
        transform: translateX(5px);
    }
    
    .navbar-toggler {
        display: block;
        border: none;
        padding: 0.5rem;
        border-radius: 5px;
        transition: all 0.3s ease;
    }
    
    .navbar-toggler:focus {
        box-shadow: none;
        background: rgba(255, 102, 0, 0.1);
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-content {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    z-index: 2;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-content .btn {
    font-size: 1.2rem;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    background: var(--primary-color);
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-content .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: var(--secondary-color);
}

/* Ajustement responsive pour le hero */
@media (max-width: 991.98px) {
    .hero-content {
        bottom: 20px;
    }
    
    .hero-content .btn {
        font-size: 1.1rem;
        padding: 0.9rem 2.2rem;
    }
}

@media (max-width: 767.98px) {
    .hero-content {
        bottom: 30px;
    }
    
    .hero-content .btn {
        font-size: 1rem;
        padding: 0.8rem 2rem;
    }
}

@media (max-width: 575.98px) {
    .hero-content {
        bottom: 20px;
    }
    
    .hero-content .btn {
        font-size: 0.9rem;
        padding: 0.7rem 1.8rem;
    }
}

@media (max-width: 375px) {
    .hero-content {
        bottom: 20px;
    }
    
    .hero-content .btn {
        font-size: 0.9rem;
        padding: 0.7rem 1.8rem;
    }
}

/* Sections */
.section-padding {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}


/* Cards */
.activity-card, .product-card, .project-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    height: 100%;
    text-align: center;
}

.activity-card:hover, .product-card:hover, .project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.activity-card i, .product-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.form-control {
    border: 1px solid #ddd;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border-radius: 5px;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 0, 0.25);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.8rem 2rem;
    font-weight: 500;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: darken(var(--primary-color), 10%);
    border-color: darken(var(--primary-color), 10%);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background-color: var(--white);
    color: var(--text-color);
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--light-gray);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-color);
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo img {
    max-width: 150px;
    margin-bottom: 1rem;
}

.footer-about {
    margin-bottom: 2rem;
}

.footer-about p {
    margin-bottom: 1rem;
    opacity: 0.8;
    color: var(--text-color);
}

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

.footer-contact h4 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-contact ul {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: flex-start;
    color: var(--text-color);
}

.footer-contact i {
    color: var(--primary-color);
    margin-right: 10px;
    margin-top: 5px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

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

.footer-links a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
    opacity: 0.8;
    display: inline-block;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    opacity: 1;
}

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

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

.social-links a {
    color: var(--text-color);
    font-size: 1.5rem;
    transition: var(--transition);
    opacity: 0.8;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--light-gray);
}

.social-links a:hover {
    color: var(--white);
    opacity: 1;
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding: 1rem 0;
    position: relative;
    z-index: 1;
}

.developer-credit {
    position: relative;
    display: inline-block;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    animation: pulse 2s infinite;
    margin: 1rem auto;
    z-index: 2;
    text-align: center;
}

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

.developer-credit:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.developer-info {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    min-width: 220px;
    z-index: 1000;
    margin-bottom: 1rem;
    animation: bounceIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.developer-info p {
    margin: 0.8rem 0;
    font-size: 1rem;
    color: var(--text-color);
    opacity: 0;
    animation: fadeInUp 0.4s ease forwards;
}

.developer-info p:nth-child(1) {
    animation-delay: 0.2s;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.developer-info p:nth-child(2) {
    animation-delay: 0.3s;
}

.developer-info p:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: translate(-50%, 20px) scale(0.3);
    }
    50% {
        opacity: 0.9;
        transform: translate(-50%, -10px) scale(1.1);
    }
    80% {
        opacity: 1;
        transform: translate(-50%, 5px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, 0) scale(1);
    }
}

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

.developer-credit:hover .developer-info {
    display: block;
}

@media (max-width: 768px) {
    .developer-info {
        left: 50%;
        transform: translateX(-50%);
        margin-bottom: 1.5rem;
        min-width: 200px;
    }
    
    .developer-credit {
        animation: none;
        margin: 1.5rem auto;
    }
}

/* Animations */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* Map Container */
.map-container {
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 2rem;
}

/* Contact Info */
.contact-info {
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-info i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* Partners Section - Improved */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.partner-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.partner-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.partner-item p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .partner-item {
        padding: 1.5rem;
    }
    
    .partner-item i {
        font-size: 2rem;
    }
}

.partner-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.partner-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.partner-item:hover::before {
    transform: scaleX(1);
}

.partner-item h3 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.partner-item h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    transition: width 0.4s ease;
}

.partner-item:hover h3::after {
    width: 100px;
}

.partner-item p {
    margin: 0;
    font-weight: 500;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.partner-item:hover p {
    color: var(--primary-color);
}

.region-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.region-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.client-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.client-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--light-gray);
    font-size: 0.9rem;
}

.client-list li:last-child {
    border-bottom: none;
}

.country-section {
    margin-top: 1.5rem;
}

.country-section h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}



.partner-category h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.partner-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.partner-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--light-gray);
    font-size: 0.9rem;
}

.partner-list li:last-child {
    border-bottom: none;
}

@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: 1fr;
    }
    
    .region-card {
        margin-bottom: 1.5rem;
    }
    
    .partner-category {
        margin-bottom: 1rem;
    }
}

/* Market Stats */
.market-stats {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stat-card {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    background: var(--light-gray);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

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

.stat-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    opacity: 0;
    transform: scale(0.5);
    animation: fadeInScale 0.5s ease forwards;
}

.stat-card h4 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards 0.2s;
}

.stat-card p {
    font-size: 1rem;
    color: var(--text-color);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards 0.4s;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    animation: expandWidth 1s ease forwards 0.6s;
}

@keyframes fadeInScale {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes expandWidth {
    to {
        transform: scaleX(1);
    }
}

/* Leadership Section */
.leader-profile {
    text-align: center;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 2.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

.leader-profile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.leader-profile:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.leader-image {
    position: relative;
    margin-bottom: 2rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    aspect-ratio: 1/1;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.leader-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.leader-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.7));
    opacity: 0;
    transition: var(--transition);
}

.leader-profile:hover .leader-image img {
    transform: scale(1.05);
}

.leader-profile:hover .leader-image::after {
    opacity: 1;
}

.leader-profile h4 {
    color: var(--secondary-color);
    font-size: 1.6rem;
    margin: 1.5rem 0;
    position: relative;
    display: inline-block;
    font-weight: 700;
}

.leader-profile h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.leader-profile p {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    position: relative;
    padding: 0 1rem;
}

.leader-profile ul {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    text-align: left;
    position: relative;
}

.leader-profile ul::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: var(--light-gray);
}

.leader-profile ul li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--text-color);
    transition: var(--transition);
}

.leader-profile ul li:hover {
    transform: translateX(5px);
    color: var(--primary-color);
}

.leader-profile ul li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    line-height: 1;
}

/* Navigation Buttons - Improved */
.nav-buttons {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 30px;
    display: flex;
    gap: 10px;
    z-index: 9999;
    pointer-events: auto;
}

.nav-button {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--primary-color);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    opacity: 1;
    visibility: visible;
}

.nav-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.nav-button:hover::before {
    opacity: 1;
}

.nav-button i {
    position: relative;
    z-index: 1;
    font-size: 14px;
    color: var(--primary-color);
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
}

.nav-button:hover i {
    color: var(--white);
    animation: none;
    transform: scale(1.2);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-3px);
    }
    60% {
        transform: translateY(-2px);
    }
}

@media (max-width: 575.98px) {
    .nav-buttons {
        bottom: 20px;
        gap: 8px;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .nav-button {
        width: 30px;
        height: 30px;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .nav-button i {
        font-size: 12px;
    }
}





#about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><polygon fill="%23FF6B00" points="0,100 100,0 100,100" opacity="0.05"/></svg>');
    background-size: cover;
    z-index: 0;
}

#about .container {
    position: relative;
    z-index: 1;
}

#about .section-title {
    position: relative;
    margin-bottom: 4rem;
    text-align: center;
}

#about .section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

#about h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

#about h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

#about p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 2rem;
    position: relative;
    padding-left: 1.5rem;
}

#about p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
}

/* Company Info Styles */
.company-info {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.company-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

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

.leader-image {
    position: relative;
    margin-bottom: 2rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.leader-image img {
    width: 100%;
    height: auto;
    transition: var(--transition);
}

.leader-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.7));
    opacity: 0;
    transition: var(--transition);
}

.leader-profile:hover .leader-image img {
    transform: scale(1.05);
}

.leader-profile:hover .leader-image::after {
    opacity: 1;
}

.leader-profile h4 {
    color: var(--secondary-color);
    font-size: 1.4rem;
    margin: 1.5rem 0;
    position: relative;
    display: inline-block;
}

.leader-profile h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.leader-profile ul {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    text-align: left;
}

.leader-profile ul li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--text-color);
}

.leader-profile ul li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    line-height: 1;
}

@media (max-width: 991.98px) {
    #about .col-lg-6:first-child {
        margin-bottom: 3rem;
    }
    
    .company-info {
        padding: 2rem;
    }
    
    .leader-profile ul li {
        font-size: 1rem;
    }
}

/* News Slider */
.news-slider {
    position: relative;
    width: 100%;
    height: 700px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.news-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
    display: flex;
    flex-direction: column;
}

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

.news-image {
    width: 100%;
    height: 70%;
    overflow: hidden;
    position: relative;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
    background-color: var(--light-gray);
}

.news-slide:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    background: var(--white);
    padding: 2rem;
    height: 30%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.news-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.news-content h3 {
    color: var(--secondary-color);
    font-size: 1.6rem;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

.news-content p {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 0;
    opacity: 0.9;
}

.news-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.news-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid var(--white);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.news-dot.active {
    background: var(--white);
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.news-dot:hover {
    background: var(--primary-color);
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255, 107, 0, 0.5);
}

.news-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border: 2px solid var(--white);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.news-arrow:hover {
    background: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 20px rgba(255, 107, 0, 0.5);
}

.news-arrow.prev {
    left: 20px;
}

.news-arrow.next {
    right: 20px;
}

.news-arrow i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.news-arrow:hover i {
    transform: scale(1.2);
}

@media (max-width: 991.98px) {
    .news-arrow {
        width: 35px;
        height: 35px;
    }
    
    .news-arrow.prev {
        left: 15px;
    }
    
    .news-arrow.next {
        right: 15px;
    }
}

@media (max-width: 767.98px) {
    .news-arrow {
        width: 30px;
        height: 30px;
    }
    
    .news-arrow.prev {
        left: 10px;
    }
    
    .news-arrow.next {
        right: 10px;
    }
    
    .news-dot {
        width: 10px;
        height: 10px;
    }
}

/* Products Section */
.products-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
    position: relative;
    overflow: hidden;
}

.products-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><polygon fill="%23FF6B00" points="0,100 100,0 100,100" opacity="0.05"/></svg>');
    background-size: cover;
    z-index: 0;
}

.products-section .container {
    position: relative;
    z-index: 1;
}

.products-section .section-title {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.products-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    margin-bottom: 2rem;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

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

.product-image {
    position: relative;
    overflow: hidden;
    padding-top: 75%;
    background: var(--light-gray);
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: var(--white);
}

.product-content h3 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

.product-content p {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    flex-grow: 1;
}

.product-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.product-features li {
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: 0.8rem;
    color: var(--text-color);
    font-size: 0.95rem;
}

.product-features li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    line-height: 1;
}

.product-link {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

.product-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.product-link:hover::before {
    opacity: 1;
}

.product-link span {
    position: relative;
    z-index: 1;
}

@media (max-width: 991.98px) {
    .products-section {
        padding: 4rem 0;
    }
    
    .product-content h3 {
        font-size: 1.3rem;
    }
    
    .product-content p {
        font-size: 0.95rem;
    }
}

@media (max-width: 767.98px) {
    .products-section {
        padding: 3rem 0;
    }
    
    .product-card {
        margin-bottom: 1.5rem;
    }
    
    .product-content {
        padding: 1.5rem;
    }
    
    .product-content h3 {
        font-size: 1.2rem;
    }
    
    .product-features li {
        font-size: 0.9rem;
    }
}

/* Section Hover Effects - Global */
.section-padding, .section {
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.section-padding::before, .section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.section-padding:hover::before, .section:hover::before {
    transform: scaleX(1);
}

/* Activity Cards - Improved */
.activity-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    margin-bottom: 2rem;
    padding: 2rem;
    text-align: center;
}

.activity-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.activity-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

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

.activity-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: transform 0.4s ease;
}

.activity-card:hover i {
    transform: scale(1.2);
}

.activity-card h3 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

.activity-card p {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
    opacity: 0.9;
}

/* Project Cards - Improved */
.project-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    margin-bottom: 2rem;
    padding: 2.5rem;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

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

.project-card h3 {
    color: var(--secondary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
    position: relative;
    padding-bottom: 0.8rem;
}

.project-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    transition: width 0.4s ease;
}

.project-card:hover h3::after {
    width: 100px;
}

.project-card p {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.project-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.project-list li {
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.project-list li:hover {
    transform: translateX(10px);
    color: var(--primary-color);
}

.project-list li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

.project-list li:hover::before {
    transform: scale(1.5);
}

/* Market Stats - Improved */
.market-stats {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    padding: 2.5rem;
    margin-top: 3rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.market-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.market-stats:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.market-stats:hover::before {
    transform: scaleX(1);
}

.market-stats h3 {
    color: var(--secondary-color);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.market-stats h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    transition: width 0.5s ease;
}

.market-stats:hover h3::after {
    width: 120px;
}

.stat-card {
    background: var(--light-gray);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

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

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

.stat-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: transform 0.5s ease;
}

.stat-card:hover i {
    transform: scale(1.2) rotate(5deg);
}

.stat-card h4 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    transition: color 0.4s ease;
}

.stat-card:hover h4 {
    color: var(--primary-color);
}

.stat-card p {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 0;
    opacity: 0.9;
}

/* Contact Options */
.contact-options {
    margin-bottom: 2rem;
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
    border: none;
    color: white;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.whatsapp-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
    background: linear-gradient(135deg, #128C7E, #25D366);
    color: white;
}

.whatsapp-btn i {
    font-size: 1.3rem;
    animation: whatsapp-pulse 2s infinite;
}

@keyframes whatsapp-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Contact Form - Improved */
.contact-form {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.contact-form:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.contact-form:hover::before {
    transform: scaleX(1);
}

.form-control {
    border: 1px solid var(--light-gray);
    border-radius: 10px;
    padding: 0.8rem 1.2rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 0, 0.25);
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 30px;
    padding: 0.8rem 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary span {
    position: relative;
    z-index: 1;
}

/* Company Info - Improved */
.company-info {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    padding: 2.5rem;
    height: 100%;
}

.company-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.company-info:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.company-info:hover::before {
    transform: scaleX(1);
}

/* Hero Section - Improved */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-content {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    z-index: 2;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-content .btn {
    font-size: 1.2rem;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    background: var(--primary-color);
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-content .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: var(--secondary-color);
}

/* Ajustement responsive pour le hero */
@media (max-width: 991.98px) {
    .hero-content {
        bottom: 20px;
    }
    
    .hero-content .btn {
        font-size: 1.1rem;
        padding: 0.9rem 2.2rem;
    }
}

@media (max-width: 767.98px) {
    .hero-content {
        bottom: 30px;
    }
    
    .hero-content .btn {
        font-size: 1rem;
        padding: 0.8rem 2rem;
    }
}

@media (max-width: 575.98px) {
    .hero-content {
        bottom: 20px;
    }
    
    .hero-content .btn {
        font-size: 0.9rem;
        padding: 0.7rem 1.8rem;
    }
}

@media (max-width: 375px) {
    .hero-content {
        bottom: 20px;
    }
    
    .hero-content .btn {
        font-size: 0.9rem;
        padding: 0.7rem 1.8rem;
    }
}

/* Section Separator - Remove */
.section-separator {
    display: none;
}

/* Projects Slider - Improved */
.projects-slider {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.projects-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(0.95);
    z-index: 0;
}

.projects-slide.active {
    opacity: 1;
    z-index: 1;
    transform: scale(1);
}

.projects-image {
    width: 100%;
    height: 75%;
    overflow: hidden;
    position: relative;
}

.projects-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6));
    z-index: 1;
    transition: all 0.5s ease;
}

.projects-slide:hover .projects-image::before {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.5));
}

.projects-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.projects-slide:hover .projects-image img {
    transform: scale(1.05);
}

.projects-content {
    height: 25%;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 0 0 20px 20px;
    position: relative;
    z-index: 2;
}

.projects-content h3 {
    color: var(--secondary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

.projects-content p {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 0;
    opacity: 0.9;
}

/* Ajustements responsifs */
@media (max-width: 991.98px) {
    .projects-slider {
        height: 300px;
    }
}

@media (max-width: 767.98px) {
    .projects-slider {
        height: 250px;
    }
    
    .projects-content {
        padding: 1rem;
    }
    
    .projects-content h3 {
        font-size: 1.4rem;
    }
    
    .projects-content p {
        font-size: 0.9rem;
    }
}

/* Map Section */
#map-section {
    position: relative;
    overflow: hidden;
    }

#map-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><polygon fill="%23FF6B00" points="0,100 100,0 100,100" opacity="0.05"/></svg>');
    background-size: cover;
    z-index: 0;
}

#map-section .container {
    position: relative;
    z-index: 1;
}

.map-container {
    position: relative;
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.map-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15) !important;
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 450px;
    border: none;
}

#map-section .btn-primary {
    padding: 0.8rem 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

#map-section .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

#map-section .btn-primary i {
    transition: transform 0.3s ease;
}

#map-section .btn-primary:hover i {
    transform: scale(1.2);
}

@media (max-width: 991.98px) {
    .map-container iframe {
        height: 400px;
    }
}

@media (max-width: 767.98px) {
    .map-container iframe {
        height: 350px;
    }
    
    #map-section .btn-primary {
        padding: 0.7rem 1.8rem;
    }
}

/* Particles Container */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}


/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .particles-container {
        opacity: 0.95;
    }
}

@media (max-width: 767.98px) {
    .particles-container {
        opacity: 0.9;
    }
}

@media (max-width: 575.98px) {
    .particles-container {
        opacity: 0.85;
    }
}

/* Section Content Positioning */
.hero-section .hero-content,
.section-padding .container,
.section .container {
    position: relative;
    z-index: 2;
}


/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .particles-container {
        opacity: 0.7;
    }
}

@media (max-width: 767.98px) {
    .particles-container {
        opacity: 0.5;
    }
}

/* Ajustement du z-index pour les sections avec particules */
.section-padding {
    position: relative;
    z-index: 1;
}

.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Ajustement spécifique pour la section projets */
#projets .project-card {
    position: relative;
    z-index: 2;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

#projets .project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

#projets .project-list {
    position: relative;
    z-index: 2;
    padding-left: 20px;
}

#projets .project-list li {
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}

#projets .market-stats {
    position: relative;
    z-index: 2;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 25px;
    margin-top: 30px;
}

#projets .stat-card {
    position: relative;
    z-index: 2;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

/* Newsletter Section - Improved */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pattern.png');
    opacity: 0.1;
    animation: slideBackground 20s linear infinite;
}

.newsletter-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.newsletter-content h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.newsletter-content p {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.newsletter-form input {
    flex: 1;
    padding: 1.2rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    font-size: 1rem;
    transition: var(--transition);
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    color: var(--white);
}

.newsletter-form input:focus::placeholder {
    color: rgba(255, 255, 255, 0.9);
}

.newsletter-form button {
    padding: 1.2rem 2rem;
    background: var(--white);
    color: var(--primary-color);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: var(--white);
    color: var(--secondary-color);
}

/* Responsive adjustments for newsletter */
@media (max-width: 991.98px) {
    .newsletter-section {
        padding: 3rem 0;
    }

    .newsletter-content {
        padding: 1.5rem;
        margin: 0 1rem;
    }

    .newsletter-content h2 {
        font-size: 2rem;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 1rem;
    }

    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }

    .newsletter-form input {
        background: rgba(255, 255, 255, 0.2);
    }
}

@media (max-width: 767.98px) {
    .newsletter-section {
        padding: 2.5rem 0;
    }

    .newsletter-content {
        padding: 1.5rem;
    }

    .newsletter-content h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .newsletter-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .newsletter-form input {
        padding: 1rem 1.2rem;
    }

    .newsletter-form button {
        padding: 1rem 1.5rem;
    }

    .newsletter-form input {
        background: rgba(255, 255, 255, 0.25);
    }
}

@media (max-width: 575.98px) {
    .newsletter-section {
        padding: 2rem 0;
    }

    .newsletter-content {
        padding: 1.2rem;
    }

    .newsletter-content h2 {
        font-size: 1.5rem;
    }

    .newsletter-content p {
        font-size: 0.9rem;
    }

    .newsletter-form input {
        background: rgba(255, 255, 255, 0.3);
    }
}

/* Responsive Design - Improved */
@media (max-width: 991.98px) {
    /* Sections générales */
    section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

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

    /* Conteneurs */
    .container {
        padding: 0 15px;
    }

    /* Grilles */
    .grid {
        gap: 1.5rem;
    }

    /* Cartes et éléments */
    .card {
        padding: 1.5rem;
    }

    .card-title {
        font-size: 1.3rem;
    }

    .card-text {
        font-size: 0.9rem;
    }

    /* Hero Section */
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content .lead {
        font-size: 1.2rem;
    }

    /* Leader Profile */
    .leader-profile {
        padding: 1.5rem;
    }

    .leader-image {
        max-width: 250px;
        margin: 0 auto 1.5rem;
    }

    .leader-profile h4 {
        font-size: 1.4rem;
    }

    .leader-profile p {
        font-size: 0.95rem;
    }
}

@media (max-width: 767.98px) {
    /* Sections générales */
    section {
        padding: 2.5rem 0;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    /* Images */
    .img-fluid {
        max-height: 300px;
        object-fit: cover;
    }

    /* Conteneurs */
    .container {
        padding: 0 10px;
    }

    /* Grilles */
    .grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Cartes et éléments */
    .card {
        padding: 1.2rem;
    }

    .card-title {
        font-size: 1.2rem;
    }

    .card-text {
        font-size: 0.85rem;
    }

    /* Hero Section */
    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .hero-content .lead {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    /* Leader Profile */
    .leader-profile {
        padding: 1.2rem;
        margin-bottom: 1.5rem;
    }

    .leader-image {
        max-width: 200px;
        margin: 0 auto 1rem;
        border-radius: 10px;
    }

    .leader-profile h4 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }

    .leader-profile p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .leader-profile ul li {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 575.98px) {
    /* Sections générales */
    section {
        padding: 2rem 0;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }

    .section-subtitle {
        font-size: 0.85rem;
        margin-bottom: 1.2rem;
    }

    /* Hero Section */
    .hero-content h1 {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }

    .hero-content .lead {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }

    /* Leader Profile */
    .leader-profile {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .leader-image {
        max-width: 180px;
        margin: 0 auto 0.8rem;
        border-radius: 8px;
    }

    .leader-profile h4 {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
    }

    .leader-profile p {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .leader-profile ul li {
        font-size: 0.8rem;
        margin-bottom: 0.4rem;
    }
    
    /* News Content */
    .news-content h3 {
        font-size: 1.3rem;
        margin-bottom: 0.6rem;
    }
    
    .news-content p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    /* Product Cards */
    .product-card h4 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }
    
    .product-card p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    /* Activity Cards */
    .activity-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }
    
    .activity-card p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    /* Project Cards */
    .project-card h3 {
        font-size: 1.3rem;
        margin-bottom: 0.6rem;
    }
    
    .project-card p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    /* Stat Cards */
    .stat-card h4 {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }
    
    .stat-card p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    /* Partner Items */
    .partner-item h3 {
        font-size: 1.3rem;
        margin-bottom: 0.6rem;
    }
    
    .partner-item p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    /* Footer */
    .footer-contact h4,
    .footer-links h4,
    .footer-newsletter h4 {
        font-size: 1.2rem;
        margin-bottom: 0.6rem;
    }
    
    .footer-contact li,
    .footer-links li,
    .footer-newsletter p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
}

@media (max-width: 375px) {
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 0.85rem;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .hero-content .lead {
        font-size: 0.9rem;
    }
    
    .leader-profile h4 {
        font-size: 1.2rem;
    }
    
    .leader-profile p {
        font-size: 0.85rem;
    }
    
    .news-content h3 {
        font-size: 1.2rem;
    }
    
    .news-content p {
        font-size: 0.85rem;
    }
    
    .product-card h4 {
        font-size: 1.1rem;
    }
    
    .product-card p {
        font-size: 0.8rem;
    }
    
    .activity-card h3 {
        font-size: 1.1rem;
    }
    
    .activity-card p {
        font-size: 0.8rem;
    }
    
    .project-card h3 {
        font-size: 1.2rem;
    }
    
    .project-card p {
        font-size: 0.85rem;
    }
    
    .stat-card h4 {
        font-size: 1.2rem;
    }
    
    .stat-card p {
        font-size: 0.8rem;
    }
    
    .partner-item h3 {
        font-size: 1.2rem;
    }
    
    .partner-item p {
        font-size: 0.85rem;
    }
    
    .footer-contact h4,
    .footer-links h4,
    .footer-newsletter h4 {
        font-size: 1.1rem;
    }
    
    .footer-contact li,
    .footer-links li,
    .footer-newsletter p {
        font-size: 0.8rem;
    }
}

/* Loader Animation */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transition: opacity 0.5s ease-out;
}

.loader-wrapper.fade-out {
    opacity: 0;
}

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

.loader-circle {
    position: absolute;
    border: 5px solid transparent;
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
}

.loader-circle:nth-child(1) {
    width: 100%;
    height: 100%;
    animation-duration: 1.5s;
}

.loader-circle:nth-child(2) {
    width: 85%;
    height: 85%;
    top: 7.5%;
    left: 7.5%;
    border-top-color: var(--secondary-color);
    animation-duration: 2s;
}



.loader-logo {
    position: absolute;
    width: 100px;
    height: 100px;
    object-fit: contain;
    z-index: 2;
}

.loader-text {
    margin-top: 20px;
    font-size: 1.2rem;
    color: var(--text-color);
    font-weight: 500;
    letter-spacing: 1px;
    animation: pulse 1.5s infinite;
}

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

@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

/* Utiliser les mêmes dimensions sur tous les appareils */
@media (max-width: 767.98px) {
    .loader {
        width: 250px;
        height: 250px;
    }
    
    .loader-logo {
        width: 100px;
        height: 100px;
    }
    
    .loader-text {
        font-size: 1.2rem;
    }
}

@media (max-width: 575.98px) {
    .loader {
        width: 250px;
        height: 250px;
    }
    
    .loader-logo {
        width: 50px;
        height: 50px;
    }
    
    .loader-text {
        font-size: 1.2rem;
    }
    
    /* Suppression du fond orange sur les petits écrans */
    .loader-wrapper {
        background-color: rgba(255, 255, 255, 0.7);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
    }
}

/* Hide content while loading */
body.loading {
    overflow: hidden;
}

body.loading .main-content {
    opacity: 0;
    visibility: hidden;
}

/* Show content after loading */
body.loaded .main-content {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease-in;
}

/* Règles pour préserver la taille des images sur mobile */
@media (max-width: 991.98px) {
    img {
        max-width: 100%;
        height: auto;
        object-fit: contain;
    }
    .hero-slide {
        background-size: cover;
        background-position: center;
    }
    .news-image img,
    .product-image img,
    .leader-image img,
    .partner-item img,
    .activity-card img,
    .project-card img {
        width: auto;
        height: auto;
        max-width: 100%;
        object-fit: contain;
    }
}

@media (max-width: 767.98px) {
    .hero-slide {
        min-height: 400px;
    }
    .news-image img,
    .product-image img,
    .leader-image img,
    .partner-item img,
    .activity-card img,
    .project-card img {
        width: auto;
        height: auto;
        max-width: 100%;
        object-fit: contain;
    }
}

@media (max-width: 575.98px) {
    .hero-slide {
        min-height: 300px;
    }
    .news-image img,
    .product-image img,
    .leader-image img,
    .partner-item img,
    .activity-card img,
    .project-card img {
        width: auto;
        height: auto;
        max-width: 100%;
        object-fit: contain;
    }
}

/* Optimisation des performances */
@media (max-width: 575.98px) {
  

    /* Optimisation des images */
    img {
        max-width: 100%;
        height: auto;
        object-fit: contain;
        will-change: transform;
    }

    /* Réduction de la taille des sections */
    section {
        padding: 2rem 0;
    }

    .container {
        padding: 0 15px;
        max-width: 100%;
    }

    /* Optimisation des grilles */
    .grid {
        display: block;
        margin: 0;
    }

    /* Réduction des ombres et effets */
    .card, .news-card, .product-card, .project-card {
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        margin-bottom: 1rem;
    }

    /* Optimisation des polices */
    body {
        font-size: 14px;
        line-height: 1.4;
    }

    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.3rem; }
    h4 { font-size: 1.2rem; }
    h5 { font-size: 1.1rem; }
    h6 { font-size: 1rem; }

    /* Réduction des marges et paddings */
    .section-title {
        margin-bottom: 1.5rem;
    }

    .card-body {
        padding: 1rem;
    }

    /* Optimisation des formulaires */
    .form-control {
        font-size: 14px;
        padding: 0.5rem;
    }

    /* Désactivation des effets de survol sur mobile */
    .card:hover,
    .news-card:hover,
    .product-card:hover,
    .project-card:hover {
        transform: none;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

}

/* Optimisation générale des performances */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Optimisation du rendu */
* {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

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

/* Réduction de la taille des polices sur mobile */
@media (max-width: 375px) {
    body {
        font-size: 13px;
    }

    h1 { font-size: 1.6rem; }
    h2 { font-size: 1.4rem; }
    h3 { font-size: 1.2rem; }
    h4 { font-size: 1.1rem; }
    h5 { font-size: 1rem; }
    h6 { font-size: 0.9rem; }
}

/* Mise en page à une colonne pour smartphones */
@media (max-width: 575.98px) {
    /* Grilles et conteneurs */
    .row {
        display: flex;
        flex-direction: column;
    }

    .col, [class*="col-"] {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
        margin-bottom: 1rem;
    }

    /* Sections spécifiques */
    .news-grid,
    .products-grid,
    .projects-grid,
    .partners-grid,
    .activities-grid {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .news-card,
    .product-card,
    .project-card,
    .partner-item,
    .activity-card {
        width: 100%;
        margin: 0 0 1rem 0;
    }

    /* Ajustements des marges et espacements */
    .container {
        padding: 0 15px;
    }

    section {
        padding: 2rem 0;
    }

    /* Optimisation des images */
    .card-img,
    .news-image,
    .product-image,
    .project-image,
    .partner-logo,
    .activity-image {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    /* Ajustement des grilles de navigation */
    .nav-grid,
    .footer-grid {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    /* Ajustement des formulaires */
    .form-row {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .form-group {
        width: 100%;
    }
}

/* Ajustements supplémentaires pour très petits écrans */
@media (max-width: 375px) {
    .container {
        padding: 0 10px;
    }

    section {
        padding: 1.5rem 0;
    }
}

/* Règles de base pour le responsive */
html, body {
    width: 100%;
    overflow-x: hidden;
}

/* Règles pour les conteneurs */
.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

/* Règles pour les grilles Bootstrap */
@media (max-width: 575.98px) {
    .row {
        margin-right: -15px;
        margin-left: -15px;
    }

    .col, [class*="col-"] {
        padding-right: 15px;
        padding-left: 15px;
    }

    /* Forcer l'affichage en une colonne */
    .col-md-3, .col-md-4, .col-md-6, .col-lg-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* Ajuster les sections */
    section {
        padding: 2rem 0;
    }

    /* Ajuster les cartes */
    .card, .activity-card, .product-card, .project-card {
        width: 100%;
        margin-bottom: 1rem;
    }

    /* Ajuster les images */
    img {
        max-width: 100%;
        height: auto;
    }

    /* Ajuster la navigation */
    .navbar {
        padding: 0.5rem 1rem;
    }

    .navbar-brand {
        font-size: 1rem;
    }

    .navbar-logo {
        height: 40px;
    }

    /* Ajuster les titres */
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.3rem; }
    h4 { font-size: 1.2rem; }
    h5 { font-size: 1.1rem; }
    h6 { font-size: 1rem; }

    /* Ajuster les marges et paddings */
    .section-title {
        margin-bottom: 1.5rem;
    }

    .card-body {
        padding: 1rem;
    }
}

/* Ajustements pour les très petits écrans */
@media (max-width: 375px) {
    .container {
        padding-right: 10px;
        padding-left: 10px;
    }

    section {
        padding: 1.5rem 0;
    }
}

/* Hero Video Styles */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Hero Section Responsive */
@media (max-width: 991.98px) {
    .hero-section {
        height: 80vh;
    }
    .hero-video {
        object-position: center;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        height: 70vh;
    }
    .hero-video {
        object-position: center;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        height: 60vh;
    }
    .hero-video {
        object-position: center;
    }
}

@media (max-width: 375px) {
    .hero-section {
        height: 50vh;
    }
    .hero-video {
        object-position: center;
    }
}

.navbar-slogan {
    color: #ff6600;
    font-weight: 500;
    margin-left: 10px;
    animation: colorTransition 8s ease-in-out infinite;
    display: inline-block;
    will-change: color;
}

@keyframes colorTransition {
    0% {
        color: #ff6600; /* Orange */
    }
    25% {
        color: #808080; /* Gris */
    }
    50% {
        color: #000000; /* Noir */
    }
    75% {
        color: #ffffff; /* Blanc */
    }
    100% {
        color: #ff6600; /* Retour à l'orange */
    }
}

@media (max-width: 991.98px) {
    .navbar-slogan {
        animation: none;
        transition: color 3s ease-in-out;
    }
    .navbar-slogan:hover {
        color: #808080;
    }
}

@media (max-width: 767.98px) {
    .navbar-slogan {
        animation: none;
        transition: color 4s ease-in-out;
    }
    .navbar-slogan:hover {
        color: #000000;
    }
}

@media (max-width: 575.98px) {
    .navbar-slogan {
        animation: none;
        transition: color 5s ease-in-out;
    }
    .navbar-slogan:hover {
        color: #ff6600;
    }
}

/* Theme Toggle Button */
.theme-toggle-btn {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle-btn:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

@media (max-width: 991.98px) {
    .theme-toggle-btn {
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 9999;
        background: var(--white);
        border-radius: 50%;
        width: 40px;
        height: 40px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }

    .theme-toggle-btn i {
        font-size: 1.2rem;
    }
}

@media (max-width: 575.98px) {
    .theme-toggle-btn {
        bottom: 15px;
        right: 15px;
        width: 35px;
        height: 35px;
    }

    .theme-toggle-btn i {
        font-size: 1rem;
    }
}

/* Dark Theme Styles */
body.dark-theme {
    --primary-color: #ff6b00; /* Orange */
    --secondary-color: #ff8c42; /* Orange clair */
    --text-color: #ffffff; /* Blanc */
    --text-color-light: #e0e0e0; /* Gris très clair */
    --text-color-muted: #a0a0a0; /* Gris */
    --background-color: #000000; /* Noir */
    --card-bg: #1a1a1a; /* Noir légèrement éclairci */
    --border-color: #333333; /* Gris foncé */
    --section-bg: #121212; /* Noir profond */
    --section-bg-light: #1a1a1a; /* Noir légèrement éclairci */
    --link-color: #ff6b00; /* Orange */
    --link-hover-color: #ff8c42; /* Orange clair */
}

body.dark-theme .navbar {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

body.dark-theme .navbar-collapse {
    background: rgba(0, 0, 0, 0.95);
}

body.dark-theme .nav-link {
    color: var(--text-color-light);
}

body.dark-theme .nav-link:hover {
    color: var(--primary-color);
}

body.dark-theme .card {
    background: var(--card-bg);
    border-color: var(--border-color);
}

body.dark-theme .section-title {
    color: var(--primary-color) !important;
}

body.dark-theme .section-title::after {
    background-color: var(--primary-color) !important;
}

body.dark-theme .section-subtitle {
    color: var(--secondary-color);
}

/* Sections */
body.dark-theme section {
    background-color: var(--section-bg);
    color: var(--text-color);
}

body.dark-theme .bg-light {
    background-color: var(--section-bg-light) !important;
}

/* Hero Section */
body.dark-theme .hero-content {
    color: var(--text-color);
}

body.dark-theme .hero-content .btn {
    background-color: var(--primary-color);
    color: var(--background-color);
}

/* Activity Cards */
body.dark-theme .activity-card {
    background: var(--card-bg);
    border-color: var(--border-color);
}

body.dark-theme .activity-card i {
    color: var(--primary-color);
}

/* Product Cards */
body.dark-theme .product-card {
    background: var(--card-bg);
    border-color: var(--border-color);
}

body.dark-theme .product-card i {
    color: var(--primary-color);
}

/* Project Cards */
body.dark-theme .project-card {
    background: var(--card-bg);
    border-color: var(--border-color);
}

body.dark-theme .project-list li {
    color: var(--text-color-light) !important;
}

/* News Section */
body.dark-theme .news-slider {
    background: var(--card-bg);
}

body.dark-theme .news-content {
    background: var(--section-bg);
}

/* Partners Section */
body.dark-theme .partners-grid {
    background: var(--section-bg);
}

body.dark-theme .partner-item {
    background: var(--card-bg);
    border-color: var(--border-color);
}

/* Contact Form */
body.dark-theme .contact-form {
    background: var(--card-bg);
}

body.dark-theme .form-control {
    background-color: var(--section-bg);
    border-color: var(--border-color);
    color: var(--text-color) !important;
}

body.dark-theme .form-control:focus {
    background-color: var(--section-bg);
    border-color: var(--primary-color);
    color: var(--text-color);
}

body.dark-theme .form-control::placeholder {
    color: var(--text-color-muted) !important;
}

/* Footer */
body.dark-theme .footer {
    background: var(--section-bg);
    color: var(--text-color);
}

body.dark-theme .footer a {
    color: var(--link-color);
}

body.dark-theme .footer a:hover {
    color: var(--link-hover-color);
}

/* Map Section */
body.dark-theme .map-container {
    background: var(--card-bg);
    border-color: var(--border-color);
}

/* Buttons */
body.dark-theme .btn-primary {
    background-color: var(--primary-color);
    color: var(--background-color);
    border-color: var(--primary-color);
}

body.dark-theme .btn-primary:hover {
    background-color: var(--secondary-color);
    color: var(--background-color);
    border-color: var(--secondary-color);
}

/* Scroll Buttons */
body.dark-theme .nav-button {
    background: var(--card-bg);
    border-color: var(--border-color);
    color: var(--primary-color);
}

body.dark-theme .nav-button:hover {
    background: var(--primary-color);
    color: var(--background-color);
}

/* Particles Container */
body.dark-theme .particles-container {
    opacity: 0.8 !important;
    background-color: rgba(0, 0, 0, 0.5) !important;
}

/* Text Colors */
body.dark-theme h1,
body.dark-theme h2,
body.dark-theme h3,
body.dark-theme h4,
body.dark-theme h5,
body.dark-theme h6 {
    color: var(--primary-color) !important;
}

body.dark-theme p,
body.dark-theme span,
body.dark-theme li {
    color: var(--text-color-light) !important;
}

body.dark-theme .text-muted {
    color: var(--text-color-muted) !important;
}

/* Section Titles */
body.dark-theme .section-title {
    color: var(--primary-color) !important;
}

body.dark-theme .section-title::after {
    background-color: var(--primary-color) !important;
}

/* Cards */
body.dark-theme .card,
body.dark-theme .activity-card,
body.dark-theme .product-card,
body.dark-theme .project-card {
    background: var(--card-bg);
    border-color: var(--border-color);
}

body.dark-theme .card h3,
body.dark-theme .activity-card h3,
body.dark-theme .product-card h4,
body.dark-theme .project-card h3 {
    color: var(--primary-color) !important;
}

body.dark-theme .card p,
body.dark-theme .activity-card p,
body.dark-theme .product-card p,
body.dark-theme .project-card p {
    color: var(--text-color-light) !important;
}

/* Lists */
body.dark-theme ul li,
body.dark-theme ol li {
    color: var(--text-color-light) !important;
}

body.dark-theme .project-list li,
body.dark-theme .partner-list li,
body.dark-theme .client-list li {
    color: var(--text-color-light) !important;
}

/* News Section */
body.dark-theme .news-content h3 {
    color: var(--primary-color) !important;
}

body.dark-theme .news-content p {
    color: var(--text-color-light) !important;
}

/* Contact Form */
body.dark-theme .form-control {
    background-color: var(--section-bg);
    border-color: var(--border-color);
    color: var(--text-color) !important;
}

body.dark-theme .form-control::placeholder {
    color: var(--text-color-muted) !important;
}

/* Footer */
body.dark-theme .footer h4 {
    color: var(--primary-color) !important;
}

body.dark-theme .footer p,
body.dark-theme .footer li {
    color: var(--text-color-light) !important;
}

/* Leader Profile */
body.dark-theme .leader-profile h4 {
    color: var(--primary-color) !important;
}

body.dark-theme .leader-profile p {
    color: var(--text-color-light) !important;
}

body.dark-theme .leader-profile ul li {
    color: var(--text-color-light) !important;
}

/* Market Stats */
body.dark-theme .market-stats h3 {
    color: var(--primary-color) !important;
}

body.dark-theme .stat-card h4 {
    color: var(--primary-color) !important;
}

body.dark-theme .stat-card p {
    color: var(--text-color-light) !important;
}

/* Buttons */
body.dark-theme .btn-primary {
    background-color: var(--primary-color);
    color: var(--background-color);
    border-color: var(--primary-color);
}

body.dark-theme .btn-primary:hover {
    background-color: var(--secondary-color);
    color: var(--background-color);
    border-color: var(--secondary-color);
}

/* Navbar */
body.dark-theme .navbar {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

body.dark-theme .navbar-collapse {
    background: rgba(0, 0, 0, 0.95);
}

body.dark-theme .nav-link {
    color: var(--text-color-light);
}

body.dark-theme .nav-link:hover {
    color: var(--primary-color);
}

/* Scroll Buttons */
body.dark-theme .nav-button {
    background: var(--card-bg);
    border-color: var(--border-color);
    color: var(--primary-color);
}

body.dark-theme .nav-button:hover {
    background: var(--primary-color);
    color: var(--background-color);
}

/* À propos Section */
body.dark-theme #about p,
body.dark-theme #about .company-info p,
body.dark-theme #about .leader-profile p {
    color: var(--background-color) !important;
}

/* Projets Section */
body.dark-theme #projets .project-card p,
body.dark-theme #projets .project-list li {
    color: var(--background-color) !important;
}

/* Partenaires Section */
body.dark-theme #partners .partner-item p,
body.dark-theme #partners .partner-list li,
body.dark-theme #partners .client-list li {
    color: var(--background-color) !important;
}

/* À propos Section */
body.dark-theme #about {
    background-color: var(--section-bg);
}

body.dark-theme #about h3 {
    color: var(--primary-color) !important;
}

body.dark-theme #about p {
    color: var(--text-color) !important;
}

body.dark-theme #about .company-info {
    background-color: var(--card-bg);
    border-color: var(--border-color);
}

body.dark-theme #about .leader-profile {
    background-color: var(--card-bg);
    border-color: var(--border-color);
}

body.dark-theme #about .leader-profile h4 {
    color: var(--primary-color) !important;
}

body.dark-theme #about .leader-profile p {
    color: var(--text-color) !important;
}

body.dark-theme #about .leader-profile ul li {
    color: var(--text-color) !important;
}

/* Projets Section */
body.dark-theme #projets {
    background-color: var(--section-bg);
}

body.dark-theme #projets .project-card {
    background-color: var(--card-bg);
    border-color: var(--border-color);
}

body.dark-theme #projets .project-card h3 {
    color: var(--primary-color) !important;
}

body.dark-theme #projets .project-card p {
    color: var(--text-color) !important;
}

body.dark-theme #projets .project-list li {
    color: var(--text-color) !important;
}

/* Partenaires Section */
body.dark-theme #partners {
    background-color: var(--section-bg);
}

body.dark-theme #partners .partner-item {
    background-color: var(--card-bg);
    border-color: var(--border-color);
}

body.dark-theme #partners .partner-item h3 {
    color: var(--primary-color) !important;
}

body.dark-theme #partners .partner-item p {
    color: var(--text-color) !important;
}

body.dark-theme #partners .partner-list li,
body.dark-theme #partners .client-list li {
    color: var(--text-color) !important;
}

body.dark-theme #partners .region-card {
    background-color: var(--card-bg);
    border-color: var(--border-color);
}

body.dark-theme #partners .region-card h3,
body.dark-theme #partners .region-card h4 {
    color: var(--primary-color) !important;
}

body.dark-theme #partners .partner-category h4 {
    color: var(--primary-color) !important;
}

/* Partenaires Section */
body.dark-theme #partners .partner-item h3 {
    color: var(--primary-color) !important;
}

body.dark-theme #partners .partner-item h3.sar,
body.dark-theme #partners .partner-item h3.elton,
body.dark-theme #partners .partner-item h3.total {
    color: var(--text-color) !important;
}

body.dark-theme #partners .partner-item p {
    color: var(--text-color) !important;
}

body.dark-theme #about .company-info h3,
body.dark-theme #about .company-info p {
    color: var(--white) !important;
}

body.dark-theme #about .leader-profile h4,
body.dark-theme #about .leader-profile p,
body.dark-theme #about .leader-profile ul li {
    color: var(--white) !important;
}

body.dark-theme #about .company-info {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-theme #about .leader-profile {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}


/* Partners Carousel Styles */
.partners-carousel-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.partners-carousel-wrapper {
    overflow: hidden;
    border-radius: 15px;
    position: relative;
}

.partners-carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 2rem;
}

.partner-logo-item {
    min-width: 200px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.partner-logo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.partner-logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 5px;
}

/* Navigation Arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    border: none;
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
    z-index: 10;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
}

.carousel-arrow:hover {
    background: #e55a00;
    transform: translateY(-50%) scale(1.1);
}

.carousel-arrow-left {
    left: -25px;
}

.carousel-arrow-right {
    right: -25px;
}

/* Carousel Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 2rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: #ddd;
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.indicator:hover {
    background: #ff8c42;
}

/* Responsive Design */
@media (max-width: 768px) {
    .partners-carousel-container {
        padding: 1rem 0;
    }

    .partner-logo-item {
        min-width: 150px;
        height: 100px;
    }

    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .carousel-arrow-left {
        left: -20px;
    }

    .carousel-arrow-right {
        right: -20px;
    }

    .partners-carousel-track {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .partner-logo-item {
        min-width: 120px;
        height: 80px;
    }

    .carousel-arrow {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

/* Dark theme support */
body.dark-theme .partner-logo-item {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

body.dark-theme .partner-logo-img {
    filter: brightness(0.8);
}

body.dark-theme .carousel-arrow {
    background: var(--primary-color);
}

body.dark-theme .indicator {
    background: rgba(255, 255, 255, 0.3);
}

body.dark-theme .indicator.active {
    background: var(--primary-color);
}
