/* EduPath USA — Vibrant 3D Design System */

:root {
    --purple: #7c3aed;
    --purple-dark: #5b21b6;
    --pink: #ec4899;
    --cyan: #06b6d4;
    --orange: #f97316;
    --green: #10b981;
    --yellow: #fbbf24;
    --indigo: #4f46e5;

    --gradient-main: linear-gradient(135deg, #7c3aed 0%, #ec4899 50%, #f97316 100%);
    --gradient-soft: linear-gradient(135deg, rgba(124,58,237,0.08) 0%, rgba(236,72,153,0.08) 50%, rgba(6,182,212,0.08) 100%);
    --gradient-hero: linear-gradient(135deg, #1e1b4b 0%, #312e81 40%, #581c87 100%);

    --color-bg: #faf8ff;
    --color-surface: #ffffff;
    --color-text: #1e1b4b;
    --color-text-muted: #64748b;
    --color-border: rgba(124, 58, 237, 0.12);

    --font-sans: 'Outfit', system-ui, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;

    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
    --shadow: 0 8px 32px rgba(124, 58, 237, 0.12);
    --shadow-lg: 0 20px 60px rgba(124, 58, 237, 0.2);
    --perspective: 1000px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.65;
    color: var(--color-text);
    background: var(--color-bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple); }

/* Floating 3D background shapes */
.bg-shapes {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    animation: floatShape 20s ease-in-out infinite;
}

.shape-1 {
    width: 400px; height: 400px;
    background: var(--purple);
    top: -100px; right: -100px;
}

.shape-2 {
    width: 350px; height: 350px;
    background: var(--pink);
    bottom: 20%; left: -80px;
    animation-delay: -7s;
}

.shape-3 {
    width: 300px; height: 300px;
    background: var(--cyan);
    top: 50%; right: 10%;
    animation-delay: -14s;
}

@keyframes floatShape {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -40px) scale(1.1); }
    66% { transform: translate(-20px, 30px) scale(0.95); }
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--color-border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.logo-name {
    font-size: 1rem;
    font-weight: 800;
}

.logo-domain {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--purple);
    letter-spacing: 0.02em;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--color-text);
    font-weight: 800;
    font-size: 1.2rem;
    z-index: 201;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    perspective: 400px;
    animation: logoFloat 4s ease-in-out infinite;
}

.logo-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 6px rgba(124, 58, 237, 0.25));
    transition: transform 0.4s ease, filter 0.4s ease;
}

.logo:hover .logo-icon {
    animation-play-state: paused;
}

.logo:hover .logo-img {
    transform: scale(1.12) rotateY(15deg);
    filter: drop-shadow(0 4px 12px rgba(251, 191, 36, 0.45));
}

.footer-logo .logo-icon {
    width: 44px;
    height: 44px;
    animation: logoFloatFooter 4s ease-in-out infinite;
}

.footer-logo .logo-img {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 2px 8px rgba(251, 191, 36, 0.35));
}

.footer-logo:hover .logo-icon {
    animation-play-state: paused;
}

.footer-logo:hover .logo-img {
    transform: scale(1.15) rotateY(20deg);
    filter: drop-shadow(0 4px 14px rgba(251, 191, 36, 0.55));
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0) rotateY(0deg);
    }
    25% {
        transform: translateY(-3px) rotateY(8deg);
    }
    50% {
        transform: translateY(-6px) rotateY(0deg);
    }
    75% {
        transform: translateY(-3px) rotateY(-8deg);
    }
}

@keyframes logoFloatFooter {
    0%, 100% {
        transform: translateY(0) rotateY(0deg);
    }
    50% {
        transform: translateY(-5px) rotateY(12deg);
    }
}

.footer-logo .logo-name {
    color: #fff;
    font-size: 1rem;
}

.logo-3d {
    font-size: 1.75rem;
    display: inline-block;
    animation: logoSpin 6s ease-in-out infinite;
    transform-style: preserve-3d;
}

