:root {
    --app-bg: #f8fafc;
    --app-surface: #ffffff;
    --app-surface-muted: #f3f4f6;
    --app-surface-soft: #e5e7eb;
    --app-surface-strong: #111827;
    --app-text: #0f172a;
    --app-text-muted: #475569;
    --app-text-soft: #64748b;
    --app-border: #d1d5db;
    --app-border-soft: #e5e7eb;
    --app-shadow: rgba(15, 23, 42, 0.08);
    --app-shadow-strong: rgba(15, 23, 42, 0.18);
    --app-overlay: rgba(15, 23, 42, 0.55);
    --app-focus: #29b64c; /* primary brand color */

    /* Brand palette (requested) */
    --brand-strong: #1d7739; /* dark green */
    --brand: #29b64c;        /* vibrant green */
    --brand-muted: #3d463f;  /* muted dark */
    --brand-white: #ffffff;
}

html {
    color-scheme: light;
    background: var(--app-bg);
}

html[data-theme="dark"] {
    color-scheme: dark;
    --app-bg: #0f172a;
    --app-surface: #111827;
    --app-surface-muted: #1f2937;
    --app-surface-soft: #334155;
    --app-surface-strong: #020617;
    --app-text: #e5e7eb;
    --app-text-muted: #cbd5e1;
    --app-text-soft: #94a3b8;
    --app-border: #334155;
    --app-border-soft: #475569;
    --app-shadow: rgba(0, 0, 0, 0.35);
    --app-shadow-strong: rgba(0, 0, 0, 0.5);
    --app-overlay: rgba(2, 6, 23, 0.72);
    --app-focus: #1d7739;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--app-bg);
    color: var(--app-text);
    transition: background-color 0.25s ease, color 0.25s ease;
}

a,
button,
input,
select,
textarea {
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

img,
canvas,
iframe {
    max-width: 100%;
}

.site-logo {
    width: 14rem;
    max-width: 100%;
    height: auto;
    max-height: 4.5rem;
    object-fit: contain;
    display: block;
}

.site-logo--small {
    width: 12rem;
    max-height: 4rem;
}

.site-logo--brand {
    width: 16rem;
    max-height: 5rem;
}

.site-logo--large {
    width: 18rem;
    max-height: 5.75rem;
}

/* Enhanced animation for modal pop-up */
@keyframes fadeInDown {
    from { opacity: 0; transform: translate(0, -15px) scale(0.98); }
    to { opacity: 1; transform: translate(0, 0) scale(1); }
}

.modal-fade-in-down {
    animation: fadeInDown 0.3s ease-out;
}

/* Transition classes for scroll animations */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Mobile menu transition */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
}

#mobile-menu.open {
    max-height: 500px;
}

.theme-toggle-button {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 70;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 9999px;
    border: 1px solid var(--app-border);
    background: color-mix(in srgb, var(--app-surface) 92%, transparent);
    color: var(--app-text);
    box-shadow: 0 18px 40px var(--app-shadow-strong);
    backdrop-filter: blur(14px);
    cursor: pointer;
}

.theme-toggle-button:hover {
    transform: translateY(-1px);
}

.theme-toggle-button:focus-visible {
    outline: 2px solid var(--app-focus);
    outline-offset: 3px;
}

.theme-toggle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, var(--brand-strong), var(--brand));
    color: #ffffff;
    font-size: 0.9rem;
    line-height: 1;
}

.theme-toggle-text {
    font-size: 0.875rem;
    font-weight: 600;
}

@media (max-width: 640px) {
    .theme-toggle-button {
        right: 0.75rem;
        bottom: 0.75rem;
        padding: 0.7rem 0.85rem;
    }

    .theme-toggle-text {
        display: none;
    }
}

@media print {
    .theme-toggle-button {
        display: none !important;
    }
}

html[data-theme="dark"] .bg-white,
html[data-theme="dark"] .hover\:bg-white:hover {
    background-color: var(--app-surface) !important;
}

html[data-theme="dark"] .bg-gray-50,
html[data-theme="dark"] .hover\:bg-gray-50:hover {
    background-color: var(--app-bg) !important;
}

html[data-theme="dark"] .bg-gray-100,
html[data-theme="dark"] .hover\:bg-gray-100:hover,
html[data-theme="dark"] .bg-gray-200,
html[data-theme="dark"] .hover\:bg-gray-200:hover {
    background-color: var(--app-surface-muted) !important;
}

