/* Copiez tout le CSS de votre fichier HTML ici */
/* ... (votre CSS existant) ... */
:root {
            --primary-color:#b7cc33;
            --secondary-color: #2e8b57;
            --team:#cedb71;
            --tertio:#1d1955;
            --accent-color: #d4af37;
            --light-color: #f8f9fa;
            --dark-color: #343a40;
        }
        
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            color: #333;
            scroll-behavior: smooth;
        }
        .h3{
            color: var(--tertio);
        }
        .fondcard{
            background-color: var(--tertio);
        }
        .troisio{
            color: var(--primary-color) !important;
        }
        .cprimaire{
            color: var(--primary-color);
        }
        .bouton{
            background-color: var(--tertio);
            color: white !important;
        }
        
        .navbar {
            background-color: var(--primary-color);
            padding: 0.5rem 0; /* Réduction du padding pour permettre au logo de prendre plus de hauteur */
            transition: all 0.3s;
            min-height: 80px; /* Hauteur minimale pour la navbar */
        }

        .bg-whiteP{
            background-color: var(--light-color);
            padding: 20px;
            border-radius: 10px;

        }
        
        .navbar.scrolled {
            padding: 0.25rem 0; /* Réduction du padding lors du scroll */
            min-height: 60px; /* Hauteur réduite lors du scroll */
        }
        
        .navbar-brand {
            font-weight: bold;
            color: white !important;
            font-size: 1.5rem;
            height: 100%; /* Prend toute la hauteur de la navbar */
            display: flex;
            align-items: center; /* Centre verticalement */
            padding: 0; /* Supprime le padding par défaut */
        }
        
        .navbar-brand img {
            height: 60px; /* Hauteur augmentée pour prendre plus de place */
            transition: height 0.3s;
            object-fit: contain; /* Garde les proportions du logo */
        }
        
        /* Ajustement pour le scroll */
        .navbar.scrolled .navbar-brand img {
            height: 45px; /* Hauteur réduite lors du scroll */
        }
        
        /* Réduire la taille du logo sur mobile */
        @media (max-width: 768px) {
            .navbar-brand img {
                height: 50px;
            }
            
            .navbar.scrolled .navbar-brand img {
                height: 40px;
            }
        }
        
        .nav-link {
            color: rgba(255, 255, 255, 0.85) !important;
            font-weight: 500;
            margin: 0 0.5rem;
            transition: color 0.3s;
        }
        
        .nav-link:hover {
            color: white !important;
        }
        
        .language-switcher {
            color: white;
            margin-left: 1rem;
        }
        
        .language-switcher a {
            color: rgba(255, 255, 255, 0.85);
            text-decoration: none;
            margin: 0 0.25rem;
        }
        
        .language-switcher a.active {
            color: white;
            font-weight: bold;
        }
        
        /* Section Hero avec vidéo responsive */
        .hero-section {
            position: relative;
            height: 100vh;
            color: white;
            display: flex;
            align-items: center;
            overflow: hidden;
        }
        
        .hero-video {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            z-index: -2;
        }
        
        /* Améliorations pour la responsivité de la vidéo */
        @media (max-width: 768px) {
            .hero-section {
                height: 70vh; /* Hauteur réduite sur mobile */
            }
            
            .hero-video {
                height: 100%;
            }
        }
        
        @media (max-width: 576px) {
            .hero-section {
                height: 60vh; /* Hauteur encore plus réduite sur très petits écrans */
            }
        }
        
        .hero-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0);
            z-index: -1;
        }
        
        .hero-content {
            text-align: center;
            width: 100%;
        }
        
        .hero-title {
            font-size: 3rem;
            font-weight: 700;
            margin-bottom: 1rem;
        }
        
        .hero-subtitle {
            font-size: 1.5rem;
            margin-bottom: 2rem;
        }
        
        .section-title {
            color: var(--tertio);
            font-weight: 700;
            margin-bottom: 2rem;
            position: relative;
            padding-bottom: 0.5rem;
        }
        
        .section-title:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 80px;
            height: 3px;
            background-color: var(--accent-color);
        }
        
        .section-title.text-center:after {
            left: 50%;
            transform: translateX(-50%);
        }
        
        .section-padding {
            padding: 80px 0;
        }
        
        .bg-light-custom {
            background-color: #f8f9fa;
        }
        
        .about-content {
            font-size: 1.1rem;
            line-height: 1.7;
        }
        
        .competence-card {
            background: white;
            border-radius: 8px;
            padding: 2rem;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            height: 100%;
            transition: transform 0.3s;
            position: relative;
            z-index: 1;
        }
        
        .competence-card:hover {
            transform: translateY(-5px);
        }
        
        .competence-icon {
            font-size: 2.5rem;
            color: var(--primary-color);
            margin-bottom: 1rem;
        }
        
        /* Section Compétences avec image de fond */
        #competences {
            position: relative;
            overflow: hidden;
        }
        
        #competences::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            z-index: 0;
            opacity: 0.1;
        }
        
        #competences .container {
            position: relative;
            z-index: 1;
        }
        
        .team-card {
            text-align: center;
            margin-bottom: 2rem;
            padding: 30px;
            border-radius: 10px;
            border-color: var(--primary-color);
            border: 1px;
        }
        
        .team-img {
            width: 150px;
            height: 150px;
            border-radius: 50%;
            margin: 0 auto 1rem;
            object-fit: cover;
            border: 5px solid var(--secondary-color);
        }
        
        .team-name {
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 0.5rem;
        }
        
        .team-position {
            color: var(--secondary-color);
            font-weight: 500;
            margin-bottom: 1rem;
        }
        
        .esg-card {
            background: white;
            border-radius: 8px;
            padding: 2rem;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            height: 100%;
        }
        
        .esg-icon {
            font-size: 2.5rem;
            color: var(--primary-color);
            margin-bottom: 1rem;
        }
        /* Section ESG avec image de fond */
        #esg {
            position: relative;
            overflow: hidden;
        }
        
        #esg::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: url('/wp-content/themes/gff-trading-theme/assets/images/esg-bg.webp');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            z-index: 0;
            opacity: 1.0;
        }
        
        #esg .container {
            position: relative;
            z-index: 1;
        }
        
        .product-card {
            background: white;
            border-radius: 8px;
            padding: 2rem;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            height: 100%;
            border-top: 4px solid var(--primary-color);
            position: relative;
            z-index: 1;
        }
        
        .product-icon {
            font-size: 2.5rem;
            color: var(--primary-color);
            margin-bottom: 1rem;
        }
        
        .product-list {
            list-style-type: none;
            padding-left: 0;
        }
        
        .product-list li {
            display: flex;
            align-items: center;
            margin-bottom: 10px;
            font-size: 1.1rem;
        }
        
        .product-list i {
            margin-right: 30px;
            color: var(--primary-color);
            font-size: 1.3rem;
            width: 25px;
            text-align: center;
            padding-left: 20px;
        }
        
        /* Section Produits avec image de fond */
        #produits {
            position: relative;
            overflow: hidden;
        }
        
        #produits::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: url('https://images.unsplash.com/photo-1557844352-761dcd3b96de?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            z-index: 0;
            opacity: 0.1;
        }
        
        #produits .container {
            position: relative;
            z-index: 1;
        }
        
        /* Section Contact avec image de fond */
        #contact {
            position: relative;
            overflow: hidden;
        }
        
        #contact::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: url('/wp-content/themes/gff-trading-theme/assets/images/immeuble-pt2.jpg');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            z-index: 0;
            opacity: 0.4;
        }
        
        #contact .container {
            position: relative;
            z-index: 1;
        }
        
        .contact-info {
            margin-bottom: 2rem;
        }
        
        .contact-icon {
            font-size: 1.5rem;
            color: var(--secondary-color);
            margin-right: 1rem;
            width: 30px;
            text-align: center;
        }
        
        footer {
            background-color: var(--primary-color);
            color: white;
            padding: 3rem 0 2rem;
        }
        
        .footer-logo {
            font-size: 1.5rem;
            font-weight: bold;
            margin-bottom: 1rem;
        }
        
        .btn-primary-custom {
            background-color: var(--secondary-color);
            border-color: var(--secondary-color);
            padding: 0.75rem 2rem;
            font-weight: 500;
            transition: all 0.3s;
        }
        
        .btn-primary-custom:hover {
            background-color: var(--primary-color);
            border-color: var(--primary-color);
            transform: translateY(-2px);
        }
        
        .back-to-top {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background-color: var(--secondary-color);
            color: white;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            opacity: 0;
            transition: all 0.3s;
            z-index: 1000;
        }
        
        .back-to-top.show {
            opacity: 1;
        }

        /* ------------------------------------------- team-6 -------------------------------------- */

        .team-6 {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 10px 0px;
        }

        .team-6 .fs-15{
            font-size: 15px;
        }
        .team-6 .team-heading::before {
            background: #58c31f;
            content: "";
            width: 66px;
            height: 3px;
            top: 58px;
            bottom: 0;
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
        }

        .team-6 .bg-light-info {
            background-color:var(--tertio);
        }

        .team-6 .text-light-success {
            color: #58c31f;
        }

        .team-6 .team-icon:hover {
            color: #58c31f !important;
        }

        .team-6 .text-muted {
            color: #fff !important;
        }

        .team-6 .btn {
            font-size: 11px;
            font-family: 'Poppins', sans-serif;
            font-weight: 700;
            padding: 12px 20px;
            letter-spacing: 2px;
        }

        .team-6 .btn-outline-light-success {
            border: 1px solid #58c31f;
            background-color: #fff;
            color: #000000;  
        }

        .team-6 .btn-outline-light-success:hover {
            background-color: #58c31f; 
        }

        .team-6 .btn:focus {
            box-shadow: none;
        }

        /* Styles pour les cartes d'équipe sur mobile */
        @media (max-width: 768px) {
            .team-6 {
                flex-direction: column;
            }
            
            .team-6 .col-lg-6 {
                width: 100%;
                margin-bottom: 20px;
            }
            
            .team-6 .card .row {
                flex-direction: column;
            }
            
            .team-6 .col-md-5,
            .team-6 .col-md-7 {
                width: 100%;
            }
            
            .team-6 .card-body {
                padding: 15px;
            }
            
            .team-6 .card-body h6,
            .team-6 .card-body p {
                text-align: center;
            }
            
            .hero-title {
                font-size: 2rem;
            }
            
            .hero-subtitle {
                font-size: 1.2rem;
            }
            
            .section-padding {
                padding: 60px 0;
            }
            
            .language-switcher {
                margin-top: 1rem;
                margin-left: 0;
            }
        }