html, body {
    overflow-x: hidden;
    box-sizing: border-box;
}
*, *::before, *::after {
    box-sizing: inherit;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f4f1ea;
    color: #024053;
    line-height: 1.6;
    overflow-x: hidden;
}
strong {
    font-weight: 600!important;
}
.container {
    max-width: 1140px;
}

section {
    padding-top: 6rem !important;
    padding-bottom: 6rem !important;
}
.localAgency {
    color: #d7a78a;
}

.bg-atout {
    background-color: #f4f1ea;
}
.bg-atout i {
    color: #ca5414;
}

.badge_surmesure {
    font-size: 1rem;
    letter-spacing: 0.3px;
    font-weight: 400;
    padding: 0.5rem 1.5rem;
    background-color: #d7a78a;
}
.hero {
    background: url('https://brochure.endemika-madagascar.com/img/bg_baobab.jpg') no-repeat center center;
    background-size: cover;
    color: white;
    padding-top: 0;
    padding-bottom: 160px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 600;
}

.hero h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #024053;
    line-height: 1.4;
}

.hero p {
    font-size: 1.1rem;
    color: #f0f0f0;
}

.section-title {
    font-size: 2.2rem;
    color: #024053;
    margin-bottom: 2rem;
}

.icon-box i {
    font-size: 2.5rem;
    color: #ca5414;
}

.choice {
    font-weight: 600;
    font-size: 24px;
    margin-bottom: 1rem;

}

.testimonial {
    background-color: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.btn-orange {
    background-color: #ca5414;
    border: none;
    color: white;
}

.btn-orange:hover {
    background-color: #cf6a00;
}

.card {
    border: solid 1px #ffffff;
}

.card-title {
    color: #024053;
    font-weight: 600;
}

.card-body {
    text-align: center;
}

.card-text {
    font-size: 0.825rem;
    color: #6c757d;
}

.tag-duration {
    border: 0.5px solid;
    border-color: #ffffff;
    background-color: rgba(255, 255, 255, 0.6);
    z-index: 50;
    top: 10px !important;
    right: 10px !important;
    border-radius: 30px !important;
    color: #024053 !important;
    font-weight: 500;
}

.sous-titre {
    color: #024053;
    text-align: center;
    font-family: 'Spectral';
    font-size: 1.2rem;
    font-style: normal;
    font-weight: 400;
    margin-top: 20px;
    line-height: 1.8rem;
    position: relative;
    bottom: 20px;
}

.bold {
    font-weight: 700;
}

.etapes {
    display: flex !important;
    gap: 5px;
}

.ville-etapes {
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    font-size: 0.825rem;
    letter-spacing: 2px;
    position: relative;
    top: -1px;
}

.btn-orange {
    background-color: #ca5414;
    border: none;
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}

.btn-orange-secondary {
    background-color: transparent;
    border: solid 1px #ca5414;
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}

.btn-orange:hover {
    background-color: #cf6a00;
}

.btn-orange-secondary:hover {
    border: solid 1px #f0f0f0;
}

.btn-success_modal {
    background-color: #00a891;
    color: #ffffff;
}

.text-success_modal {
    color: #00a891;
}

.form-label span.text-danger {
    color: #dc3545 !important;
}

.form-container {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

.form-container h2 {
    font-size: 1.8rem;
    color: #024053;
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-container .form-label {
    font-size: 0.8rem;
    color: #024053;
}

.form-container .form-control {
    border-radius: 5px;
    border: 1px solid #e0e0e0;
    padding: 0.75rem;
    font-size: 1rem;
}

.form-container .form-control:focus {
    border-color: #ca5414;
    box-shadow: 0 0 0 3px rgba(202, 84, 20, 0.1);
}

.form-container .form-select {
    border-radius: 5px;
    border: 1px solid #e0e0e0;
    padding: 0.75rem;
    font-size: 1rem;
}

.form-container .form-select:focus {
    border-color: #ca5414;
    box-shadow: 0 0 0 3px rgba(202, 84, 20, 0.1);
}

.form-container .form-check-label {
    font-weight: 400;
    color: #024053;
}

.form-container .btn-orange {
    margin-top: 1.5rem;
}

.form-container .text-muted {
    font-size: 0.775rem;
    color: #6c757d;
    margin-top: 0.5rem;
    text-align: center;
}

.logo {
    max-height: 70px;
}

.nav-container {
    /* New container for navigation elements */
    display: flex;
    justify-content: space-between;
    /* Distribute items horizontally */
    align-items: center;
    /* Vertically center items */
    padding-top: 1rem;
    padding-bottom: 1rem;
    width: 100%;
    /* Ensure it spans the full width */
}

.nav-list {
    /* New class for the list of navigation items */
    list-style: none;
    /* Remove bullet points */
    display: flex;
    /* Use flexbox for horizontal layout */
    margin: 0;
    /* Reset default margins */
    padding: 0;
    /* Reset default padding */
}

.nav-list .nav-item {
    margin-left: 1rem;
    margin-right: 1rem;
}

.nav-list .nav-link {
    color: white;
    font-size: 0.825rem;
    transition: color 0.3s ease;
    text-decoration: none;
}

.nav-list .nav-link:hover,
.nav-list .nav-link.active {
    color: #ca5414;
}

.navbar-toggler {
    display: none;
    background-color: transparent;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 0;
    font-size: 1.25rem;
}

.navbar-toggler-icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    content: "";
    background: no-repeat center center;
    background-size: 100% 100%;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.client-photo {
    width: 36px;
    height: 36px;
    object-fit: cover;
    border-radius: 50%;
    margin-right: 0.5rem;
}
.titre-pdf {
    color: #ca5414;
}

sup.mini {
    font-size: 0.55em;
    margin-left: 1px;
    color: inherit; /* conserve la couleur du texte parent */
}


@keyframes vibrate {
    0% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(-4px);
    }

    40% {
        transform: translateX(4px);
    }

    60% {
        transform: translateX(-4px);
    }

    80% {
        transform: translateX(4px);
    }

    100% {
        transform: translateX(0);
    }
}

.vibrate {
    animation: vibrate 0.4s ease-in-out;
}
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
}
@media (max-width: 768px) {
    .nav-list {
        display: none;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.8);
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 1rem;
        z-index: 10;
    }

    .nav-list.active {
        display: flex;
    }

    .nav-list .nav-item {
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .navbar-toggler {
        display: block;
    }

    .navbar {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .navbar-brand {
        margin-bottom: 0;
    }
}