html[data-theme="dark"] .bg-gray-800,
html[data-theme="dark"] .bg-gray-900 {
    background-color: var(--app-surface-strong) !important;
}

html[data-theme="dark"] .bg-gray-300 {
    background-color: #475569 !important;
}

html[data-theme="dark"] .text-gray-900,
html[data-theme="dark"] .text-gray-800 {
    color: var(--app-text) !important;
}

html[data-theme="dark"] .text-gray-700,
html[data-theme="dark"] .text-gray-600 {
    color: var(--app-text-muted) !important;
}

html[data-theme="dark"] .text-gray-500,
html[data-theme="dark"] .text-gray-400 {
    color: var(--app-text-soft) !important;
}

html[data-theme="dark"] .border-gray-100,
html[data-theme="dark"] .border-gray-200,
html[data-theme="dark"] .border-gray-300,
html[data-theme="dark"] .border-t,
html[data-theme="dark"] .border-b,
html[data-theme="dark"] .border-l,
html[data-theme="dark"] .border-r {
    border-color: var(--app-border) !important;
}

html[data-theme="dark"] .shadow-sm,
html[data-theme="dark"] .shadow-md,
html[data-theme="dark"] .shadow-lg,
html[data-theme="dark"] .shadow-xl,
html[data-theme="dark"] .shadow-2xl {
    box-shadow: 0 18px 45px var(--app-shadow) !important;
}

html[data-theme="dark"] .bg-indigo-50 {
    background-color: rgba(79, 70, 229, 0.18) !important;
}

html[data-theme="dark"] .bg-indigo-100 {
    background-color: rgba(79, 70, 229, 0.24) !important;
}

html[data-theme="dark"] .bg-green-50 {
    background-color: rgba(34, 197, 94, 0.14) !important;
}

html[data-theme="dark"] .bg-emerald-50 {
    background-color: rgba(16, 185, 129, 0.16) !important;
}

html[data-theme="dark"] .bg-blue-50 {
    background-color: rgba(59, 130, 246, 0.14) !important;
}

html[data-theme="dark"] .bg-purple-50,
html[data-theme="dark"] .bg-violet-100 {
    background-color: rgba(168, 85, 247, 0.16) !important;
}

html[data-theme="dark"] .bg-red-50 {
    background-color: rgba(239, 68, 68, 0.14) !important;
}

html[data-theme="dark"] .bg-amber-50,
html[data-theme="dark"] .bg-orange-50 {
    background-color: rgba(245, 158, 11, 0.14) !important;
}

html[data-theme="dark"] .bg-teal-50 {
    background-color: rgba(20, 184, 166, 0.14) !important;
}

html[data-theme="dark"] .bg-pink-50 {
    background-color: rgba(236, 72, 153, 0.14) !important;
}

html[data-theme="dark"] .bg-emerald-100,
html[data-theme="dark"] .bg-green-100,
html[data-theme="dark"] .bg-blue-100,
html[data-theme="dark"] .bg-purple-100,
html[data-theme="dark"] .bg-red-100,
html[data-theme="dark"] .bg-orange-100,
html[data-theme="dark"] .bg-teal-100,
html[data-theme="dark"] .bg-pink-100,
html[data-theme="dark"] .bg-violet-100 {
    filter: saturate(0.8) brightness(0.9);
}

html[data-theme="dark"] input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
html[data-theme="dark"] select,
html[data-theme="dark"] textarea {
    background-color: var(--app-surface-muted) !important;
    color: var(--app-text) !important;
    border-color: var(--app-border) !important;
}

html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder {
    color: var(--app-text-soft) !important;
}

html[data-theme="dark"] input:disabled,
html[data-theme="dark"] textarea:disabled,
html[data-theme="dark"] select:disabled {
    background-color: var(--app-surface-muted) !important;
    color: var(--app-text-soft) !important;
}

html[data-theme="dark"] .bg-black {
    background-color: rgba(2, 6, 23, 0.85) !important;
}

html[data-theme="dark"] .bg-black.bg-opacity-50,
html[data-theme="dark"] .bg-black.bg-opacity-60,
html[data-theme="dark"] .bg-black.bg-opacity-70 {
    background-color: var(--app-overlay) !important;
}

html[data-theme="dark"] .hover\:bg-indigo-50:hover {
    background-color: rgba(79, 70, 229, 0.24) !important;
}

html[data-theme="dark"] .hover\:bg-gray-50:hover,
html[data-theme="dark"] .hover\:bg-gray-100:hover {
    background-color: var(--app-surface-muted) !important;
}

