:root {
    --main-transition : .3s ease;
}



*{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0;
    margin: 0; 
  
}
body{
    font-family: 'Open Sans', sans-serif;
}
a{
    text-decoration: none;
}
ul{
    list-style: none;
    padding: 0;
    margin: 0;
}
.maine-h1 {
    font-size: 2em;
    margin: 0.67em 0;
    text-align: center;
    border: 2px solid;
    width: fit-content;
    padding: 10px 20px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 5px;
    box-shadow: 0 10px 15px #ddd;
    margin-bottom: 85px;
    margin-top: 50px;
}

header{
    position: sticky;
    top: 0px;
    background-color: #000000d4;
    width: 100%;
    z-index: 1000;
    /* box-shadow: 0 0 10px #ddd; */
}
.nav-link > .activety {
    color: #3da144;
}

.overlay{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgb(56, 165, 238, 0.5);
}

.container{
    /* max-width: 65rem; */
    padding-left: 50px;
    padding-right: 50px;
    margin-right: auto;
    margin-right: auto;
    display: flex;
    position: relative;
}
/* @media (min-width:768px) {
    .container {
        width: 750px;
    }
}

@media (min-width:992px) {
    .container {
        width: 970px;
    }
}

@media (min-width:1200px) {
    .container {
        width: 1170px;
    }
} */
header .container .logo-container img {
    margin-right: 50px;
}
.logo-container{
    flex: 0;
    display: flex;
    align-items: center;
}
.logo-container img {
    margin: 0 80px;
}

.nav-btn{
    flex: 3;
    display: flex;
}

.nav-links{
    flex: 2;
}

.log-sign{
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 0;
}

.logo{
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 3rem;
}

.logo span{
    font-weight: 300;
}

.btn{
    display: inline-block;
    padding: .5rem 1.3rem;
    font-size: .8rem;
    border: 2px solid #fff;
    border-radius: 2rem;
    line-height: 1;
    margin: 0 .2rem;
    transition: .3s;
    text-transform: uppercase;
}

.btn.solid, .btn.transparent:hover{
    background-color: #3da144;
    color: #fff;
}

.btn.transparent, .btn.solid:hover{
    background-color: transparent;
    color: whitesmoke;
    border: 1px solid;
    margin-right: 160px;
    /* box-shadow: 0 0 10px #ddd; */
}

.nav-links > ul{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-right: -100px;
}

.nav-link{
    position: relative;
}

.nav-link > a{
    line-height: 3rem;
    color: whitesmoke;
    padding: 15px 25px;
    letter-spacing: 1px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: .5s;
}

.nav-link > a > i{
    margin-left: .2rem;
}

.nav-link:hover > a{
    transform: scale(1.1);
    color: #3da144;
}

.dropdown{
    position: absolute;
    top: 100%;
    left: 0;
    width: 10rem;
    transform: translateY(10px);
    opacity: 0;
    pointer-events: none;
    transition: .5s;
}

.dropdown ul{
    position: relative;
}

.dropdown-link > a{
    display: flex;
    background-color: #ffff;
    color: black;
    padding: .8rem 1rem;
    font-size: 1.1rem;
    align-items: center;
    justify-content: space-between;
    transition: .3s;
}

.dropdown-link:hover > a{
    background-color: #3da144;
    color: #fff;
}

.dropdown-link:not(:nth-last-child(2)){
    border-bottom: 1px solid #efefef;
}

.dropdown-link i{
    transform: rotate(-90deg);
}

.arrow{
    position: absolute;
    width: 11px;
    height: 11px;
    top: -5.5px;
    left: 32px;
    background-color: #fff;
    transform: rotate(45deg);
    cursor: pointer;
    transition: .3s;
    z-index: -1;
}

.dropdown-link:first-child:hover ~ .arrow{
    background-color: #3da144;
}

.dropdown-link{
    position: relative;
}

.dropdown.second{
    top: 0;
    left: 100%;
    padding-left: .8rem;
    cursor: pointer;
    transform: translateX(10px);
}

.dropdown.second .arrow{
    top: 10px;
    left: -5.5px;
}

.nav-link:hover > .dropdown,
.dropdown-link:hover > .dropdown{
    transform: translate(0, 0);
    opacity: 1;
    pointer-events: auto;
}

.hamburger-menu-container{
    flex: 1;
    display: none;
    align-items: center;
    justify-content: flex-end;
}

.hamburger-menu{
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.hamburger-menu div{
    width: 1.6rem;
    height: 3px;
    border-radius: 3px;
    background-color: #fff;
    position: relative;
    z-index: 1001;
    transition: .5s;
}

.hamburger-menu div:before,
.hamburger-menu div:after{
    content: '';
    position: absolute;
    width: inherit;
    height: inherit;
    background-color: #fff;
    border-radius: 3px;
    transition: .5s;
}

.hamburger-menu div:before{
    transform: translateY(-7px);
}

.hamburger-menu div:after{
    transform: translateY(7px);
}

#check{
    position: absolute;
    top: 50%;
    right: 45.5rem;
    transform: translateY(-50%);
    width: 2.5rem;
    height: 2.5rem;
    z-index: 90000;
    cursor: pointer;
    opacity: 0;
    display: none;
}