@keyframes logoSpin {
    0%, 100% { transform: rotateY(0deg) scale(1); }
    50% { transform: rotateY(180deg) scale(1.1); }
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.main-nav a {
    text-decoration: none;
    color: var(--color-text-muted);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.5rem 0.85rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--purple);
    background: rgba(124, 58, 237, 0.08);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 201;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.75rem;
    border-radius: 50px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-glow {
    background: var(--gradient-main);
    color: #fff !important;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-glow:hover {
    color: #fff !important;
    background: var(--gradient-main);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(236, 72, 153, 0.5);
}

/* White button for use on gradient/dark backgrounds */
.btn-white {
    background: #fff !important;
    color: var(--purple-dark) !important;
    text-shadow: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
    border: 2px solid #fff;
}

.btn-white:hover {
    background: #fff !important;
    color: var(--purple-dark) !important;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
}

/* Nav button must override .main-nav a gray text */
.main-nav a.btn-glow,
.main-nav a.btn-glow:hover,
.main-nav a.btn-glow:focus {
    color: #fff !important;
    background: var(--gradient-main);
}

.main-nav a.btn-glow:hover {
    background: var(--gradient-main);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 24px rgba(124, 58, 237, 0.45);
}

.btn-primary {
    background: var(--gradient-main);
    color: #fff !important;
    border: none;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--purple);
    border-color: var(--purple);
}

