﻿/* =========================================================
   WHY VISTHARA SECTION
========================================================= */

.why-visthara-section {
    position: relative;
    width: 100%;
    min-height: 720px;
    padding: 100px 0;
    overflow: hidden;
    isolation: isolate;
    color: #ffffff;
    background: #0c2f57;
}


/* =========================================================
   BACKGROUND IMAGE
========================================================= */

/* =========================================================
   WHY VISTHARA PARALLAX BACKGROUND
========================================================= */

.why-visthara-bg {
    position: absolute;
    top: -20%;
    left: 0;
    width: 100%;
    height: 140%;
    z-index: 0;
    background-image: url("https://images.pexels.com/photos/5593094/pexels-photo-5593094.jpeg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    /*
       IMPORTANT:
       JavaScript changes translateY().
       Do NOT put a fixed translate here.
    */
    transform: translate3d(0, 0, 0) scale(1.08);
    will-change: transform;
    pointer-events: none;
}


/* =========================================================
   DARK OVERLAY
========================================================= */

.why-visthara-overlay {
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient( 90deg, rgba(12, 47, 87, 0.97) 0%, rgba(12, 47, 87, 0.94) 30%, rgba(12, 47, 87, 0.82) 55%, rgba(12, 47, 87, 0.72) 75%, rgba(12, 47, 87, 0.88) 100% );
    pointer-events: none;
}


/* =========================================================
   MAIN CONTAINER
========================================================= */

.why-visthara-container {
    position: relative;
    z-index: 5;
    width: 95%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0;
}


/* =========================================================
   MAIN BOOTSTRAP ROW
========================================================= */

.why-visthara-row {
    width: 100%;
    min-height: 520px;
    margin: 0;
    display: flex;
    align-items: center;
}


/* =========================================================
   LEFT COLUMN
========================================================= */

.why-visthara-left {
    display: flex;
    align-items: center;
    width: 50%;
    padding: 0 45px 0 0;
}


/* =========================================================
   LEFT CONTENT
========================================================= */

.why-visthara-content {
    width: 100%;
    max-width: 680px;
    margin: 0;
}


/* =========================================================
   KICKER
========================================================= */

.why-visthara-kicker {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    color: #9dc12a;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}


.why-kicker-line {
    display: block;
    width: 42px;
    height: 3px;
    border-radius: 50px;
    background: #9dc12a;
}


/* =========================================================
   TITLE
========================================================= */

.why-visthara-title {
    margin: 0 0 24px;
    max-width: 650px;
    color: #ffffff;
    font-size: clamp(2.7rem, 4vw, 4.5rem);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.035em;
}


    .why-visthara-title span {
        display: block;
        color: #9dc12a;
    }


/* =========================================================
   DESCRIPTION
========================================================= */

.why-visthara-description {
    max-width: 650px;
    margin: 0 0 30px;
    color: rgba(255,255,255,0.86);
    font-size: 1.08rem;
    line-height: 1.8;
}


    .why-visthara-description strong {
        color: #ffffff;
        font-weight: 700;
    }


/* =========================================================
   CHECK LIST
========================================================= */

.why-visthara-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 0;
    padding: 0;
    list-style: none;
}


    .why-visthara-list li {
        display: flex;
        align-items: center;
        gap: 14px;
        color: rgba(255,255,255,0.92);
        font-size: 0.98rem;
        line-height: 1.5;
    }


/* =========================================================
   CHECK ICON
========================================================= */

.why-check {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(157,193,42,0.16);
    border: 1px solid rgba(157,193,42,0.45);
    color: #9dc12a;
    font-size: 0.75rem;
}


/* =========================================================
   RIGHT COLUMN
========================================================= */

.why-visthara-right {
    width: 50%;
    padding: 0 0 0 45px;
}


/* =========================================================
   STAT CARD GRID
========================================================= */

.why-visthara-stats {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}


/* =========================================================
   STAT CARD
========================================================= */

.why-stat-card {
    position: relative;
    min-height: 185px;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 28px;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.18);
    background: linear-gradient( 145deg, rgba(255,255,255,0.18), rgba(255,255,255,0.07) );
    box-shadow: 0 25px 60px rgba(0,0,0,0.22);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}


    /* =========================================================
   CARD HOVER
========================================================= */

    .why-stat-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 32px 70px rgba(0,0,0,0.32);
        border-color: rgba(255,255,255,0.35);
    }


    /* =========================================================
   CARD DECORATION
========================================================= */

    .why-stat-card::after {
        content: "";
        position: absolute;
        width: 130px;
        height: 130px;
        right: -55px;
        bottom: -55px;
        border-radius: 50%;
        background: rgba(255,255,255,0.08);
    }


/* =========================================================
   ICON
========================================================= */

.why-stat-icon {
    position: relative;
    z-index: 2;
    flex: 0 0 62px;
    width: 62px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    color: #ffffff;
    font-size: 1.35rem;
    box-shadow: 0 12px 25px rgba(0,0,0,0.18);
}


/* =========================================================
   CARD CONTENT
========================================================= */

.why-stat-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}


    .why-stat-content strong {
        color: #ffffff;
        font-size: 2.35rem;
        font-weight: 800;
        line-height: 1;
    }


    .why-stat-content span {
        color: rgba(255,255,255,0.78);
        font-size: 0.88rem;
        font-weight: 600;
        line-height: 1.4;
    }


/* =========================================================
   CARD COLORS
========================================================= */

.why-stat-blue .why-stat-icon {
    background: #236eb0;
}


.why-stat-green .why-stat-icon {
    background: #6f9a35;
}


.why-stat-gold .why-stat-icon {
    background: #f7a01d;
}


.why-stat-pink .why-stat-icon {
    background: #e3184c;
}


/* =========================================================
   DESKTOP — FORCE 2 COLUMNS
========================================================= */

@media (min-width: 992px) {

    .why-visthara-left {
        width: 50% !important;
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }

    .why-visthara-right {
        width: 50% !important;
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991.98px) {

    .why-visthara-section {
        min-height: auto;
        padding: 85px 0;
    }


    .why-visthara-row {
        display: block;
        min-height: auto;
    }


    .why-visthara-left {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0;
        margin-bottom: 55px;
    }


    .why-visthara-right {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0;
    }


    .why-visthara-content {
        max-width: 800px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767.98px) {

    .why-visthara-section {
        padding: 70px 0;
    }


    .why-visthara-container {
        width: 94%;
    }


    .why-visthara-title {
        font-size: 2.6rem;
        line-height: 1.08;
    }


    .why-visthara-description {
        font-size: 1rem;
        line-height: 1.7;
    }


    .why-visthara-stats {
        grid-template-columns: 1fr;
        gap: 16px;
    }


    .why-stat-card {
        min-height: 145px;
        padding: 22px;
        border-radius: 20px;
    }


    .why-stat-icon {
        width: 54px;
        height: 54px;
        flex-basis: 54px;
    }


    .why-stat-content strong {
        font-size: 2rem;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .why-visthara-container {
        width: 92%;
    }


    .why-visthara-title {
        font-size: 2.25rem;
    }


    .why-stat-card {
        min-height: 130px;
        padding: 20px;
        border-radius: 18px;
    }


    .why-stat-icon {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
        font-size: 1.1rem;
    }
}