#check:checked ~ .hamburger-menu-container .hamburger-menu div{
    background-color: transparent;
}

#check:checked ~ .hamburger-menu-container .hamburger-menu div:before{
    transform: translateY(0) rotate(-45deg);
}

#check:checked ~ .hamburger-menu-container .hamburger-menu div:after{
    transform: translateY(0) rotate(45deg);
}
#bar {
    color: white;
}
@keyframes animation{
    from{
        opacity: 0;
        transform: translateY(15px);
    }
    to{
        opacity: 1;
        transform: translateY(0px);
    }
}
#close {
    display: none;
}


@media (max-width:1115px) {
    header .container .nav-btn {
        display: none;
    }
    header .container .logo-container img {
        margin-left: 0px;
    }
    header .container .hamburger-menu-container  {
        display: flex;
    }
    header .container .nav-btn{
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        position: fixed;
        top: 0px;
        right: -500px;
        height: 100vh;
        width: 500px;
        background-color: #000000d4;
        box-shadow: 0 40px 60px rgb(0 0 0 / 10%);
        padding: 80px 0 0 10px;
        transition: 0.3s;
        overflow-x: hidden ;
        overflow-y: auto;
    }
    #bar {
        font-size: 20px;
    }
    #close {
        display: block;
        top: 30px;
        right: 70px;
        font-size: 25px;
        color: whitesmoke;
        position: absolute;
    }
    #navbar.actives {
        right: 0;
    }
    header .container .nav-btn .nav-links {
        flex: initial;
        width: 100%;
    }
    header .container .nav-btn .nav-links > ul {
        flex-direction: column;
    }
    .nav-link {
        width: 100%;
    }
    .nav-link > a {
    line-height: 2rem;
    color: whitesmoke;
    padding: 10px 20px;
    letter-spacing: 1px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    transition: .5s;
    }
    .nav-link:hover a { 
        transform: scale(1);
        background-color: whitesmoke;
    }
    .dropdown, .dropdown.second {
        position: initial;
        top: initial;
        left: initial;
        transform: initial;
        opacity: 1;
        pointer-events: auto;
        width: 100%;
        padding: 0;
        background-color: #b9b9b9;
        display: none;
    }
    .nav-link:hover > .dropdown,
    .dropdown-link:hover > .dropdown {
        display: block;
    }
    .nav-link:hover > a > i,
    .dropdown-link:hover > a > i {
        transform: rotate(360deg);
    }
    .dropdown-link > a {
        background-color: transparent;
        color: #fff;
        padding: 1.2rem 2rem;
    }
    .dropdown.second .dropdown-link > a {
        padding: 1.2rem 2rem 1.2rem 3rem; 
    }
    .dropdown-link:not(:nth-last-child(2)) {
        border-bottom: none;
    }
    .arrow {
        z-index: 1;
        background-color: #b9b9b9;
        left: 10%;
        transform: scale(1.1) rotate(45deg);
    }
    .nav-link:hover .arrow {
        background-color: #ddd;
    }
    .dropdown .dropdown .arrow {
        display: none;
    }
    .dropdown-link:hover > a {
        background-color: #fff;
    }
    .dropdown-link:last-child:hover ~.arrow {
        background-color: #777;
    }
    .nav-link > a > i {
        font-size: 1.1rem;
        transform: rotate(-90deg);
        transition: .7s;
        left: 105px;
        position: absolute;
    }
    .dropdown i {
        font-size: 1rem;
        transition: .7s;
    }

    header .container .nav-btn .log-sign {
        flex: initial;
        width: 100%;
        padding: 1.5rem 1.9rem;
        justify-content: flex-end;
        /* background-color: green; */
    }
} 
@media (max-width:1115px) {
    header .container .nav-btn {
        width: 300px;
    }
}



  /* ------------------------------------------------------------media ---------------------------------------------------------------------------- */



.media {
    background-color: #3da144;
    padding: 10px;
    
} 
.media .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.media .container .media_icons i {
    padding: 5px;
    color: white;
    transition: 0.3s ease ;
}
.media .container .media_icons i:hover {
    padding: 5px;
    color: #316335 ;
}
.media .container .contact_us {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}
.media .container .contact_us .phone,
.email {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}
.media .container .contact_us i {
    color: #fff;
}
.media .container .contact_us p {
    color: white;
}
@media (max-width: 500px) {
    .media .container {
        padding: 0;
    }
    .media .container .media_icons {
        display: none;
    }
    .media .container .contact_us {
        gap: 85px;
        font-size: 13px;
    }
    .media .container .contact_us .phone,
    .email {
        gap: 10px;
    }
}

