:root {
    --primary-green: #517932;
    --light-green: #6b9142;
    --dark-green: #3d5a26;
    --hover-green: #4a6f2e;
    --bg-light: #f8faf6;
    --text-dark: #3c3c3c;
    --text-muted: #6c757d;
    --border-light: #e0e8db;
    --shadow: rgba(81, 121, 50, 0.1);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.8;
    color: var(--text-dark);
    background: linear-gradient(135deg, var(--bg-light) 0%, #ffffff 100%);
    min-height: 100vh;
}
.breadcrumb-item,
.breadcrumb-item.active {
    font-size: 1rem !important;
    color: #618c40 !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 600 !important;
    text-transform: uppercase;
}

.breadcrumb-item a {
    font-size: 12px !important;
    color: #7b7b7b !important;
    letter-spacing: 2px !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 600 !important;
}

.breadcrumb-item + .breadcrumb-item::before {
    float: left;
    padding-right: 0.5rem; 
    padding-left: 0.5rem;  
    color: #6c757d; 
    content: ">" !important;
}
.title_product {
    font-size: 24px;
    color: #517932;
    letter-spacing: 0px !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: bold !important;
    text-transform:uppercase;
}
.title_products_card{
    font-size: 1.05rem;
    color: #292929;
    font-family: 'Poppins', sans-serif !important;
    font-weight: bold !important;

}
.nom_produit_detaile{
    color: #517932;
    font-family: 'Poppins', sans-serif !important;
    font-weight: bold !important;
    font-size: 2.188rem;
}
.btn-demandez{
    padding: 1rem 2rem;
    background-color: #517932;
    color: white;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 600;
}
.small_title_detaile{
    font-size: 1.084rem !important;
    font-family: 'Poppins', sans-serif !important;
    /* font-weight: bold !important; */
}
.title_detaile_content{
    font-size: 1.25rem;
    font-family: 'Poppins', sans-serif !important;
    font-weight: bold !important;
}
.contact-hero {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    color: white;
    padding: 60px 0 40px;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.contact-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.contact-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

.contact-container {
    margin-top: -30px;
    position: relative;
    z-index: 10;
    padding-bottom: 60px;
}

.contact-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px var(--shadow);
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.contact-info {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--light-green) 100%);
    color: white;
    padding: 3rem;
    position: relative;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(30px, -30px);
}

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.contact-info p {
    opacity: 0.9;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    backdrop-filter: blur(10px);
}

.info-icon i {
    font-size: 1.2rem;
}

.info-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.info-content p {
    opacity: 0.8;
    margin: 0;
    font-size: 0.95rem;
}

.contact-form {
    padding: 3rem;
}

.form-title {
    color: var(--primary-green);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.form-subtitle {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-light);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fafbfa;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-green);
    background: white;
    box-shadow: 0 0 0 3px rgba(81, 121, 50, 0.1);
    transform: translateY(-1px);
}

