/********** Template CSS **********/
:root {
    --primary: #348E38;
    --secondary: #525368;
    --light: #E8F5E9;
    --dark: #0F4229;
}

body{
    font-family: sans-serif;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

h1,
.h1,
h2,
.h2,
.fw-bold {
    font-weight: 700 !important;
    font-family: sans-serif;
    font-size: 20px;
}

h3,
.h3,
h4,
.h4,
.fw-medium {
    font-weight: 600 !important;
    font-family: sans-serif ;
    font-size: 26px;
   
}

#secteur{
    width: 125%;
    margin-right: 50%;
     color: #FFFFFF;
}

h5,
.h5,
h6,
.h6,
.fw-semi-bold {
    font-weight: 500 !important;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 200;
     
}

.btn-primary,
.btn-outline-primary:hover {
    /*color: var(--light);*/
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.navbar.sticky-5 {
    top: 5vh;
    transition: .5s;
    margin-right: 8vh;
}


  /*   margin-right: 8vh;   Marge du logo 
     margin-left: 4vh; */


/* Log */
.navbar img{
    width: 12vh;
    height: 10vh;
     margin-left: 4vh;  /* Marge àdu logo*/
}

/*#authentification{*/
/*    height:1vh;*/
/*    width:15vh;*/
/*    background-color:gray;*/
/*}*/
.navbar .navbar-brand,
.navbar a.btn {
   height: 10vh;
  
}

.navbar .navbar-nav .nav-link {
    margin-right: 20px;
    padding: 25px 0;
    color: var(--dark);
    font-size: 16px;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
     color:green;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}


/*Début navbar mobile */
@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 15px 0;
        font-size:16px;
        margin-top:0;
        /*margin-top:-5px;*/
        height: 2vh;
        font-family: Calibri;
        letter-spacing:2px;
        color:green;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
        
    }
    
    .navbar img{
    width: 10vh;
    height: 10vh;
    margin-left: 0vh;
}
#slogan{
    /*margin-top:4vh;*/
    width:4vh;
}

#aboutSIMIT{
    margin-top:5vh;
}


#departement{
    height: 50vh;
    margin-bottom: 1px;
   /* color:#008b8b;couleur sonatel*/
}

}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: -2vh;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

/*Fin navbar mobile */


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
     /* background: rgba(15, 66, 41, .1); Couleur carousels*/
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 3rem;
    background-color: var(--primary);
    border: 10px solid var(--primary);
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
        /*margin-top: 10vh;*/
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    background: linear-gradient(rgba(127, 160, 144, 0.733), rgba(98, 148, 124, 0.6)), url(../img/ssi_aut2.png) center center no-repeat;
    background-size: cover;
    height: 43vh;
}


.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--light);
}


/*** Top Feature ***/
@media (min-width: 991.98px) {
    .top-feature {
        position: relative;
        margin-top: 3%;
        z-index: 1;
    }
}


/*** Facts & Quote ***/
.facts,
.quote {
    background: rgba(15, 66, 41, .6);
}


/*** Service ***/
.service-item {
    position: relative;
    text-align: center;
}

#Description2{
    text-align: justify;
}

.service-item .service-img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: -1;
}

.service-item .service-img img {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    object-fit: cover;
    transform: scale(1.2);
    transition: .3s;
    z-index: -1;
}

.service-item:hover .service-img img {
    transform: scale(1);
}

.service-item .service-text {
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .3s;
}

.service-item:hover .service-text {
    background: rgba(15, 66, 41, .6);
}

.service-item .service-text h4,
.service-item .service-text p {
    transition: .3;
}

.service-item:hover .service-text h4 {
    color: #FFFFFF;
}

.service-item:hover .service-text p {
    color: var(--light);
}

.service-item .service-text .btn-square {
    width: 10vh;
    height: 10vh;
    background: transparent;
    transition: .5s;
}

.service-item:hover .service-text .btn-square {
    background: var(--light);
}

.service-item .service-text .btn {
    width: 31px;
    height: 31px;
    display: inline-flex;
    align-items: center;
    color: var(--dark);
    background: var(--light);
    white-space: nowrap;
    overflow: hidden;
    transition: .3s;
}

.service-item:hover .service-text .btn {
    width: 112px;
}


/*** Project Portfolio ***/
#portfolio-flters {
    display: inline-block;
    background: var(--light);
    padding: 10px 15px;
}

#portfolio-flters li {
    display: inline-block;
    font-weight: 500;
    color: var(--primary);
    cursor: pointer;
    transition: .5s;
    border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
    color: var(--dark);
    border-color: var(--dark);
}

.portfolio-inner {
    position: relative;
    overflow: hidden;
}

.portfolio-inner::before,
.portfolio-inner::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(15, 66, 41, .6);
    transition: .5s;
}

.portfolio-inner::after {
    left: auto;
    right: 0;
}

.portfolio-inner:hover::before,
.portfolio-inner:hover::after {
    width: 50%;
}

.portfolio-inner .portfolio-text {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: .5s;
    z-index: 3;
    opacity: 0;
}

.portfolio-inner:hover .portfolio-text {
    transition-delay: .3s;
    opacity: 1;
}

.portfolio-inner .portfolio-text .btn {
    background: var(--light);
    color: var(--primary);
}

.portfolio-inner .portfolio-text .btn:hover {
    background: var(--primary);
    color: var(--light);
}


/*** Team ***/
.team-item {
    position: relative;
    overflow: hidden;
}