/* ==============================================slideshow=============================================== */
.landing-page .containers { 
    position: relative;
    /* border-bottom: 1px solid; */
}
.landing-page .containers .slide-container .slide {
    /* min-height: 100vh; */
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    padding: 20px 9%;
    padding-bottom: 70px;
    width: 100%;
}
@media (max-width: 500px){
    .landing-page .containers .slide-container .slide .content h3 {
        font-size: 20px;
    }
    .landing-page .containers .slide-container .slide .content h3 span {
        font-size: 30px;
        
    }
}
.landing-page .containers .slide-container .slide .content {
    flex: 1 1 350px;
    animation:slidecontent .4s linear .6s backwards ;
}
@media (max-width: 767px) {
    .landing-page .containers .slide-container .slide .content {
        flex: 1 1 250px;
        margin: 50px;
    }
}
@keyframes slidecontent {
    0%{
    opacity: 0;
    transform: translateX(-50px);
    }
}
.landing-page .containers .slide-container .slide .img {
    flex: 1 1 500px;
}
@media (min-width: 767px) {
    .landing-page .containers .slide-container .slide .img{
        flex: 1 1 300px;
    }
}
.landing-page .containers .slide-container .slide .img img {
    width: 100%;
    animation:slideImage .4s linear;
} 
@keyframes slideImage {
    0%{
    opacity: 0;
    transform: translateY(-50px);
    }
}
.landing-page .containers .slide-container .slide .content h3 {
    font-size: 35px;
    color: whitesmoke;
    margin-left: -65px;
}


.landing-page .containers .slide-container .slide .content h3 span {
    font-size: 45px;
    color: #3da144;
}
.landing-page .containers .slide-container .slide .content p {
    font-size: 16px;
    color: #666;
    padding: 40px 25px;
    margin-left: 165px;
}


.landing-page .containers .slide-container {
    display: none;
}
.landing-page .containers .slide-container.active {
    display: block;
}
.landing-page .containers .slide-container:nth-child(1) .slide {
    background: linear-gradient(310deg, #fff 73%, #000000d4 30.1%);
}
.landing-page .containers .slide-container:nth-child(2) .slide {
    background: linear-gradient(310deg, #fff 73%, #000000d4 30.1%);
}
.landing-page .containers .slide-container:nth-child(3) .slide {
    background: linear-gradient(310deg, #fff 73%, #000000d4 30.1% );
}

.landing-page .containers #prev,
.landing-page .containers #next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: black;
    height: 50px;
    width: 50px;
    line-height: 50px;
    font-size: 25px;
    text-align: center;
    cursor: pointer;
    font-weight: bolder;
    transition: 0.3s ease;
}
.landing-page .containers #prev:hover,
.landing-page .containers #next:hover {
    background: #333;
    color: #fff;
}
.landing-page .containers #prev {
    right: 20px;
}
.landing-page .containers #next {
    left: 20px;
}
@media (min-width: 500px) {
    .landing-page .containers #prev {
    
    top: 60%;
    }
    .landing-page .containers #next{
    right: 0px;
    top: 60%;
    }
    /* .landing-page .containers .slide-container .slide .content h3 {
        font-size: 20px;
        color: #333;
    } */
}
@media(max-width: 830px){
    .landing-page .containers .slide-container .slide .content h3 {
        font-size: 35px;
        color: whitesmoke;
        margin-left: 0px;
    }
    }
    @media(max-width: 830px){
        .landing-page .containers .slide-container .slide .content p {
            font-size: 16px;
            color: #666;
            padding: 10px 0px;
            margin-left: 0px;
        }
    }






  /* -----------------------------------------about---------------------------------------------------------- */
.about .container {
    background-color: white;
}
.about .container .box-about {
    background-color: white;
    border: 1px solid white;
    border-radius: 5px;
    padding: 20px 20px;
    margin-top: 50px;
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
    /* align-items: center; */
    box-shadow: 0 0 15px #ddd;
}
.about .container .box-about .text-about h2 {
    font-size: 45px;
    font-weight: 500;
    margin-bottom: 40px;
    position: relative;
    font-weight: bold;
}
.about .container .box-about .text-about h2 span {
    color: #3da144;
}
.about .container .box-about .text-about h3 {
    font-size: 25px;
    font-weight: 500;
    margin-top: 80px; 
    position: relative;
}
.about .container .box-about .text-about h3 span {
    color: #3da144;
}
.about .container .box-about .text-about h2::before {
    content: "";
    position: absolute;
    width: 0%;
    height: 3px;
    top: 48px;
    left: 0%;
    background-color: #3da144;
    transition: .5s ease;
}
.about .container .box-about:hover .text-about h2::before {
    width: 30%;
}
.about .container .box-about .text-about p{
    font-size: 16px;
    font-weight: 500;
    line-height: 2;
}
.about .container .box-about .img-about {
    margin-right: 20px;
}
.about .container .box-about .img-about img {
    width: 500px;
}
@media (max-width:992px) {
    .about .container .box-about .img-about {
        margin-right: 0;
        display: none;
    }
    .about .container .box-about .img-about img {
        width: 270px;
        padding-top: 55px;
    }
    .about .container .box-about{
        flex-direction: column;
    }
}