.btn-outline:hover {
    background: var(--purple);
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    background: transparent;
    color: var(--purple);
    border: 2px solid var(--purple);
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.btn-outline-sm:hover { background: var(--purple); color: #fff; }

.btn-sm { padding: 0.55rem 1.25rem; font-size: 0.875rem; }
.btn-lg { padding: 1rem 2.25rem; font-size: 1.1rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }

main { position: relative; z-index: 1; }

/* Badges */
.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.badge-rainbow { background: var(--gradient-main); color: #fff; }
.badge-purple { background: rgba(124,58,237,0.15); color: var(--purple); }
.badge-pink { background: rgba(236,72,153,0.15); color: var(--pink); }
.badge-cyan { background: rgba(6,182,212,0.15); color: #0891b2; }
.badge-orange { background: rgba(249,115,22,0.15); color: var(--orange); }
.badge-green { background: rgba(16,185,129,0.15); color: var(--green); }

/* 3D Card effect */
.card-3d {
    transform-style: preserve-3d;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    will-change: transform;
}

.card-3d:hover {
    box-shadow: var(--shadow-lg);
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }

/* Hero */
.hero {
    position: relative;
    padding: 4rem 0 5rem;
    overflow: hidden;
}

.hero-bg-img {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-soft);
    z-index: 0;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content h1 {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.hero-content h1 em {
    font-style: italic;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-lead {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    max-width: 480px;
}

.hero-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.hero-features li {
    padding-left: 1.75rem;
    position: relative;
    font-weight: 600;
}

.hero-features li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--pink);
    font-size: 0.9rem;
}

.hero-avatars {
    display: flex;
    align-items: center;
    gap: 0;
}

.hero-avatars .avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid #fff;
    margin-left: -10px;
    object-fit: cover;
    box-shadow: var(--shadow);
}

.hero-avatars .avatar:first-child { margin-left: 0; }

.hero-avatars span {
    margin-left: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text-muted);
}

/* 3D Image wrapper */
.hero-img-3d {
    perspective: var(--perspective);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform-style: preserve-3d;
    animation: imgFloat 6s ease-in-out infinite;
}

.hero-img-3d img {
    width: 100%;
    transition: transform 0.5s ease;
}

@keyframes imgFloat {
    0%, 100% { transform: translateY(0) rotateX(2deg); }
    50% { transform: translateY(-12px) rotateX(-2deg); }
}

/* Form Card */
.form-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transform-style: preserve-3d;
}

.form-card h2 {
    font-size: 1.5rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-subtitle { color: var(--color-text-muted); font-size: 0.9rem; margin-bottom: 1.5rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1rem; }

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.req { color: var(--pink); }

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    background: #fff;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--purple);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.15);
}

.form-group input.invalid,
.form-group select.invalid { border-color: #ef4444; }

.field-error { display: block; color: #ef4444; font-size: 0.8rem; margin-top: 0.25rem; }

.consent-group { margin: 1.25rem 0; }

.checkbox-label {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    font-size: 0.78rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    cursor: pointer;
}

.checkbox-label input { width: auto; margin-top: 0.2rem; flex-shrink: 0; }
.checkbox-label a { color: var(--purple); }

.form-security-note {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    justify-content: center;
    margin-top: 1rem;
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.alert { padding: 0.85rem 1rem; border-radius: var(--radius-sm); margin-bottom: 1rem; font-size: 0.9rem; }
.alert-error { background: #fef2f2; color: #ef4444; border: 1px solid #fecaca; }

/* Sections */
.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    text-align: center;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.section-cta { text-align: center; margin-top: 2.5rem; }

.bg-gradient-soft { background: var(--gradient-soft); }

/* Programs grid (home) */
.programs { padding: 5rem 0; }

.program-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.program-card {
    background: var(--color-surface);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.program-card-img {
    height: 160px;
    overflow: hidden;
}

.program-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.program-card:hover .program-card-img img { transform: scale(1.08); }

.program-card-body { padding: 1.25rem; }

.program-card-body h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.program-card-body p { font-size: 0.875rem; color: var(--color-text-muted); margin-bottom: 0.75rem; }

.card-link {
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--purple);
}

/* Campus showcase */
.campus-showcase {
    padding: 5rem 0;
    background: var(--gradient-hero);
    color: #fff;
}

.campus-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.campus-images {
    position: relative;
}

.campus-img-main {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.campus-img-main img {
    width: 100%;
    height: auto;
    display: block;
}

.campus-img-float {
    position: absolute;
    bottom: 1.25rem;
    right: 1.25rem;
    width: 42%;
    max-width: 190px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    background: #fff;
    transform: rotate(3deg);
    transition: transform 0.3s ease;
    z-index: 2;
}

.campus-img-main:hover .campus-img-float {
    transform: rotate(0deg) scale(1.03);
}

.campus-img-float img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    display: block;
}

.campus-float-caption {
    display: block;
    padding: 0.45rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-text);
    background: #fff;
    text-align: center;
    letter-spacing: 0.02em;
}

.campus-text h2 {
    font-family: var(--font-serif);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.campus-text p {
    opacity: 0.92;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
}

.campus-showcase .badge-cyan {
    background: rgba(6, 182, 212, 0.3);
    color: #a5f3fc;
}

.campus-showcase .btn-glow {
    color: #fff !important;
}

/* How it works */
.how-it-works { padding: 5rem 0; }

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.step {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--color-surface);
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--gradient-main);
    color: #fff;
    border-radius: 50%;
    font-weight: 800;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.35);
}

.step h3 { margin-bottom: 0.5rem; }
.step p { color: var(--color-text-muted); font-size: 0.95rem; }

/* Trust bar */
.trust-bar {
    background: var(--gradient-main);
    color: #fff;
    padding: 2.5rem 0;
}

.trust-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    text-align: center;
}

.trust-item strong {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.trust-item span { font-size: 0.85rem; opacity: 0.9; }

/* Page heroes (inner pages) */
.page-hero {
    padding: 4rem 0 3rem;
    position: relative;
    overflow-x: clip;
    overflow-y: visible;
}

.page-hero-about { background: linear-gradient(135deg, #ede9fe, #fce7f3); }
.page-hero-programs { background: linear-gradient(135deg, #cffafe, #ede9fe); }
.page-hero-process { background: linear-gradient(135deg, #ffedd5, #fce7f3); }
.page-hero-faq { background: linear-gradient(135deg, #fce7f3, #ede9fe); }
.page-hero-contact { background: linear-gradient(135deg, #d1fae5, #cffafe); }

.page-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.page-hero-text,
.page-hero-visual {
    min-width: 0;
}

.page-hero-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    max-width: 100%;
}

.page-hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

.page-hero-inner.centered {
    grid-template-columns: 1fr;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.page-hero-text h1 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.page-hero-text h1 em {
    font-style: italic;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-hero-text p { color: var(--color-text-muted); font-size: 1.1rem; }

/* Content sections */
.content-section { padding: 4rem 0; }

.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.split-content h2 {
    font-family: var(--font-serif);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.split-content p {
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.img-rounded { border-radius: var(--radius-lg); }
.img-shadow { box-shadow: var(--shadow-lg); }

/* Stats */
.stats-section { padding: 3rem 0; }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.stat-card {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--color-surface);
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
}

.stat-num {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label { font-size: 0.9rem; color: var(--color-text-muted); font-weight: 600; }

/* Values */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.value-card {
    padding: 1.75rem;
    background: var(--color-surface);
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    text-align: center;
}

.value-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.value-card h3 { margin-bottom: 0.5rem; font-size: 1.05rem; }
.value-card p { font-size: 0.875rem; color: var(--color-text-muted); }

/* Program showcase (programs page) */
.program-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.program-showcase-card {
    background: var(--color-surface);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.psc-image { position: relative; height: 200px; overflow: hidden; }
.psc-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.program-showcase-card:hover .psc-image img { transform: scale(1.06); }

.psc-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #fff;
}

.tag-purple { background: var(--purple); }
.tag-pink { background: var(--pink); }
.tag-cyan { background: var(--cyan); }
.tag-orange { background: var(--orange); }
.tag-green { background: var(--green); }

.psc-body { padding: 1.5rem; }
.psc-body h3 { margin-bottom: 0.5rem; }
.psc-body p { color: var(--color-text-muted); font-size: 0.9rem; margin-bottom: 0.75rem; }

.psc-list {
    list-style: none;
    margin-bottom: 1rem;
}

.psc-list li {
    padding: 0.25rem 0 0.25rem 1.25rem;
    position: relative;
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.psc-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--purple);
}

/* Degree types */
.degree-types { padding: 4rem 0; }

.degree-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.degree-item {
    padding: 1.75rem;
    background: var(--color-surface);
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    text-align: center;
}

.degree-abbr {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.degree-item h4 { margin-bottom: 0.4rem; }
.degree-item p { font-size: 0.875rem; color: var(--color-text-muted); }

/* Timeline */
.timeline-section { padding: 4rem 0; }

.timeline { max-width: 800px; margin: 0 auto; }

.timeline-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
    align-items: flex-start;
}

.timeline-marker { flex-shrink: 0; }

.timeline-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--gradient-main);
    color: #fff;
    border-radius: 50%;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.35);
}

.timeline-content {
    flex: 1;
    background: var(--color-surface);
    border-radius: var(--radius);
    padding: 1.75rem;
    border: 1px solid var(--color-border);
}

.timeline-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
}

.timeline-content h3 { margin-bottom: 0.5rem; }
.timeline-content p { color: var(--color-text-muted); font-size: 0.95rem; margin-bottom: 0.75rem; }

.check-list { list-style: none; }
.check-list li {
    padding: 0.25rem 0 0.25rem 1.5rem;
    position: relative;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--purple);
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 800;
}

/* Features grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-box {
    padding: 1.75rem;
    background: var(--color-surface);
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    text-align: center;
}

.feature-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.icon-purple { background: rgba(124,58,237,0.15); }
.icon-pink { background: rgba(236,72,153,0.15); }
.icon-cyan { background: rgba(6,182,212,0.15); }
.icon-orange { background: rgba(249,115,22,0.15); }

.feature-box h4 { margin-bottom: 0.4rem; }
.feature-box p { font-size: 0.875rem; color: var(--color-text-muted); }

/* FAQ */
.faq-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 2.5rem;
    align-items: start;
}

.faq-img { margin-bottom: 1.5rem; }

.faq-sidebar-box {
    padding: 1.5rem;
    background: var(--color-surface);
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
}

.faq-sidebar-box h4 { margin-bottom: 0.5rem; }
.faq-sidebar-box p { font-size: 0.9rem; color: var(--color-text-muted); margin-bottom: 1rem; }

.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }

.faq-item {
    background: var(--color-surface);
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
    overflow: hidden;
}

.faq-item summary {
    padding: 1.15rem 1.5rem;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background var(--transition);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: '+';
    font-size: 1.25rem;
    color: var(--purple);
    font-weight: 800;
    transition: transform var(--transition);
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item summary:hover { background: rgba(124, 58, 237, 0.05); }

.faq-item p {
    padding: 0 1.5rem 1.15rem;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.contact-card {
    padding: 1.5rem;
    background: var(--color-surface);
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.contact-card h3 { margin-bottom: 0.35rem; font-size: 1rem; }
.contact-card p { font-size: 0.875rem; color: var(--color-text-muted); margin-bottom: 0.5rem; }
.contact-card a { font-weight: 700; text-decoration: none; color: var(--purple); }

.contact-map {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 1.25rem;
}

.contact-map-img { width: 100%; height: 280px; object-fit: cover; }

.contact-map-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(30, 27, 75, 0.9));
    color: #fff;
}

.contact-map-overlay h3 { margin-bottom: 0.25rem; }
.contact-map-overlay p { font-size: 0.875rem; opacity: 0.85; }

.contact-quick-links {
    padding: 1.5rem;
    background: var(--color-surface);
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
}

.contact-quick-links h3 { margin-bottom: 0.75rem; }
.contact-quick-links ul { list-style: none; }
.contact-quick-links li { margin-bottom: 0.4rem; }
.contact-quick-links a { text-decoration: none; color: var(--color-text-muted); font-size: 0.9rem; font-weight: 600; transition: color var(--transition); }
.contact-quick-links a:hover { color: var(--purple); }

/* Photo gallery */
.gallery-section { padding: 4rem 0; }

.photo-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img { transform: scale(1.1); }

/* CTA Banner */
.cta-banner {
    padding: 4rem 0;
    margin: 2rem 0 0;
}

.cta-banner-inner {
    text-align: center;
    padding: 3.5rem 2rem;
    background: var(--gradient-main);
    border-radius: var(--radius-lg);
    color: #fff;
    box-shadow: var(--shadow-lg);
}

.cta-banner-inner h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    margin-bottom: 0.75rem;
}

.cta-banner-inner p {
    opacity: 0.95;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    color: #fff;
}

.cta-banner-inner .btn-glow,
.cta-banner-inner .btn-white {
    background: #fff !important;
    color: var(--purple-dark) !important;
    text-shadow: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
    border: 2px solid #fff;
}

.cta-banner-inner .btn-glow:hover,
.cta-banner-inner .btn-white:hover {
    background: #fff !important;
    color: var(--purple-dark) !important;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
}

/* Thank you & Legal */
.thank-you-page {
    padding: 4rem 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.thank-you-card {
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
    background: var(--color-surface);
    padding: 3rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
}

.success-icon {
    width: 72px;
    height: 72px;
    background: var(--gradient-main);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    animation: successPop 0.6s ease;
}

@keyframes successPop {
    0% { transform: scale(0); }
    60% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

.thank-you-card h1 {
    font-family: var(--font-serif);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.thank-you-card p { color: var(--color-text-muted); margin-bottom: 1.5rem; }

.next-steps { list-style: none; text-align: left; margin-bottom: 2rem; }
.next-steps li { padding: 0.5rem 0 0.5rem 1.5rem; position: relative; }
.next-steps li::before { content: '→'; position: absolute; left: 0; color: var(--purple); font-weight: 800; }

.legal-page { padding: 3rem 0 4rem; }
.legal-page h1 { font-family: var(--font-serif); font-size: 2.25rem; margin-bottom: 0.5rem; }
.legal-updated { color: var(--color-text-muted); margin-bottom: 2rem; }
.legal-content h2 { font-size: 1.25rem; margin: 2rem 0 0.75rem; color: var(--purple); }
.legal-content p, .legal-content ul { color: var(--color-text-muted); margin-bottom: 1rem; }
.legal-content ul { padding-left: 1.5rem; }
.legal-content li { margin-bottom: 0.35rem; }
.legal-page .btn { margin-top: 2rem; }

/* Footer */
.site-footer {
    background: var(--gradient-hero);
    color: rgba(255, 255, 255, 0.85);
    padding: 3.5rem 0 0;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 2rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo { color: #fff; margin-bottom: 0.75rem; }
.footer-brand p { font-size: 0.9rem; opacity: 0.75; margin-bottom: 1rem; }

.footer-social { display: flex; gap: 0.5rem; }

.social-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    transition: background var(--transition);
}

.social-dot:hover { background: var(--pink); }

.footer-col h4 {
    color: #fff;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.footer-col a {
    display: block;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    transition: color var(--transition);
}

.footer-col a:hover { color: #fff; }

.footer-cta p { font-size: 0.875rem; opacity: 0.75; margin-bottom: 1rem; }

.footer-cta .btn-glow,
.footer-cta .btn-glow:hover {
    color: #fff !important;
    background: var(--gradient-main);
}

.footer-bottom {
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.85;
    color: rgba(255, 255, 255, 0.9);
}

.disclaimer {
    margin-top: 0.35rem;
    font-size: 0.78rem;
    opacity: 0.75;
    color: rgba(255, 255, 255, 0.8);
}

.btn-outline:hover,
.btn-outline-sm:hover {
    color: #fff !important;
}

.faq-item p a {
    color: var(--purple-dark);
    font-weight: 600;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-grid, .page-hero-inner, .split-grid, .campus-grid { grid-template-columns: 1fr; }
    .program-grid, .values-grid, .stats-grid, .degree-grid, .features-grid { grid-template-columns: repeat(2, 1fr); }
    .program-showcase { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .faq-layout { grid-template-columns: 1fr; }
    .photo-gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        padding: 5rem 1.5rem 2rem;
        box-shadow: -8px 0 32px rgba(0,0,0,0.1);
        transition: right var(--transition);
        z-index: 200;
        gap: 0.25rem;
    }

    .main-nav.open { right: 0; }

    .main-nav a { padding: 0.85rem 1rem; }

    .steps-grid, .trust-inner { grid-template-columns: 1fr 1fr; }
    .contact-grid, .contact-info { grid-template-columns: 1fr; }
    .campus-img-float {
        bottom: 0.75rem;
        right: 0.75rem;
        max-width: 150px;
    }

    .campus-img-float img { height: 90px; }
}

@media (max-width: 480px) {
    .form-row { grid-template-columns: 1fr; }
    .program-grid, .values-grid, .stats-grid, .degree-grid, .features-grid, .steps-grid, .trust-inner, .photo-gallery { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; }
    .form-card { padding: 1.25rem; }
}
