.servise_container {
    width: 80%;
    margin: 30px auto;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.page-value {
    padding: 10px;
    border: 1px solid var(--color-border);
    border-radius: 5px;
    color: var(--color-text);
    text-decoration: none;
}

.page-value:hover,
.page-value.active {
    border-color: var(--color-primary);
    color: var(--color-link);
}

.previous.disabled,
.next.disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.custom-select ul.options {
    display: none;
}

.custom-select.open ul.options {
    display: block;
}

/* Dropdown lists & textarea should not inherit pill radius */
.options {
    border-radius: 0.5rem !important;
}

textarea.form-control {
    border-radius: 0.5rem !important;
}

/* Table containers must not inherit pill radius */
.charge-table.rounded,
.covarage-list-3 .charge-table,
.charge-wpr .nav.rounded,
.nav.nav-pills.rounded {
    border-radius: 1rem !important;
}

/* ========== Features Section ========== */
.features-section { background-color: var(--color-surface); }

.feature-card {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px var(--color-shadow) !important;
}
.feature-img { max-height: 70px; object-fit: contain; }
.feature-icon-placeholder {
    width: 70px; height: 70px;
    background: rgba(var(--primary-color), 0.1);
    border-radius: 50%;
}
.feature-title { color: var(--color-text); font-size: 1rem; }
.feature-desc  { font-size: 0.875rem; line-height: 1.6; }

/* ========== Team Section ========== */
.bg-light-2 { background-color: var(--color-surface); }

.team-card {
    background: var(--color-surface);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--color-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px var(--color-shadow);
}
.team-img-wrap {
    width: 110px; height: 110px;
    padding-top: 1.5rem;
}
.team-img {
    width: 110px; height: 110px;
    object-fit: cover;
    border: 3px solid rgba(var(--primary-color), 0.2);
}
.team-name  { font-size: 1rem; color: var(--color-text); }
.team-social-link {
    width: 32px; height: 32px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: rgba(var(--primary-color), 0.1);
    color: rgba(var(--primary-color));
    font-size: 0.8rem;
    transition: background 0.3s, color 0.3s;
    text-decoration: none;
}
.team-social-link:hover {
    background: rgba(var(--primary-color));
    color: var(--color-on-primary);
}

/* ========== Newsletter Section ========== */
.newsletter-section { background-color: var(--color-surface); }
.newsletter-wrapper {
    background: linear-gradient(135deg, rgba(var(--primary-color), 0.9), rgba(var(--primary-color), 0.7));
    box-shadow: 0 10px 40px rgba(var(--primary-color), 0.3);
}
.newsletter-input {
    max-width: 380px;
    height: 52px;
    border-radius: var(--rounded-square) !important;
}
.newsletter-btn { height: 52px; white-space: nowrap; }

/* Contact us page panels must not inherit pill radius */
.left-panel,
.left-panel::before,
.right-panel .content,
.right-panel .content::before {
    border-radius: 1.5rem !important;
}

/* ========== Header nav-link responsive sizing ========== */
/* Base .navbar .navbar-nav .nav-item .nav-link is 18px, which is only
   sized for wide desktop screens. Small-laptop widths (1250-1600px,
   e.g. 1366x768, 1440x900) had no reduction and looked oversized. */
@media only screen and (min-width: 992px) and (max-width: 1249px) {
    .navbar .navbar-nav .nav-item .nav-link, .navbar .nav-profile .text-btn,  .navbar .nav-profile .btn-1, .top-adss li, .top-social-2 li {
        margin-right: 1.5rem !important;
        font-size: 14px !important;
    }
}

@media only screen and (min-width: 1250px) and (max-width: 1600px) {
    .navbar .navbar-nav .nav-item .nav-link, .navbar .nav-profile .text-btn,  .navbar .nav-profile .btn-1, .top-adss li, .top-social-2 li {
        margin-right: 1.75rem !important;
        font-size: 15px !important;
    }
}

/* ========== Homepage hero slider responsive sizing ========== */
/* .slider-title (70px/75px) and .item's 250px vertical padding only had
   a reduction at max-width 768px, so every laptop width (992-1600px)
   rendered the full desktop-sized heading and slide height. */
@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .hero-one .item {
        padding: 120px 0;
    }
    .slider-title {
        font-size: 42px !important;
        line-height: 50px !important;
        margin-top: 12px !important;
        margin-bottom: 18px !important;
    }
}

