/* ===== Scroll Reveal Animations ===== */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}



/* ===== Hero Section ===== */
.hero {
    position: relative;
    padding: clamp(4rem, 8vw, 7rem) 0;
    background: linear-gradient(135deg, #eaf4ff 0%, #f7fbff 50%, #e8f1ff 100%);
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
    radial-gradient(circle at 15% 20%, rgba(59,130,246,.18), transparent 30%),
    radial-gradient(circle at 85% 15%, rgba(14,165,233,.15), transparent 28%),
    radial-gradient(circle at 70% 80%, rgba(99,102,241,.10), transparent 35%);
    animation: heroGlow 12s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    from {
        transform: scale(1) translateY(0);
    }
    to {
        transform: scale(1.08) translateY(-20px);
    }
}
.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2.5rem, 5vw, 4.5rem);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ===== Left Content ===== */
.hero-left {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 0.375rem 0.875rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #083cd6;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 9999px;
}

.hero-left h1 {
    margin: 0;
    font-size: clamp(2.25rem, 4.5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: #0f172a;
}

.hero-left h1 span {
    background: linear-gradient(90deg, #0351f8, #065de9);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-left h3 {
    margin: 0;
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    font-weight: 500;
    color: #475569;
    line-height: 1.4;
}

.hero-left p {
    margin: 0;
    max-width: 34rem;
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #64748b;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding: 0.875rem 1.75rem;
    width: fit-content;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    background: #2563eb;
    border: none;
    border-radius: 0.75rem;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
    transition: all 0.2s ease;
}

.hero-btn:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

.hero-btn:active {
    transform: translateY(0);
}

/* ===== Right Side ===== */
.hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-right img {
    width: 100%;
    max-width:490px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(15, 23, 42, 0.08));
    border-radius:15px;
    color: #000;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-left {
        align-items: center;
    }

    .hero-left p {
        max-width: 32rem;
    }

    .hero-btn {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-right img {
        max-width: 390px;
    
        
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 3.5rem 0;
    }

    .hero-left {
        gap: 1rem;
    }

    .hero-btn {
        width: 100%;
        justify-content: center;
    }
}



/* ===== Stats Section ===== */
.stats {
    position: relative;
    overflow: hidden;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 44px 12%;
    box-sizing: border-box;
    border-top: 1px solid rgba(255,255,255,.12);

    background: linear-gradient(
        135deg,
        #1e40af 0%,
        #2563eb 35%,
        #3b82f6 70%,
        #60a5fa 100%
    );

    color: #fff;
}

.stats::before{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;

    background:
        radial-gradient(circle at 15% 20%, rgba(255,255,255,.12), transparent 30%),
        radial-gradient(circle at 85% 10%, rgba(255,255,255,.08), transparent 35%),
        radial-gradient(circle at 50% 100%, rgba(255,255,255,.06), transparent 40%);
}

.stat{
    position: relative;
    z-index: 1;
}

.stat h3{
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
}

.stat p{
    color: rgba(255,255,255,.85);
    font-size: .95rem;
}
.stats::after{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;

    background-image:
        linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);

    background-size:40px 40px;
    opacity:.4;
}



.stat-box {
    position: relative;
    padding: 0 30px;
    margin-left: 33px;
    gap: 23px;
}


.stat-box:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 4px;
    bottom: 4px;
    right: 0;
    width: 1px;
    background-color: rgba(13, 27, 42, 0.12);
}

.stat-box:first-child {
    padding-left: 10px;
}

.stat-icon {
    display: block;
    font-size: 1.7rem;
    color: #e2e5ec;;
    margin-bottom: 14px;
}

.stat-box h2 {
    font-size: 2.1rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 6px;
}

.stat-box p {
    color: #bdc4d6;
    font-size: 0.92rem;
}

/* ================================
   Stats Responsive
================================ */
/* ===== Stats Responsive ===== */

/* Tablet */
@media (max-width: 992px) {

    .stats {
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
        max-width: none;
        padding: 35px 30px;
        gap: 30px 0;
    }

    .stat-box {
        padding: 0 25px;
    }

    /* Remove vertical divider from 2nd and 4th items */
    .stat-box:nth-child(2)::after,
    .stat-box:nth-child(4)::after {
        display: none;
    }

    .stat-box h2 {
        font-size: 1.9rem;
    }

    .stat-box p {
        font-size: 0.9rem;
    }
}


