﻿:root {
            --ps-red: #ef2f35;
            --ps-red-dark: #d91f27;
            --ps-navy: #071a36;
            --ps-navy-2: #0d2a52;
            --ps-yellow: #f6b800;
            --ps-text: #14213d;
            --ps-muted: #667085;
            --ps-soft: #fff8f7;
            --ps-border: #eceef3;
            --ps-white: #ffffff;
            --ps-shadow: 0 18px 45px rgba(7, 26, 54, .12);
        }

        * {
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            overflow-x: hidden;
            background: #ffffff;
        }

        .ps-page {
            background: #ffffff;
            color: var(--ps-text);
        }

        .ps-page img {
            display: block;
            max-width: 100%;
        }

        .ps-container {
            width: 100%;
            max-width: 1150px;
            margin: 0 auto;
            padding: 0 15px;
        }

        .ps-section {
            padding: 78px 0;
        }

        .ps-section-soft {
            background: linear-gradient(180deg, var(--ps-soft), #ffffff);
        }

        .ps-kicker {
            display: inline-block;
            margin-bottom: 8px;
            color: var(--ps-red);
            font-size: 12px;
            font-weight: 850;
            letter-spacing: .8px;
            text-transform: uppercase;
        }

        .ps-heading {
            margin: 0 0 14px;
            color: var(--ps-navy);
            font-size: clamp(30px, 4vw, 48px);
            line-height: 1.12;
            font-weight: 900;
            letter-spacing: -1.4px;
        }

        .ps-copy {
            margin: 0;
            color: var(--ps-muted);
            font-size: 16px;
            line-height: 1.75;
        }

        .ps-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 48px;
            padding: 12px 24px;
            border: 1px solid transparent;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 850;
            text-decoration: none;
            transition: .25s ease;
        }

        .ps-btn-red {
            background: var(--ps-red);
            color: #ffffff;
            box-shadow: 0 10px 22px rgba(239, 47, 53, .22);
        }

        .ps-btn-red:hover {
            color: #ffffff !important;
            background: var(--ps-red-dark);
            transform: translateY(-2px);
        }

        .ps-btn-outline {
            color: #ffffff;
            border-color: rgba(255,255,255,.7);
            background: rgba(255,255,255,.05);
        }

        .ps-btn-outline:hover {
            color: var(--ps-navy) !important;
            background: #ffffff;
            transform: translateY(-2px);
        }

        .ps-svg {
            width: 22px;
            height: 22px;
            display: block;
            fill: none;
            stroke: currentColor;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        /* HERO */
        .ps-hero {
            position: relative;
            min-height: 520px;
            display: flex;
            align-items: center;
            overflow: hidden;
            background:
                url('assets/img/private-spanish/private-spanish-hero.webp')
                right center / auto 100% no-repeat,
                var(--ps-navy);
        }

        .ps-hero::before {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(
                90deg,
                rgba(3, 15, 33, .99) 0%,
                rgba(3, 15, 33, .97) 28%,
                rgba(3, 15, 33, .84) 47%,
                rgba(3, 15, 33, .35) 68%,
                rgba(3, 15, 33, .05) 84%
            );
        }

        .ps-hero-content {
            position: relative;
            z-index: 2;
            width: min(100%, 540px);
            padding: 64px 0 92px;
        }

        .ps-hero-label {
            display: inline-flex;
            align-items: center;
            gap: 9px;
            margin-bottom: 18px;
            padding: 8px 14px;
            border: 1px solid rgba(255,255,255,.14);
            border-radius: 999px;
            color: var(--ps-yellow);
            background: rgba(255,255,255,.07);
            font-size: 12px;
            font-weight: 850;
            letter-spacing: .6px;
            text-transform: uppercase;
        }

        .ps-hero-title {
            margin: 0 0 20px;
            color: #ffffff;
            font-size: clamp(42px, 5vw, 66px);
            line-height: 1.03;
            font-weight: 900;
            letter-spacing: -2px;
        }

        .ps-hero-title span {
            display: block;
            color: var(--ps-red);
        }

        .ps-hero-text {
            max-width: 500px;
            margin: 0;
            color: #e8eef7;
            font-size: 17px;
            line-height: 1.7;
        }

        .ps-hero-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 14px;
            margin-top: 28px;
        }

        /* STATS */
        .ps-stats {
            position: relative;
            z-index: 5;
            margin-top: -42px;
        }

        .ps-stats-wrap {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            overflow: hidden;
            border-radius: 16px;
            background: #ffffff;
            box-shadow: var(--ps-shadow);
        }

        .ps-stat {
            min-height: 90px;
            display: flex;
            align-items: center;
            gap: 14px;
            padding: 18px 22px;
            border-right: 1px solid var(--ps-border);
        }

        .ps-stat:last-child {
            border-right: 0;
        }

        .ps-stat-icon {
            width: 46px;
            height: 46px;
            flex: 0 0 46px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: var(--ps-red);
            color: #ffffff;
        }

        .ps-stat strong {
            display: block;
            color: var(--ps-red);
            font-size: 22px;
            line-height: 1;
            font-weight: 900;
        }

        .ps-stat span {
            display: block;
            margin-top: 4px;
            color: var(--ps-text);
            font-size: 12px;
            font-weight: 700;
        }

        /* INTRO */
        .ps-intro-grid {
            display: grid;
            grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
            gap: 58px;
            align-items: center;
        }

        .ps-image-frame {
            position: relative;
            isolation: isolate;
        }

        .ps-image-frame::before {
            content: "";
            position: absolute;
            left: -22px;
            bottom: -18px;
            width: 110px;
            height: 110px;
            border-radius: 22px;
            background: var(--ps-yellow);
            z-index: -1;
        }

        .ps-image-frame::after {
            content: "";
            position: absolute;
            left: -36px;
            top: -26px;
            width: 88px;
            height: 68px;
            background-image: radial-gradient(var(--ps-red) 2px, transparent 2px);
            background-size: 12px 12px;
            opacity: .7;
        }

        .ps-image-frame img {
            width: 100%;
            height: 360px;
            object-fit: cover;
            border-radius: 20px;
            box-shadow: var(--ps-shadow);
        }

        .ps-check-list {
            display: grid;
            gap: 10px;
            margin-top: 22px;
        }

        .ps-check-item {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            color: var(--ps-text);
            font-size: 14px;
            font-weight: 700;
        }

        .ps-check-item .ps-svg {
            width: 17px;
            height: 17px;
            flex: 0 0 17px;
            margin-top: 2px;
            color: var(--ps-red);
        }

        /* BENEFITS */
        .ps-section-title {
            max-width: 760px;
            margin: 0 auto 34px;
            text-align: center;
        }

        .ps-benefit-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 20px;
        }

        .ps-benefit-card {
            height: 100%;
            padding: 26px;
            border: 1px solid var(--ps-border);
            border-radius: 16px;
            background: #ffffff;
            box-shadow: 0 10px 25px rgba(7,26,54,.06);
            transition: .25s ease;
        }

        .ps-benefit-card:hover {
            transform: translateY(-5px);
            border-color: rgba(239,47,53,.35);
            box-shadow: var(--ps-shadow);
        }

        .ps-benefit-icon {
            width: 50px;
            height: 50px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 18px;
            border-radius: 14px;
            color: var(--ps-red);
            background: #fff0f0;
        }

        .ps-benefit-card h3 {
            margin: 0 0 9px;
            color: var(--ps-navy);
            font-size: 19px;
            font-weight: 850;
        }

        .ps-benefit-card p {
            margin: 0;
            color: var(--ps-muted);
            font-size: 14px;
            line-height: 1.65;
        }

        /* LEARNING PLAN */
        .ps-plan-panel {
            overflow: hidden;
            border-radius: 22px;
            background: var(--ps-navy);
            box-shadow: var(--ps-shadow);
        }

        .ps-plan-grid {
            display: grid;
            grid-template-columns: 42% 58%;
        }

        .ps-plan-image {
            min-height: 100%;
        }

        .ps-plan-image img {
            width: 100%;
            height: 100%;
            min-height: 540px;
            object-fit: cover;
        }

        .ps-plan-content {
            padding: 46px;
        }

        .ps-plan-content .ps-heading {
            color: #ffffff;
        }

        .ps-plan-content .ps-copy {
            color: #cbd5e1;
        }

        .ps-plan-steps {
            display: grid;
            gap: 14px;
            margin-top: 28px;
        }

        .ps-plan-step {
            display: grid;
            grid-template-columns: 48px 1fr;
            gap: 14px;
            align-items: center;
            padding: 15px;
            border: 1px solid rgba(255,255,255,.1);
            border-radius: 12px;
            background: rgba(255,255,255,.06);
        }

        .ps-plan-num {
            width: 48px;
            height: 48px;
            display: grid;
            place-items: center;
            border-radius: 50%;
            background: var(--ps-red);
            color: #ffffff;
            font-weight: 900;
        }

        .ps-plan-step h3 {
            margin: 0 0 4px;
            color: #ffffff;
            font-size: 16px;
            font-weight: 850;
        }

        .ps-plan-step p {
            margin: 0;
            color: #cbd5e1;
            font-size: 13px;
            line-height: 1.5;
        }

        /* GOALS */
        .ps-goals-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 44px;
            align-items: center;
        }

        .ps-goals-image-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 14px;
        }

        .ps-goals-image-grid img {
            width: 100%;
            height: 270px;
            object-fit: cover;
            border-radius: 18px;
            box-shadow: 0 12px 30px rgba(7,26,54,.1);
        }

        .ps-goal-chips {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 24px;
        }

        .ps-goal-chip {
            display: inline-flex;
            align-items: center;
            gap: 7px;
            padding: 10px 14px;
            border: 1px solid var(--ps-border);
            border-radius: 999px;
            background: #ffffff;
            color: var(--ps-navy);
            font-size: 13px;
            font-weight: 750;
            box-shadow: 0 5px 15px rgba(7,26,54,.05);
        }

        .ps-goal-chip .ps-svg {
            width: 15px;
            height: 15px;
            color: var(--ps-red);
        }

        /* TESTIMONIAL */
        .ps-testimonial {
            padding: 36px 0;
            background: #ffffff;
        }

        .ps-testimonial-grid {
            display: grid;
            grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
            gap: 40px;
            align-items: center;
        }

        .ps-testimonial-image img {
            width: 100%;
            aspect-ratio: 21 / 13;
            object-fit: cover;
            border-radius: 20px;
            box-shadow: var(--ps-shadow);
        }

        .ps-quote {
            color: var(--ps-red);
            font-size: 52px;
            line-height: .8;
            font-weight: 900;
        }

        .ps-testimonial h2 {
            margin: 0 0 12px;
            color: var(--ps-navy);
            font-size: 34px;
            font-weight: 900;
        }

        .ps-testimonial blockquote {
            margin: 0;
            color: var(--ps-text);
            font-size: 17px;
            line-height: 1.65;
        }

        .ps-person {
            margin-top: 16px;
            color: var(--ps-navy);
            font-weight: 850;
        }

        .ps-person small {
            display: block;
            margin-top: 3px;
            color: var(--ps-muted);
            font-weight: 600;
        }

        /* CTA */
        .ps-cta {
            position: relative;
            min-height: 250px;
            display: flex;
            align-items: center;
            overflow: hidden;
            border-radius: 22px;
            background:
                url('assets/img/private-spanish/private-spanish-cta.webp')
                center / cover no-repeat;
            box-shadow: var(--ps-shadow);
        }

        .ps-cta::before {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(
                90deg,
                rgba(4,17,39,.98) 0%,
                rgba(4,17,39,.9) 43%,
                rgba(4,17,39,.45) 70%,
                rgba(4,17,39,.12) 100%
            );
        }

        .ps-cta-content {
            position: relative;
            z-index: 2;
            max-width: 590px;
            padding: 40px 50px;
        }

        .ps-cta h2 {
            margin: 0 0 10px;
            color: #ffffff;
            font-size: 36px;
            line-height: 1.12;
            font-weight: 900;
        }

        .ps-cta p {
            margin: 0;
            color: #dce5f2;
            line-height: 1.65;
        }

        .ps-cta-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            margin-top: 22px;
        }

        /* RESPONSIVE */
        @media (max-width: 1199px) {
            .ps-container {
                max-width: 960px;
            }

            .ps-hero {
                background-position: 68% center;
            }

            .ps-benefit-grid {
                gap: 16px;
            }
        }

        @media (max-width: 991px) {
            .ps-container {
                max-width: 720px;
            }

            .ps-section {
                padding: 64px 0;
            }

            .ps-hero {
                min-height: 540px;
                background-position: 72% center;
            }

            .ps-hero::before {
                background: linear-gradient(
                    90deg,
                    rgba(3,15,33,.99) 0%,
                    rgba(3,15,33,.93) 50%,
                    rgba(3,15,33,.62) 75%,
                    rgba(3,15,33,.2) 100%
                );
            }

            .ps-stats-wrap {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }

            .ps-stat:nth-child(2) {
                border-right: 0;
            }

            .ps-stat:nth-child(-n+2) {
                border-bottom: 1px solid var(--ps-border);
            }

            .ps-intro-grid,
            .ps-goals-grid,
            .ps-testimonial-grid {
                grid-template-columns: 1fr;
            }

            .ps-benefit-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }

            .ps-plan-grid {
                grid-template-columns: 1fr;
            }

            .ps-plan-image img {
                min-height: 380px;
            }
        }

        @media (max-width: 767px) {
            .ps-container {
                max-width: 540px;
                padding-left: 12px;
                padding-right: 12px;
            }

            .ps-section {
                padding: 52px 0;
            }

            .ps-heading {
                font-size: clamp(28px, 8vw, 36px);
            }

            .ps-copy {
                font-size: 15px;
            }

            .ps-hero {
                min-height: 590px;
                background-position: 74% center;
            }

            .ps-hero::before {
                background: linear-gradient(
                    90deg,
                    rgba(3,15,33,.99) 0%,
                    rgba(3,15,33,.95) 56%,
                    rgba(3,15,33,.67) 82%,
                    rgba(3,15,33,.25) 100%
                );
            }

            .ps-hero-content {
                padding: 54px 0 88px;
            }

            .ps-hero-title {
                max-width: 380px;
                font-size: clamp(39px, 11vw, 50px);
            }

            .ps-hero-text {
                max-width: 370px;
                font-size: 15px;
            }

            .ps-hero-actions {
                flex-direction: column;
                max-width: 350px;
            }

            .ps-btn {
                width: 100%;
            }

            .ps-stats {
                margin-top: -28px;
            }

            .ps-stat {
                padding: 15px 14px;
                min-height: 82px;
            }

            .ps-benefit-grid {
                grid-template-columns: 1fr;
            }

            .ps-image-frame img {
                height: auto;
                aspect-ratio: 14 / 9;
            }

            .ps-plan-content {
                padding: 30px 20px;
            }

            .ps-plan-image img {
                min-height: 300px;
            }

            .ps-goals-image-grid {
                grid-template-columns: 1fr;
            }

            .ps-goals-image-grid img {
                height: 250px;
            }

            .ps-testimonial h2 {
                font-size: 30px;
            }

            .ps-cta {
                min-height: 330px;
            }

            .ps-cta-content {
                padding: 34px 22px;
            }

            .ps-cta h2 {
                font-size: 30px;
            }
        }

        @media (max-width: 480px) {
            .ps-hero {
                background-position: 68% center;
            }

            .ps-stats-wrap {
                grid-template-columns: 1fr;
            }

            .ps-stat,
            .ps-stat:nth-child(2) {
                border-right: 0;
                border-bottom: 1px solid var(--ps-border);
            }

            .ps-stat:last-child {
                border-bottom: 0;
            }

            .ps-goal-chips {
                display: grid;
                grid-template-columns: 1fr;
            }
        }

        /* Final icon safety: no Font Awesome dependency */
        .ps-page .ps-svg,
        .ps-page .ps-stat-icon svg,
        .ps-page .ps-benefit-icon svg,
        .ps-page .ps-check-item svg,
        .ps-page .ps-goal-chip svg {
            position: static !important;
            inset: auto !important;
            display: block !important;
            margin: 0 !important;
            padding: 0 !important;
            transform: none !important;
            opacity: 1 !important;
            visibility: visible !important;
            fill: none !important;
            stroke: currentColor !important;
            stroke-width: 2 !important;
            stroke-linecap: round !important;
            stroke-linejoin: round !important;
        }

        .ps-page .ps-stat-icon {
            color: #ffffff !important;
        }

        .ps-page .ps-benefit-icon,
        .ps-page .ps-check-item,
        .ps-page .ps-goal-chip {
            color: var(--ps-red);
        }

        .ps-page .ps-benefit-card h3,
        .ps-page .ps-benefit-card p,
        .ps-page .ps-check-item,
        .ps-page .ps-goal-chip {
            color: var(--ps-text);
        }



        /* =========================================================
           FINAL STATS ICON + SPACING FIX
        ========================================================= */

        .ps-stats {
            margin-top: -48px !important;
            padding-bottom: 0 !important;
        }

        .ps-stats .ps-container {
            max-width: 1040px !important;
        }

        .ps-stats-wrap {
            overflow: hidden !important;
            border-radius: 16px !important;
            background: #ffffff !important;
            box-shadow: 0 18px 45px rgba(7, 26, 54, .12) !important;
        }

        .ps-stat {
            position: relative !important;
            min-height: 96px !important;
            display: flex !important;
            align-items: center !important;
            justify-content: flex-start !important;
            gap: 16px !important;
            padding: 20px 24px !important;
            overflow: visible !important;
        }

        .ps-stat-icon {
            position: relative !important;
            width: 52px !important;
            height: 52px !important;
            min-width: 52px !important;
            flex: 0 0 52px !important;
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
            padding: 0 !important;
            margin: 0 !important;
            border-radius: 50% !important;
            background: var(--ps-red) !important;
            color: #ffffff !important;
            overflow: hidden !important;
            line-height: 1 !important;
        }

        .ps-stat-icon svg,
        .ps-stat-icon .ps-svg {
            position: static !important;
            inset: auto !important;
            width: 24px !important;
            height: 24px !important;
            min-width: 24px !important;
            max-width: 24px !important;
            display: block !important;
            margin: 0 !important;
            padding: 0 !important;
            transform: none !important;
            fill: none !important;
            stroke: #ffffff !important;
            stroke-width: 2 !important;
            stroke-linecap: round !important;
            stroke-linejoin: round !important;
            opacity: 1 !important;
            visibility: visible !important;
            overflow: visible !important;
        }

        .ps-stat > div {
            min-width: 0 !important;
        }

        .ps-stat strong {
            margin: 0 !important;
            color: var(--ps-red) !important;
            font-size: 22px !important;
            line-height: 1.05 !important;
            font-weight: 900 !important;
            white-space: nowrap !important;
        }

        .ps-stat span {
            margin-top: 5px !important;
            color: var(--ps-text) !important;
            font-size: 12px !important;
            line-height: 1.2 !important;
            font-weight: 750 !important;
        }

        /* First content section ke top me extra gap remove */
        .ps-section-soft {
            padding-top: 76px !important;
        }

        @media (max-width: 991px) {
            .ps-stats .ps-container {
                max-width: 720px !important;
            }

            .ps-stats-wrap {
                grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
            }

            .ps-stat:nth-child(2) {
                border-right: 0 !important;
            }

            .ps-stat:nth-child(-n+2) {
                border-bottom: 1px solid var(--ps-border) !important;
            }
        }

        @media (max-width: 767px) {
            .ps-stats {
                margin-top: -30px !important;
            }

            .ps-stat {
                min-height: 84px !important;
                padding: 16px 15px !important;
                gap: 12px !important;
            }

            .ps-stat-icon {
                width: 44px !important;
                height: 44px !important;
                min-width: 44px !important;
                flex-basis: 44px !important;
            }

            .ps-stat-icon svg,
            .ps-stat-icon .ps-svg {
                width: 21px !important;
                height: 21px !important;
                min-width: 21px !important;
                max-width: 21px !important;
            }

            .ps-stat strong {
                font-size: 19px !important;
            }

            .ps-stat span {
                font-size: 11px !important;
            }

            .ps-section-soft {
                padding-top: 62px !important;
            }
        }

        @media (max-width: 480px) {
            .ps-stats-wrap {
                grid-template-columns: 1fr !important;
            }

            .ps-stat,
            .ps-stat:nth-child(2) {
                border-right: 0 !important;
                border-bottom: 1px solid var(--ps-border) !important;
            }

            .ps-stat:last-child {
                border-bottom: 0 !important;
            }
        }