/* ===============================================================serveses============================================== */
.serveses {
    margin-top: 50px;
    margin-bottom: 50px;
    padding-top: 50px;
    padding-bottom: 50px;
    background-color: whitesmoke;
}

.serveses .container {
    display: grid;
    grid-template-columns: repeat(4,auto);
    grid-gap: 20px;
}
.serveses .container .feat {
    padding: 20px;
    text-align: center;
}
.serveses .container .feat i {
    color:#3da144;
    font-size: 55px;
}
.serveses .container .feat h3 {
    font-weight: 800;
    margin: 30px 0;
}
.serveses .container .feat p {
    line-height: 1.8;
    color: #777;
    font-size: 17px;
}
@media (max-width:1100px){
    .serveses .container {
        display: grid;
        grid-template-columns: repeat(auto-fill,minmax(250px,1fr));
        grid-gap: 20px;}

}
/* ======================================================our-===================================================== */
.our-partner{
    align-items: center;
    justify-content: center;
    margin-top: 50px;
    margin-bottom: 50px;
    padding-top: 50px;
    padding-bottom: 50px;
     
}
/* @keyframes scroll{
    0%{
        transform: translateX(0);
    }
    100%{
        transform: translateX(calc(-250px * 7));

    }
}
.slider{
    height: 150px;
    margin: auto;
    overflow: hidden;
    position: relative;
    width: auto;
    background-color: whitesmoke;
    padding: 20px 0;

}
.slider .slide-track{
    animation:scroll 40s linear infinite;
    display: flex;
    width: calc(250px * 14);

}
.slider .slide{
    height: 100px;
    width: 250px;

} */



/* =====================================================================footer========================================================= */
.footer {
    background-color: #191919;
    /* background:   linear-gradient(
        to right,
        hsl(0, 0%, 0%) 0%,
        hsl(113.01, 56.28%, 0.33%) 17.8%,
        hsl(113.01, 56.28%, 0.66%) 33.4%,
        hsl(113.01, 56.28%, 1.04%) 46.9%,
        hsl(113.01, 56.28%, 1.56%) 58.4%,
        hsl(113.01, 56.28%, 2.29%) 68.1%,
        hsl(113.01, 56.28%, 3.28%) 76.2%,
        hsl(113.01, 56.28%, 4.61%) 82.8%,
        hsl(113.01, 56.28%, 6.35%) 88.1%,
        hsl(113.01, 56.28%, 8.58%) 92.2%,
        hsl(113.01, 56.28%, 11.35%) 95.2%,
        hsl(113.01, 56.28%, 14.74%) 97.3%,
        hsl(113.01, 56.28%, 18.82%) 98.7%,
        hsl(113.01, 56.28%, 23.66%) 99.5%,
        hsl(113.01, 56.28%, 29.32%) 99.9%,
        hsl(113.01, 56.28%, 35.88%) 100%
      ); */
    padding: 70px 0 0;
  }
  @media (max-width: 767px) {
    .footer {
      text-align: center;
    }
  }
  .footer .container {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 80px;
  }
  @media (max-width: 1110px) {
    .footer .container {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 80px;
  }}
  .footer .container .box img {
    margin-left: 50px;
  }
  .footer .box h3 {
    color: white;
    font-size: 50px;
    margin: 0 0 20px;
  }
  .footer .box .social {
    display: flex;
  }
  @media (max-width: 767px) {
    .footer .box .social {
      justify-content: center;
    }
  }
  .footer .box .social li {
    margin-left: 10px;
  }
  .footer .box .social li a {
    background-color: #313131;
    color: #b9b9b9;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    font-size: 20px;
    transition: 0.3s ease;
  }
  .footer .box .social .facebook:hover {
    background-color: #1877f2;
  }
  .footer .box .social .twitter:hover {
    background-color: #e91e63b0;
  }
  .footer .box .social .youtube:hover {
    background-color: #ff0000;
  }
  .footer .box .text {
    line-height: 2;
    color: #b9b9b9;
  }
  .footer .box .links li {
    padding: 15px 0;
    transition: 0.3s ease;
  }
  .footer .box .links li:not(:last-child) {
    border-bottom: 1px solid #444;
  }
  .footer .box .links li:hover {
    padding-left: 10px;
  }
  .footer .box .links li:hover a {
    color: white;
  }
  .footer .box .links li a {
    color: #b9b9b9;
    transition: 0.3s ease;
  }
  .footer .box .links li a::before {
    font-family: "Font Awesome 5 Free";
    content: "\F101";
    font-weight: 900;
    margin-right: 10px;
    color: #3da144;
  }
  .footer .box .line {
    display: flex;
    align-items: center;
    color: whitesmoke;
    margin-bottom: 30px;
  }
  @media (max-width: 767px) {
    .footer .box .line {
      flex-direction: column;
    }
  }
  .footer .box .line i {
    font-size: 25px;
    color: #3da144;
    margin-right: 10px;
  }
  @media (max-width: 767px) {
    .footer .box .line i {
      margin-right: 0;
      margin-bottom: 15px;
    }
  }
  .footer .box .line .info {
    line-height: 1.7;
    flex: 1;
  }
  .footer .box .line .info span {
    display: block;
  }
  .footer .footer-gallery img {
    width: 78px;
    border: 3px solid white;
    margin: 2px;
  }
  .footer .copyright {
    padding: 25px 0;
    text-align: center;
    color: white;
    margin: 50px 0 0;
    border-top: 1px solid #444;
  }
  .footer .box .links li:hover {
    padding-right: 10px;
}
@media (max-width:992px) {
    .footer .container {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}
}
@media (max-width:767px) {
    .footer .container .box img {
        margin-right: 0;
}
}