.form-control::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.btn-submit {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--light-green) 100%);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(81, 121, 50, 0.3);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-submit:hover::before {
    left: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 768px) {
    .contact-hero h1 {
        font-size: 2.5rem;
    }

    .contact-info,
    .contact-form {
        padding: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-card {
        margin: 1rem;
    }
}

.animate-in {
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.8s ease forwards;
}

.animate-in:nth-child(1) {
    animation-delay: 0.1s;
}

.animate-in:nth-child(2) {
    animation-delay: 0.2s;
}

.animate-in:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-message {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 1px solid #c3e6cb;
    display: none;
}

.header {
    background-color: #618c3f;
    height: 40px;
    display: flex;
    align-items: center;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.text-header {
    font-size: 10px;
    color: white;
    font-family: 'Poppins', sans-serif !important;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.flags {
    display: flex;
    align-items: center;
    gap: 10px;
}

.flags img {
    width: 25px;
    height: auto;
}

a {
    text-decoration: none;
}

.flags .fa-linkedin-in {
    color: #618c3f;
    font-size: 12px;
    border: 2px solid white;
    border-radius: 50%;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
    text-decoration: none;
}

.fab {
    color: #618c3f;
    font-size: 12px;
    border: 2px solid white;
    border-radius: 50%;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
    text-decoration: none;

}

.nav-link {
    font-family: 'poppins', sans-serif !important;
    font-size: 14px;
    font-weight: 600;
    color: #618c40 !important;
    text-transform: uppercase;
}
.top-menu {
    font-family: 'poppins', sans-serif !important;
    font-size: 13px;
    font-weight: 600;
    color: white !important;
    text-transform: uppercase;
    text-decoration: none;
    margin: 0.5rem;

}
.img-fluid-home{
    width: 250px;
    height: 250px;
    object-fit: contain;
}

.navbar {
    height: 100px;
}

.carousel {
    background-color: #153b0f;
}

.carousel {
    height: 80vh;
    position: relative;
    object-fit: contain;
}

.slide_page {
    height: 400px;
    position: relative;
    object-fit: contain;
}

.carousel-item {
    height: 80vh;
}

.btn-slide {
    padding: 1rem 3rem;
    /* background-color: #153b0f; */
    color: white;
    font-size: 16px;
    text-transform: uppercase;
    border: 3px solid white;
    transition: background-color 0.3s, color 0.3s;
}
.btn-slide:hover{
    background-color:#618c40 !important;
    color:white;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.carousel-caption-custom {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 10%;
    text-align: left;
    right: 10%;
}

.carousel-caption-custom h5,
.fw-bold {
    font-size: 2.188rem !important;
    font-weight: 300;
    font-family: 'poppins', sans-serif;
}

.arrow {
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: auto;
    animation: bounce 2s infinite;
    cursor: pointer;
}

.arrow-top {
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: auto;
    animation: bounce 2s infinite;
    cursor: pointer;
    z-index:2;
}

.navscrolled {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1030;
}

.title_home_page {
    font-family: 'poppins', sans-serif;
    font-size: 1.938rem;
    font-weight: 300;
    color: #698a49;

}

.title_home_page span {
    font-weight: bold;
}

.section_page {
    width: 100%;
    height: 300px;
    /* background-image: url('../images/page1.jpg'); */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 0px 100px 0px 0px;
    background-color: black;
    margin-bottom: 5rem;
    display: flex;
    align-items: end;
    position: relative;
}

.titre_section_page {
    color: white;
    font-size: 1.625rem;
    font-weight: bold;
    position: absolute;
    bottom: 3rem;
    left: 3rem;
}

.section_page hr {
    background-color: #618c3f;
    border: none;
    width: 15%;
    height: 4px;
    border-radius: 2px;
    position: absolute;
    bottom: 2rem;
    left: 3rem;
    margin: 0;
}

hr {
    background-color: #517932 !important;
    border: none !important;
    width: 15%;
    height: 4px !important;
    border-radius: 2px;
    margin: 20px 0 !important;
}

.titre_section {
    font-family: 'poppins', sans-serif;
    font-size: 2.188rem;
    font-weight: bold;
    color: #517932;

}

.section_titre {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.paragraphe_section {
    font-family: 'poppins', sans-serif;
    font-size: 1rem;
    color: black;
    line-height: 1.5;
    margin-top: 1rem;
    text-align: justify;
}

.btn_section {
    font-weight: 600;
    font-size: 1rem;
    font-family: 'poppins', sans-serif;
    color: #517932;
    padding: 1rem 3rem;
    border: #517932 2px solid;
    width: fit-content;
}

.card-date {
    font-size: 0.75rem;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 500;
}

.card-title {
    font-size: 1.25rem;
    font-family: 'Poppins', sans-serif !important;
    font-weight: bold;

}

.btn-voir-plus {
    color: #496d20;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif !important;
    font-weight: bold;
}

.cards-slider .slick-slide {
    margin: 0 10px;
    box-sizing: border-box;
    border-radius: 15px;
}

.cards-slider .card {
    height: 100%;
}

footer {
    position: relative;
    background-image: url('../images/footer_bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 5rem 0rem !important;
}

.copy {
    padding: 2rem 0rem !important;

}

.text-decoration-none {
    text-decoration: none !important;
    color: white !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
}

.small {
    text-decoration: none !important;
    color: white !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 600 !important;
    font-size: 0.875rem !important;

}

.copyright-text {
    font-size: 0.875rem;
    color: #64696e;
    font-family: 'roboto', sans-serif !important;
    font-weight: normal;
    margin: 0;
}

.dropdown-menu {
    background-color: #618c3f;
    border: none;
    border-radius: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 0;
    margin-top: 0;
    min-width: 200px;
}

.dropdown-item {
    color: white;
    padding: 15px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    transform: translateX(5px);
}

.dropdown-item:focus {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
}


.nav-link.dropdown-toggle {
    position: relative;
}

.nav-link.dropdown-toggle:hover {
    color: #28a745 !important;
}
  .navbar-toggler {
border: none !important;
  }

@media (min-width: 992px) {
    .navbar .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
    
    .search-wrapper .dropdown .dropdown-menu {
        display: none !important;
    }
    
    .search-wrapper .dropdown.show .dropdown-menu,
    .search-wrapper .dropdown-menu.show {
        display: block !important;
        margin-top: 0;
    }
}
@media (max-width: 991px) {

    .dropdown-item{
        color: #618c40 !important;
    }
    .dropdown-menu{
        background-color: white !important;
    }
    .header{
        display: none;
    }
}

@media (max-width: 768px) {
    .carousel-caption-custom {
        left: 5%;
        right: 5%;
        text-align: center;
    }

    .carousel-caption-custom h5 {
        font-size: 1.5rem !important;
    }

    .carousel-caption-custom p {
        font-size: 1.75rem !important;
    }

    .btn {
        padding: 0.5rem 1.5rem;
        font-size: 0.9rem;
    }
}


@media (max-width: 1024px) and (min-width: 769px) {
    .carousel-caption-custom {
        left: 8%;
        right: 8%;
    }
}


@media (max-width: 480px) {
    .carousel-caption-custom h5 {
        font-size: 1.25rem !important;
    }

    .carousel-caption-custom p {
        font-size: 1.5rem !important;
    }

    .btn {
        padding: 0.4rem 1.2rem;
        font-size: 0.8rem;
    }
}


@media (min-width: 1200px) {
    .carousel-caption-custom {
        left: 15%;
        right: 15%;
    }
}

@media (max-width: 768px) {
    .text-header {
        font-size: 10px;
        letter-spacing: 0.5px;
    }

    .flags img {
        width: 20px;
    }

    .flags .fa-linkedin-in {
        font-size: 10px;
        padding: 3px;
    }
}

@media (max-width: 576px) {
    .header {
        height: auto;
    }

    .text-header {
        font-size: 9px;
        letter-spacing: 0px;
    }

    .flags {
        gap: 8px;
    }

    .flags img {
        width: 18px;
    }

    .flags .fa-linkedin-in {
        font-size: 9px;
        padding: 2px;
    }

    .navbar {
        height: auto;
    }
}

@media (max-width: 480px) {
    .text-header {
        font-size: 8px;
        max-width: 60%;
    }

    .flags {
        gap: 6px;
    }

    .flags img {
        width: 16px;
    }
}