:root {
    --primary-green: #0d4c3a;
    --secondary-green: #1a3d2e;
    --accent: #d4af37;
    --light-beige: #f8f4ed;
    --dark-brown: #2e2a25;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--light-beige);
    color: #333;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

header {
    background-color: white;
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Logo Styles */
.logo-container {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo {
    display: block;
    height: 50px; 
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    height: 100%;
    max-height: 50px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: all 0.3s ease;
}


header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 15px 0;
}

.main-nav {
    display: block;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 1rem;
    margin: 0;
    padding: 0;
}

.nav-item {
    color: var(--dark-brown);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-item:hover, .nav-item.active {
    background-color: var(--primary-green);
    color: white;
}

.menu-toggle {
    margin-left: 15px;
    background: none;
    border: none;
    color: var(--dark-brown);
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
}

.hero {
    background: linear-gradient(135deg, var(--secondary-green) 0%, var(--primary-green) 100%);
    color: white;
    padding: 8rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero::before {
    z-index: -1;
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    transform: rotate(30deg);
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    z-index: 2;
}

.btn {
    text-decoration: none !important;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.primary {
    background-color: #b38d5f;
    color: white;
    border: 2px solid #b38d5f;
    
}

.primary:hover {
    background-color: #a17c4f;
    border-color: #a17c4f;
}

.secondary {
    background-color: #28a745;
    color: white;
    border: 2px solid #28a745;
}

.secondary:hover {
    background-color: #218838;
    border-color: #218838;
}

.catalog-btn {
    background-color: #d32f2f;
    color: white;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: bold;
    display: block;
    margin: 1rem auto;
    transition: all 0.3s ease;
    width: 25%;
    text-align: center;
}

.catalog-btn:hover {
    background-color: #b71c1c;
    transform: translateY(-2px);
}

.video-section {
    padding: 4rem 0;
    background: linear-gradient(to bottom, var(--light-beige), #e8e4dc);
}

.video-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: relative;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}


/* Products Section - Pure Flexbox */
#produit {
    background: #0E5F4A;
    color: #fff;
    padding: 60px 40px;
    border-radius: 20px;
    margin: 40px auto;
    max-width: 1200px;
}

.section-title {
    text-align: center;
    letter-spacing: 5px;
    text-transform: uppercase;
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #fff;
    position: relative;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #d4af37;
}

.products-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.product-block {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    gap: 40px;
    transition: transform 0.3s ease;
}

.product-block:hover {
    transform: translateY(-5px);
}

.product-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Odd products: text left, image right */
.product-block.odd {
    flex-direction: row;
}

/* Even products: image left, text right */
.product-block.even {
    flex-direction: row;
}

.product-content {
    flex: 1;
    min-width: 300px;
    padding: 0 15px;
}

.product-content h2 {
    font-size: 26px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 15px;
    line-height: 1.3;
}

.product-content p {
    font-size: 16px;
    text-align: justify;
    direction: ltr;
    line-height: 1.15;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

.product-image {
    flex: 0 0 280px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    min-height: 250px;
}

.product-img {
    width: 85%;
    max-width: 270px;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    border-radius: 8px;
    
}

.product-img:hover {
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 992px) {
    .product-block {
        gap: 30px;
    }
    
    .product-image {
        flex: 0 0 250px;
        min-height: 220px;
    }
    
    .product-img {
        max-width: 240px;
    }
}

@media (max-width: 768px) {
    .product-block {
        flex-direction: column !important;
        text-align: center;
        gap: 25px;
    }
    
    .product-block.odd, .product-block.even {
        flex-direction: column !important;
    }
    
    .product-content {
        min-width: 100%;
        padding: 0 10px;
    }
    
    .product-image {
        flex: 0 0 300px;
        min-height: 200px;
        order: 1;
    }
    
    .product-content h2 {
        font-size: 22px;
    }
    
    .product-content p {
        font-size: 14px;
        text-align: center;
    }
    
    .product-img {
        max-width: 220px;
    }
}

@media (max-width: 480px) {
    #produit {
        padding: 40px 20px;
    }
    
    .section-title {
        font-size: 1.8rem;
        letter-spacing: 3px;
    }
    
    .product-block {
        gap: 20px;
    }
    
    .product-image {
        flex: 0 0 280px;
        min-height: 180px;
    }
    
    .product-img {
        max-width: 200px;
        width: 90%;
    }
    
    .product-content h2 {
        font-size: 20px;
    }
    
    .product-content p {
        font-size: 13px;
    }
}

@media (min-width: 1200px) {
    .products-container {
        max-width: 1200px;
    }
    
    .product-block {
        gap: 50px;
    }
    
    .product-image {
        flex: 0 0 300px;
        min-height: 280px;
    }
    
    .product-img {
        max-width: 280px;
    }
}


.products, .faq, .partners, .testimonials, .catalog, .partners-logos, .contact {
    padding: 4rem 0;
}

h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 2rem;
    position: relative;
}

h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--accent);
}

.catalog p, .para{
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    background: white;
}

.faq-question {
    width: 100%;
    text-align: right;
    padding: 1rem 1.5rem;
    background: white;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: bold;
    color: var(--primary-green);
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f8f9fa;
}

.faq-question span {
   
    color: var(--primary-green);
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.4rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question span {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: white;
    color: #333;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 1rem 1.5rem;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.partner-item {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.partner-item:hover {
    transform: translateY(-5px);
}

.partner-item img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
}

.partner-item:hover img {
    filter: grayscale(0%);
    transform: scale(1.1);
}

.partner-item p {
    font-weight: bold;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.partner-item a {
    color: #3b5998;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.partner-item a:hover {
    color: #1a3d2e;
}



/* Testimonials Section - Image Carousel */


.testimonials {
    background: #f8f4ed;
    padding: 4rem 0;
}

.testimonial-slider {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 15px;
  
}

.item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
   
}

.item.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 10;
}