/* ======================================================================================================================= */
/*                                               Our team page css                                                                                */
/* ============================================================================================================================= */

.testimonials {
    padding-top: 80px;
    padding-bottom: 80px;
    position: relative;
    background-color: var(--section-background);
  }
  .testimonials .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 70px;
    padding-top: 75px;
    padding-bottom: inherit;
    background-color: whitesmoke;
  }
  .testimonials .box {
    padding: 20px;
    background-color: white;
    box-shadow: 0 2px 4px rgb(0 0 0 / 7%);
    border-radius: 6px;
    position: relative;
  }
  .testimonials .box img {
    position: absolute;
    right: -10px;
    top: -50px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 10px solid var(--section-background);
  }
  .testimonials .box h3 {
    margin: 0 0 10px;
  }
  .testimonials .box .title {
    color: #777;
    margin-bottom: 10px;
    display: block;
    border-bottom: #3da144 solid 2px;
  }
  .testimonials .box .rate .filled {
    color: #ffc107;
  }
  .testimonials .box p {
    line-height: 1.5;
    color: #777;
    margin-top: 10px;
    margin-bottom: 0;
  }
  @media (max-width: 1200px) {
    .testimonials .container { 
        grid-template-columns:repeat(auto-fill,minmax(250px,1fr))
        
    }
    }
  /* End Testimonials */




/* ======================================================================================================================= */
/*                                              about us page css                                                                                */
/* ============================================================================================================================= */
.About-US .containers {
    padding-left: 50px;
    padding-right: 50px;
    margin-right: auto;
    margin-right: auto;
    background-color: whitesmoke;
}
.About-US .containers .date {
    display: flex;
    position: relative;
    gap: 110px;
    padding: 50px;
    
}
.About-US .containers .date .img  {
    position: relative;
    /* width: 50%; */
}

.About-US .containers .date .img img {
    /* width: 100%; */
    box-shadow: 0 5px 8px #333;
} 

.About-US .containers .date .text h1 span{
    color: #3da144;
    font-size: 45px;
}
.About-US .containers .date .text  h1{
    font-size: 45px;
    position: relative;
    padding: 5px;
}
.About-US .containers .date .text h1::before {
    content: "";
    position: absolute;
    bottom: 0;
    width: 20%;
    background-color: #3da144;
    height: 3px;
}
.About-US .containers .date .text  p{
    font-size: 20px;
    line-height: 1.8;
}
.About-US .containers .date .text  hr{
    border-color: #3da144;
    display: inline-block;
    width: 100%;
} 
/* ---------------- */
.About-US-2 .the-containers {
    padding-left: 50px;
    padding-right: 50px;
    margin-right: auto;
    margin-right: auto;
    background-color: white;
}
.About-US-2 .the-containers .date {
    display: flex;
    position: relative;
    gap: 110px;
    padding: 50px;
    
}
.About-US-2 .the-containers .date .img  {
    position: relative;
    /* width: 50%; */
}

.About-US-2 .the-containers .date .img img {
    /* width: 100%; */
    box-shadow: 0 5px 8px #333;
} 

.About-US-2 .the-containers .date .text h1 span{
    color: #3da144;
    font-size: 45px;
}
.About-US-2 .the-containers .date .text  h1{
    font-size: 45px;
    position: relative;
    padding: 5px;
}
.About-US-2 .the-containers .date .text h1::before {
    content: "";
    position: absolute;
    bottom: 0;
    width: 20%;
    background-color: #3da144;
    height: 3px;
}
.About-US-2 .the-containers .date .text  p{
    font-size: 20px;
    line-height: 1.8;
}
.About-US-2 .the-containers .date .text  hr{
    border-color: #3da144;
    display: inline-block;
    width: 100%;
} 
/* ----------------------------------------------- */

