@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css?family=Montserrat:300,400,500,600,700,800');
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400&display=swap");

:root {
    --primary-color: #333;
    --secondary-color: #FF5C35;
    --highlight-color: #ffae00;
    --background-color: #f2f2f2;
    --light-background-color: #f9f9f9;
    --white: #fff;
    --grey: #666;
    --facebook:#3b5998;
    --whatsapp:#25d366;
    --twitter:#1da1f2;
    --instagram:#e1306c;
    --email:#d44638;
    --box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    --transition: all 0.2s linear;
    --border-radius: 5px;
    --font-primary: 'Ubuntu', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;
    --font-tertiary: 'Poppins', sans-serif;
    --font-quaternary: 'Nunito', sans-serif;
    --text-decoration:none;
    
}

* {
    margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: var(--text-decoration);
  outline: none;
  border: none;
  transition: var(--transition);
    box-sizing: border-box;
    /* -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none; */
}

body {
    font-family: var(--font-primary);
    background-color: var(--background-color);
    line-height: 1.6;
    color: var(--primary-color);
}

.wrapper {
    min-height: 100vh;
    display: flex;
    align-items: stretch;
    flex-direction: column;
    display: none;
}

.container {
    width: 90%;
    margin: auto;
    overflow: hidden;
}


header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 20px 0;
    box-shadow: var(--box-shadow);
    border-bottom: 5px solid transparent;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s ease, padding 0.3s ease;
}


header h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-family: 'Tangerine', serif;
    text-shadow: 4px 4px 4px #aaa;
}

nav {
    text-align: center;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    display: inline-block;
    margin: 0 15px;
}

nav ul li a {
    font-size: 1.1rem;
    color: var(--white);
    font-weight: 600;
    letter-spacing: 0.04rem;
    transition: var(--transition);
    text-decoration: var(--text-decoration);
}

nav ul li a.active,
nav ul li a:hover {
    color: var(--highlight-color);
}


header .menu-toggle,
header .menu-close {
    display: none;
    background: var(--primary-color);
    color: var(--white);
    padding: 10px;
    cursor: pointer;
    font-size: 1.5rem;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1001;
}

.loader-container {
    position: fixed;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    z-index: 9999;
}

.ripple {
    position: relative;
    width: 100px;
    height: 100px;
}

.ripple::before,
.ripple::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 4px solid var(--secondary-color);
    opacity: 0;
    animation: ripple 3s linear infinite;
}

.ripple::after {
    animation-delay: 1.5s;
}

@keyframes ripple {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    25% {
        opacity: 1;
    }
    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

.offline-message {
    display: none;
    color: red;
    font-size: 18px;
    text-align: center;
    margin-top: 20px;
}

header .progress-container {
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 5px;
    background: #ccc;
}

header .progress-container .progress-bar {
    width: 0;
    height: 100%;
    background: var(--secondary-color);
}

@media (max-width: 768px) {
    header .progress-container {
        top: 0;
    }
    header{
    height:5rem;

    }
    header nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: var(--primary-color);
        position: absolute;
        top: 70px;
        left: 0;
    }

    header nav ul li {
        display: block;
        text-align: center;
        padding: 10px;
        border-bottom: 1px solid var(--white);
    }

    header nav ul li a {
        color: var(--white);
    }

    header .menu-toggle {
        display: block;
        float: right;
    }

    header nav.active ul {
        display: flex;
    }

    header nav.active .menu-close {
        display: block;
    }

    #equipe .membre {
        margin-inline-end: 30px;
        max-width: 150px;
        min-width: 150px;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}


section {
    padding: 80px 20px;
    text-align: center;
}

section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

section#accueil {
    position: relative;
    height: 85vh;
    min-height: 100vh;
}

#accueil .btn {
    margin-top: 1.5rem;
    padding: .5rem 1rem;
    border-radius: 4em;
    transition: 0.5s;
    color: #fff;
    background: #2506ad;
    font-family: "Nunito", sans-serif;
  }
  #accueil .btn span {
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.1rem;
  }
  #accueil .btn i {
    margin-left: 0.3rem;
    font-size: 1.5rem;
    transition: 0.3s;
  }
  #accueil .btn:hover {
    background: #1a047e;
  }
  #accueil .btn:hover i {
    transform: translateX(5px);
  }


