﻿/* =========================================================
   XFSPL HOME PAGE
   CLEAN / OPTIMIZED VERSION
   ========================================================= */

.xfspl-home-page {
    --home-navy: #0B1F3A;
    --home-dark: #06172C;
    --home-blue: #1557B0;
    --home-gold: #D4A72C;
    --home-bg: #F7F9FC;
    --home-text: #172033;
    --home-muted: #687588;
    --home-border: #E1E7EF;
    --home-white: #fff;
    color: var(--home-text);
    background: var(--home-bg);
}


/* =========================================================
   HERO
   ========================================================= */

.home-hero {
    position: relative;
    min-height: 690px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--home-dark);
}

.home-hero-bg {
    position: absolute;
    inset: 0;
    background: url('/images/home-hero-bg.jpg') center / cover no-repeat;
}

.home-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 90deg, rgba(6,23,44,.98) 0%, rgba(6,23,44,.92) 45%, rgba(6,23,44,.48) 100% );
}

.home-hero .container {
    position: relative;
    z-index: 2;
}

.home-hero-grid {
    min-height: 690px;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(450px, .95fr);
    align-items: center;
    gap: 55px;
}

.home-hero-content {
    max-width: 690px;
}

.home-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--home-gold);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.7px;
    margin-bottom: 20px;
}

.home-hero h1 {
    color: #fff;
    font-family: "Manrope", sans-serif;
    font-size: clamp(45px, 5vw, 72px);
    line-height: 1.04;
    font-weight: 800;
    margin: 0 0 25px;
}

    .home-hero h1 span {
        display: block;
        color: var(--home-gold);
    }

.home-hero p {
    max-width: 610px;
    color: rgba(255,255,255,.78);
    font-size: 17px;
    line-height: 1.8;
    margin: 0 0 30px;
}

.home-hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.home-btn {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 23px;
    border-radius: 7px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    transition: .25s ease;
}

.home-btn-primary {
    background: var(--home-gold);
    color: var(--home-navy);
}

    .home-btn-primary:hover {
        color: var(--home-navy);
        background: #e4bd55;
        transform: translateY(-2px);
    }

.home-btn-outline {
    border: 1px solid rgba(255,255,255,.35);
    color: #fff;
}

    .home-btn-outline:hover {
        background: #fff;
        color: var(--home-navy);
    }

.home-trust-row {
    display: flex;
    gap: 30px;
    margin-top: 42px;
}

.home-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .home-trust-item > i {
        color: var(--home-gold);
        font-size: 19px;
    }

    .home-trust-item strong,
    .home-trust-item span {
        display: block;
    }

    .home-trust-item strong {
        color: #fff;
        font-size: 13px;
    }

    .home-trust-item span {
        color: rgba(255,255,255,.55);
        font-size: 11px;
        margin-top: 2px;
    }


/* =========================================================
   HERO VISUAL
   ========================================================= */