/* Private tuition Why Choose uses the same compact card design as homepage. */
.ps-page .ps-wcu-section {
    background: #ffffff;
}

.ps-page .ps-wcu-copy {
    width: min(100%, 760px);
    margin: 12px auto 0;
    text-align: center;
}

.ps-page .ps-wcu-section .wcu-grid {
    margin-top: 24px !important;
}

/* Final private tuition image polish */
.ps-page .ps-plan-image,
.ps-page .ps-goals-image-grid,
.ps-page .ps-testimonial-image {
    min-width: 0;
}

.ps-page .ps-plan-image {
    height: 100%;
    background: #fff7f7;
}

.ps-page .ps-plan-image img {
    width: 100% !important;
    height: 100% !important;
    min-height: 500px !important;
    object-fit: cover !important;
    object-position: center center !important;
}

.ps-page .ps-goals-image-grid img {
    width: 100% !important;
    height: 285px !important;
    object-fit: cover !important;
    object-position: center center !important;
    border: 0 !important;
}

.ps-page .ps-testimonial-image {
    overflow: hidden;
    border-radius: 20px;
    background: #fff7f7;
}

.ps-page .ps-testimonial-image img {
    width: 100% !important;
    height: 340px !important;
    aspect-ratio: auto !important;
    object-fit: cover !important;
    object-position: center center !important;
    border-radius: 20px !important;
}

@media (max-width: 991px) {
    .ps-page .ps-plan-image img {
        min-height: 360px !important;
        max-height: 420px !important;
    }

    .ps-page .ps-goals-image-grid img {
        height: 260px !important;
    }

    .ps-page .ps-testimonial-image img {
        height: 320px !important;
    }
}

@media (max-width: 767px) {
    .ps-page .ps-plan-image img {
        min-height: 300px !important;
        max-height: 340px !important;
    }

    .ps-page .ps-goals-image-grid {
        gap: 12px !important;
    }

    .ps-page .ps-goals-image-grid img {
        height: 235px !important;
    }

    .ps-page .ps-testimonial-image img {
        height: 270px !important;
    }
}

@media (max-width: 480px) {
    .ps-page .ps-plan-image img {
        min-height: 250px !important;
        max-height: 290px !important;
    }

    .ps-page .ps-goals-image-grid img {
        height: 205px !important;
    }

    .ps-page .ps-testimonial-image img {
        height: 230px !important;
    }
}