/* Mobile */
@media (max-width: 600px) {

    .stats {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: none;
        padding: 30px 20px;
        gap: 0;
        text-align: center;
    }

    .stat-box {
        padding: 25px 10px;
         margin-left: 0;
    }
    

    /* Remove all vertical dividers */
    .stat-box::after {
        display: none !important;
    }

    /* Add horizontal divider instead */
    .stat-box:not(:last-child) {
        border-bottom: 1px solid rgba(13, 27, 42, 0.12);
    }

    .stat-box:first-child {
        padding-left: 10px;
    }

    .stat-icon {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .stat-box h2 {
        font-size: 2rem;
        margin-bottom: 5px;
    }

    .stat-box p {
        font-size: 0.9rem;
        margin: 0;
    }
}


/* ===== Why Us ===== */
/* ===========================
   WHY CHOOSE US
=========================== */

.why-us {
    position: relative;
    overflow: hidden;
    padding: 90px 40px;

    background:
        linear-gradient(135deg,
            #f8fbff 0%,
            #eef5ff 55%,
            #ffffff 100%);
}

.why-us::before{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;

    background:
        radial-gradient(circle at 15% 20%, rgba(59,130,246,.08), transparent 28%),
        radial-gradient(circle at 85% 15%, rgba(96,165,250,.08), transparent 30%),
        radial-gradient(circle at 50% 90%, rgba(147,197,253,.06), transparent 35%);
}

.why-grid{
    position:relative;
    z-index:2;

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(min(250px, 100%),1fr));
    gap:28px;
    max-width:1200px;
    margin:auto;
}

.why-card{
    position:relative;
    overflow:hidden;

    padding:35px 28px;
    border-radius:18px;

    background:rgba(255,255,255,.75);
    backdrop-filter:blur(14px);

    border:1px solid rgba(59,130,246,.12);

    box-shadow:
        0 10px 30px rgba(15,23,42,.06);

    transition:
        transform .4s ease,
        box-shadow .4s ease,
        border-color .4s ease;
}

.why-card:hover{

    transform:translateY(-10px);

    border-color:#3b82f6;

    box-shadow:
        0 18px 45px rgba(59,130,246,.18);
}

.why-card::before{

    content:"";
    position:absolute;
    top:0;
    left:0;

    width:100%;
    height:4px;

    background:linear-gradient(
        90deg,
        #3b82f6,
        #60a5fa
    );

    transform:scaleX(0);
    transform-origin:left;

    transition:.4s;
}

.why-card:hover::before{
    transform:scaleX(1);
}


.why-icon {
    width:70px;
    height:70px;

    margin:0 auto 22px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:50%;

    background:linear-gradient( 135deg, #3b82f6, #60a5fa);

    color:#fff;
    font-size:30px;
    transition:.45s;


    
}

.why-card:hover .why-icon {
    
    transform:
        rotate(10deg)
        scale(1.12);

    box-shadow:
        0 15px 30px rgba(59,130,246,.30);
}
.why-card h4 {
      color:#0f172a;

    margin-bottom:12px;

    font-size:1.2rem;

    transition:.3s;
}
.why-card:hover h4 {
     color:#2563eb;
}

.why-card p {
    color:#64748b;

    line-height:1.7;

    font-size:.96rem;
}


.why-card:hover p {
    color: #475569;
}

.why-card::after{

    content:"";

    position:absolute;

    width:180px;
    height:180px;

    border-radius:50%;

    background:rgba(59,130,246,.08);

    filter:blur(60px);

    top:-120px;
    right:-120px;

    opacity:0;

    transition:.45s;
}

.why-card:hover::after{

    opacity:1;
}









/* ===== Testimonials (white / black / blue) ===== */
/* =========================================================
   TESTIMONIALS
========================================================= */

.testimonials {
    position: relative;
    padding: 110px 30px;
    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(37, 99, 235, 0.10),
            transparent 42%
        ),
        linear-gradient(
            135deg,
            #f5f9ff 0%,
            #ffffff 50%,
            #f1f6ff 100%
        );

    overflow: hidden;
}


/* =========================================================
   BACKGROUND DECORATION
========================================================= */

.testimonials::before {
    content: "";
    position: absolute;

    width: 500px;
    height: 500px;

    top: -250px;
    left: -180px;

    border-radius: 50%;

    background: rgba(37, 99, 235, 0.06);

    filter: blur(20px);

    pointer-events: none;
}


.testimonials::after {
    content: "";
    position: absolute;

    width: 450px;
    height: 450px;

    bottom: -250px;
    right: -150px;

    border-radius: 50%;

    background: rgba(59, 130, 246, 0.05);

    filter: blur(20px);

    pointer-events: none;
}


/* =========================================================
   CONTAINER
========================================================= */

.testimonial-container {
    max-width: 1250px;
    margin: 0 auto;

    position: relative;
    z-index: 2;
}


/* =========================================================
   HEADING
========================================================= */

.testimonial-heading {
    text-align: center;
    max-width: 700px;

    margin: 0 auto 60px;
}


.testimonial-label {
    display: inline-block;

    margin-bottom: 14px;

    color: #2563eb;

    font-size: 0.75rem;
    font-weight: 800;

    letter-spacing: 2px;
}


.testimonial-heading h2 {
    margin: 0;

    color: #0f172a;

    font-size: clamp(2rem, 4vw, 3rem);

    font-weight: 800;

    line-height: 1.15;
}


.testimonial-heading h2::after {
    content: "";

    display: block;

    width: 55px;
    height: 3px;

    margin: 18px auto 0;

    background: #2563eb;

    border-radius: 10px;
}


.testimonial-heading p {
    margin: 20px auto 0;

    max-width: 580px;

    color: #64748b;

    font-size: 1rem;

    line-height: 1.7;
}


/* =========================================================
   CAROUSEL
========================================================= */

.testimonial-carousel {
    display: flex;

    align-items: center;

    gap: 20px;

    width: 100%;
}


/* =========================================================
   VIEWPORT
========================================================= */

.testimonial-viewport {
    width: 100%;

    overflow: hidden;

    padding: 25px 0 40px;

    margin: -25px 0 -40px;
}


/* =========================================================
   TRACK
========================================================= */

.testimonial-track {
    display: flex;

    align-items: stretch;

    transition:
        transform 0.65s cubic-bezier(
            0.65,
            0,
            0.35,
            1
        );
}


/* =========================================================
   CARD
========================================================= */

.testimonial-card {
    flex: 0 0 33.333333%;

    box-sizing: border-box;

    padding: 0 10px;

    transition:
        transform 0.55s ease,
        opacity 0.55s ease;
}


/* =========================================================
   CARD INNER
========================================================= */

.testimonial-card-inner {
    position: relative;

    height: 100%;

    box-sizing: border-box;

    padding: 42px 32px 34px;

    text-align: center;

    background: rgba(255, 255, 255, 0.95);

    border: 1px solid #e5e7eb;

    border-radius: 24px;

    box-shadow:
        0 15px 35px rgba(15, 23, 42, 0.06);

    transition:
        transform 0.55s ease,
        box-shadow 0.55s ease,
        border-color 0.55s ease,
        opacity 0.55s ease;
}


/* =========================================================
   ACTIVE CARD
========================================================= */

.testimonial-card.active .testimonial-card-inner {

    transform: translateY(-10px);

    border-color: rgba(37, 99, 235, 0.35);

    box-shadow:
        0 25px 55px rgba(37, 99, 235, 0.15);
}


/* =========================================================
   QUOTE
========================================================= */

.testimonial-quote {
    position: absolute;

    top: 15px;
    left: 25px;

    font-family: Georgia, serif;

    font-size: 4.5rem;

    line-height: 1;

    color: #2563eb;

    opacity: 0.08;

    pointer-events: none;
}


/* =========================================================
   PHOTO
========================================================= */

.testimonial-photo {
    width: 76px;
    height: 76px;

    margin: 0 auto 18px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    object-fit: cover;

    border: 4px solid #ffffff;

    outline: 2px solid #2563eb;

    box-shadow:
        0 8px 20px rgba(15, 23, 42, 0.12);
}


.testimonial-placeholder {
    background: #2563eb;

    color: #ffffff;

    font-size: 1.5rem;

    font-weight: 800;

    text-transform: uppercase;
}


/* =========================================================
   STARS
========================================================= */

.testimonial-stars {
    margin-bottom: 18px;

    color: #facc15;

    font-size: 0.95rem;

    letter-spacing: 4px;
}


/* =========================================================
   MESSAGE
========================================================= */

.testimonial-message {
    max-width: 330px;

    margin: 0 auto 25px;

    color: #475569;

    font-size: 0.95rem;

    line-height: 1.8;

    font-weight: 500;
}


/* =========================================================
   PERSON
========================================================= */

.testimonial-person h3 {
    margin: 0 0 5px;

    color: #0f172a;

    font-size: 1rem;

    font-weight: 800;
}


.testimonial-person span {
    color: #2563eb;

    font-size: 0.72rem;

    font-weight: 800;

    letter-spacing: 1px;

    text-transform: uppercase;
}


/* =========================================================
   ARROWS
========================================================= */

.testimonial-arrow {
    flex: 0 0 auto;

    width: 48px;
    height: 48px;

    border: 1px solid #dbe3f0;

    border-radius: 50%;

    background: #ffffff;

    color: #0f172a;

    font-size: 1rem;

    cursor: pointer;

    display: flex;

    align-items: center;
    justify-content: center;

    box-shadow:
        0 8px 20px rgba(15, 23, 42, 0.08);

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}


.testimonial-arrow:hover {
    background: #2563eb;

    border-color: #2563eb;

    color: #ffffff;

    transform: translateY(-3px);

    box-shadow:
        0 12px 25px rgba(37, 99, 235, 0.25);
}


.testimonial-arrow:active {
    transform: translateY(-1px);
}


/* =========================================================
   INDICATORS
========================================================= */

.testimonial-indicators {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    margin-top: 35px;
}


.testimonial-dot {
    width: 8px;
    height: 8px;

    padding: 0;

    border: none;

    border-radius: 20px;

    background: #cbd5e1;

    cursor: pointer;

    transition:
        width 0.3s ease,
        background 0.3s ease;
}


.testimonial-dot:hover {
    background: #93c5fd;
}


.testimonial-dot.active {
    width: 28px;

    background: #2563eb;
}


/* =========================================================
   EMPTY
========================================================= */

.testimonial-empty {
    text-align: center;

    color: #64748b;

    margin-top: 30px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .testimonial-card {
        flex: 0 0 50%;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .testimonials {
        padding: 80px 18px;
    }


    .testimonial-heading {
        margin-bottom: 45px;
    }


    .testimonial-heading h2 {
        font-size: 2rem;
    }


    .testimonial-heading p {
        font-size: 0.92rem;
    }


    .testimonial-carousel {
        gap: 10px;
    }


    .testimonial-card {
        flex: 0 0 100%;

        padding: 0 5px;
    }


    .testimonial-card-inner {
        padding: 40px 25px 32px;

        border-radius: 22px;
    }


    .testimonial-message {
        font-size: 0.92rem;
    }


    .testimonial-arrow {
        width: 40px;
        height: 40px;

        font-size: 0.85rem;
    }


    .testimonial-viewport {
        padding: 20px 0 35px;

        margin: -20px 0 -35px;
    }

}

/* ===== CTA Banner ===== */
.cta-banner {
    background: linear-gradient(135deg, #071a33 0%, #0d2d52 55%, #0a2340 100%);
    color: #fff;
    text-align: center;
    padding: 70px 40px;
}

.cta-banner h2 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.cta-banner p {
    color: #cbd6e2;
    margin-bottom: 24px;
}

/* ===== Shared Empty-State ===== */
.empty-msg {
    text-align: center;
    color: #888;
    grid-column: 1 / -1;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.9rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .stats {
        gap: 30px;
    }
}


.story-visual-inner {
    width: 100%;
    max-width: 380px;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.story-visual-inner img {
     width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}