.home-hero-visual {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-card {
    position: relative;
    z-index: 3;
    width: min(500px, 100%);
    padding: 28px;
    border-radius: 20px;
    background: rgba(255,255,255,.97);
    box-shadow: 0 30px 80px rgba(0,0,0,.28);
    animation: portfolioFloat 5s ease-in-out infinite;
    will-change: transform;
}

.portfolio-top {
    display: flex;
    justify-content: space-between;
    color: var(--home-muted);
    font-size: 13px;
}

.portfolio-value {
    font-family: "Manrope", sans-serif;
    font-size: 38px;
    font-weight: 800;
    margin-top: 14px;
}

.portfolio-growth {
    color: #198754;
    font-size: 13px;
    font-weight: 800;
    margin-top: 4px;
}

.portfolio-chart {
    height: 220px;
    margin-top: 18px;
}

    .portfolio-chart svg {
        width: 100%;
        height: 100%;
    }

.chart-area {
    fill: url(#homeChartGradient);
}

.chart-line {
    fill: none;
    stroke: var(--home-gold);
    stroke-width: 4;
}

.portfolio-chart .chart-line {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: chartDraw 3s ease forwards;
}

.portfolio-months {
    display: flex;
    justify-content: space-between;
    color: #9aa4b1;
    font-size: 9px;
}


/* =========================================================
   HERO FLOATING CARDS
   ========================================================= */

.hero-floating-card {
    position: absolute;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border-radius: 13px;
    padding: 14px 17px;
    box-shadow: 0 18px 40px rgba(0,0,0,.22);
}

.sip-card {
    left: -95px;
    bottom: 70px;
    animation: floatUpDown 3.8s ease-in-out infinite;
    will-change: transform;
}

.security-card {
    right: -95px;
    top: 60px;
    animation: floatUpDownReverse 4.5s ease-in-out infinite;
    will-change: transform;
}

.floating-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #EAF2FC;
    color: var(--home-blue);
}

.hero-floating-card > i {
    color: var(--home-gold);
    font-size: 20px;
}

.hero-floating-card span,
.hero-floating-card strong {
    display: block;
}

.hero-floating-card span {
    color: var(--home-muted);
    font-size: 10px;
}

.hero-floating-card strong {
    color: var(--home-navy);
    font-size: 14px;
    margin-top: 2px;
}


/* =========================================================
   STATS
   ========================================================= */

.home-stats {
    background: #fff;
    border-bottom: 1px solid var(--home-border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.home-stat {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 28px 25px;
    border-right: 1px solid var(--home-border);
}

    .home-stat:last-child {
        border-right: 0;
    }

.stat-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #EEF4FB;
    color: var(--home-blue);
}

.home-stat strong,
.home-stat span {
    display: block;
}

.home-stat strong {
    font-family: "Manrope", sans-serif;
    font-size: 32px;
    font-weight: 800;
}

.home-stat span {
    color: var(--home-muted);
    font-size: 11px;
    margin-top: 3px;
}


/* =========================================================
   COMMON HEADINGS
   ========================================================= */

.home-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    margin-bottom: 42px;
}

    .home-section-heading.centered {
        display: block;
        text-align: center;
        max-width: 760px;
        margin-left: auto;
        margin-right: auto;
    }

.home-label {
    display: inline-block;
    color: var(--home-gold);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.7px;
    margin-bottom: 11px;
}

.home-section-heading h2,
.home-process h2,
.home-why h2,
.testimonial-heading h2 {
    font-family: "Manrope", sans-serif;
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.15;
    font-weight: 800;
    margin: 0;
}

    .home-section-heading h2 span,
    .home-process h2 span,
    .home-why h2 span,
    .testimonial-heading h2 span {
        color: var(--home-blue);
    }

.home-section-heading > p {
    max-width: 420px;
    color: var(--home-muted);
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}


/* =========================================================
   SERVICES
   ========================================================= */

.home-services {
    padding: 95px 0;
    background: var(--home-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.service-card {
    position: relative;
    display: block;
    padding: 30px;
    min-height: 275px;
    background: #fff;
    border: 1px solid var(--home-border);
    border-radius: 17px;
    text-decoration: none;
    color: var(--home-text);
    overflow: hidden;
    transition: .3s ease;
}

    .service-card:hover {
        transform: translateY(-7px);
        border-color: rgba(212,167,44,.55);
        box-shadow: 0 20px 45px rgba(11,31,58,.10);
        color: var(--home-text);
    }

.service-number {
    position: absolute;
    top: 20px;
    right: 22px;
    color: #DCE4ED;
    font-size: 35px;
    font-weight: 800;
}

.service-icon {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: #EEF4FB;
    color: var(--home-blue);
    font-size: 20px;
    margin-bottom: 23px;
}

.service-card h3 {
    font-family: "Manrope", sans-serif;
    font-size: 21px;
    font-weight: 800;
    margin: 0 0 10px;
}

.service-card p {
    color: var(--home-muted);
    font-size: 13px;
    line-height: 1.7;
    margin: 0;
}

.service-link {
    position: absolute;
    left: 30px;
    bottom: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--home-blue);
    font-size: 12px;
    font-weight: 800;
}


/* =========================================================
   WHY XFSPL
   ========================================================= */

.home-why {
    padding: 100px 0;
    background: #fff;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.home-why p {
    color: var(--home-muted);
    line-height: 1.8;
    font-size: 15px;
}

.why-content > p {
    max-width: 590px;
    margin: 20px 0 30px;
}

.why-list {
    display: grid;
    gap: 19px;
}

.why-item {
    display: flex;
    gap: 15px;
}

.why-item-icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: #EEF4FB;
    color: var(--home-blue);
}

.why-item h4 {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 800;
}

.why-item p {
    margin: 0;
    font-size: 12px;
    line-height: 1.6;
}

.why-visual {
    position: relative;
    min-height: 470px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient( 145deg, #EAF2FC, #F7F9FC );
    border-radius: 25px;
}

.financial-score-card {
    width: min(380px, 80%);
    padding: 30px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 25px 55px rgba(11,31,58,.12);
}

    .financial-score-card > span {
        color: var(--home-muted);
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 1.4px;
    }

    .financial-score-card > strong {
        display: block;
        font-family: "Manrope", sans-serif;
        font-size: 58px;
        margin: 10px 0;
    }

.score-progress {
    height: 8px;
    background: #E7EDF4;
    border-radius: 20px;
    overflow: hidden;
}

    .score-progress span {
        display: block;
        width: 82%;
        height: 100%;
        background: var(--home-gold);
    }

.financial-score-card > p {
    font-size: 12px;
    margin: 12px 0 22px;
}

.score-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-top: 1px solid var(--home-border);
    font-size: 12px;
}

    .score-row b {
        color: var(--home-blue);
    }

.why-floating-card {
    position: absolute;
    right: 5%;
    bottom: 8%;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--home-navy);
    color: #fff;
    padding: 14px 17px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,.18);
}

    .why-floating-card > i {
        color: var(--home-gold);
    }

    .why-floating-card strong,
    .why-floating-card span {
        display: block;
    }

    .why-floating-card strong {
        font-size: 12px;
    }

    .why-floating-card span {
        font-size: 10px;
        color: rgba(255,255,255,.6);
    }


