*{
    padding: 0;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box; 
    list-style-type: none;
    text-decoration: none;
}
html, body {
    height: 100%; /* Assurer que le body occupe toute la hauteur de la fenêtre */
    margin: 0;
    padding: 0;
}

header {
    position: fixed;
    right: 0;
    top: 0;
    z-index: 1000;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 33px 9%;
    background: white;
}
/************************************ Body ****************************************/
body{
    background-color: white;
    font-family: "Arial", sans-serif; }
/******************************************** LOGO **********************************/

.logo {
    width: 260px; 
    height: auto; /* Keep aspect ratio */
    transition: width 0.3s ease; /* Smooth resize */
    display: block; /*Ensures it behaves like a block element */
    background-size: cover; /* Makes the image cover the entire container */
    background-position: center; /* Centers the image*/
    background-repeat: no-repeat;
    overflow:hidden;
}
/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .logo {
        width: 150px; /* Adjust logo size for tablets */
    }
}

@media (max-width: 480px) {
    .logo {
        width: 150px; /* Further adjust logo size for mobile */
    }
}

/************************* NAV BARRE ***********************/
nav {
    background: #fff;
    border-radius: 50px;
    padding: 10px;
}

nav ul {
    padding: 0;
    margin: 0;
    display: flex; /* Default horizontal layout */
}

nav ul li {
    list-style: none;
    display: inline-block;
    font-size: 25px;
    font-weight: 600;
    margin: 10px;
    position: relative;
    cursor: pointer;
    z-index: 1;
    transition: color 0.3s ease;
}

nav ul li a {
    text-decoration: none;
    color: #688c3c;
    padding: 13px 35px;
    display: block;
    transition: color 0.3s ease;
}

nav ul li::after {
    content: '';
    background: #688c3c;
    width: 100%;
    height: 100%;
    border-radius: 30px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    z-index: -1;
    opacity: 0;
    transition: all 0.3s ease;
}

nav ul li:hover a {
    color: #fff;
}

nav ul li:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Menu Icon */
#menu-icon {
    color: #688c3c;
    font-size: 30px;
    z-index: 10001;
    cursor: pointer;
    display: none; /* Hidden on desktop */
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    nav ul {
        position: absolute;
        top: 100%;
        right: 0;
        background-color: white;
        flex-direction: column; /* Stack items vertically */
        width: 50%;
        display: none; /* Initially hidden */
    }

    nav ul.active {
        display: flex; /* Show menu when active */
    }

    #menu-icon {
        display: block; /* Show icon on mobile */
    }
    nav ul li {
        font-size: 14px;
    }

    header {
        padding: 15px 5%; /* Reduced padding for smaller screens */
    }
}
/**************Hero part********************/
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 2rem;
    background-image: url(../images/logo.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.9); /* Couleur blanche avec opacité */
    z-index: 1; /* Superposition au-dessus de l'image de fond */
}

.green {
    width: 400px;
    position: absolute;
    right: 10%;
    z-index: 2; /* Plus élevé que le z-index du pseudo-élément */
    animation: planetAn 10s linear infinite;
}
.green.anim{
    animation-delay: 1.5s;
}

/*********************** Content ************************************/
.conten {
    position: absolute; /* Positionne le contenu par-dessus l'image */
    top: 30%; /* Ajuste cette valeur pour le déplacer vers le haut */
    left: 10%; /* Ajuste cette valeur pour le déplacer vers la gauche */
    transform: translate(0, 0); /* Supprime le centrage automatique */
    color: #688c3c; /* Change la couleur du texte en blanc pour le rendre visible */
    text-align: left; /* Aligne le texte à gauche */
    z-index: 1; /* S'assure que le contenu soit au-dessus de l'image */
    max-width: 600px; /* Limite la largeur du contenu */
    margin: 0; /* Enlève la marge par défaut */
}
/*****************************Button learn more**********************************/