html[data-theme="dark"] .hover\:text-gray-800:hover,
html[data-theme="dark"] .hover\:text-gray-700:hover,
html[data-theme="dark"] .hover\:text-gray-600:hover {
    color: var(--app-text) !important;
}

html[data-theme="dark"] .hover\:border-indigo-200:hover,
html[data-theme="dark"] .hover\:border-gray-200:hover {
    border-color: var(--app-border-soft) !important;
}

html[data-theme="dark"] .bg-white\/80,
html[data-theme="dark"] .bg-white\/90 {
    background-color: color-mix(in srgb, var(--app-surface) 88%, transparent) !important;
}

/* ==========================
   Brand palette remapping
   Map commonly used Tailwind-style utility classes to the new greens
   ========================== */

/* Text colors */
.text-blue-600,
.text-indigo-600,
.text-green-600 {
    color: var(--brand) !important;
}

/* Background variations */
.bg-blue-50,
.hover\:bg-blue-50:hover,
.bg-indigo-50,
.hover\:bg-indigo-50:hover {
    background-color: color-mix(in srgb, var(--brand) 8%, var(--brand-white)) !important;
}

.bg-blue-100,
.hover\:bg-blue-100:hover,
.bg-indigo-100,
.hover\:bg-indigo-100:hover {
    background-color: color-mix(in srgb, var(--brand) 16%, var(--brand-white)) !important;
}

.bg-blue-500,
.bg-blue-600,
.bg-blue-700,
.bg-indigo-500,
.bg-indigo-600,
.bg-indigo-700 {
    background-color: var(--brand) !important;
    color: var(--brand-white) !important;
}

.hover\:bg-blue-700:hover,
.bg-green-600,
.bg-green-700 {
    background-color: var(--brand-strong) !important;
    color: var(--brand-white) !important;
}

.hover\:bg-indigo-700:hover,
.hover\:bg-blue-600:hover,
.hover\:bg-green-700:hover {
    background-color: var(--brand-strong) !important;
}

/* Helper: ensure indigo hover text uses brand */
.hover\:text-blue-600:hover,
.hover\:text-indigo-600:hover {
    color: var(--brand) !important;
}

.border-blue-200,
.border-indigo-200,
.border-blue-600,
.border-indigo-600 {
    border-color: var(--brand) !important;
}

/* Premium home slider */
.hero-slider-section {
    background:
        linear-gradient(105deg, #d9efe2 0%, #d9efe2 40%, #eef7f2 40%, #eef7f2 100%);
    overflow: hidden;
}

.hero-slider {
    position: relative;
    border-radius: 1.6rem;
    background: color-mix(in srgb, var(--app-surface) 88%, transparent);
    border: 1px solid var(--app-border-soft);
    box-shadow: 0 26px 60px var(--app-shadow);
    overflow: hidden;
}

.hero-track {
    display: flex;
    transition: transform 0.6s ease;
}

.hero-slide {
    min-width: 100%;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2rem;
    align-items: center;
    padding: 3rem 3.4rem 3.2rem;
}

.hero-slide__content {
    max-width: 34rem;
}

.hero-kicker-dots {
    display: inline-flex;
    gap: 0.55rem;
    margin-bottom: 1.1rem;
}

.hero-kicker-dots span {
    width: 0.56rem;
    height: 0.56rem;
    border-radius: 999px;
    background: #b8c3d5;
}

.hero-kicker-dots span.is-active {
    width: 2.45rem;
    background: var(--brand);
}

.hero-title {
    font-size: clamp(2rem, 4vw, 3.9rem);
    line-height: 1.02;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #0f1937;
}

.hero-title span {
    color: var(--brand);
}

.hero-desc {
    margin-top: 1rem;
    font-size: clamp(0.98rem, 1.2vw, 1.15rem);
    color: #445875;
    line-height: 1.5;
    max-width: 34rem;
}

.hero-primary-cta,
.hero-welcome-block {
    margin-top: 1.45rem;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.82rem 2.1rem;
    border-radius: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    text-decoration: none;
    font-size: 0.92rem;
}

.hero-btn--main {
    background: var(--brand);
    color: #ffffff;
    box-shadow: 0 18px 35px rgba(41, 182, 76, 0.28);
}

.hero-btn--ghost {
    background: #ffffff;
    color: var(--brand);
    border: 1px solid rgba(41, 182, 76, 0.28);
}

.hero-welcome-copy {
    font-size: 1rem;
    color: #3d4f69;
    margin-bottom: 0.8rem;
}

.hero-inline-actions {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.hero-slide__visual {
    display: grid;
    justify-items: end;
}

.hero-steps-card,
.hero-proof-grid,
.hero-comparison,
.hero-pillars,
.hero-material-stack {
    width: min(27rem, 100%);
}

.hero-steps-card {
    display: grid;
    gap: 1rem;
}

.hero-step {
    background: #f4f5f7;
    border: 1px solid #d9e0eb;
    border-radius: 1rem;
    padding: 0.95rem 1rem;
    display: grid;
    grid-template-columns: 2.5rem 1fr;
    gap: 0.9rem;
    align-items: center;
    box-shadow: 0 8px 18px rgba(17, 25, 40, 0.08);
}

.hero-step span {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-weight: 900;
    background: #e0f5e7;
    color: var(--brand-strong);
}

.hero-step strong {
    display: block;
    color: #1e2b44;
    font-size: 0.98rem;
}

.hero-step p {
    color: #58708f;
    font-size: 0.88rem;
    margin-top: 0.2rem;
}

.hero-step.is-current {
    border-color: var(--brand);
    box-shadow: 0 14px 26px rgba(41, 182, 76, 0.2);
}

.hero-step.is-current span {
    background: var(--brand);
    color: #ffffff;
}

.hero-proof-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    align-items: end;
}

.hero-proof-card {
    background: #f4f5f7;
    border: 1px solid #dde3ec;
    border-radius: 1.1rem;
    padding: 0.92rem;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.09);
}