section#accueil img {
    width:150px; 
    height:150px;
    max-width: 100%;
    border-radius: 8px;
    object-fit: cover;
    aspect-ratio: 1/4;
}

.social-icons {
    margin-top: 10px;
}

.social-icons a {
    display: inline-block;
    margin: 0 10px;
    color: var(--primary-color);
    font-size: 24px;
    transition: var(--transition);
}

.social-icons a:hover,
.personne p a:hover  {
    color: var(--highlight-color);
}

.social-icons a.facebook:hover,
.personne p a.facebook:hover,
.top-bar i.facebook:hover {
    color: var(--facebook);
}

.social-icons a.whatsapp:hover,
.personne p a.whatsapp:hover,
.top-bar i.whatsapp:hover {
    color: var(--whatsapp);
}

.social-icons a.twitter:hover,
.personne p a.twitter:hover,
.top-bar i.twitter:hover {
    color: var(--twitter);
}

.social-icons a.instagram:hover,
.personne p a.instagram:hover,
.top-bar i.instagram:hover {
    color: var(--instagram);
}

.social-icons a.email:hover,
.personne p a.email:hover,
.top-bar i.email:hover  {
    color: var(--email);
}

section#emissions {
    background-color: var(--light-background-color);
    padding: 80px 0;
    text-align: center;
}

#emissions .emissions {
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
    gap:20px;
   
}
section#emissions .emission {
    margin-bottom: 20px;
    padding: 15px;
    background-color: var(--white);
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 350px;
    width: 350px;
}

section#emissions h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

section#emissions h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

section#emissions p {
    font-size: 1rem;
    margin-bottom: 10px;
    text-align: justify;
}

section#equipe {
    background-color: var(--white);
}

#membres {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    margin-top: 15px;
}

.membre {
    /* margin-inline: 10px 10px; */
    text-align: center;
    max-width: 250px;
    margin-bottom: 30px;
}

.membre img {
    width: 180px;
    height: 180px;
    clip-path: circle(45%);
    object-fit: cover;
    border: 5px solid var(--white);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    margin-bottom: 10px;
    cursor: pointer;
}

.membre img:hover {
    transform: scale(1.1);
    box-shadow: 1rem 0.5rem 1.2rem rgba(0, 0, 0, 0.3);
}

.membre h3 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.membre p {
    font-size: .8rem;
    margin-bottom: 10px;
}


#personnel {
    background-color: var(--white);
}

.personnel {
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;

}

.personnel-interne {
    background-color: #f0f0f0;
    padding: 20px;
    margin-bottom: 30px;
}

.personnel-externe {
    background-color: #e0e0e0;
    padding: 20px;
}

.personne {
    margin-bottom: 20px;
    padding: 15px;
    background-color: var(--white);
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 300px;
    width: 300px;
}

.personne:hover {
    transform: scale(1.1);
    box-shadow: 1rem 0.5rem 1.2rem rgba(0, 0, 0, 0.3);
    mix-blend-mode: normal;
}

.personne h2 {
    margin-bottom: 10px;
}

.personne h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.personne p {
    margin-bottom: 10px;
    font-size: 18px;
    color: var(--grey);
}

.personne img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    object-position: center;
    clip-path: circle(50%);
    margin-bottom: 10px;
    mix-blend-mode: normal;
}

.personne p a {
    color: inherit;
    text-decoration: none;
    margin-inline-end: 10px;
}

.personne p a i {
    font-size: 1.3rem;
    margin-top: 10px;

}


section#contact {
    background-color: var(--white);
}


section#apropos {
    background-color: var(--light-background-color);
    padding: 80px 0;
    text-align: center;
}

section#apropos h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-content {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.about-content img {
    max-width: 100%;
    height: 20vh;
    border-radius: 8px;
}

.about-content p {
    font-size: 1rem;
    max-width: 930px;
    color: #0e0d0d;
    text-align: justify;
    margin-inline: 10px 10px;
}

section#mission {
    background-color: var(--light-background-color);
    padding: 80px 0;
    text-align: center;
}

#mission p {
    text-align: justify;
    margin-bottom: 2rem;
    color: #0e0d0d;
}