.conten .btn {
    display: inline-block;
    text-decoration: none;
    padding: 15px 80px;
    color: #fff;
    background-image: linear-gradient(45deg, #797979, #688c3c);
    font-size: 16px;
    border-radius: 30px;
    border-top-right-radius: 0;
    transition: 0.5s;
    margin-left: 15px;

  
}
.btn:hover{
    border-top-right-radius: 30px;
    
}
.conten .btn{
    animation-delay: 1s; 
}

.conten h1 {
    margin-bottom: 20px; 
    font-size: 70px;
}

.conten p {
    margin-bottom: 30px; /* Espace entre le paragraphe et le bouton */
    animation-delay: 0.5s;
    margin-left: 20px;
    font-weight: 600;
    font-size: 30px;
    
}

/**************************Animation *********************************/
.anim{
    opacity: 0;
    transform: translateY(30px);
    animation: moveup 0.5s linear forwards;
}
@keyframes moveup{
    100%{
        opacity: 1;
        transform: translateY(0px);
    }
}
/*******************************Responsive******************************/
/* Responsive adjustments for content */
@media (max-width: 768px) {
    .conten {
        left: 5%; /* Adjust left positioning */
        top: 25%; /* Adjust top positioning */
        max-width: 90%; /* Adjust width for smaller screens */
    }

    .conten h1 {
        font-size: 30px; /* Adjust heading size for smaller screens */
    }

    .conten p {
        font-size: 14px; /* Adjust paragraph size */
        margin-left: 5px;
    }

    .conten .btn {
        padding: 10px 25px; /* Adjust button size */
        margin-left: 5px;
    }
}

/**************************Footer*****************************************************/
footer{
    background: linear-gradient(to right,rgb(236, 233, 233), #939393, #688c3c);
    font-size: 16px;
    border-top-left-radius: 100px;
    box-sizing: border-box;
    position:relative ;
    bottom: 0;
    width: 100%;
     
}
footer *{
    color: white;
   
}
.container {
    display: flex;
    justify-content: space-between;
    padding: 50px 7%;
    
}
.footer-col{
    width: 25%; 
    
}
.footer-col .logo{
    width: 80%;
   
}
.footer-col p {
    margin: 10px 0;

}

p.mail{
    margin: 30px 0;
}

p.end{
    color: white;
    text-align: center;
    align-items: center;
    font-size: 15px;
    padding-bottom: 10px;
}

.footer-col .text-office{
    margin-bottom: 20px; /*espace titre et texte*/
}

.underline{
    width: 70px;
    height: 3px;
    position: relative;
    margin-bottom: 20px;
    background-color: white;
    border-radius: 3px;
    overflow: hidden;
}
.footer-col ul{
    list-style-type: none ;
   
}
.footer-col ul li{
    margin: 10px;
}
.footer-col .social-icons{
    margin-top: 20px;

}
.footer-col .social-icons{
    margin-top: 20px;
    
}
.footer-col .footer-para {
    font-size: 20px;
    font-weight: 600;
    padding-left: 30%;
    color: #688c3c;
}


/************************************** Responsive*****************************************************/
@media (max-width: 480px) {
    .container {
        display: flex;
        align-items: center;
        justify-content: center;  /* Center the content */
        flex-direction: column;
        padding: 20px;  /* Add padding for better spacing */
    }
    .footer-col .logo{
        margin-left: 50px;
       
    }
    .footer-col {
        width: 100%;  /* Make footer columns full width on small screens */
        text-align: center;  /* Center text inside each column */
        margin-bottom: 20px;  /* Add space between columns */
    }

    .footer-col h3 {
        font-size: 18px; /* Slightly smaller font size for better fit */
        margin-bottom: 10px; /* Add space below the title */
    }

    .footer-col p {
        font-size: 14px; /* Adjust paragraph size to be more legible */
        line-height: 1.5;  /* Increase line height for better readability */
        margin-bottom: 10px; /* Space between paragraphs */
    }

    .footer-col ul {
        list-style-type: none;  /* Remove default list styles */
        padding: 0;  /* Remove default padding */
        font-size: 12px;  /* Adjust font size */
        text-align: center;  /* Center the list items */
    }

    .footer-col ul li {
        margin-bottom: 8px;  /* Space between list items */
    }

    .underline {
        width: 50px;
        height: 2px; /* Make the underline thicker */
        margin-left: 42%;
        margin-top: 10px; /* Space above the underline */
        margin-bottom: 20px; /* Space below the underline */
    }
}

@media (max-width: 768px) {
    .container {
        display: flex;
        align-items: center;
        justify-content: space-between; /* Garde un espacement entre les éléments */
        flex-direction: column; /* Aligne les colonnes verticalement */
        padding: 30px; /* Ajoute de l'espace autour du contenu */
    }
    .footer-col {
        width: 90%; /* Réduit légèrement la largeur pour plus d'air autour */
        text-align: center; /* Centrer le texte */
        margin-bottom: 30px; /* Ajoute de l'espacement entre les colonnes */
    }
    .footer-col .logo {
        margin-left: auto; /* Centrer le logo horizontalement */
        margin-right: auto;
        margin-bottom: 20px; /* Ajoute un espacement sous le logo */

    }
    .footer-col h3 {
        font-size: 20px; /* Augmente légèrement la taille du titre */
        margin-bottom: 15px; /* Ajoute de l'espace sous les titres */
        
    }
    .footer-col .footer-para p {
        font-size: 16px; /* Augmente légèrement pour une meilleure lisibilité */
        line-height: 1.6; /* Ajoute de l'espace entre les lignes */
        margin-bottom: 15px;
        text-align: center;
    }
    .footer-col ul {
        list-style-type: none; /* Supprime les puces des listes */
        padding: 0; /* Supprime les marges par défaut */
        font-size: 14px; /* Taille ajustée pour tablette */
        text-align: center;
    }
    .footer-col ul li {
        margin-bottom: 10px; /* Ajoute de l'espacement entre les éléments */
    }
    .underline {
        width: 60px; /* Légèrement plus large que sur mobile */
        height: 3px; /* Un trait plus visible pour les tablettes */
        margin: 0 auto; /* Centre automatiquement l'élément */
        background-color: #fff; /* Couleur cohérente avec le design */
        margin-top: 15px; /* Espace au-dessus */
        margin-bottom: 25px; /* Espace en dessous */
    }

}

/*******************Growth and Expansion***************************/
/* Paragraphe principal */
.about-1 p {
    font-family: 'Arial', sans-serif;
    font-size: 18px;
    color: #797979;
    text-align: center;
    line-height: 1.6em; /* Espacement */
    padding: 0 20px; /* Espacement sur les côtés */
    margin-bottom: 20px;
}

/* Styles pour chaque élément dans la section */
.about-item {
    background-color: #fafafa;
    padding: 40px 30px; /* Réduire le padding pour ajuster la taille */
    box-shadow: 0 0 9px rgba(0, 0, 0, 0.6);
    text-align: center;
    min-width: 250px; /* Largeur minimale */
    max-width: 350px; /* Largeur maximale */
    height: 400px; /* Hauteur fixe */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Espace entre les éléments internes */
    align-items: center; /* Centrer les éléments à l'intérieur */
    transition: all 0.3s ease;
}

/* Icones et titre des items */
.about-item i {
    font-size: 43px;
    margin: 0;
    color: #797979;
}

.about-item h3 {
    font-size: 25px;
    margin-bottom: 10px;
    color: #797979;
}

/* Ligne de séparation */
.about-item hr {
    width: 46px;
    height: 1px;
    background-color: #797979;
    margin: 2px auto;
    border: none;
}

/* Paragraphe des items */
.about-item p {
    margin-top: 20px;
    color: #797979;
}

/* Effet au survol */
.about-item:hover {
    background-color: #688c3c;
}

.about-item:hover i,
.about-item:hover h3,
.about-item:hover p {
    color: #fff;
}

.about-item:hover hr {
    background-color: #fff;
}

.about-item:hover i {
    transform: translateY(-20px);
}

/* Centrer les rows et ajouter un espace entre les items */
#about-2 .content-box-lg {
    display: flex;
    justify-content: center; /* Centrer le contenu horizontalement */
    align-items: center; /* Centrer verticalement */
    padding: 40px 0;
    width: 100%;
    flex-wrap: wrap; /* Permet aux éléments de se répartir sur plusieurs lignes si nécessaire */
    gap: 20px; /* Espacement entre les éléments */
}

#about-2 .row {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Permet d'ajuster les éléments sur plusieurs lignes si l'espace est trop petit */
    width: 100%;
}