.hero-proof-card strong {
    font-size: 0.98rem;
    color: #1f2b45;
}

.hero-proof-card small {
    display: block;
    color: #667d99;
    font-weight: 700;
    margin-top: 0.2rem;
}

.hero-proof-card p {
    margin-top: 0.8rem;
    border-radius: 0.7rem;
    background: #e4f3ea;
    color: var(--brand-strong);
    font-weight: 800;
    padding: 0.5rem 0.55rem;
    text-align: center;
    font-size: 0.9rem;
}

.hero-proof-banner {
    grid-column: 1 / -1;
    background: var(--brand-strong);
    color: #ffffff;
    border-radius: 1.1rem;
    padding: 1rem 1.15rem;
    font-size: 1.55rem;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.hero-comparison {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.hero-sheet {
    width: 11.2rem;
    height: 9.8rem;
    border-radius: 1.15rem;
    display: grid;
    place-items: center;
    font-size: 0.98rem;
    font-weight: 800;
    text-transform: uppercase;
}

.hero-sheet--bad {
    background: #eff1f5;
    color: #9aa7bb;
    transform: rotate(-3deg);
}

.hero-sheet--good {
    background: #ffffff;
    border: 1px solid #cad7ea;
    color: var(--brand-strong);
    box-shadow: 0 18px 30px rgba(41, 182, 76, 0.15);
    transform: rotate(3deg);
}

.hero-pillars,
.hero-material-stack {
    display: grid;
    gap: 0.8rem;
}

.hero-pillars span,
.hero-material-stack div {
    padding: 0.9rem 1rem;
    border-radius: 0.95rem;
    background: #f4f6fb;
    border: 1px solid #d8e0ec;
    font-weight: 800;
    color: #29405f;
    font-size: 0.96rem;
}

.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 999px;
    border: 1px solid #d4dbe8;
    background: #ffffff;
    color: var(--brand-strong);
    font-size: 2.2rem;
    line-height: 1;
    z-index: 5;
    display: grid;
    place-items: center;
}

.hero-nav--prev {
    left: 1.1rem;
}

.hero-nav--next {
    right: 1.1rem;
}

.hero-dots {
    position: absolute;
    bottom: 0.85rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.55rem;
    z-index: 6;
}

.hero-dots button {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    background: #b8c3d6;
    border: none;
}

.hero-dots button.is-active {
    width: 2.2rem;
    background: var(--brand);
}

@media (max-width: 1024px) {
    .hero-slide {
        padding: 2.6rem 2.2rem 3rem;
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }

    .hero-slide__visual {
        justify-items: start;
    }

    .hero-nav {
        top: auto;
        bottom: 0.85rem;
        transform: none;
        width: 2.8rem;
        height: 2.8rem;
        font-size: 1.7rem;
    }

    .hero-nav--prev {
        left: 1rem;
    }

    .hero-nav--next {
        right: 1rem;
    }
}

@media (max-width: 640px) {
    .hero-slider {
        border-radius: 1.15rem;
        max-width: 420px;
        margin: 0 auto;
    }

    .hero-slide {
        padding: 1.1rem 0.85rem 2.4rem;
        gap: 0.8rem;
    }

    .hero-title {
        font-size: 1.38rem;
    }

    .hero-desc {
        font-size: 0.84rem;
    }

    .hero-kicker-dots {
        margin-bottom: 0.6rem;
    }

    .hero-kicker-dots span {
        width: 0.45rem;
        height: 0.45rem;
    }

    .hero-kicker-dots span.is-active {
        width: 1.6rem;
    }

    .hero-btn {
        width: 100%;
        font-size: 0.78rem;
        padding: 0.6rem 0.9rem;
    }

    .hero-inline-actions {
        flex-direction: column;
    }

    .hero-primary-cta,
    .hero-welcome-block {
        margin-top: 1rem;
    }

    .hero-slide__visual {
        display: none;
    }

    .hero-steps-card,
    .hero-proof-grid,
    .hero-comparison,
    .hero-pillars,
    .hero-material-stack {
        width: 100%;
    }

    .hero-proof-grid {
        grid-template-columns: 1fr;
    }

    .hero-sheet {
        width: 49%;
        height: 6.7rem;
        font-size: 0.75rem;
    }

    .hero-nav {
        width: 2.1rem;
        height: 2.1rem;
    }

    .hero-dots {
        bottom: 0.6rem;
    }
}

@keyframes heroFloatIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroGlow {
    0%, 100% { box-shadow: 0 16px 32px rgba(41, 182, 76, 0.22); }
    50% { box-shadow: 0 20px 40px rgba(41, 182, 76, 0.32); }
}

.hero-slide.is-active .hero-slide__content > * {
    animation: heroFloatIn 0.7s ease both;
}

.hero-slide.is-active .hero-slide__visual > * {
    animation: heroFloatIn 0.85s ease both;
}

.hero-btn--main {
    animation: heroGlow 4s ease-in-out infinite;
}

@media (max-width: 640px) {
    .hero-steps-card,
    .hero-proof-grid,
    .hero-comparison,
    .hero-pillars,
    .hero-material-stack {
        gap: 0.6rem;
    }

    .hero-proof-banner {
        font-size: 1.25rem;
        padding: 0.85rem 1rem;
    }

    .hero-pillars span,
    .hero-material-stack div {
        padding: 0.7rem 0.8rem;
        font-size: 0.85rem;
    }
}

html[data-theme="dark"] .hero-slider-section {
    background: linear-gradient(105deg, #131b2b 0%, #131b2b 38%, #1b2740 38%, #1b2740 100%);
}

html[data-theme="dark"] .hero-slider {
    background: color-mix(in srgb, var(--app-surface) 90%, #11172a);
}

html[data-theme="dark"] .hero-title {
    color: #eff4ff;
}

html[data-theme="dark"] .hero-desc,
html[data-theme="dark"] .hero-welcome-copy {
    color: #b8c5da;
}

html[data-theme="dark"] .hero-step,
html[data-theme="dark"] .hero-proof-card,
html[data-theme="dark"] .hero-pillars span,
html[data-theme="dark"] .hero-material-stack div,
html[data-theme="dark"] .hero-sheet--bad,
html[data-theme="dark"] .hero-sheet--good {
    background: #1d273b;
    border-color: #33435f;
}

html[data-theme="dark"] .hero-step strong,
html[data-theme="dark"] .hero-proof-card strong,
html[data-theme="dark"] .hero-pillars span,
html[data-theme="dark"] .hero-material-stack div {
    color: #d8e2f3;
}

html[data-theme="dark"] .hero-step p,
html[data-theme="dark"] .hero-proof-card small {
    color: #9aacc8;
}

html[data-theme="dark"] .hero-proof-card p {
    background: rgba(117, 65, 221, 0.24);
}

html[data-theme="dark"] .hero-nav {
    background: #1f2a40;
    border-color: #344663;
    color: #dbe7fb;
}

/* Counselling packages */
.counselling-section {
    background: radial-gradient(circle at top, rgba(41, 182, 76, 0.08), transparent 55%), var(--app-surface);
}

.plan-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--brand-muted);
}

.plan-grid {
    display: grid;
    gap: 1.75rem;
}

@media (min-width: 960px) {
    .plan-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.plan-card {
    --plan-accent: var(--brand);
    background: var(--app-surface);
    border: 1px solid var(--app-border);
    border-radius: 1.5rem;
    padding: 1.75rem 1.7rem;
    box-shadow: 0 20px 45px var(--app-shadow);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    overflow: hidden;
    min-height: 100%;
}

.plan-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--plan-accent), color-mix(in srgb, var(--plan-accent) 60%, transparent));
}