.item img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Slider Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    gap: 8px;
    flex-wrap: wrap;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #0d4c3a;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dot:hover {
    background: #d4af37;
}

.dot.active {
    background: #d4af37;
    
    transform: scale(1.3);
}

/* Carousel Controls */
.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.prev-btn, .next-btn {
    background: #0d4c3a;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.prev-btn:hover, .next-btn:hover {
    background: #1a3d2e;
    transform: translateY(-2px);
}

.prev-btn i, .next-btn i {
    font-size: 16px;
}





.contact {
    background: linear-gradient(to bottom, var(--light-beige), #e8e4dc);
}

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

.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.info-item i {
    width: 40px;
    height: 40px;
    background: var(--primary-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    margin-left: 1rem;
    font-size: 1.2rem;
}

.info-item p {
    margin: 0;
    line-height: 1.6;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

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

.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary-green);
    outline: none;
    box-shadow: 0 0 0 3px rgba(13, 76, 58, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

footer {
    background: linear-gradient(135deg, var(--dark-brown) 0%, #1a2520 100%);
    color: white;
    padding: 4rem 0 2rem;
}

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

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
    color: var(--accent);
    position: relative;
}

.footer-section h3::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent);
}


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

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icons a:hover {
    background: var(--primary-green);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
}

.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 70px;
    height: 70px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.3rem;
    z-index: 99;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    text-decoration: none;
}


/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-list {
        position: fixed;
        top: 70px;
        right: -100%;
        background: var(--dark-brown);
        width: 250px;
        height: calc(100vh - 70px);
        flex-direction: column;
        padding: 2rem;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        z-index: 90;
    }

    .nav-list.active {
        right: 0;
    }

    .nav-item {
        display: block;
        margin-bottom: 1rem;
        padding: 0.8rem;
        text-align: center;
        color: white;
    }

    .menu-toggle.active .fas {
        transform: rotate(180deg);
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .info-item {
        flex-direction: column;
        text-align: center;
    }
    
    .info-item i {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }

    .video-container {
        max-width: 100%;
        padding-top: 56.25%;
    }

     .testimonial-slider {
        height: 350px;
    }
    
    .item img {
        max-width: 95%;
        max-height: 85%;
    }

      .produit-block {
        text-align: center;
        flex-direction: column !important;
    }

  .logo {
        margin-right: 15px;
        height: 40px;
    }
    
    .logo img {
        max-height: 40px;
    }
   
    
   .copyright {
    text-align: center;
}

}

@media (max-width: 480px) {
    .copyright {
    text-align: center;
}

     .logo {
        margin-right: 15px;
        height: 35px;
    }
    
    .logo img {
        max-height: 35px;
    }

    .container {
        padding: 0 1rem;
    }

    .hero {
        padding: 5rem 0;
    }

    .video-placeholder {
        height: 250px;
        font-size: 1.2rem;
    }
    
    .logo-item img {
        max-width: 80px;
    }
    
    h2 {
        font-size: 1.8rem;
    }

     .testimonial-slider {
        height: 300px;
    }
    
    .item img {
        max-width: 100%;
        max-height: 80%;
    }
    
    .slider-dots {
        gap: 6px;
    }
    
    .dot {
        width: 8px;
        height: 8px;
    }

    

}
/* Contact Section */
.contact {
    background: linear-gradient(to bottom, var(--light-beige), #e8e4dc);
    padding: 4rem 0;
}

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

/* Equal height columns */
.contact-info, .google-map-container {
    display: flex;
    flex-direction: column;
    min-height: 400px; /* Minimum height to ensure map visibility */
}

/* Contact Info */
.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item i {
    width: 40px;
    height: 40px;
    background: var(--primary-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 3px;
}

.info-item p {
    margin: 0;
    line-height: 1.6;
    color: #333;
}

/* Form Access Button */
.form-access-button {
    margin-top: auto; /* Push button to bottom */
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.full-width {
    width: 100%;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.full-width:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Google Map Container */
.google-map-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    position: relative;
}

.map-wrapper {
    width: 100%;
    height: 100%;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .contact-info, .google-map-container {
        min-height: auto; /* Allow natural height on mobile */
    }
    
    .google-map-container {
        height: 350px;
    }
    
    .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .info-item i {
        margin-top: 0;
    }
    
    .form-access-button {
        margin-top: 1rem; /* Reset margin-top on mobile */
    }
}

@media (max-width: 480px) {
    .google-map-container {
        height: 300px;
    }
    
    .contact-info {
        padding: 1.5rem;
    }
    
    .full-width {
        font-size: 0.95rem;
        padding: 0.7rem 1.2rem;
    }
    
    .info-item p {
        font-size: 0.95rem;
    }
}

/* Footer Form Link */
.footer-form-link {
    color: #d4af37;
    text-decoration: none;
    display: inline-block;
    padding: 5px 0;
    font-weight: 700;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.footer-form-link:hover {
    color: #0d4c3a;
    border-bottom-color: #0d4c3a;
    padding-left: 5px;
}

.footer-section p,
.footer-section a {
    margin: 5px 0;
    line-height: 1;
}

/* Ensure consistent styling in footer section */
.footer-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}