@media only screen and (min-width: 1200px) and (max-width: 1600px) {
    .hero-one .item {
        padding: 160px 0;
    }
    .slider-title {
        font-size: 52px !important;
        line-height: 60px !important;
        margin-top: 14px !important;
        margin-bottom: 20px !important;
    }
}

/* ========== Homepage trust strip (between hero slider and about section) ========== */
.trust-strip-section {
    background-color: var(--color-surface);
    padding: 25px 0;
}

.trust-strip-item {
    position: relative;
    height: 100%;
    padding: 0 1.75rem;
    text-align: center;
}

/* Divider ticks between items on desktop, reinforcing the 1-2-3-4 sequence */
.col-lg-3:not(:last-child) .trust-strip-item::after {
    content: "";
    position: absolute;
    top: 30px;
    right: 0;
    width: 1px;
    height: calc(100% - 60px);
    background: var(--color-border);
}

@media (max-width: 991px) {
    .col-lg-3:not(:last-child) .trust-strip-item::after {
        display: none;
    }
}

.trust-strip-number {
    display: block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(var(--primary-color), 0.45);
    margin-bottom: 10px;
}

.trust-strip-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(var(--primary-color), 0.1);
    color: rgba(var(--primary-color));
    font-size: 26px;
    transition: transform 0.35s ease, background 0.35s ease, color 0.35s ease;
}

.trust-strip-item:hover .trust-strip-icon {
    background: rgba(var(--primary-color));
    color: var(--color-on-primary);
    transform: translateY(-6px);
}

.trust-strip-title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    color: var(--color-text);
    margin-bottom: 12px;
}

.trust-strip-desc {
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--color-text-muted, var(--color-text));
    opacity: 0.8;
    margin-bottom: 0;
}

@media only screen and (min-width: 992px) and (max-width: 1600px) {
    .trust-strip-section {
        padding: 50px 0;
    }
    .trust-strip-icon {
        width: 60px;
        height: 60px;
        font-size: 22px;
        margin-bottom: 14px;
    }
    .trust-strip-title {
        font-size: 15px;
    }
    .trust-strip-desc {
        font-size: 13.5px;
    }
}

/* ========== About section service boxes: equal height ========== */
/* Titles vary in length (e.g. "Livraison Rapide" vs "Service de Confirmation
   de Commandes"), so some wrap to 2 lines and others stay on 1, making the
   6 .ab-icon-wrapper boxes uneven. Stretch each wrapper to fill its row and
   reserve 2-line height for the title regardless of actual wrap. */
.ab-icon-wrapper {
    height: 100%;
}
.ab-icon-wrapper h3.heading-5 {
    min-height: 50px;
    display: flex;
    align-items: center;
}

/* ========== How-it-work steps: add a description under each title ========== */
/* .step-text was sized for a single short bold label 118px below the icon.
   Now the title keeps that spacing, and this description paragraph directly
   follows the title, so it only needs a small margin, not another 118px. */
.how-work-two .work-step .work-step-list li .step-text.step-desc {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
    max-width: 260px;
    margin-top: 10px !important;
    text-align: center;
    color: var(--clr-white);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
}

/* ========== How-it-work steps: fixed 3-per-row grid, responsive ========== */
/* The original list used flex-wrap, which reflows based on available width
   rather than a fixed count. Force 3 items per row on desktop, collapsing
   to 2 then 1 as the viewport narrows. The step-count badge's side offset
   is tied to the column gap, so it's re-tuned at each breakpoint too. */