#mission .row {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
}

#mission .row .column {
    width: 100%;
    padding: 0 1em 1em 1em;
    text-align: center;
}

#mission .column .card {
    width: 100%;
    height: 100%;
    padding: 2em 1.5em;
    background: linear-gradient(var(--white) 50%, #2c7bfe 50%);
    background-size: 100% 200%;
    background-position: 0 2.5%;
    border-radius: .3125rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

#mission .column .card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #1f194c;
    margin: 1em 0;
    text-transform: uppercase;
}

#mission .column .card p {
    color: #565759;
    font-size: .9375rem;
    line-height: 1.6;
    letter-spacing: 0.03em;
    text-align: justify;
}

#mission .column .card .icon-wrapper {
    margin: auto;
    width: 10em;
    color: #ffffff;
    border-radius: 50%;
    place-items: center;

}

#mission .column .card .icon-wrapper img {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 1/1;
}

#mission .column .card ul {
    margin-inline: 10px 10px;
    text-align: justify;
}

@media screen and (min-width: 48rem) {

    #mission .column {
        flex: 0 100%;
        max-width: 100%;
    }
}

@media screen and (min-width: 62rem) {

    #mission .column {
        flex: 0 0 33.33%;
        max-width: 33.33%;
    }
}

section#services {
    background-color: var(--light-background-color);
    padding: 80px 0;
    text-align: center;
}


.service-flex {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    justify-content: center;
}

.service {
    flex: 1 1 calc(33.333% - 20px);
    margin: 10px;
    padding: 20px;
    background: linear-gradient(var(--white) 50%, #2c7bfe 50%);
    background-size: 100% 200%;
    background-position: 0 2.5%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: .3125rem;
    text-align: center;
    background-color: var(--white);
    transition: transform 0.3s ease;
}

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

.service .icon-wrapper {
    margin: auto;
    width: 10em;
    color: var(--white);
    border-radius: 50%;
    place-items: center;

}

.service .icon-wrapper img {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 1/1;
}



.service h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    margin-top: 20px;
}

.service p {
    font-size: 1rem;
    text-align: justify;
}

@media (max-width: 1200px) {
    .service {
        flex: 1 1 calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .service {
        flex: 1 1 calc(100% - 20px);
    }
}

@media (max-width: 480px) {
    .service {
        flex: 1 1 calc(100% - 10px);
        margin: 5px;
        padding: 15px;
    }
}

.testimonial3 {
    background-color: var(--light-background-color);
}

.testimonial3 h1,
.testimonial3 h3,
.testimonial3 h4,
.testimonial3 h5,
.testimonial3 h6 {
    font-family: var(--font-secondary);
    color: var(--black);
}

.testimonial3 h6 {
    margin-inline: 10px 10px;
    text-align: justify;
}

.testimonial3 h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.testimonial3 .font-weight-medium {
    font-weight: 500;
}

.testimonial3 .bg-light {
    background-color: #f4f8fa !important;
}

.testimonial3 .testi3 .card-body {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%; /* Ensures the card body fills the entire card height */
}

.owl-carousel .item {
    display: flex;
    justify-content: center;
    align-items: stretch;
}

.testimonial3 .testi3 .thumb-img img {
    width: 60px;
    margin: 0 auto;
}

.testimonial3 .testi3 .customer {
    font-family: var(--font-secondary);
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 500;
}

.testimonial3 .card.card-shadow {
    -webkit-box-shadow: 0px 0px 30px rgba(115, 128, 157, 0.1);
    box-shadow: 0px 0px 30px rgba(115, 128, 157, 0.1);
    width: 100%; /* Set width to 100% for responsiveness */
    height: 100%; /* Ensures the card fills the container height */
    display: flex;
    flex-direction: column;
}

.testimonial3 .card.card-shadow .card-body {
    flex-grow: 1; /* Ensures the card body grows to fill the remaining space */
}

/* Optional: Ensure all cards in a row have the same height */
.testimonial3 .row > .col-md-4 {
    display: flex;
    align-items: stretch;
    margin-bottom: 20px; /* Space between rows */
}


#myCarousel {
    margin-top: 50px;
}

