
/* ===========================================
   NILAMANGAI ESTATES - TESTIMONIALS PAGE
=========================================== */

.nil-test-hero,
.nil-test-section,
.nil-test-trust,
.nil-test-cta {
    font-family: 'Poppins', sans-serif;
}

.nil-test-hero *,
.nil-test-section *,
.nil-test-trust *,
.nil-test-cta * {
    box-sizing: border-box;
}

/* ========== HERO ========== */


.nil-test-hero {
    position: relative;
    padding: 95px 0 90px;

    background-image:
        linear-gradient(
            90deg,
            rgba(8, 43, 25, 0.92) 0%,
            rgba(8, 43, 25, 0.78) 50%,
            rgba(8, 43, 25, 0.45) 100%
        ),
        url('../images/home/home-banner.webp');

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    overflow: hidden;
}

.nil-test-hero::before {
    content: "";
    position: absolute;
    width: 430px;
    height: 430px;
    right: -150px;
    top: -200px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
    pointer-events: none;
}

.nil-test-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 850px;
    margin: auto;
    text-align: center;
}

.nil-test-hero-tag {
    display: inline-block;
    margin-bottom: 20px;
    color: #d5e9a2;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
}

.nil-test-hero h1 {
    margin: 0 0 24px;
    color: #fff;
    font-size: clamp(32px, 4.4vw, 58px);
    font-weight: 700;
    line-height: 1.25;
}

.nil-test-hero h1 span {
    color: #c7e68e;
}

.nil-test-hero-inner > p {
    max-width: 660px;
    margin: 0 auto 28px;
    color: #e0eee4;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.8;
}

.nil-test-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    color: #d2e4d7;
    font-size: 14px;
}

.nil-test-breadcrumb a {
    color: #fff;
    text-decoration: none;
}

.nil-test-breadcrumb span {
    color: #c7e68e;
}

.nil-test-breadcrumb i {
    font-size: 11px;
}

/* ========== TESTIMONIAL SECTION ========== */

.nil-test-section {
    padding: 40px 0;
    background: #f6faf6;
}

.nil-test-heading {
    max-width: 760px;
    margin: 0 auto 48px;
    text-align: center;
}

.nil-test-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 14px;
    color: #2c8c4d;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
}

.nil-test-label i {
    font-size: 19px;
}

.nil-test-heading h2 {
    margin: 0 0 18px;
    color: #0e3d24;
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 700;
    line-height: 1.3;
}

.nil-test-heading p {
    margin: 0;
    color: #637269;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.8;
}

/* ========== REVIEW CARDS ========== */

.nil-test-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 32px 28px;
    background: #fff;
    border: 1px solid #e2ebe1;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(14, 61, 36, .05);
    transition: border-color .25s ease,
                box-shadow .25s ease;
}

.nil-test-card:hover {
    border-color: #9bcc9e;
    box-shadow: 0 12px 35px rgba(14, 61, 36, .1);
}

.nil-test-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 24px;
}

.nil-test-quote {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    flex-shrink: 0;
    background: #eaf6e9;
    color: #237d43;
    border-radius: 15px;
}

.nil-test-quote i {
    font-size: 34px;
    line-height: 1;
}

.nil-test-category {
    padding: 7px 12px;
    background: #f0f8ef;
    border-radius: 30px;
    color: #2b7544;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
}

.nil-test-review {
    flex-grow: 1;
    margin: 0 0 30px;
    color: #34463a;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.9;
}

.nil-test-person {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid #e9efe9;
}

.nil-test-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    background: #0e3d24;
    border-radius: 50%;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
}

.nil-test-person-info h3 {
    margin: 0 0 4px;
    color: #0e3d24;
    font-size: 17px;
    font-weight: 600;
}

.nil-test-person-info span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #6d7870;
    font-size: 13px;
    font-weight: 500;
}

/* ========== TRUST SECTION ========== */

.nil-test-trust {
    padding: 85px 0;
    background: #fff;
}

.nil-test-trust-inner {
    max-width: 1150px;
    margin: auto;
}

.nil-test-trust-heading {
    max-width: 760px;
    margin: 0 auto 45px;
    text-align: center;
}