/* =========================================================
   PROCESS
   ========================================================= */

.home-process {
    padding: 95px 0;
    background: var(--home-bg);
}

.process-heading {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 55px;
}

    .process-heading p {
        color: var(--home-muted);
        line-height: 1.7;
        margin-top: 15px;
    }

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.process-item {
    text-align: center;
    position: relative;
}

.process-number {
    color: var(--home-gold);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.process-icon {
    width: 65px;
    height: 65px;
    margin: 12px auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--home-navy);
    color: var(--home-gold);
    font-size: 21px;
}

.process-item h3 {
    font-family: "Manrope", sans-serif;
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 9px;
}

.process-item p {
    color: var(--home-muted);
    font-size: 12px;
    line-height: 1.7;
    margin: 0 auto;
    max-width: 220px;
}


/* =========================================================
   THREE PILLARS
   ========================================================= */

.home-three-pillars {
    padding: 95px 0;
    background: #fff;
}

.pillar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pillar-card {
    padding: 35px;
    border: 1px solid var(--home-border);
    border-radius: 18px;
    background: var(--home-bg);
}

.pillar-highlight {
    background: var(--home-navy);
    color: #fff;
    transform: translateY(-10px);
}

.pillar-icon {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: rgba(212,167,44,.12);
    color: var(--home-gold);
    font-size: 20px;
    margin-bottom: 25px;
}

.pillar-card > span {
    color: var(--home-gold);
    font-size: 11px;
    font-weight: 800;
}

.pillar-card h3 {
    font-family: "Manrope", sans-serif;
    font-size: 23px;
    font-weight: 800;
    margin: 8px 0 12px;
}