/* Assurer que les items sont bien distribués sur toute la largeur */
#about-2 .row .about-item {
    flex: 1; /* Assurer que tous les items occupent la même largeur */
    min-width: 300px; /* Largeur minimum pour les items */
}
/*******************Our Services**************************/

.contain {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 50px 8%; /* Ajuste les marges latérales */
    margin-top: 20px; /* Réduction de l'écart supérieur */
    gap: 5px; /* Espacement entre les colonnes */
    position: relative;
    z-index: 2;
}
.title {
    font-size: 3.5em; 
    color: #688c3c;
    text-align: center;
    font-weight: bold;
    margin-bottom: 20px;
}
/*******Box for title ******************************/
.title {
    margin: 50px;
    padding: 10px;
    background-color: #f5f5f5; 
    border-radius: 8px; /* Coins arrondis */
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1); /* Ombre légère */
    text-align: center;
 
}
.service-wrapper {
    display: flex;
    gap: 15px;
    width: 100%;
    
}

.service-wrapper .content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 65%;
    padding-right: 10%;

}

.service-wrapper .content .title {
    font-size: 1.6rem;
    text-transform: uppercase;
    background: linear-gradient(90deg, #688c3c 0%, #797979 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.service-wrapper .content h3 {
    font-size: 2.1rem;
    color: #688c3c;
    line-height: 4.5rem;
}

.service-wrapper .content p {
    width: 100%;
    color: #797979;
    margin: 5px 0;
    text-align: justify;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.8; 
}

.service_contaner{
    display: flex;
    flex-direction:column;
    width: 50%;
    gap: 1px;
    flex-wrap: wrap;
}
.service_contaner .service{
    display: flex;
    flex-direction: column;
    width: 150%;
    transform: translateX(-40%); 
    margin-bottom: 2px; 
   
}
.service_contaner .service .service_Title{
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 0px 0px;
    border-bottom: 0.2px solid rgba(131, 131, 131, 1);
    transition: 1s;
}
.service_contaner .service .service_Title h2{
    font-size: 35px;
    letter-spacing: 0.6px;
    color: #688c3c;
    font-weight: 600;
}
.activeHeading{
    background: linear-gradient(90deg, #797979 0%, #688c3c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service_contaner .service .service_Title i{
    font-size: 2.3rem;
    color: #688c3c;
}
.service_description{
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 5px 0px;
    transition: .6s;
    opacity: 0;
    z-index: -1;
    text-align: justify;
}
.ActiveDesc{
    height: 230px;
    opacity: 1;
    transition: 0.6s;
    z-index: 1;
    animation: ShowDescription 0.6s linear forwards;
}
@keyframes ShowDescription {
    0%{
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
}
.service_description p{
    font-size: 18px;
    font-weight: 500;
    color: #797979;
}
.service_description ul{
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 20px;
}
.service_description ul li{
    font-size:18px ;
    color: #797979;
}
.service_contaner .service.active .service_description {
    opacity: 1;
    max-height: 200px; /* Hauteur maximale contrôlée */
}


/* Media Queries pour tablettes (768px ou moins) */
@media (max-width: 768px) {
    .contain {
        flex-direction: column;
        padding: 40px 5%;
        gap: 15px;
    }
    .title {
        font-size: 2rem; 
        margin: 30px;
        padding: 15px;
    }
    .service-wrapper {
        flex-direction: column; 
        gap: 10px;
    }
    .service-wrapper .content {
        width: 100%; 
        transform: none; 
    }
    .service_contaner {
        width: 100%; 
    }
    .service_contaner .service {
        transform: none;
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    .service_contaner .service .service_Title h2 {
        font-size: 20px;/
    }
    .service_contaner .service .service_Title i {
        font-size: 1rem;
    }
    .service_description {
        padding: 10px 0;
        font-size: 16px; 
    }
    .service_description ul li {
        font-size: 10px;
    }
}

/* Media Queries pour smartphones (480px ou moins) */
@media (max-width: 480px) {
    .title {
        font-size: 1.5rem; 
        margin: 20px;
        padding: 10px;
    }
    .service-wrapper {
        gap: 10px; 
    }
    
    .service-wrapper .content p,
    .service_description p,
    .service_description ul li {
        font-size: 14px; 
        line-height: 1;
    }
    .service_contaner .service .service_Title h2 {
        font-size: 20px;
    }
    .service_contaner .service .service_Title i {
        font-size: 1rem;
    }
    .service_description ul {
        padding: 10px; /* Marges réduites */
    }
    .service_contaner .service{
        display: flex;
        flex-direction: column;
        width: 85%;
       
       
    }
}


/*************************About Us********************************/

.aboutUs {
    width: 100%;
    display: flex;
    flex-direction: column; /* Aligne les éléments verticalement */
    gap: 20px; /* Réduit l'écart entre les éléments */
    padding: 80px 12%;
    margin-top: 30px;
    z-index: 2;
    position: relative;
}
.aboutUs p {
    color: #797979;
    text-align: justify; 
    font-size: 20px;
    font-weight: 500;
    margin-left: auto;
    margin-right: auto;
    max-width: 1200px; /* Limite la largeur pour centrer visuellement le bloc */
    padding-bottom: 2%;
}

.aboutUs .mena-map {
    display: block;
    max-width: 80%;
    height: auto;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.aboutUs .mena-map:hover {
    opacity: 1; 
    transform: scale(1.1); 
}

/* Media Queries pour tablettes (768px ou moins) */
@media (max-width: 768px) {
    .aboutUs {
        padding: 60px 8%; 
        gap: 15px; 
    }
    .aboutUs p {
        font-size: 16px; 
        max-width: 90%; 
    }
    .aboutUs .mena-map {
        max-width: 90%; 
    }
}

/* Media Queries pour smartphones (480px ou moins) */
@media (max-width: 480px) {
    .aboutUs {
        padding: 40px 5%; 
        gap: 10px;
    }
    .aboutUs p {
        font-size: 14px; 
        line-height: 1.5; /* Améliore la lisibilité */
    }
    .aboutUs .mena-map {
        max-width: 100%; /* L'image occupe presque toute la largeur */
    }
}



/************Contact********************************************************/
.contact-bg{
   
    background-position: 50% 100%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    text-align: center;
    color: #797979;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}
.contact-bg h3{
    font-size: 1.3rem;
    font-weight: 400;
}
.contact-bg h2{
    font-size: 3rem;
    text-transform: uppercase;
    padding: 0.4rem 0;
    letter-spacing: 4px;
}
.text{
    font-weight: 500;
    opacity: 0.9;
    font-size: 20px;
    text-align: center;
    
}
.contact-bg .text{
    margin: 1.6rem 0;
    
}
.text a {
    color: inherit; /* Utilise la couleur du texte parent */
    text-decoration: none; /* Supprime le soulignement */
}

.text a:hover {
    text-decoration: none; /* Aucun soulignement au survol */
    color: inherit; /* Conserve la couleur du texte parent au survol */
}

.contact-body{
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 1rem;
}
.contact-info{
    margin: 2rem 0;
    text-align: center;
    padding: 2rem 0;
}
.contact-info span{
    display: block;
    color: #797979;
}
.contact-info div{
    margin: 0.8rem 0;
    padding: 1rem;
}
.contact-info span .fas{
    font-size: 2rem;
    padding-bottom: 0.9rem;
    color: #688c3c;
}
.contact-info div span:nth-child(2){
    font-weight: 500;
    font-size: 1.1rem;
}
.contact-info .text{
    padding-top: 0.4rem;
    color: #797979;
}
@media screen and (min-width:768px){
    .contact-bg text{
        width: 70%;
        margin-left: auto;
        margin-right: auto;
    }
    .contact-info{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    
}
@media screen and(min-width:992px) {
    .contact-bg .text{
        width: 50px;
    } 
}
@media screen and (min-width:1200px) {
    .contact-info{
        grid-template-columns:repeat(4,1fr) ;
    }       
}