.plan-card__top {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.plan-card__tier {
    align-self: flex-start;
    padding: 0.2rem 0.75rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--plan-accent) 12%, var(--brand-white));
    color: var(--plan-accent);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.plan-card__title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--app-text);
}

.plan-card__desc {
    color: var(--app-text-muted);
    font-size: 0.98rem;
    line-height: 1.5;
}

.plan-list {
    display: grid;
    gap: 0.6rem;
    color: var(--app-text);
    font-weight: 600;
}

.plan-list li {
    display: flex;
    gap: 0.55rem;
    align-items: flex-start;
    font-weight: 600;
}

.plan-list li::before {
    content: ">";
    color: var(--plan-accent);
    font-weight: 800;
}

.plan-card__price {
    margin-top: auto;
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--plan-accent);
}

.plan-card__foot {
    color: var(--app-text-muted);
    font-size: 0.9rem;
    font-weight: 600;
}

.plan-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.5rem;
    padding: 0.75rem 1.1rem;
    border-radius: 0.85rem;
    font-weight: 700;
    color: var(--brand-white);
    background: var(--plan-accent);
    box-shadow: 0 12px 25px color-mix(in srgb, var(--plan-accent) 35%, transparent);
    text-decoration: none;
}

.plan-cta:hover {
    transform: translateY(-1px);
}