.pillar-card p {
    color: var(--home-muted);
    font-size: 13px;
    line-height: 1.7;
}

.pillar-highlight p {
    color: rgba(255,255,255,.68);
}

.pillar-card a {
    display: inline-flex;
    gap: 8px;
    color: var(--home-blue);
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    margin-top: 12px;
}

.pillar-highlight a {
    color: var(--home-gold);
}


/* =========================================================
   LEADERSHIP
   ========================================================= */

.home-leadership {
    padding: 100px 0;
    background: var(--home-bg);
}

.leadership-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.leader-image {
    position: relative;
    min-height: 500px;
    overflow: hidden;
    border-radius: 22px;
}

    .leader-image img {
        width: 100%;
        height: 100%;
        min-height: 500px;
        object-fit: cover;
        display: block;
    }

.leader-caption {
    position: absolute;
    left: 25px;
    bottom: 25px;
    padding: 17px 20px;
    background: rgba(6,23,44,.90);
    border-left: 3px solid var(--home-gold);
    border-radius: 8px;
}

    .leader-caption span,
    .leader-caption strong {
        display: block;
    }

    .leader-caption span {
        color: var(--home-gold);
        font-size: 9px;
        font-weight: 800;
        letter-spacing: 1.4px;
    }

    .leader-caption strong {
        color: #fff;
        font-size: 13px;
        margin-top: 5px;
    }

.leader-content h2 {
    font-family: "Manrope", sans-serif;
    font-size: 43px;
    line-height: 1.15;
    margin: 0 0 20px;
}

    .leader-content h2 span {
        color: var(--home-blue);
    }

.leader-content h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
}

.leader-role {
    display: block;
    color: var(--home-blue);
    font-size: 12px;
    margin: 5px 0 18px;
}

.leader-content > p {
    color: var(--home-muted);
    line-height: 1.8;
    font-size: 14px;
}

.leader-content blockquote {
    border-left: 3px solid var(--home-gold);
    padding-left: 18px;
    color: var(--home-navy);
    font-weight: 700;
    font-style: italic;
    margin: 25px 0;
}

.home-dark-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 21px;
    border-radius: 7px;
    background: var(--home-navy);
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
}

    .home-dark-btn:hover {
        color: #fff;
        background: var(--home-blue);
    }


/* =========================================================
   TESTIMONIAL
   ========================================================= */

.home-testimonials {
    padding: 18px 0;
    background: #fff;
}

.testimonial-heading {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 45px;
}

    .testimonial-heading p {
        color: var(--home-muted);
        font-size: 14px;
    }

.testimonial-slider {
    position: relative;
    max-width: 850px;
    margin: auto;
    display: flex;
    align-items: center;
}

.testimonial-track {
    position: relative;
    width: 100%;
    min-height: 350px;
    overflow: hidden;
}

.testimonial-slide {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 50px 80px;
    text-align: center;
    background: var(--home-bg);
    border: 1px solid var(--home-border);
    border-radius: 22px;
    opacity: 0;
    transform: translateX(40px);
    transition: opacity .5s ease, transform .5s ease;
    pointer-events: none;
}

    .testimonial-slide.active {
        opacity: 1;
        transform: translateX(0);
        pointer-events: auto;
    }

.quote-icon {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--home-navy);
    color: var(--home-gold);
    margin-bottom: 22px;
}

.testimonial-slide > p {
    max-width: 650px;
    color: var(--home-text);
    font-family: "Manrope", sans-serif;
    font-size: 18px;
    line-height: 1.8;
    font-weight: 600;
    margin: 0 0 25px;
}

.testimonial-person {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 43px;
    height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--home-blue);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.testimonial-person strong,
.testimonial-person span {
    display: block;
    text-align: left;
}

.testimonial-person strong {
    font-size: 13px;
}

.testimonial-person span {
    color: var(--home-muted);
    font-size: 10px;
    margin-top: 3px;
}

