
/* Custom CSS */
.uppercase {
	text-transform: uppercase;
}
.capitalize {
	text-transform: capitalize;
}
.img-fluid {
	border-radius:20px ! important;
}
.fs-0 {
	font-size:0.8rem ! important;
}
.fs-1 {
	font-size:1rem ! important;
}
.fs-2 {
	font-size:1.2rem ! important;
}
.fs-3 {
	font-size:1.5rem ! important;
}
.fs-4 {
	font-size:4rem ! important;
}
.fs-5 {
	font-size:5rem ! important;
}
        @media (max-width: 767.98px) {
            .fs-4 {
                font-size:2rem ! important;
            }
            .fs-5 {
                font-size:2.5rem ! important;
            }
            .lh-4 {
                line-height:1.5rem ! important;
            }
            .lh-5 {
                line-height:2rem ! important;
            }
        }
.lh-0 {
	line-height:0.2rem ! important;
}
.lh-1 {
	line-height:1rem ! important;
}
.lh-2 {
	line-height:1.2rem ! important;
}
.lh-3 {
	line-height:1.5rem ! important;
}
.lh-4 {
	line-height:4rem ! important;
}
.lh-5 {
	line-height:5rem ! important;
}
.fw-0 {
    font-weight:100 ! important;
}
.fw-1 {
    font-weight:300 ! important;
}
.fw-2 {
    font-weight:600 ! important;
}
.fw-3 {
    font-weight:700 ! important;
}
.w100 {
	width:100px ! important;
}
.w200 {
	width:200px ! important;
}
.w300 {
	width:300px ! important;
}        

.navbar-brand img {
            height: 35px;
        }
/* Assure le bon empilement */
.top-bar { z-index: 1030; }     /* au-dessus du contenu */
.navbar  { z-index: 1050; }     /* au-dessus de la top-bar si besoin */
.navbar .dropdown-menu { z-index: 1060; }

/* Évite un décalage vertical sous le lien */
.navbar .dropdown-menu { margin-top: 0; }