.empty {
    background-color: whitesmoke;
    padding: 50px 0;
}
@media(max-width:930px) {
    .About-US .containers .date {
        gap: 60px;
        padding: 15px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        
    }
    .About-US-2 .the-containers .date {
        gap: 60px;
        padding: 15px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        
    }

}
@media(max-width:900px){
    
    .About-US .containers .date .img img {
        width: 100%;
        box-shadow: 0 5px 8px #333;
    } 
    }
@media(max-width:430px) {
    .About-US .containers .date .text  h1 {
        text-align: center;
    }
    .About-US .containers .date .text p {
        text-align: center;
    }
    .About-US-2 .the-containers .date .img img {
        /* width: 100%; */
        box-shadow: 0 5px 8px #333;
        display: none;
    }
    .About-US-2 .the-containers .date .text p {
        text-align: center;
    }
}











.main-title {
    text-transform: uppercase;
    margin: 0 auto 80px;
    border: 2px solid black;
    padding: 10px 20px;
    font-size: 30px;
    width: fit-content;
    position: relative;
    z-index: 0;
    transition: 0.3s ease;
}
.main-title::before,
.main-title::after {
    content: "";
    width: 12px;
    height: 12px;
    background-color: #3da144;
    position: absolute;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}
.main-title::before {
    left: -30px;
}
.main-title::after {
    right: -30px;
}
.main-title:hover::before {
    z-index: -1;
    animation: left-move 0.5s linear forwards;
}
.main-title:hover::after {
    z-index: -1;
    animation: right-move 0.5s linear forwards;
}
.main-title:hover {
    color: white;
    background-color: #3da144;
    border: 2px solid white;
    transition-delay: 0.5s;
}


















/* ====================================================================================================================================== */
/* --------------------------------------------CONTACT US PAGE -------------------------------------------------------------------------- */
/* ====================================================================================================================================== */

#contact-details {
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* background-color: whitesmoke; */
}
#contact-details .details {
    width: 40%;
}
#contact-details .details h2,
#form-details form h2 {
    font-size: 26px;
    line-height: 35px;
    padding: 20px 0;
}
#contact-details .details h3 {
    font-size: 16px;
    padding-bottom: 15px;
}
#contact-details .details li {
    list-style: none;
    display: flex;
    padding: 10px 0;
}
#contact-details .details li i {
    font-size: 14px;
    padding-right: 22px;
}
#contact-details .details li p {
    margin: 0px;
    font-size: 14px;
}
#contact-details .map {
    width: 100%;
    height: 400px;
    border: 1px solid #3da144;
}
#contact-details .map iframe {
    width: 100%;
    height: 100%;
}

#form-details .the-h2 {
    font-size: 30px;
    position: relative;
}

#form-details .the-h2::before {
    content: "";
    position: absolute;
    width: 60%;
    height: 2px;
    bottom: 15px;
    background-color: #3da144;
}

#form-details h2 span {
    font-size: 30px;
    color: #3da144;
    
}
#form-details {
    display: flex;
    justify-content: space-between;
    /* margin: 30px; */
    padding-left: 40px;
    /* border: 1px solid #e1e1e1; */
    background-color: white;
    padding-bottom: 60px;
}
#form-details .details {
    background-color: whitesmoke;
    padding: 0 25px 20px 25px;
    margin: 20px;
    border: 1px solid lightgray;
}
#form-details form {
    width: 65%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
#form-details form input,
#form-details form textarea {
    width: 100%;
    padding: 12px 15px;
    outline: none;
    margin-bottom: 20px;
    border: 1px solid #e1e1e1;
    font-size: 18px;
}
#form-details form button {
    background-color: #3da144;
    color: white;
    padding: 10px 30px;
    transition: 0.3s ease;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 2px;
}
#form-details form button:hover {
    letter-spacing: 6px;
    /* background-color: #000000d4; */
}
#form-details .details  h2 {
    font-size: 25px;
    margin-right: 0px;
    padding: 30px 0 5px;
    border-bottom: 2px solid #3da144;
    width: fit-content;
}
#form-details .details .box {
    margin-top: 30px;
}
#form-details .details .box .social{
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 40px;
        flex-wrap: wrap;
}
#form-details .details .box .social i {
    color: black;
    font-size: 25px;
    transition: .3s;
}
#form-details .details .box .social i:hover {
    color: #3da144;
}

#form-details .details .icons  li {
    padding: 20px;
}
#form-details .details .box .line {
    display: flex;
    align-items: center;
    color: black;
    margin-bottom: 30px;
  }
  #form-details .details .box .line i {
    color: #3da144;
    /* margin-right: 10px; */
  }