@media (max-width: 768px) {
    .carousel-inner .carousel-item>div {
        display: none;
    }

    .carousel-inner .carousel-item>div:first-child {
        display: block;
    }
}

.carousel-inner .carousel-item.active,
.carousel-inner .carousel-item-start,
.carousel-inner .carousel-item-next,
.carousel-inner .carousel-item-prev {
    display: flex;
}

@media (min-width: 768px) {

    .carousel-inner .carousel-item-right.active,
    .carousel-inner .carousel-item-next,
    .carousel-item-next:not(.carousel-item-start) {
        transform: translateX(25%) !important;
    }

    .carousel-inner .carousel-item-left.active,
    .carousel-item-prev:not(.carousel-item-end),
    .active.carousel-item-start,
    .carousel-item-prev:not(.carousel-item-end) {
        transform: translateX(-25%) !important;
    }

    .carousel-item-next.carousel-item-start,
    .active.carousel-item-end {
        transform: translateX(0) !important;
    }

    .carousel-inner .carousel-item-prev,
    .carousel-item-prev:not(.carousel-item-end) {
        transform: translateX(-25%) !important;
    }
}



#contact .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: auto;
    font-family: Arial, Helvetica, sans-serif;
    width: 80vw;
    padding: 15px;
}

#contact h2 {
    color: #403333;
}

#contact .contact-info {
    display: flex;
    width: 100%;
}

#contact form {
    display: flex;
    flex-direction: column;
    width: 45%;
    text-align: center;
    color: gray;
    border-radius: 5px;
    padding: 7px;

}

#contact .details {
    font-family: var(--font-primary);
    display: flex;
    flex-direction: column;
    width: 50%;
    background: #0069f7;
    color: var(--white);
    border-radius: 5px;
    padding: 7px;

}

#contact .contact-items {
    display: flex;
    align-items: center;
    font-size: 12px;
}

#contact .contact-items p a {
    text-decoration: none;
}

#contact .contact-items-wrapper {
    padding: 25px;
}

#contact .details h3 {
    text-align: center;
}

#contact .details p {
    font-size: 15px;
    margin-left: 15px;
}

#contact .details p a {
    color: var(--white);
}

#contact .details p a:hover {
    color: rgb(160, 154, 154);
}

#contact .material-icons {
    width: 12px;
    margin: 5px;
}

#contact input,
#contact textarea {
    width: 90%;
    padding: 10px;
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    resize: none;
}


#contact button {
    background-color: var(--primary-color);
    width: 90%;
    color: var(--white);
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

#contact button:hover {
    background-color: var(--highlight-color);
}





@media screen and (max-width:780px) {
    #contact .contact-info {
        flex-direction: column;
        width: 100%;
    }

    #contact form {
        width: 100%;
        margin-bottom: 5px;
    }

    #contact .details {
        width: 100%;
    }

    #contact input,
    #contact textarea,
    #contact button,
    #contact .container {
        width: 100%;
    }
}



footer {
    display: none;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 20px 0;
    text-align: center;
    margin-top: auto;
}

footer p {
    margin: 0;
}

.top-bar {
    padding: .5rem 0;
    background: var(--white);
    height: 45px;
}

.top-bar .text-start small i,
.top-bar small {
    font-size: .9rem;
    color: var(--grey);
}

.top-bar .text-end a i,
.top-bar .text-start small i {
    font-size: .9rem;
    color: var(--grey);
}
.top-bar .text-end a i {
    font-size: 1rem;
}


.top-bar a,
.top-bar a i:hover {
    text-decoration: none !important;
    color: var(--highlight-color);
}


.back-to-top {
    position: fixed;
    top: -140%;
    right: 2rem;
    padding: 1rem 1.5rem;
    font-size: 2rem;
    color: rgb(13, 0, 44);
    border-radius: 50%;
    transition: 1s linear;
    z-index: 1000;
  }
  .back-to-top.active {
    top: calc(100% - 5rem);
  }

.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover {
    color: var(--white);
}

.btn.btn-warning:hover {
    color: blue;
    background: transparent;
}

.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;
}

#stats {
    background-color: #f8f9fa;
}

.stats-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stats-card:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.stats-card i {
    font-size: 2rem;
}