.team-item .team-text {
    position: absolute;
    width: calc(100% - 45px);
    left: -100%;
    bottom: 45px;
    padding: 1.5rem;
    background: #FFFFFF;
    border-radius: 0 4px 4px 0;
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-text {
    left: 0;
    opacity: 1;
}

.team-item .team-social .btn {
    background: var(--light);
    color: var(--primary);
}

.team-item .team-social .btn:hover {
    background: var(--primary);
    color: var(--light);
}

.team-item .team-img .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5;
    z-index: 3;
    opacity: 0;
}

.team-item:hover .team-img .team-social {
    transition-delay: .3s;
    opacity: 1;
}


/***  e-irrigation ***/

.testimonial-carousel .owl-item img {
    width: 75vh;
    height: 40vh;
}

.testimonial-carousel .owl-nav {
    margin-top: 20px;
    display: flex;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-right: 2px;
    width: 545px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: var(--light);
    border-radius: 4px;
    font-size: 22px;
    transition: .50s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    color: var(--light);
}

#systemes{
    /* text-align: justify; */
    /* background-color: red; */
    /* height: 60vh; */
}

/* devi_irrig */
#tailleChamp1{
    /* margin-left: 4%;  */
    width: 40vh;
    font-size: 16px;
    background-color: #FFFFFF;
}

#cage1{
    width: 40vh;
    margin-left: 1%; 
    background-color: #FFFFFF;
}



/* e-irrigation fin  */


/*** Footer ***/

#logoFooter{
    width: 20vh;
    height: 14vh;
}

.footer .btn.btn-link {
    display: block;
    /*margin-bottom: 5px;*/
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    color: var(--light);
    background: #072A19;
}

.copyright a {
    color: #FFFFFF;
}

.copyright a:hover {
    color: var(--primary);
}


/* debut Acceuil */
/* Carousel */
#page1, #page2, #page3, #page4, #page5, #page6{
    margin-bottom: 42vh;
}

#container{
    border: 3px gray solid;
}
#departement{
    height: 80vh;
    
}

/*Debut bandeVerte*/
#bandeVerte{
    font-size: 39px;
    text-align: center;
    /*color: antiquewhite*/
}

@media (max-width: 768px) {
    #bandeVerte{
        width: 100vh;
        height: 3vh;
        margin-left: -5px;
        font-size: 11px; 
        color: antiquewhite
    }
}

/*Fin Debut bandeVerte*/

/* Feature */
#Feature{
    margin-top: -16vh;
}


/* partenaires */
#partenaire{
    width: 28vh;
    height: 15vh;
    margin-left: 30vh;
}

#bordure{
    border: 1px green solid;
}


@media (max-width: 768px) {
    #partenaire {
        width: 50%;
        height: 10vh; 
        margin: 10px auto; 
    }

    #bordure {
        border-width: 2px; /* Épaissit la bordure sur les petits écrans */
    /*}*/
}
 /*fin partenaire*/
#acceuil-about{
    margin-top: 2vh;
}

/* fin Acceuil */

/* about */
#aboutSIMIT{
    /*margin-bottom: 4vh;*/
    text-align: justify;
     border-left: #348E38 0.5px solid; 
    /*margin-top: -1vh;*/
}


#description{
    text-align: justify;
}

#produitService{
    text-align: justify;
}

#serviceEquipe{
    margin-bottom: -4vh;
    /*text-align: justify;*/
}

#img1, #img2, #img3, #img4 {
    border-bottom: #f1f7f3fd 6px solid;
    width: 120vh;
    height: 20vh;
    margin-top: 1vh;
    text-decoration: dashed;
}


/* debut multimédia */

#servicesMult{
    margin-left: 50%;
    margin-top: -50%;
}


#video, #son, #animation{
    /* margin-top: -50%;*/
  height: 10%; 

  border-bottom: 3px #EEEEEE solid;
  margin-left: 60%;
}

#multi1, #multi2, #multi3{
    /* margin-top: -50%;*/
  height: 40%; 
  /* margin-left: 60%; */
}



#illustre{
    height: 60%;
}

/* fin multimedia */


/*Contact page*/
body {
        body {
            font-family: Arial, sans-serif;
        }
        

        /*.contact-container {*/
        /*    display: flex;*/
        /*    justify-content: space-around;*/
        /*    align-items: center;*/
        /*    background-color: #f4f4f4;*/
        /*    padding: 20px;*/
        /*    border-radius: 8px;*/
        /*    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);*/
        /*}*/

        .contact-item {
            display: flex;
            align-items: center;
            margin-right: 2px;
        }

        .contact-item img {
            margin-right: 1vh;m
        }

        .contact-item h4 {
            margin: 0;
            font-size: 40px;
            color: #0033cc;
        }

        .contact-item p {
            margin: 5px 0;
            color: green;
            font-size: 1.1em;
            font-weight: bold;
        }

        /* Styles for the Google map */
        .map-container {
            margin-top: 20px;
            text-align: center;
        }

        iframe {
            border: 0;
            width: 95vh;
            height: 70vh;
        }
        
    #body-contact{
        width:100vh;
        height:60vh;
    }    
        /* Mobile responsive adjustments */
@media (max-width: 768px) {
    .contact-container {
        padding: 15px;
    }
    
    .contact-item img {
        margin-right: 8px;
    }
    
    .contact-item h4 {
        font-size: 25px;
        /*margin-top: -2vh;*/
    }
    
    .contact-item p {
        font-size: 1em;
    }
    
    iframe {
        width: 100%;
        height: 45vh;
    }
}
 /*fin contact page*/