@media(max-width:930px) {
    #form-details .details .box .line .info {
        width: 50%;
    }
    #form-details .details .box .social i{
        font-size: 25px;
    }
    #form-details form .MAS {
        height: 180px;
        width: 465px;
    }
}
@media (max-width:767px) {
    #form-details {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding-right: 0px;
    }
    #form-details form {
        width: 90%;
    }
    #form-details form .MAS {
        height: 128px;
        width: 285px;
    }
    #form-details .details {
        width: 100%;
    }
}


/* ============================================================================================================================= */
/* ----------------------------------------------------------EVENT PAGE -------------------------------------------------------- */
/* ============================================================================================================================= */

.articles {
    padding-top: 80px;
    padding-bottom: 80px;
    position: relative;
  }
  .articles .container {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 40px;
    background-color: whitesmoke;
    padding-top: inherit;
    padding-bottom: inherit;
  }
  .articles .box {
    box-shadow: 0 2px 15px rgb(0 0 0 / 10%);
    background-color: white;
    border-radius: 6px;
    overflow: hidden;
    transition: transform var(--main-transition), box-shadow var(--main-transition);
  }
  .articles .box:hover {
    transform: translateY(-10px);
    box-shadow: 0 2px 15px rgb(0 0 0 / 20%);
  }
  .articles .box img {
    width: 100%;
    max-width: 100%;
  }
  .articles .box .content {
    padding: 5px;
  }
  .articles .box .content h3 {
    margin: 15px;
    font-family: 'Lato', sans-serif;
    color: #000000d4;
    font-weight: bolder;
    font-size: 25px;
    text-transform: uppercase;
  }
  .articles .box .content h4 {
    font-weight: 700;
    margin-left: 17px;
    margin-bottom: 15px;
    font-size: 15px;
    font-family: 'Lato', sans-serif;
    color: #3da144;
    text-transform: uppercase;
  }
  
  .articles .box .content p {
    margin: 10px 0 0;
    line-height: 1.5;
    color: #777;
  }
  .articles .box .info {
    padding: 20px;
    border-top: 1px solid #e6e6e7;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .articles .box .info:hover a,
  .arr  {
    color: #316335;

  }
  .articles .box .info a {
    color: #000000d4;
    font-weight: bold;
  }
  .articles .box .info i {
    color:  #000000d4;
  }
  .articles .box .info a:hover {
    color: #316335
  }
  .articles .box .info i:hover {
    color: #316335
  }
  .articles .box:hover .info i {
    animation: moving-arrow 0.6s linear infinite;
  }
  @media (max-width: 1200px) {
    .articles .container {
    
    grid-template-columns: repeat(auto-fill,minmax(250px, 1fr));

    }
}
/* ---------------------------------------------------------------SCRATCH PAGE ------------------------------------------ */
.Scratch {
    padding-bottom: 100px;
}
.Scratch .containers {
    padding-top: 50px;
    padding-bottom: 50px;
    padding-left: 50px;
    padding-right: 50px;
    margin-right: auto;
    margin-right: auto;
    background-color: whitesmoke;
  }

  .Scratch .containers .imgs-container {
    display: grid;
    grid-template-columns: repeat(3,auto);
    gap: 45px;
    padding: 50px;
  }
  .Scratch .containers .imgs-container .box {
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 15px #333;
  }
  .Scratch .containers .imgs-container .box:hover .caption {
    bottom: 0;
  }
  .Scratch .containers .imgs-container .box:hover img {
    transform: rotate(2deg) scale(1.1);
  }
  @media (min-width: 768px) {
    .Scratch .containers .imgs-container .box {
      flex-basis: 50%;
    }
  }
  @media (min-width: 1199px) {
    .Scratch .containers .imgs-container .box {
      flex-basis: 25%;
    }
  }
  .Scratch .containers .imgs-container .box img {
    max-width: 100%;
    height: 100%;
    transition: 0.3s;
  }
  .Scratch .containers .imgs-container .box .caption {
    position: absolute;
    left: 0;
    padding: 20px;
    background-color: #0000006e;
    width: 100%;
    transition: 0.3s;
    bottom: -100%;
    height: 100%;
  }
  .Scratch .containers .imgs-container .box .caption h4 {
    font-weight: normal;
    margin-bottom: 10px;
  }
  .Scratch .containers .imgs-container .box .caption p {
    color: var(--main-color);
  }
  .Scratch .containers .more {
    background-color: var(--main-color);
    color: white;
    padding: 15px 20px;
    display: block;
    width: fit-content;
    margin: 30px auto;
    text-decoration: none;
    text-transform: uppercase;
  }

  .Scratch .containers .main-heading h2 {
    font-size: 30px;
    margin-bottom: 20px;
    border-bottom: 2px solid #3da144;
    width: fit-content;
    /* position: relative; */
  }
  /* .Scratch .containers .main-heading h2::before {
    content: "";
    position: absolute;
    height: 2px;
    width: fit-content;
    bottom: 0;
    right: 0;
    background-color: #3da144;
  } */
  .Scratch .containers .main-heading h2 span {
    color: #3da144;
  }
  .Scratch .containers .main-heading p {
    font-size: 19px;
    line-height: 1.8;
  }
  .Scratch .containers .main-heading ol {
    font-size: 19px;
    line-height: 1.8;
    margin-right: 15px;
  }
  @media (max-width: 900px) {
    .Scratch .containers .imgs-container {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

  }
  @media (max-width: 600px) {
    .Scratch .containers .imgs-container {
        padding: 25px;
    }
    .Scratch .containers .main-heading p {
        text-align: center;
    }
  }


  /* ==================================================================================================================== */
  /* ----------------------------------------------------------------POSTES PAGE ---------------------------------------- */
  /* ==================================================================================================================== */


.postes .containers {
    padding-top: 50px;
    padding-bottom: 50px;
}




















@keyframes left-move {
    50% {
    left: 0;
    width: 12px;
    height: 12px;
    }
    100% {
    left: 0;
    border-radius: 0;
    width: 50%;
    height: 100%;
    }
}
@keyframes right-move {
    50% {
    right: 0;
    width: 12px;
    height: 12px;
    }
    100% {
        right: 0;
        border-radius: 0;
        width: 50%;
        height: 100%;
    }
}
/* ------------------------------------------------------------------------------------ */
.slider {
    display: flex;
    align-items: center;
    background-color: #f7f7f7;
    overflow: hidden;
  }
  
  .scroll-parent {
    position: relative;
    width: 100vw;
    height: 15rem;
    padding: 2rem 0;
    overflow-x: hidden;
  }
  
  .scroll-element {
    width: inherit;
    height: inherit;
    position: absolute;
    left: 0%;
    top: 0%;
    display: flex;
    align-items: center;
    justify-content: space-around;
  }
  
  .scroll-element img {
    width: 13%;
  }
  
  .primary {
    animation: primary 10s linear infinite;
  }
  
  .secondary {
    animation: secondary 10s linear infinite;
  }
  
  @media (max-width: 780px){
  .scroll-element img {
    width: 20%;
}
}
@media (max-width:400px){
    .scroll-parent {
       
        height: 10rem;
       
    }
}
  @keyframes primary {
    from {
      left: 0%;
    }
    to {
      left: -100%;
    }
  }
  
  @keyframes secondary {
    from {
      left: 100%;
    }
    to {
      left: 0%;
    }
  }


    /* /////////////////////////galllery////////////////////////////////////// */
    .wrapper{
        display: flex;
        position: relative;
        min-height: 64vh;
        align-items: center;
        justify-content: center;
        }
        .wrapper i{
          top: 50%;
          height: 44px;
          width: 44px;
          color: #343F4F;
          cursor: pointer;
          font-size: 1.15rem;
          position: absolute;
          text-align: center;
          line-height: 44px;
          background: #fff;
          border-radius: 50%;
          transform: translateY(-50%);
          transition: transform 0.1s linear;
        }
        .wrapper i:active{
          transform: translateY(-50%) scale(0.9);
        }
        .wrapper i:hover{
          background: #f2f2f2;
        }
        .wrapper i:first-child{
          left: 10px;
          display: none;
        }
        .wrapper i:last-child{
          right: 10px;
        }
        .wrapper .carousel{
          font-size: 0px;
          cursor: pointer;
          overflow: hidden;
          white-space: nowrap;
          scroll-behavior: smooth;
        }
        .carousel.dragging{
          cursor: grab;
          scroll-behavior: auto;
        }
        .carousel.dragging img{
          pointer-events: none;
        }
        .carousel img{
          height: 340px;
          object-fit: cover;
          user-select: none;
          margin-left: 14px;
          width: calc(100% / 3);
        }
        .carousel img:first-child{
          margin-left: 0px;
        }
        @media screen and (max-width: 900px) {
          .carousel img{
            width: calc(100% / 2);
          }
        }
        @media screen and (max-width: 550px) {
          .carousel img{
            width: 100%;
          }
        }
        
        #FullImageView{
            display: none;
            position:fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0, .9);
            text-align: center;
            z-index:1;
        
          }
          #FullImage{
            padding: 150px;
            max-width: 98%;
            max-height: 98%;
          }
          #CloseButton{
            position: relative;
            top: -561px;
            right: 15px;
            font-size: 2rem;
            color: #fff;
            cursor: pointer;
          }
          
           @media (max-width: 700px){
            #FullImage{
                padding: 0;
                margin-top: 200px;
                
              }
            }

            @media (max-width: 980px){
                #CloseButton{
                    
                    top: -410px;
                    right: -260px;
                    
                }
            }
            @media (max-width: 480px){
                #CloseButton{
                    
                    top: -290px;
                    right: -155px;
                    
                }
            }