.nil-test-trust-heading > span {
    color: #2c8c4d;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
}

.nil-test-trust-heading h2 {
    margin: 16px 0;
    color: #0e3d24;
    font-size: clamp(27px, 3vw, 40px);
    font-weight: 700;
    line-height: 1.35;
}

.nil-test-trust-heading p {
    color: #667370;
    font-size: 16px;
    line-height: 1.85;
}

.nil-test-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.nil-test-trust-item {
    padding: 30px 24px;
    background: #f6faf6;
    border: 1px solid #e6eee5;
    border-radius: 18px;
    text-align: center;
}

.nil-test-trust-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    margin: 0 auto 20px;
    background: #e3f3e4;
    border-radius: 17px;
    color: #1c7b40;
    font-size: 26px;
}

.nil-test-trust-item h3 {
    margin: 0 0 10px;
    color: #0e3d24;
    font-size: 19px;
    font-weight: 600;
}

.nil-test-trust-item p {
    margin: 0;
    color: #667370;
    font-size: 15px;
    line-height: 1.7;
}

/* ========== CONTACT CTA ========== */

.nil-test-cta {
    padding: 20px 0 90px;
    background: #fff;
}

.nil-test-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 45px 50px;
    background: #0e3d24;
    border-radius: 24px;
}

.nil-test-cta-content {
    max-width: 680px;
}

.nil-test-cta-content > span {
    color: #cbe68c;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
}

.nil-test-cta-content h2 {
    margin: 14px 0;
    color: #fff;
    font-size: clamp(25px, 2.7vw, 36px);
    font-weight: 600;
    line-height: 1.4;
}

.nil-test-cta-content p {
    margin: 0;
    color: #dce9e1;
    font-size: 16px;
    line-height: 1.8;
}

.nil-test-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-shrink: 0;
    min-height: 52px;
    padding: 14px 25px;
    background: #ffd452;
    border-radius: 50px;
    color: #0e3d24;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color .2s ease;
}

.nil-test-cta-button:hover {
    background: #ffe07a;
    color: #0e3d24;
}

/* ========== TABLET / iPAD ========== */

@media (min-width: 768px) and (max-width: 1199.98px) {

    .nil-test-hero {
        padding: 75px 0;
    }

    .nil-test-section,
    .nil-test-trust {
        padding: 70px 0;
    }

    .nil-test-card {
        padding: 26px 23px;
    }

    .nil-test-review {
        font-size: 15px;
    }

    .nil-test-cta-inner {
        padding: 35px;
        gap: 25px;
    }

    .nil-test-cta-button {
        padding: 13px 20px;
    }
}

/* ========== MOBILE ========== */

@media (max-width: 767.98px) {

    .nil-test-hero {
        padding: 60px 0;
    }

    .nil-test-hero h1 {
        font-size: 32px;
    }

    .nil-test-hero-inner > p {
        font-size: 15px;
    }

    .nil-test-section,
    .nil-test-trust {
        padding: 55px 0;
    }

    .nil-test-heading {
        margin-bottom: 30px;
    }

    .nil-test-heading p,
    .nil-test-trust-heading p {
        font-size: 15px;
    }

    .nil-test-card {
        padding: 25px 22px;
        border-radius: 17px;
    }

    .nil-test-review {
        font-size: 15px;
        line-height: 1.8;
    }

    .nil-test-trust-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .nil-test-trust-heading {
        margin-bottom: 30px;
    }

    .nil-test-cta {
        padding: 0 0 60px;
    }

    .nil-test-cta-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        padding: 30px 24px;
        border-radius: 18px;
    }

    .nil-test-cta-content p {
        font-size: 15px;
    }

    .nil-test-cta-button {
        width: 100%;
    }
}

/* ========== SMALL MOBILE ========== */

@media (max-width: 359px) {

    .nil-test-hero h1 {
        font-size: 27px;
    }

    .nil-test-card {
        padding: 20px 17px;
    }

    .nil-test-category {
        font-size: 11px;
        padding: 6px 9px;
    }

    .nil-test-review {
        font-size: 14px;
    }

    .nil-test-trust-item {
        padding: 25px 18px;
    }

    .nil-test-cta-inner {
        padding: 25px 18px;
    }
}