.how-work-two .work-step .work-step-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 120px;
    row-gap: 100px;
    justify-items: center;
    justify-content: center;
    align-items: start;
    margin: 0 auto;
    padding-left: 0;
}
.how-work-two .work-step .work-step-list li {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

@media (max-width: 1199px) {
    .how-work-two .work-step .work-step-list {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 60px;
        row-gap: 90px;
    }
    .how-work-two .work-step .work-step-list li .work-step-icon .step-count {
        right: -60px;
    }
    [dir="rtl"] .how-work-two .work-step .work-step-list li .work-step-icon .step-count {
        right: auto;
        left: -60px;
    }
}

@media (max-width: 767px) {
    .how-work-two .work-step .work-step-list {
        grid-template-columns: 1fr;
        row-gap: 70px;
    }
    .how-work-two .work-step .work-step-list li .work-step-icon .step-count {
        right: 8px;
        top: -8px;
    }
    [dir="rtl"] .how-work-two .work-step .work-step-list li .work-step-icon .step-count {
        right: auto;
        left: 8px;
        top: -8px;
    }
}

/* ========== About page: "Qui sommes-nous" body copy ========== */
.about-us-content p {
    text-align: justify;
    text-align-last: left;
}
[dir="rtl"] .about-us-content p {
    text-align-last: right;
}

/* ========== About page: Mission / Vision / Values ========== */
/* Distinct treatment from the generic .feature-card grid used elsewhere:
   Mission/Vision as two large tinted panels with an accent border and a
   big quote-style icon, Values as a connected numbered strip rather than
   another row of white cards. */
.mv-panel {
    position: relative;
    height: 100%;
    padding: 2.5rem 2rem;
    border-radius: 1.25rem;
    background: var(--color-surface);
    border-left: 4px solid rgba(var(--primary-color));
    overflow: hidden;
}
[dir="rtl"] .mv-panel {
    border-left: none;
    border-right: 4px solid rgba(var(--primary-color));
}
.mv-panel::before {
    content: "";
    position: absolute;
    top: -40px;
    right: -40px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(var(--primary-color), 0.08);
}
[dir="rtl"] .mv-panel::before {
    right: auto;
    left: -40px;
}
.mv-panel-icon {
    position: relative;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(var(--primary-color));
    color: var(--color-on-primary);
    font-size: 26px;
    margin-bottom: 1.5rem;
}
.mv-panel-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 0.75rem;
}
.mv-panel-desc {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text);
    opacity: 0.85;
    margin-bottom: 0;
}

/* Divider between the Mission/Vision row and the Values strip, so the
   three concepts read as clearly separated sections instead of one
   crammed block under a single heading. */
.mv-divider {
    max-width: 120px;
    margin: 2.5rem auto 2rem;
    border: 0;
    border-top: 3px solid rgba(var(--primary-color), 0.25);
    border-radius: 3px;
}

@media (max-width: 767px) {
    .mv-panel {
        padding: 2rem 1.5rem;
    }
    .mv-panel::before {
        width: 100px;
        height: 100px;
        top: -30px;
        right: -30px;
    }
    [dir="rtl"] .mv-panel::before {
        left: -30px;
    }
    .mv-panel-icon {
        width: 56px;
        height: 56px;
        font-size: 22px;
        margin-bottom: 1rem;
    }
    .mv-panel-title {
        font-size: 19px;
    }
    .mv-divider {
        margin: 2rem auto 1.5rem;
    }
}

.values-strip {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    margin-top: 1rem;
}
.value-item {
    position: relative;
    flex: 1 1 220px;
    max-width: 260px;
    text-align: center;
    padding: 0 1.5rem;
}
.value-item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 30px;
    right: 0;
    width: 1px;
    height: 60px;
    background: var(--color-border);
}
[dir="rtl"] .value-item:not(:last-child)::after {
    right: auto;
    left: 0;
}
@media (max-width: 991px) {
    .value-item:not(:last-child)::after {
        display: none;
    }
}
.value-item-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    border: 2px solid rgba(var(--primary-color));
    color: rgba(var(--primary-color));
    font-size: 22px;
    transition: background 0.3s ease, color 0.3s ease;
}
.value-item:hover .value-item-number {
    background: rgba(var(--primary-color));
    color: var(--color-on-primary);
}
.value-item-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.value-item-desc {
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--color-text);
    opacity: 0.8;
    margin-bottom: 0;
}