.testimonial-arrow {
    position: absolute;
    z-index: 5;
    width: 45px;
    height: 45px;
    border: 1px solid var(--home-border);
    border-radius: 50%;
    background: #fff;
    color: var(--home-navy);
    cursor: pointer;
    transition: .25s ease;
}

    .testimonial-arrow:hover {
        background: var(--home-gold);
        border-color: var(--home-gold);
    }

.testimonial-prev {
    left: -22px;
}

.testimonial-next {
    right: -22px;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 22px;
}

.testimonial-dot {
    width: 8px;
    height: 8px;
    border: 0;
    padding: 0;
    border-radius: 50%;
    background: #CDD5DF;
    cursor: pointer;
}

    .testimonial-dot.active {
        width: 25px;
        border-radius: 10px;
        background: var(--home-gold);
    }


/* =========================================================
   INSIGHTS
   ========================================================= */

.home-insights {
    padding: 95px 0;
    background: var(--home-bg);
}

.home-view-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--home-blue);
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.insight-card {
    padding: 30px;
    background: #fff;
    border: 1px solid var(--home-border);
    border-radius: 17px;
    transition: .3s ease;
}

    .insight-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 40px rgba(11,31,58,.09);
    }

.insight-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #EEF4FB;
    color: var(--home-blue);
    margin-bottom: 22px;
}

.insight-card > span {
    color: var(--home-gold);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.insight-card h3 {
    font-family: "Manrope", sans-serif;
    font-size: 20px;
    line-height: 1.35;
    margin: 8px 0 10px;
}

.insight-card p {
    color: var(--home-muted);
    font-size: 12px;
    line-height: 1.7;
}

.insight-card a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--home-blue);
    text-decoration: none;
    font-size: 11px;
    font-weight: 800;
    margin-top: 10px;
}


/* =========================================================
   FINAL CTA
   ========================================================= */

.home-final-cta {
    padding: 80px 0;
    background: #fff;
}

.final-cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    padding: 50px;
    border-radius: 20px;
    background: linear-gradient( 110deg, var(--home-dark), var(--home-navy) );
}

    .final-cta-box > div:first-child > span {
        color: var(--home-gold);
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 1.7px;
    }

    .final-cta-box h2 {
        color: #fff;
        font-family: "Manrope", sans-serif;
        font-size: 37px;
        margin: 10px 0;
    }

        .final-cta-box h2 strong {
            color: var(--home-gold);
        }

    .final-cta-box p {
        color: rgba(255,255,255,.65);
        margin: 0;
    }

.final-cta-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 22px;
    border-radius: 7px;
    background: var(--home-gold);
    color: var(--home-navy);
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
}

.cta-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
}


/* =========================================================
   DISCLOSURE
   ========================================================= */

.home-disclosure {
    padding: 25px 0;
    background: #F1F4F8;
}

.disclosure-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

    .disclosure-box > i {
        color: var(--home-gold);
        margin-top: 3px;
    }

    .disclosure-box p {
        color: #697586;
        font-size: 10px;
        line-height: 1.7;
        margin: 0;
    }


/* =========================================================
   ANIMATIONS
   ========================================================= */

@keyframes floatUpDown {
    0%, 100% {
        transform: translateY(0) rotate(-1deg);
    }

    50% {
        transform: translateY(-20px) rotate(1deg);
    }
}

@keyframes floatUpDownReverse {
    0%, 100% {
        transform: translateY(0) rotate(1deg);
    }

    50% {
        transform: translateY(20px) rotate(-1deg);
    }
}

@keyframes portfolioFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes chartDraw {
    to {
        stroke-dashoffset: 0;
    }
}


/* =========================================================
   RESPONSIVE - 1199px
   ========================================================= */

@media (max-width: 1199px) {

    .home-hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .sip-card {
        left: -25px;
    }

    .security-card {
        right: -25px;
    }
}


/* =========================================================
   RESPONSIVE - 991px
   ========================================================= */