/* (Optionnel) si tu veux que le menu s'aligne sous l'ensemble "lien + caret" */
.navbar .nav-item.dropdown { position: relative; }
      
        

        /* Hero Section Styles */
        .hero-section {
            background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url("/static/theme/dartus.com/img/notre-dame.png");
            background-size: cover;
            background-position: center;
            min-height: 90vh;
            display: flex;
            align-items: center;
            color: white;
            position: relative;
            margin-bottom: 100px;
            margin-top: 100px;
        }
        
        .hero-title {
            font-size: 3.5rem;
            font-weight: 300;
            letter-spacing: 2px;
            margin-bottom: 1rem;
        }
        
        .hero-subtitle {
            font-size: 2.5rem;
            font-weight: 700;
            letter-spacing: 1px;
            margin-bottom: 1rem;
        }
        
        .hero-description {
            font-size: 2rem;
            font-weight: 300;
            letter-spacing: 1px;
        }

        @media (max-width: 767.98px) {
            .hero-section {
                min-height: 70vh;
                margin-bottom: 0px;
                margin-top: 0px;
                position: relative;
                left: 50%;
                right: 50%;
                margin-left: -50vw;
                margin-right: -50vw;
                width: 110vw;
                background-size: cover;
                background-position: center;
            }
        }

        
        .services-section {
            position: absolute;
            bottom: -90px;
            left: 0;
            right: 0;
            background: transparent;
            padding: 0;
            z-index: 10;
        }
        
        .service-card {
            background: rgba(255, 255, 255, 1);
            backdrop-filter: blur(10px);
            border: none;
            border-radius: 8px;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            padding: 1rem 1rem;
            text-align: center;
            height:250px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            box-shadow: 0 4px 15px rgba(0,0,0,0.15);
        }
        
        .service-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.25);
            cursor:pointer;
        }
        .service-icon {
            height:200px;
        }
        
        .next-section {
            padding: 120px 0 60px 0;
            margin-top: 0;
        }
        
        .mobile-services-section {
            background-color: white;
            padding: 2rem 0;
        }
        
        .mobile-services-section .service-card {
            background: white;
            border: none;
            border-radius: 8px;
            height: 160px;
            padding: 1.5rem 1rem;
            text-align: center;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        
        .mobile-services-section .service-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 20px rgba(0,0,0,0.15);
        }
        
        .about-section {
            background-color: white;
            padding: 80px 0;
        }
        
        .subtitle {
            color: #999;
            font-size: 0.9rem;
            font-weight: 500;
            letter-spacing: 1px;
            margin-bottom: 1rem;
        }
        
        .section-title {
            font-size: 2.5rem;
            font-weight: 900;
            color: #212529;
            margin-bottom: 2rem;
            line-height: 1.2;
        }
        
        .text-content p {
            color: #666;
            line-height: 1.6;
            margin-bottom: 1.5rem;
            font-size: 0.95rem;
        }
        
        .stats-container {
            padding-left: 2rem;
        }
        
        .stat-card {
            text-align: center;
            padding: 1.5rem 1rem;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }
        
        .stat-icon {
            font-size: 2.5rem;
            color: #333;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            justify-content: center;
            height: 60px;
        }
        
        .stat-number {
            font-size: 3rem;
            font-weight: 700;
            color: #dc3545;
            margin-bottom: 0.5rem;
            line-height: 1;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .stat-label {
            font-size: 0.8rem;
            font-weight: 700;
            color: #333;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            line-height: 1.3;
            text-align: center;
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 40px;
        }
        
        .btn-cta {
            display: block;
            width: 100%;
            padding: 1rem 2rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            font-size: 0.9rem;
            border: none;
            text-decoration: none;
            text-align: center;
            transition: all 0.3s ease;
        }
        .bg-primary {
            background-color: #dc3545 !important;
            color: white !important;

        }
        .btn-primary.btn-cta {
            background-color: #dc3545;
            color: white;
        }
        
        .btn-primary.btn-cta:hover {
            background-color: #c82333;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
        }
        
        .btn-secondary.btn-cta {
            background-color: #dc3545;
            color: white;
        }
        
        .btn-secondary.btn-cta:hover {
            background-color: #c82333;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
        }
        
        @media (max-width: 991.98px) {
            .stats-container {
                padding-left: 0;
                margin-top: 2rem;
            }
            
            .section-title {
                font-size: 2rem;
            }
        }
        
        .cta-section {
            background-color: white;
            padding: 0px 0;
        }
        .btn-primary,
        .btn-cta-bottom {
            display: block;
            width: 100%;
            padding: 1rem 2rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            font-size: 0.9rem;
            border: none;
            text-decoration: none;
            text-align: center;
            transition: all 0.3s ease;
            background-color: #dc3545;
            color: white;
        }
        .btn-primary:hover,
        .btn-cta-bottom:hover {
            background-color: #c82333;
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
        }
        .btn-outline-primary {
            display: block;
            width: 100%;
            padding: 1rem 2rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            font-size: 0.9rem;
            border: 2px solid #dc3545;
            text-decoration: none;
            text-align: center;
            transition: all 0.3s ease;
            background-color: white;
            color: #dc3545;
        }
        .btn-outline-primary:hover {
            background-color: #dc3545;
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
            border-color:#dc3545;
        }
        .btn-outline-primary:focus {
            box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
        }
       
/* ================= Materiels Section ================= */
        .materials-section {
            background-color: white;
            padding: 80px 0;
        }
        
        .subtitle {
            color: #999;
            font-size: 0.9rem;
            font-weight: 500;
            letter-spacing: 1px;
            margin-bottom: 1rem;
        }
        
        .section-title {
            font-size: 2.5rem;
            font-weight: 700;
            color: #212529;
            margin-bottom: 2rem;
            line-height: 1.2;
        }
        
        .material-item {
            text-align: center;
            padding: 1rem;
            text-decoration: none;
            color: inherit;
            display: block;
            transition: all 0.3s ease;
        }
        
        .material-item:hover {
            text-decoration: none;
            color: inherit;
        }
        
        .material-circle {
            width: 150px;
            height: 150px;
            background-color: #dc3545;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.5rem auto;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        
        .material-circle:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(220, 53, 69, 0.3);
        }
        
        .material-circle i {
            font-size: 3.5rem;
            color: white;
        }
        
        .material-circle img {
            filter: brightness(0) invert(1);
        }
        
        .material-title {
            font-size: 1rem;
            font-weight: 700;
            color: #333;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            line-height: 1.3;
            margin: 0;
        }
        
        /* Mobile scrollable styles */
        @media (max-width: 767.98px) {
            .materials-section {
                padding: 60px 0;
            }
            
            .section-title {
                font-size: 2rem;
            }
            
            .materials-mobile-container {
                position: relative;
                margin: 0 -15px; /* Extend beyond container */
            }
            
            .materials-scroll-wrapper {
                overflow-x: auto;
                overflow-y: hidden;
                -webkit-overflow-scrolling: touch;
                scrollbar-width: none; /* Firefox */
                -ms-overflow-style: none; /* Internet Explorer 10+ */
                padding: 20px 0;
            }
            
            .materials-scroll-wrapper::-webkit-scrollbar {
                display: none; /* WebKit */
            }
            
            .materials-scroll-container {
                display: flex;
                gap: 20px;
                padding: 0 30px; /* Add padding to show partial items */
                width: max-content;
            }
            
            .material-item-mobile {
                flex: 0 0 auto;
                width: 140px; /* Fixed width for consistency */
                text-align: center;
                text-decoration: none;
                color: inherit;
                display: block;
                transition: all 0.3s ease;
            }
            
            .material-item-mobile:hover {
                text-decoration: none;
                color: inherit;
            }
            
            .material-circle {
                width: 120px;
                height: 120px;
                margin: 0 auto 1rem auto;
            }
            
            .material-circle i {
                font-size: 2.5rem;
            }
            
            .material-title {
                font-size: 0.9rem;
            }
            
            /* Fade effect to show more content */
            .materials-mobile-container::before,
            .materials-mobile-container::after {
                content: '';
                position: absolute;
                top: 0;
                bottom: 0;
                width: 30px;
                z-index: 2;
                pointer-events: none;
            }
            
            .materials-mobile-container::before {
                left: 0;
                background: linear-gradient(to right, white, transparent);
            }
            
            .materials-mobile-container::after {
                right: 0;
                background: linear-gradient(to left, white, transparent);
            }
            
            /* Show partial items at edges */
            .materials-scroll-container .material-item-mobile:first-child {
                margin-left: 15px;
            }
            
            .materials-scroll-container .material-item-mobile:last-child {
                margin-right: 15px;
            }
        }
        
        /* Desktop styles remain the same */
        @media (min-width: 768px) {
            .materials-desktop {
                display: block;
            }
            
            .materials-mobile {
                display: none;
            }
        }
        
        @media (max-width: 767.98px) {
            .materials-desktop {
                display: none;
            }
            
            .materials-mobile {
                display: block;
            }
        }
        
/* ================= DNA Section ================= */

        .dna-section {
            background-color: white;
            padding: 80px 0;
        }
        
        .dna-card {
            padding: 2rem 1.5rem;
            height: 100%;
            display: flex;
            flex-direction: column;
        }
        
        .dna-card-title {
            font-size: 1.5rem;
            font-weight: 700;
            color: #212529;
            margin-bottom: 1.5rem;
            line-height: 1.3;
            text-transform: uppercase;
        }
        
        .dna-card-text {
            color: #666;
            line-height: 1.6;
            margin-bottom: 2rem;
            font-size: 0.95rem;
            flex-grow: 1;
        }
        
        .btn-dna {
            background-color: #dc3545;
            color: white;
            padding: 0.8rem 2rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            font-size: 0.9rem;
            border: none;
            text-decoration: none;
            text-align: center;
            transition: all 0.3s ease;
            align-self: flex-start;
        }
        
        .btn-dna:hover {
            background-color: #c82333;
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
        }
        
        /* ================= Agence Section ================= */
        .find-agency-section {
            background-color: white;
            min-height: 600px;
        }
        
        .map-container {
            height: 600px;
            overflow: hidden;
        }
        
        .map-placeholder {
            height: 100%;
            background-color: #f8f9fa;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .map-placeholder img {
            height: 100%;
            width: 100%;
            object-fit: cover;
        }
        
        .agency-content {
            padding: 4rem 3rem;
            height: 600px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        
        .agency-description {
            color: #666;
            line-height: 1.6;
            margin-bottom: 2rem;
            font-size: 0.95rem;
        }
        
        .postal-form {
            max-width: 400px;
        }
        
        .postal-input {
            border: 2px solid #e9ecef;
            padding: 1rem;
            font-size: 1rem;
            margin-bottom: 1.5rem;
            border-radius: 4px;
        }
        
        .postal-input:focus {
            border-color: #dc3545;
            box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
        }
        
        .btn-agency {
            background-color: #dc3545;
            color: white;
            padding: 1rem 2rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            font-size: 0.9rem;
            border: none;
            text-decoration: none;
            text-align: center;
            transition: all 0.3s ease;
            width: 100%;
        }
        
        .btn-agency:hover {
            background-color: #c82333;
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
        }
   .agences-section {
            padding: 80px 0;
        }
        
        .agences-title {
            font-size: 2.5rem;
            font-weight: 700;
            color: #333;
            text-align: center;
            margin-bottom: 60px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        
        .agence-card {
            background: white;
            padding: 25px;
            border-radius: 8px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            text-align: center;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            height: 200px;
            margin-bottom: 30px;
        }
        
        .agence-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.15);
        }
        
        .agence-header {
            font-size: 0.85rem;
            font-weight: 700;
            color: #666;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 15px;
            border-bottom: 2px solid #dc3545;
            padding-bottom: 8px;
        }
        
        .agence-address {
            font-size: 0.9rem;
            color: #333;
            line-height: 1.5;
            margin-bottom: 15px;
        }
        
        .agence-phone {
            font-size: 0.95rem;
            font-weight: 700;
            color: #dc3545;
            margin: 0;
        }
        
        .region-divider {
            width: 100%;
            height: 2px;
            background-color: #dc3545;
            margin: 40px 0;
            position: relative;
        }
        
        .region-label {
            background-color: #f8d7da;
            color: #333;
            font-weight: 700;
            font-size: 1.1rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            padding: 0 20px;
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
        }
        
        /* Responsive adjustments */
        @media (max-width: 768px) {
            .agences-section {
                padding: 60px 0;
            }
            
            .agences-title {
                font-size: 2rem;
                margin-bottom: 40px;
            }
            
            .agence-card {
                margin-bottom: 20px;
                padding: 20px;
            }
            
            .region-divider {
                margin: 30px 0;
            }
            
            .region-label {
                font-size: 1rem;
                padding: 0 15px;
            }
        }
        
        @media (max-width: 480px) {
            .agences-title {
                font-size: 1.8rem;
            }
            
            .agence-header {
                font-size: 0.8rem;
            }
            
            .agence-address {
                font-size: 0.85rem;
            }
            
            .agence-phone {
                font-size: 0.9rem;
            }
        }       
        
        /* ================= Agence end Section ================= */




        .contact-section {
            background-color: white;
            padding: 80px 0;
        }
        
        .contact-title {
            font-size: 2.5rem;
            font-weight: 700;
            color: #212529;
            margin-bottom: 2rem;
            text-transform: uppercase;
        }
        
        .contact-text {
            color: #666;
            line-height: 1.6;
            font-size: 0.95rem;
        }
        
        .contact-text p {
            margin-bottom: 1.5rem;
        }
        
        .contact-text strong {
            color: #333;
            font-weight: 600;
        }
        
        .contact-form {
            padding-left: 2rem;
        }
        
        .contact-input,
        .contact-select,
        .contact-textarea {
            border: 2px solid #ccc;
            padding: 1rem;
            font-size: 1rem;
            border-radius: 4px;
            background-color: white;
            transition: border-color 0.3s ease;
        }
        
        .contact-input:focus,
        .contact-select:focus,
        .contact-textarea:focus {
            border-color: #dc3545;
            box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
            outline: none;
        }
        
        .contact-input::placeholder,
        .contact-textarea::placeholder {
            color: #999;
        }
        
        .dropdown-container {
            position: relative;
        }
        
        .contact-select {
            appearance: none;
            background-image: none;
            padding-right: 3rem;
        }
        
        .dropdown-arrow {
            position: absolute;
            right: 1rem;
            top: 50%;
            transform: translateY(-50%);
            pointer-events: none;
            font-size: 1.2rem;
            color: #666;
        }
        
        .contact-textarea {
            resize: vertical;
            min-height: 120px;
        }
        
        .btn-contact {
            background-color: #dc3545;
            color: white;
            padding: 1rem 3rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            font-size: 0.9rem;
            border: none;
            border-radius: 4px;
            transition: all 0.3s ease;
        }
        
        .btn-contact:hover {
            background-color: #c82333;
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
        }

        .projects-section {
            background-color: white;
            padding: 80px 0;
        }
        
        .projects-title-container {
            padding: 2rem 1rem;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        
        .projects-title {
            font-size: 2.5rem;
            font-weight: 700;
            color: #212529;
            margin-bottom: 1rem;
            line-height: 1.2;
        }
        
        .projects-divider {
            width: 4px;
            height: 60px;
            background-color: #dc3545;
            margin-left: 0;
        }
        
        .projects-gallery {
            padding: 1rem;
        }
        
        /* VRAI FIX: Container pour chaque image */
        .project-item {
            width: 100%;
            aspect-ratio: 1 / 1;
            position: relative;
            overflow: hidden;
            background-color: #f8f9fa;
            border-radius: 8px;
            cursor: pointer;
            display: block; /* Important */
        }
        
        .project-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block; /* Important pour éviter les espaces */
            transition: transform 0.3s ease;
        }
        
        .project-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: rgba(220, 53, 69, 0.8);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        
        .project-overlay i {
            font-size: 2rem;
        }
        
        .project-item:hover .project-overlay {
            opacity: 1;
        }
        
        .project-item:hover .project-image {
            transform: scale(1.05);
        }
        
        /* VRAI FIX: Lightbox avec position et z-index corrects */
        .lightbox {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background-color: rgba(0, 0, 0, 0.9);
            z-index: 999999;
            cursor: pointer;
        }
        
        .lightbox-content {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 40px;
            box-sizing: border-box;
        }
        
        .lightbox-image {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
            border-radius: 8px;
            cursor: default;
        }
        
        .lightbox-close {
            position: absolute;
            top: 20px;
            right: 30px;
            color: white;
            font-size: 40px;
            font-weight: bold;
            cursor: pointer;
            z-index: 1000000;
            user-select: none;
        }
        
        .lightbox-close:hover {
            color: #dc3545;
        }
     



        @media (max-width: 767.98px) {
            .about-section {
                padding: 60px 0;
            }
            
            .section-title {
                font-size: 1.8rem;
            }
            
            .stat-number {
                font-size: 2.5rem;
            }
            
            .stat-icon {
                font-size: 2rem;
            }
            
            .cta-section {
                padding: 30px 0;
            }
            
            .materials-section {
                padding: 60px 0;
            }
            
            .material-circle {
                width: 120px;
                height: 120px;
            }
            
            .material-circle i {
                font-size: 2.5rem;
            }
            
            .material-title {
                font-size: 0.9rem;
            }
            
            .dna-section {
                padding: 60px 0;
            }
            
            .dna-card {
                padding: 1.5rem 1rem;
                margin-bottom: 2rem;
            }
            
            .dna-card-title {
                font-size: 1.3rem;
            }
            
            .find-agency-section {
                min-height: auto;
            }
            
            .map-container {
                height: 300px;
            }
            
            .agency-content {
                padding: 2rem 1.5rem;
                height: auto;
            }
            
            .contact-section {
                padding: 60px 0;
            }
            
            .contact-title {
                font-size: 2rem;
            }
            
            .contact-form {
                padding-left: 0;
                margin-top: 2rem;
            }
            
            .btn-contact {
                width: 100%;
                text-align: center;
            }
            
            .contact-input,
            .contact-select,
            .contact-textarea {
                margin-bottom: 1rem;
            }
            
            .row.mb-3 {
                margin-bottom: 0 !important;
            }
            

        /* Responsive */
        @media (max-width: 767.98px) {
            .projects-section {
                padding: 60px 0;
            }
            
            .projects-title {
                font-size: 2rem;
                text-align: center;
                margin-bottom: 2rem;
            }
            
            .projects-divider {
                margin: 0 auto 2rem auto;
            }
            
            .projects-title-container {
                text-align: center;
                margin-bottom: 2rem;
                padding: 1rem;
            }
            
            .projects-gallery {
                padding: 0.5rem;
            }
            
            .lightbox-content {
                padding: 20px;
            }
            
            .lightbox-close {
                top: 10px;
                right: 15px;
                font-size: 30px;
            }
        }
        
        @media (max-width: 767.98px) {
            .about-section {
                padding: 60px 0;
            }
            
            .section-title {
                font-size: 1.8rem;
            }
            
            .stat-number {
                font-size: 2.5rem;
            }
            
            .stat-icon {
                font-size: 2rem;
            }
            
            .cta-section {
                padding: 30px 0;
            }
            
            .materials-section {
                padding: 60px 0;
            }
            
            .material-circle {
                width: 120px;
                height: 120px;
            }
            
            .material-circle i {
                font-size: 2.5rem;
            }
            
            .material-title {
                font-size: 0.9rem;
            }
            
            .dna-section {
                padding: 60px 0;
            }
            
            .dna-card {
                padding: 1.5rem 1rem;
                margin-bottom: 2rem;
            }
            
            .dna-card-title {
                font-size: 1.3rem;
            }
            
            .find-agency-section {
                min-height: auto;
            }
            
            .map-container {
                height: 300px;
            }
            
            .agency-content {
                padding: 2rem 1.5rem;
                height: auto;
            }
            
            .contact-section {
                padding: 60px 0;
            }
            
            .contact-title {
                font-size: 2rem;
            }
            
            .contact-form {
                padding-left: 0;
                margin-top: 2rem;
            }
            
            .btn-contact {
                width: 100%;
                text-align: center;
            }
            
            .contact-input,
            .contact-select,
            .contact-textarea {
                margin-bottom: 1rem;
            }
            
            .row.mb-3 {
                margin-bottom: 0 !important;
            }
            
            .row.mb-4 {
                margin-bottom: 1rem !important;
            }
            
    
            
            .projects-title {
                font-size: 2rem;
                text-align: center;
                margin-bottom: 2rem;
            }
            
            .projects-divider {
                margin: 0 auto 2rem auto;
            }
            
            .projects-title-container {
                text-align: center;
                margin-bottom: 2rem;
            }
        }
        
        /* Footer Styles */
        .footer {
            background-color: #000000;
            color: white;
            padding: 60px 0 0 0;
        }
        
        .footer-logo img {
            max-height: 60px;
        }
        
        .footer-social {
            display: flex;
            gap: 1rem;
        }
        
        .footer-social-link {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background-color: transparent;
            border: 2px solid white;
            color: white;
            text-decoration: none;
            transition: all 0.3s ease;
        }
        
        .footer-social-link:hover {
            background-color: white;
            border-color: white;
            color: #000000;
        }
        
        .footer-links {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
            color:white;
        }
        
        .footer-link {
            color: white;
            text-decoration: none;
            font-size: 0.9rem;
            line-height: 1.4;
        }
        
        .footer-link:hover {
            color: white;
            text-decoration: underline;
        }
        
        .footer-certification img {
            max-height: 80px;
        }
        
        .footer-title {
            font-size: 1.2rem;
            font-weight: 700;
            color: white;
            margin-bottom: 1rem;
        }
        
        .footer-menu {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        
        .footer-menu li {
            margin-bottom: 0.5rem;
        }
        
        .footer-menu-link {
            color: white !important;
            text-decoration: none;
            font-size: 0.9rem;
            line-height: 1.4;
            transition: all 0.3s ease;
        }
        
        .footer-menu-link:hover {
            color: white;
            text-decoration: underline;
        }
        
        .footer-bottom {
            background-color: #000000;
            padding: 20px 0;
            margin-top: 40px;
            border-top: 1px solid #333;
        }
        
        .footer-copyright {
            color: white;
            margin: 0;
            font-size: 0.9rem;
        }
        
        .footer-legal {
            display: flex;
            align-items: center;
            gap: 1rem;
        }
        
        .footer-legal-link {
            color: white;
            text-decoration: none;
            font-size: 0.9rem;
            transition: all 0.3s ease;
        }
        
        .footer-legal-link:hover {
            color: white;
            text-decoration: underline;
        }
        
        .footer-separator {
            color: white;
        }
        
        @media (max-width: 767.98px) {
            .footer {
                padding: 40px 0 0 0;
            }
            
            .footer-social {
                justify-content: center;
                margin-bottom: 2rem;
            }
            
            .footer-links {
                text-align: center;
                margin-bottom: 2rem;
            }
            
            .footer-certification {
                text-align: center;
            }
            
            .footer-title {
                text-align: center;
                margin-top: 2rem;
            }
            
            .footer-menu {
                text-align: center;
            }
            
            .footer-legal {
                justify-content: center;
                margin-top: 1rem;
                flex-wrap: wrap;
            }
            
            .footer-copyright {
                text-align: center;
            }
        }
        }
/* ========== Service Styles ============ */    
        .service-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.15);
        }
        
        .service-icon {
            font-size: 4rem;
            color: #dc3545;
            margin-bottom: 1rem;
        }
        
        .service-title {
            font-size: 1.1rem;
            font-weight: 700;
            color: #212529;
            margin: 0;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
/* Mobile scrollable styles for services */
@media (max-width: 767.98px) {
    .services-mobile-container {
        position: relative;
        margin: 0 -15px; /* Extend beyond container */
    }
    
    .services-scroll-wrapper {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* Internet Explorer 10+ */
        padding: 20px 0;
    }
    
    .services-scroll-wrapper::-webkit-scrollbar {
        display: none; /* WebKit */
    }
    
    .services-scroll-container {
        display: flex;
        gap: 15px;
        padding: 0 30px; /* Add padding to show partial items */
        width: max-content;
    }
    
    .service-item-mobile {
        flex: 0 0 auto;
        width: 140px; /* Fixed width for consistency */
    }
    
    .mobile-services-section .service-card {
        height: 140px;
        padding: 1rem 0.5rem;
        margin: 0;
    }
    
    .mobile-services-section .service-icon {
        font-size: 3rem;
        margin-bottom: 0.8rem;
    }
    
    .mobile-services-section .service-icon img {
        max-width: 50px;
        max-height: 50px;
    }
    
    .mobile-services-section .service-title {
        font-size: 0.9rem;
        line-height: 1.2;
    }
    
    /* Fade effect to show more content */
    .services-mobile-container::before,
    .services-mobile-container::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        width: 30px;
        z-index: 2;
        pointer-events: none;
    }
    
    .services-mobile-container::before {
        left: 0;
        background: linear-gradient(to right, white, transparent);
    }
    
    .services-mobile-container::after {
        right: 0;
        background: linear-gradient(to left, white, transparent);
    }
    
    /* Show partial items at edges */
    .services-scroll-container .service-item-mobile:first-child {
        margin-left: 15px;
    }
    
    .services-scroll-container .service-item-mobile:last-child {
        margin-right: 15px;
    }
}        



        .top-bar {
            background-color: white;
            padding: 0.5rem 0;
            border-bottom: 1px solid #e9ecef;
        }
        
        .navbar {
            background: white !important;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            padding: 1rem 0;
        }
        
        .navbar-nav .nav-link {
            color: #212529 !important;
            font-weight: 500;
            margin: 0 0.5rem;
            text-transform: uppercase;
            font-size: 0.7rem;
            letter-spacing: 0.4px;
        }
        
        .btn-recruitment {
            background-color: #dc3545;
            color: white;
            padding: 0.5rem 1.5rem;
            text-decoration: none;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            font-size: 0.8rem;
        }
        
        .btn-recruitment:hover {
            background-color: #c82333;
            color: white;
        }
        
        .social-icons a {
            color: white;
            font-size: 1.2rem;
            margin: 0 0.3rem;
            text-decoration: none;
        }
        
        .social-facebook { background-color: #3b5998; }
        .social-instagram { background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); }
        .social-youtube { background-color: #ff0000; }
        .social-linkedin { background-color: #0077b5; }
        
        .social-icons a {
            display: inline-block;
            width: 30px;
            height: 30px;
            line-height: 30px;
            text-align: center;
            margin: 0 2px;
        }
        
        @media (max-width: 768px) {
            .hero-title {
                font-size: 2.5rem;
            }
            .hero-subtitle {
                font-size: 2rem;
            }
            .hero-description {
                font-size: 1.5rem;
            }
        }

/* ======== footer  start ============ */
/* Force tous les liens du footer à être blancs avec !important */
.footer a,
.footer a:link,
.footer a:visited,
.footer a:hover,
.footer a:active {
    color: white !important;
    text-decoration: none !important;
}

.footer a:hover {
    text-decoration: underline !important;
}

/* Styles spécifiques pour chaque type de lien du footer */
.footer-link,
.footer-link:link,
.footer-link:visited,
.footer-link:hover,
.footer-link:active {
    color: white !important;
    text-decoration: none !important;
}

.footer-link:hover {
    color: white !important;
    text-decoration: underline !important;
}

.footer-menu-link,
.footer-menu-link:link,
.footer-menu-link:visited,
.footer-menu-link:hover,
.footer-menu-link:active {
    color: white !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

.footer-menu-link:hover {
    color: white !important;
    text-decoration: underline !important;
}

.footer-legal-link,
.footer-legal-link:link,
.footer-legal-link:visited,
.footer-legal-link:hover,
.footer-legal-link:active {
    color: white !important;
    text-decoration: none !important;
    font-size: 0.9rem !important;
    transition: all 0.3s ease !important;
}

.footer-legal-link:hover {
    color: white !important;
    text-decoration: underline !important;
}

.footer-social-link,
.footer-social-link:link,
.footer-social-link:visited,
.footer-social-link:hover,
.footer-social-link:active {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    background-color: transparent !important;
    border: 2px solid white !important;
    color: white !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

.footer-social-link:hover {
    background-color: white !important;
    border-color: white !important;
    color: #000000 !important;
}

/* Surcharge spécifique pour Bootstrap reboot */
.footer .footer-menu a,
.footer .footer-links a {
    color: white !important;
}

.footer .footer-menu a:hover,
.footer .footer-links a:hover {
    color: white !important;
    text-decoration: underline !important;
}

        .footer-menu {
            list-style: none !important;;
            padding: 0 !important;;
            margin: 0 !important;;
        }
/* ======== timeline-area style start ============ */




/*-- */
/* Timeline Section Styles */
.timeline-section {
    background-color: white;
    padding: 80px 0;
}

/* Sticky Content Styles */
.timeline-content {
    padding: 2rem;
    border-radius: 8px;
    height: fit-content;
}

.sticky-content {
    position: sticky;
    top: 120px; /* Ajustez selon la hauteur de votre navbar */
}

/* Timeline Wrapper */
.timeline-wrapper {
    padding: 1rem;
}

/* Event Timeline Styles */
.event-timeline {
    position: relative;
    padding-left: 30px;
}

.event-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #dc3545;
}

/* Timeline Item */
.timelineItem {
    position: relative;
    margin-bottom: 3rem;
}

.timelineItem:last-child {
    margin-bottom: 0;
}

.timelineItem-content {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-left: 60px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timelineItem-content:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Timeline Content Image */
.timeline-content--img {
    margin-bottom: 1rem;
}

.timeline-image {
    width: 100%;
    max-width: 150px;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

/* Timeline Content Text */
.timeline-content--text {
    flex-grow: 1;
}

.timeline-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.timeline-description {
    color: #666;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

/* Timeline Date */
.timeline-date {
    position: absolute;
    left: -15px;
    top: 20px;
    width: 80px;
    text-align: center;
}

.timeline-date .ind {
    display: block;
    width: 12px;
    height: 12px;
    background-color: #dc3545;
    border-radius: 50%;
    margin: 0 auto 0.5rem auto;
    border: 3px solid white;
    box-shadow: 0 0 0 2px #dc3545;
}

.timeline-year {
    font-weight: 700;
    color: #333;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .timeline-section {
        padding: 60px 0;
    }
    
    .sticky-content {
        position: static;
        margin-bottom: 2rem;
    }
    
    .timeline-content {
        padding: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .timeline-wrapper {
        padding: 0.5rem;
    }
    
    .timelineItem-content {
        padding: 1rem;
        margin-left: 20px;
    }
    
    .event-timeline {
        padding-left: 20px;
    }
    
    .event-timeline::before {
        left: 10px;
    }
    
    .timeline-date {
        left: -10px;
        width: 60px;
    }
    
    .timeline-date .ind {
        width: 10px;
        height: 10px;
    }
    
    .timeline-year {
        font-size: 0.8rem;
    }
    
    .timeline-image {
        max-width: 100px;
    }
    
    .timeline-title {
        font-size: 1rem;
    }
    
    .timeline-description {
        font-size: 0.9rem;
    }
}

/* Animation pour l'apparition des éléments */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.timelineItem {
    animation: fadeInUp 0.6s ease-out;
}

.timelineItem:nth-child(1) { animation-delay: 0.1s; }
.timelineItem:nth-child(2) { animation-delay: 0.2s; }
.timelineItem:nth-child(3) { animation-delay: 0.3s; }
.timelineItem:nth-child(4) { animation-delay: 0.4s; }
.timelineItem:nth-child(5) { animation-delay: 0.5s; }

/* ======== timeline-area style end ============ */



/* ======== content section style start ============ */
.contnet {
}        
.content-section {
				padding-top:100px;
        }

        .section-subtitle {
            color: #999;
            font-size: 0.9rem;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 20px;
        }

        .section-title {
            font-size: 3.5rem;
            font-weight: 700;
            color: #333;
            text-transform: uppercase;
            letter-spacing: 2px;
            margin-bottom: 40px;
            line-height: 1.1;
        }

        .content-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
        }

        .text-content {
            font-size: 1rem;
            line-height: 1.8;
            color: #555;
        }

        .text-content p {
            margin-bottom: 25px;
            text-align: justify;
        }

        .image-content {
            position: relative;
        }

        .main-image {
            width: 100%;
            height: auto;
            object-fit: cover;
            border-radius: 8px;
            box-shadow: 0 8px 30px rgba(0,0,0,0.15);
        }
/* ======== content section style end ============ */

/* ======== recrutment style start ============ */
/* Jobs Hero Section */
.jobs-hero-section {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('construction-hero.jpg');
    background-size: cover;
    background-position: center;
    min-height: 50vh;
    display: flex;
    align-items: center;
    color: white;
    margin-top: 100px;
    padding: 80px 0;
}

.jobs-title {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.jobs-description {
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Jobs Content Section */
.jobs-content-section {
    background-color: white;
    padding: 80px 0;
}

.jobs-count {
    background-color: #f8f9fa;
    padding: 1.5rem 2rem;
    border-radius: 8px;
    border-left: 4px solid #dc3545;
}

.jobs-count-number {
    font-size: 2rem;
    font-weight: 700;
    color: #dc3545;
    margin-right: 0.5rem;
}

.jobs-count-text {
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
}

/* Job Cards */
.jobs-list {
    margin-top: 2rem;
}

.job-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    overflow: hidden;
}

.job-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: #dc3545;
    transform: translateY(-2px);
}

.job-card-content {
    padding: 2rem;
}

.job-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.job-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #212529;
    margin: 0;
    flex-grow: 1;
}

.job-location {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 0.95rem;
    white-space: nowrap;
}

.job-location i {
    color: #dc3545;
    margin-right: 0.5rem;
}

.job-description {
    margin-bottom: 2rem;
}

.job-description p {
    color: #666;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

.job-card-footer {
    display: flex;
    justify-content: flex-end;
}

.btn-job {
    background-color: #dc3545;
    color: white;
    padding: 0.8rem 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    border: none;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.btn-job:hover {
    background-color: #c82333;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
}

/* Pagination */
.jobs-pagination .pagination {
    margin: 0;
}

.jobs-pagination .page-link {
    border: 2px solid #e9ecef;
    color: #666;
    padding: 0.75rem 1rem;
    margin: 0 0.25rem;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.jobs-pagination .page-link:hover {
    border-color: #dc3545;
    color: #dc3545;
    background-color: rgba(220, 53, 69, 0.1);
}

.jobs-pagination .page-item.active .page-link {
    background-color: #dc3545;
    border-color: #dc3545;
    color: white;
}

.jobs-pagination .page-item.active .page-link:hover {
    background-color: #c82333;
    border-color: #c82333;
}

/* No Jobs Section */
.no-jobs-section {
    padding: 4rem 0;
    text-align: center;
}

.no-jobs-icon {
    font-size: 4rem;
    color: #dc3545;
    margin-bottom: 2rem;
}

.no-jobs-title {
    font-size: 2rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 1.5rem;
}

.no-jobs-text {
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.btn-no-jobs {
    background-color: #dc3545;
    color: white;
    padding: 1rem 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    border: none;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-no-jobs:hover {
    background-color: #c82333;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
}

/* Jobs CTA Section */
.jobs-cta-section {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.cta-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

.btn-cta-jobs {
    background-color: #dc3545;
    color: white;
    padding: 1.2rem 3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 1rem;
    border: none;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-cta-jobs:hover {
    background-color: #c82333;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
}

/* Mobile Responsive */
@media (max-width: 767.98px) {
    .jobs-hero-section {
        min-height: 40vh;
        padding: 60px 0;
        margin-top: 90px;
    }
    
    .jobs-title {
        font-size: 2.5rem;
    }
    
    .jobs-description {
        font-size: 1rem;
    }
    
    .jobs-content-section {
        padding: 60px 0;
    }
    
    .job-card-content {
        padding: 1.5rem;
    }
    
    .job-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .job-location {
        margin-top: 0.5rem;
    }
    
    .job-card-footer {
        justify-content: center;
    }
    
    .btn-job {
        width: 100%;
        justify-content: center;
    }
    
    .jobs-cta-section {
        padding: 60px 0;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .btn-cta-jobs {
        width: 100%;
        text-align: center;
    }
    
    .jobs-count {
        text-align: center;
        padding: 1rem 1.5rem;
    }
    
    .jobs-count-number {
        display: block;
        margin-bottom: 0.5rem;
        margin-right: 0;
    }
}

@media (max-width: 575.98px) {
    .job-title {
        font-size: 1.3rem;
    }
    
    .jobs-pagination .page-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
}
/* ========== recrutment style end ============ */

.breadcrumb > .active {
	color: #888;
}
.breadcrumb a,
.breadcrumbs a {
	color: #888 !important;
	text-transform: capitalize;
}

/* ===== Consent banner --- */
/* Additional styles for hover effects can be added here */
#consent-banner {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background-color: white;
	padding: 20px;
	text-align: center;
	box-shadow: 0 0 5px rgba(0,0,0,0.2);
	z-index:9999;
  } 
  #consent-sidebar {
	position: fixed;
	top: 0;
	right: -300px; /* Start off-screen */
	width: 300px;
	height: 100%;
	background: white;
	box-shadow: -2px 0 5px rgba(0, 0, 0, .5);
	transition: right 0.3s ease;
  }
  
  #consent-sidebar.open {
	right: 0; /* Slide in */
  }
  

  #cookie-popup {
	position: fixed;
	bottom: -100%; /* Commencer hors de l'écran */
	left: 0;
	width: 100%;
	padding-left:5%;
	padding-right:5%;
	padding-top:2%;
	padding-bottom:2%;
	background-color: white;
	box-shadow: 0px -2px 5px rgba(0, 0, 0, 0.2);
	transition: bottom 0.3s ease;
	z-index:9999;
  }
  
  #cookie-popup.open {
	bottom: 0; /* Faire apparaître la popup */
  }
  
  .black-line {
	border-bottom: 1px solid black;
  }
  /* ===== End Consent banner --- */

  /* ======== Material Section Styles Start ============ */
      /* Materials Section - Updated to match design */
        .materials-section {
            background-color: #f8f9fa;
            padding: 80px 0;
        }

        .materials-header {
            margin-bottom: 60px;
        }
        
        .materials-title {
            font-size: 2.8rem;
            font-weight: 700;
            color: #212529;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 0;
        }

        .filters-section {
            background-color: white;
            padding: 40px;
            border-radius: 8px;
            box-shadow: 0 2px 20px rgba(0,0,0,0.08);
            margin-bottom: 60px;
        }

        .filter-group {
            margin-bottom: 25px;
        }

        .filter-label {
            font-size: 0.9rem;
            font-weight: 600;
            color: #666;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 8px;
            display: block;
        }

        .filter-input, .filter-select {
            width: 100%;
            padding: 12px 16px;
            border: 2px solid #e9ecef;
            border-radius: 4px;
            font-size: 1rem;
            background-color: white;
            transition: border-color 0.3s ease, box-shadow 0.3s ease;
        }

        .filter-input:focus, .filter-select:focus {
            outline: none;
            border-color: #dc3545;
            box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
        }

        .filter-input::placeholder {
            color: #999;
            font-style: italic;
        }

        .btn-search {
            background-color: #dc3545;
            color: white;
            padding: 12px 40px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            font-size: 0.9rem;
            border: none;
            border-radius: 4px;
            transition: all 0.3s ease;
            width: 100%;
            margin-top: 20px;
        }

        .btn-search:hover {
            background-color: #c82333;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
        }

        .materials-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 30px;
            margin-bottom: 60px;
        }

        .material-card {
            background: white;
            border-radius: 8px;
            padding: 30px 25px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.08);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            position: relative;
        }

        .material-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 30px rgba(0,0,0,0.15);
        }

        .material-name {
            font-size: 1.3rem;
            font-weight: 700;
            color: #212529;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 20px;
            line-height: 1.2;
        }

        .material-specs {
            margin-bottom: 25px;
        }

        .material-spec {
            display: flex;
            justify-content: space-between;
            margin-bottom: 8px;
            font-size: 0.9rem;
        }

        .spec-label {
            font-weight: 600;
            color: #333;
        }

        .spec-value {
            color: #666;
            font-weight: 500;
        }

        .btn-datasheet {
            background-color: #dc3545;
            color: white;
            padding: 10px 20px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            font-size: 0.8rem;
            border: none;
            border-radius: 4px;
            text-decoration: none;
            display: inline-block;
            transition: all 0.3s ease;
        }

        .btn-datasheet:hover {
            background-color: #c82333;
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 3px 10px rgba(220, 53, 69, 0.3);
        }

        .load-more-section {
            text-align: center;
            padding: 40px 0;
        }

        .btn-load-more {
            background-color: transparent;
            color: #dc3545;
            padding: 15px 40px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            font-size: 0.9rem;
            border: 2px solid #dc3545;
            border-radius: 4px;
            transition: all 0.3s ease;
        }

        .btn-load-more:hover {
            background-color: #dc3545;
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
        }
        #suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  width: 100%;
  background: white;
  border: 1px solid #ccc;
  border-top: none;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  max-height: 200px;
  overflow-y: auto;
  margin: 0;
  padding: 0;
  list-style: none;
}

#suggestions li {
  padding: 10px 15px;
  cursor: pointer;
}

#suggestions li:hover {
  background-color: #f8f9fa;
}