/* ============================================================
   Home Page — About Us + What Customers Say Combined Section
   ============================================================ */

.gandhi-home-combined {
    position: relative;
    min-height: 580px;
    background: #fff;
    overflow: hidden;
}

/* ── Left & Right decorative BG panels — absolute, pinned to top ── */
.gandhi-combined-left-bg,
.gandhi-combined-right-bg {
    position: absolute;
    top: 0;
    width: 40%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
    z-index: 0;
}

.gandhi-combined-left-bg {
    left: 0;
    background-position: left top;
}

.gandhi-combined-right-bg {
    right: 0;
    background-position: right top;
}

/* ── Center content column ── */
.gandhi-combined-center {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 60px 350px;
}

/* ============================================================
   About Us Sub-section
   ============================================================ */
.gandhi-home-about {
    width: 100%;
    margin-bottom: 60px;
}

.gandhi-home-about-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #F57D26;
    margin-bottom: 20px;
    padding: 6px 16px;
    background: transparent;
    border: 1px solid #F57D26;
    border-radius: 30px;
}

.gandhi-home-about-badge-arrow {
    font-size: 8px;
    color: #F57D26;
}

.gandhi-home-about-badge-icon {
    font-size: 16px;
    color: #F57D26;
}

.gandhi-home-about-desc {
    font-size: 15px;
    line-height: 1.75;
    color: #333;
    margin-bottom: 16px;
    text-align: left;
    max-width: 680px;
}

.gandhi-home-about-btn-row {
    margin-top: 24px;
    text-align: right;
    width: 78%;
}

.gandhi-home-about-btn {
    display: inline-block;
    background: #01559E;
    color: #fff;
    padding: 12px 38px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}

.gandhi-home-about-btn:hover {
    background: #F57D26;
    color: #fff;
    text-decoration: none;
}

/* ============================================================
   What Customers Say Sub-section
   ============================================================ */
.gandhi-home-testi {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 50px;
}

.gandhi-home-testi-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #F57D26;
    margin-bottom: 48px;
    padding: 6px 16px;
    background: transparent;
    border: 1px solid #F57D26;
    border-radius: 30px;
}

.gandhi-home-testi-badge-arrow {
    font-size: 8px;
    color: #F57D26;
}

.gandhi-home-testi-badge-icon {
    font-size: 16px;
    color: #F57D26;
}

/* ── Slider ── */
.gandhi-testi-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-bottom: 48px; /* room for dots */
}

.gandhi-testi-track {
    display: flex;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.gandhi-testi-slide {
    flex: 0 0 calc(50% - 40px);
    margin: 0 20px;
    display: flex;
    justify-content: center;
}

/* Nav row: arrows + dots */
.gandhi-testi-nav {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.gandhi-testi-prev,
.gandhi-testi-next {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #F57D26;
    background: #ffffff;
    color: #F57D26;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    flex-shrink: 0;
}

.gandhi-testi-prev:hover,
.gandhi-testi-next:hover {
    background: #F57D26;
    color: #ffffff;
}

/* ── Each testimonial: a wrapper that holds the front + back card ── */
.gandhi-testi-card-wrap {
    position: relative;
    width: 260px;
    margin-top: 52px; /* room for avatar protruding above */
    flex-shrink: 0;
}

/* Back card — orange, rotated -18deg */
.gandhi-testi-card--back {
    position: absolute;
    inset: 0;
    background: #F57D26;
    border-radius: 14px;
    transform: rotate(-18deg);
    transform-origin: center center;
}

/* Front card — light, on top */
.gandhi-testi-card--front {
    position: relative;
    background: #F9F9F9;
    border-radius: 14px;
    padding: 56px 18px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
    box-shadow: 0 4px 22px rgba(0, 0, 0, 0.09);
    box-sizing: border-box;
}

/* Avatar — circular, half above card */
.gandhi-testi-avatar {
    position: absolute;
    top: -46px;
    left: 50%;
    transform: translateX(-50%);
    width: 88px;
    height: 88px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.14);
}

.gandhi-testi-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gandhi-testi-name {
    font-size: 15px;
    font-weight: 700;
    color: #1A3668;
    margin: 0 0 8px;
    text-align: center;
}

.gandhi-testi-text {
    font-size: 13px;
    line-height: 1.6;
    color: #555;
    text-align: center;
    margin: 0;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1400px) {
    .gandhi-combined-center {
        padding: 60px 280px;
    }
}

@media (max-width: 1200px) {
    .gandhi-combined-center {
        padding: 60px 220px;
    }
}

@media (max-width: 1024px) {
    .gandhi-combined-center {
        padding: 50px 160px;
    }
}

@media (max-width: 768px) {
    .gandhi-combined-left-bg,
    .gandhi-combined-right-bg {
        display: none;
    }

    .gandhi-combined-center {
        padding: 40px 20px;
    }

    /* On mobile: 1 card at a time */
    .gandhi-testi-slide {
        flex: 0 0 calc(100% - 40px);
        margin: 0 20px;
    }

    .gandhi-testi-card-wrap {
        width: 100%;
        max-width: 300px;
    }

    .gandhi-testi-prev { left: 0; }
    .gandhi-testi-next { right: 0; }

    .gandhi-home-about-btn-row {
        margin-top: 24px;
        text-align: right;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .gandhi-home-about-btn-row.anim-active {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .gandhi-home-about-btn {
        width: 90%;
        text-align: center;
        border-radius: 30px;
    }
}

@media (max-width: 600px) {
    .gandhi-testi-slide {
        flex: 0 0 calc(100% - 20px);
        margin: 0 10px;
    }
    .gandhi-testi-card-wrap {
        width: 100%;
    }
}

/* ── Home page: all sections 25px margin top & bottom on mobile ── */
@media (max-width: 768px) {
    body.home section {
        margin-top: 25px;
        margin-bottom: 25px;
    }
    body.home .gandhi-canimm-faq,
    body.home .gandhi-home-cta {
        margin-top: 0;
        margin-bottom: 0;
    }
}