@media (max-width: 991px) {

    .home-hero {
        min-height: auto;
    }

    .home-hero-grid {
        min-height: auto;
        grid-template-columns: 1fr;
        padding: 80px 0;
    }

    .home-hero-content {
        max-width: 720px;
    }

    .home-hero-visual {
        min-height: 430px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-stat:nth-child(2) {
        border-right: 0;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid,
    .leadership-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }

    .pillar-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .insights-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .sip-card {
        left: 0;
    }

    .security-card {
        right: 0;
    }
}


/* =========================================================
   RESPONSIVE - 767px
   ========================================================= */

@media (max-width: 767px) {

    .home-hero-grid {
        padding: 60px 0;
    }

    .home-hero h1 {
        font-size: 43px;
    }

    .home-hero p {
        font-size: 15px;
    }

    .home-trust-row {
        flex-wrap: wrap;
        gap: 18px;
    }

    .home-hero-visual {
        min-height: 370px;
    }

    .portfolio-card {
        padding: 20px;
    }

    .portfolio-value {
        font-size: 30px;
    }

    .sip-card {
        left: 0;
        bottom: 20px;
    }

    .security-card {
        right: 0;
        top: 20px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .home-stat {
        border-right: 0;
        border-bottom: 1px solid var(--home-border);
    }

        .home-stat:last-child {
            border-bottom: 0;
        }

    .home-services,
    .home-why,
    .home-process,
    .home-three-pillars,
    .home-leadership,
    .home-testimonials,
    .home-insights {
        padding: 65px 0;
    }

    .home-section-heading {
        display: block;
    }

        .home-section-heading > p {
            margin-top: 15px;
        }

    .services-grid,
    .process-grid,
    .pillar-grid,
    .insights-grid {
        grid-template-columns: 1fr;
    }

    .pillar-highlight {
        transform: none;
    }

    .leader-image,
    .leader-image img {
        min-height: 400px;
    }

    .leader-content h2 {
        font-size: 35px;
    }

    .testimonial-slide {
        padding: 35px 25px;
    }

        .testimonial-slide > p {
            font-size: 15px;
        }

    .testimonial-prev {
        left: 8px;
    }

    .testimonial-next {
        right: 8px;
    }

    .final-cta-box {
        flex-direction: column;
        align-items: flex-start;
        padding: 35px 25px;
    }

        .final-cta-box h2 {
            font-size: 30px;
        }

    .final-cta-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .cta-primary {
        justify-content: center;
    }
}


/* =========================================================
   RESPONSIVE - 480px
   ========================================================= */

@media (max-width: 480px) {

    .home-hero h1 {
        font-size: 36px;
    }

    .home-hero-buttons {
        flex-direction: column;
    }

    .home-btn {
        width: 100%;
    }

    .home-hero-visual {
        min-height: 330px;
    }

    .hero-floating-card {
        transform: scale(.88);
    }

    .security-card {
        right: -10px;
    }

    .sip-card {
        left: -10px;
    }

    .portfolio-value {
        font-size: 27px;
    }

    .portfolio-chart {
        height: 180px;
    }

    .testimonial-slide {
        padding: 30px 20px;
    }

        .testimonial-slide > p {
            font-size: 14px;
            line-height: 1.7;
        }

    .final-cta-box {
        padding: 30px 20px;
    }

        .final-cta-box h2 {
            font-size: 27px;
        }
}


/* =========================================================
   RESPONSIVE - 360px
   ========================================================= */

@media (max-width: 360px) {

    .home-hero h1 {
        font-size: 32px;
    }

    .home-trust-row {
        flex-direction: column;
        gap: 14px;
    }

    .home-hero-visual {
        min-height: 300px;
    }

    .hero-floating-card {
        transform: scale(.76);
    }

    .portfolio-card {
        padding: 16px;
    }

    .portfolio-value {
        font-size: 24px;
    }

    .leader-content h2 {
        font-size: 30px;
    }
}