.plan-card--tier1 {
    --plan-accent: #1d7739;
}

.plan-card--tier2 {
    --plan-accent: #1f4c9c;
}

.plan-card--tier3 {
    --plan-accent: #5b2b82;
}

html[data-theme="dark"] .counselling-section {
    background: radial-gradient(circle at top, rgba(41, 182, 76, 0.12), transparent 60%), var(--app-bg);
}

/* Top college logo marquee */
.college-strip-section {
    background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 5%, var(--brand-white)), var(--app-surface));
}

.college-marquee {
    position: relative;
    overflow: hidden;
    border-radius: 1.2rem;
    border: 1px solid var(--app-border-soft);
    background: color-mix(in srgb, var(--app-surface) 90%, var(--brand-white));
    box-shadow: 0 18px 40px var(--app-shadow);
    padding: 1rem 0;
}

.college-marquee__track {
    display: flex;
    width: max-content;
    animation: collegeSlide 24s linear infinite;
}

.college-marquee:hover .college-marquee__track {
    animation-play-state: paused;
}

.college-marquee__group {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 0 1.2rem;
}

.college-chip {
    flex: 0 0 auto;
    width: 120px;
    border-radius: 0.95rem;
    background: color-mix(in srgb, var(--app-surface-muted) 82%, var(--app-surface));
    border: 1px solid var(--app-border);
    padding: 0.65rem 0.55rem;
    display: grid;
    justify-items: center;
    gap: 0.45rem;
}

.college-chip img {
    width: 54px;
    height: 54px;
    object-fit: contain;
    filter: grayscale(0.35);
}

.college-chip span {
    font-size: 0.73rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 800;
    color: var(--app-text-soft);
    text-align: center;
}

.college-marquee__fade {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 3rem;
    z-index: 3;
    pointer-events: none;
}

.college-marquee__fade--left {
    left: 0;
    background: linear-gradient(90deg, var(--app-surface), transparent);
}

.college-marquee__fade--right {
    right: 0;
    background: linear-gradient(270deg, var(--app-surface), transparent);
}

@keyframes collegeSlide {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 767px) {
    .college-chip {
        width: 102px;
    }

    .college-chip img {
        width: 46px;
        height: 46px;
    }
}

html[data-theme="dark"] .college-strip-section {
    background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 10%, var(--app-bg)), var(--app-bg));
}

html[data-theme="dark"] .college-marquee {
    background: color-mix(in srgb, var(--app-surface) 88%, #0b1220);
}

html[data-theme="dark"] .college-chip {
    background: color-mix(in srgb, var(--app-surface-muted) 90%, #0b1220);
}

html[data-theme="dark"] .college-marquee__fade--left {
    background: linear-gradient(90deg, var(--app-surface), transparent);
}

html[data-theme="dark"] .college-marquee__fade--right {
    background: linear-gradient(270deg, var(--app-surface), transparent);
}
