/* ============================================
   DMAA - Duhaney Millen & Associates
   Premium Online School Stylesheet
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;0,9..144,700;1,9..144,400&family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* ============================================
   CSS Custom Properties
   ============================================ */
:root {
    /* Primary Colors */
    --navy: #0a1628;
    --navy-light: #132038;
    --navy-dark: #060e1a;
    --gold: #d4a853;
    --gold-light: #e8c878;
    --gold-dark: #b8923f;
    --purple: #1a0f3c;
    --purple-light: #2d1a6e;

    /* Accent Colors */
    --accent-blue: #3b82f6;
    --accent-teal: #14b8a6;

    /* Text Colors */
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-dark: #1e293b;

    /* Background & Glass */
    --bg-card: rgba(19, 32, 56, 0.7);
    --bg-glass: rgba(255, 255, 255, 0.05);
    --border-glass: rgba(255, 255, 255, 0.1);

    /* Status Colors */
    --success: #22c55e;
    --warning: #f59e0b;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    --spacing-4xl: 6rem;

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50px;
    --radius-circle: 50%;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-spring: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-gold: 0 4px 20px rgba(212, 168, 83, 0.3);
    --shadow-gold-lg: 0 8px 40px rgba(212, 168, 83, 0.4);
}

/* ============================================
   Reset & Base
   ============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--navy-dark);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background-color: var(--gold);
    color: var(--navy-dark);
}

::-moz-selection {
    background-color: var(--gold);
    color: var(--navy-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-base);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: inherit;
    font-size: inherit;
    background: none;
    color: inherit;
}

input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    outline: none;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
}

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

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

h5 {
    font-size: 1.125rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.text-gradient {
    background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-label {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: inline-block;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
    font-family: 'Outfit', sans-serif;
}

.section-subtitle {
    color: var(--text-secondary);
    max-width: 600px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.section-subtitle.centered {
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   Layout
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
    position: relative;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: rgba(10, 22, 40, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    padding: 0.75rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 1001;
}

.navbar-logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.navbar-logo span {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color var(--transition-base);
    position: relative;
    padding: 0.25rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-base);
    border-radius: 1px;
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-links a.active {
    color: var(--gold);
}

.nav-cta {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--navy-dark) !important;
    padding: 0.55rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.85rem;
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
}

.nav-cta:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-gold);
    color: var(--navy-dark) !important;
}

.nav-cta::after {
    display: none !important;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 2.5px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-base);
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

/* Mobile Only Utility */
.mobile-only {
    display: none !important;
}

/* Mobile Navigation Overlay */
.nav-mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 14, 26, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 999;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.nav-mobile-overlay.active {
    display: flex;
    opacity: 1;
}

.nav-mobile-overlay a {
    font-family: 'Outfit', sans-serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: color var(--transition-base);
}

.nav-mobile-overlay a:hover {
    color: var(--gold);
}


/* ============================================
   Hero Section
   ============================================ */
.hero {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(6, 14, 26, 0.7) 0%,
        rgba(10, 22, 40, 0.85) 40%,
        rgba(10, 22, 40, 0.95) 70%,
        var(--navy-dark) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-glass);
    border: 1px solid rgba(212, 168, 83, 0.3);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: var(--gold-light);
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero-badge i,
.hero-badge .icon {
    font-size: 0.9rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.hero-highlight {
    background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--navy-dark);
    padding: 0.8rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition-base);
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold-lg);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--gold);
    padding: 0.8rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid var(--gold);
    transition: all var(--transition-base);
    cursor: pointer;
    text-decoration: none;
}

.btn-secondary:hover {
    background: var(--gold);
    color: var(--navy-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

.btn-secondary:active {
    transform: translateY(-1px);
}

.btn-sm {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 1.15rem 3rem;
    font-size: 1.05rem;
}

/* Hero Stats */
.hero-stats {
    width: 100%;
    margin-top: 3rem;
    padding: 1.5rem 2.5rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .hero-stats {
        padding: 1.25rem;
    }
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1.2;
    display: inline;
}

.stat-suffix {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1.2;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

/* Floating decorative elements */
.hero-float {
    position: absolute;
    border-radius: var(--radius-circle);
    background: linear-gradient(135deg, rgba(212, 168, 83, 0.15), rgba(212, 168, 83, 0.05));
    border: 1px solid rgba(212, 168, 83, 0.1);
    animation: float 6s ease-in-out infinite;
}

.hero-float:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.hero-float:nth-child(2) {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 8%;
    animation-delay: 2s;
}

.hero-float:nth-child(3) {
    width: 60px;
    height: 60px;
    bottom: 25%;
    left: 15%;
    animation-delay: 4s;
}

/* ============================================
   Cards
   ============================================ */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 168, 83, 0.3), transparent);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 168, 83, 0.2);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(212, 168, 83, 0.1);
}

.card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-circle);
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--navy-dark);
    flex-shrink: 0;
}

/* Feature Card */
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 168, 83, 0.2);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
}

.feature-card .card-icon {
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.feature-card p {
    font-size: 0.95rem;
}

/* Course Card */
.course-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
}

.course-card:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 168, 83, 0.2);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
}

.course-card .course-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.course-card:hover .course-image {
    transform: scale(1.05);
}

.course-card .course-image-wrapper {
    overflow: hidden;
    height: 200px;
}

.course-card .course-content {
    padding: 1.5rem;
}

.course-card .course-tag {
    display: inline-block;
    padding: 0.3rem 0.85rem;
    border-radius: var(--radius-full);
    background: rgba(212, 168, 83, 0.15);
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.course-card .course-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-family: 'Outfit', sans-serif;
}

.course-card .course-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.course-card .course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-glass);
}

.course-card .course-price {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
}

.course-card .course-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Team Card */
.team-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-base);
}

.team-card:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 168, 83, 0.2);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
}

.team-card img {
    width: 150px;
    height: 150px;
    border-radius: var(--radius-circle);
    border: 3px solid var(--gold);
    object-fit: cover;
    margin: 0 auto 1.25rem;
    transition: all var(--transition-base);
}

.team-card:hover img {
    border-color: var(--gold-light);
    box-shadow: 0 0 20px rgba(212, 168, 83, 0.3);
}

.team-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.team-card .team-role {
    color: var(--gold);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.team-card .team-bio {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.team-card .team-socials {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

.team-card .team-socials a {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-circle);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: all var(--transition-base);
}

.team-card .team-socials a:hover {
    background: var(--gold);
    color: var(--navy-dark);
    border-color: var(--gold);
}

/* ============================================
   Values / Features Grid
   ============================================ */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.value-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.value-card:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 168, 83, 0.2);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
}

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

.value-card .value-number {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(212, 168, 83, 0.1);
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    line-height: 1;
}

.value-card .card-icon {
    margin-bottom: 1.25rem;
}

.value-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.value-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* ============================================
   Testimonials
   ============================================ */
.testimonials-wrapper {
    overflow: hidden;
    position: relative;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.testimonial-btn {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-circle);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
}

.testimonial-btn:hover {
    background: var(--gold);
    color: var(--navy-dark);
    border-color: var(--gold);
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all var(--transition-base);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 168, 83, 0.15);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
}

.testimonial-card .quote-icon {
    font-size: 2.5rem;
    color: rgba(212, 168, 83, 0.2);
    margin-bottom: 1rem;
    line-height: 1;
}

.testimonial-card .testimonial-text {
    font-style: italic;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
    color: var(--gold);
    font-size: 0.95rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-glass);
}

.testimonial-author img {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-circle);
    object-fit: cover;
    border: 2px solid rgba(212, 168, 83, 0.3);
}

.testimonial-author .author-info h4 {
    font-size: 1rem;
    margin-bottom: 0.15rem;
}

.testimonial-author .author-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
}

/* ============================================
   Schedule / Timetable
   ============================================ */
.schedule-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.schedule-table th {
    background: var(--navy-light);
    color: var(--gold);
    padding: 1rem 1.25rem;
    text-align: left;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

.schedule-table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-glass);
    font-size: 0.95rem;
    color: var(--text-secondary);
    vertical-align: middle;
}

.schedule-table tr:hover td {
    background: var(--bg-glass);
}

.schedule-table tr:last-child td {
    border-bottom: none;
}

.schedule-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.filter-btn {
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-glass);
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-base);
}

.filter-btn:hover {
    color: var(--gold);
    border-color: rgba(212, 168, 83, 0.3);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--navy-dark);
    border-color: var(--gold);
    font-weight: 600;
}

/* ============================================
   Forms
   ============================================ */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 1rem;
    background: var(--navy-light);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: all var(--transition-base);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(148, 163, 184, 0.5);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

.form-select option {
    background: var(--navy-light);
    color: var(--text-primary);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.6;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--gold);
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.form-error {
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 0.35rem;
}

.form-success {
    color: var(--success);
    font-size: 0.85rem;
    margin-top: 0.35rem;
}

/* ============================================
   Contact
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.contact-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    transition: all var(--transition-base);
}

.contact-info-card:hover {
    border-color: rgba(212, 168, 83, 0.2);
    transform: translateY(-3px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-circle);
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy-dark);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-info-card h4 {
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
}

.contact-info-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--navy-dark);
    padding-top: 4rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-glass), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding-bottom: 3rem;
}

.footer-logo,
.footer .navbar-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.footer-logo img,
.footer .navbar-logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.footer-logo span,
.footer .navbar-logo span {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-desc,
.footer-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.footer h4 {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover {
    color: var(--gold);
    transform: translateX(4px);
}

.footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-contact li i {
    width: 16px;
    color: var(--gold);
    flex-shrink: 0;
}

.footer-contact a {
    color: var(--text-secondary);
    transition: color var(--transition-base);
}

.footer-contact a:hover {
    color: var(--gold);
}

.footer-socials {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.social-link {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-circle);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary) !important;
    font-size: 1rem;
    transition: all var(--transition-base);
}

.social-link:hover {
    background: var(--gold) !important;
    color: var(--navy-dark) !important;
    border-color: var(--gold) !important;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid var(--border-glass);
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: var(--text-secondary);
    font-size: 0.85rem;
    transition: color var(--transition-base);
}

.footer-bottom-links a:hover {
    color: var(--gold);
}

/* ============================================
   FAQ
   ============================================ */
.faq-item {
    border-bottom: 1px solid var(--border-glass);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-primary);
    transition: color var(--transition-base);
    user-select: none;
}

.faq-question:hover {
    color: var(--gold);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--gold);
    transition: transform var(--transition-base);
    flex-shrink: 0;
    margin-left: 1rem;
    line-height: 1;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all var(--transition-slow);
}

.faq-answer p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 1.5rem;
}



/* ============================================
   Page Header (Inner Pages)
   ============================================ */
.page-header {
    padding: 8rem 0 5rem;
    text-align: center;
    position: relative;
    background: linear-gradient(160deg, var(--navy-dark) 0%, var(--purple) 45%, #0d1a30 100%);
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 20% 80%, rgba(212, 168, 83, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 80% 20%, rgba(139, 92, 246, 0.15) 0%, transparent 55%);
    pointer-events: none;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header-floats {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.page-float {
    position: absolute;
    font-size: 1.5rem;
    opacity: 0.1;
    color: var(--gold-light);
    animation: pageFloat 8s ease-in-out infinite;
}

.page-float:nth-child(1) { top: 18%; left: 8%; animation-delay: 0s; }
.page-float:nth-child(2) { top: 25%; right: 12%; animation-delay: -2s; font-size: 2rem; }
.page-float:nth-child(3) { bottom: 30%; left: 15%; animation-delay: -4s; }
.page-float:nth-child(4) { bottom: 20%; right: 8%; animation-delay: -1s; font-size: 1.8rem; }
.page-float:nth-child(5) { top: 45%; left: 50%; animation-delay: -3s; font-size: 1.2rem; }

@keyframes pageFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-16px) rotate(6deg); }
}

.page-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(212, 168, 83, 0.12);
    border: 1px solid rgba(212, 168, 83, 0.25);
    color: var(--gold-light);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.45rem 1.1rem;
    border-radius: var(--radius-full);
    margin-bottom: 1.25rem;
}

.page-header h1 {
    font-family: 'Fraunces', 'Outfit', serif;
    font-size: clamp(2.2rem, 5vw, 3.75rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1rem;
    position: relative;
}

.page-header h1 em,
.page-header h1 .text-accent {
    font-style: italic;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-header p {
    color: var(--text-secondary);
    max-width: 580px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.7;
    position: relative;
}

.page-hero-stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem 3rem;
    margin-top: 2.5rem;
}

.page-hero-stat {
    text-align: center;
}

.page-hero-stat-num {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--gold);
    display: block;
    line-height: 1;
}

.page-hero-stat-label {
    font-size: 0.72rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 0.35rem;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    position: relative;
}

.breadcrumb a {
    color: var(--text-secondary);
    transition: color var(--transition-base);
}

.breadcrumb a:hover {
    color: var(--gold);
}

.breadcrumb .separator,
.breadcrumb .breadcrumb-sep {
    color: var(--gold);
    font-size: 0.75rem;
    opacity: 0.7;
}

.breadcrumb .current,
.breadcrumb .breadcrumb-current {
    color: var(--text-primary);
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Animation Classes */
.animate-fadeInUp {
    animation: fadeInUp 0.8s ease forwards;
}

.animate-fadeIn {
    animation: fadeIn 0.6s ease forwards;
}

.animate-slideInLeft {
    animation: slideInLeft 0.8s ease forwards;
}

.animate-slideInRight {
    animation: slideInRight 0.8s ease forwards;
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* Stagger Delays */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal.reveal-left {
    transform: translateX(-30px);
}

.reveal.reveal-left.active {
    transform: translateX(0);
}

.reveal.reveal-right {
    transform: translateX(30px);
}

.reveal.reveal-right.active {
    transform: translateX(0);
}

/* Loading Skeleton */
.skeleton {
    background: linear-gradient(
        90deg,
        var(--bg-glass) 25%,
        rgba(255, 255, 255, 0.08) 50%,
        var(--bg-glass) 75%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-sm);
}

/* ============================================
   Utility Classes
   ============================================ */
.text-gold { color: var(--gold); }
.text-primary { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-success { color: var(--success); }
.text-warning { color: var(--warning); }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mx-auto { margin-left: auto; margin-right: auto; }

.d-flex { display: flex; }
.d-grid { display: grid; }
.d-block { display: block; }
.d-none { display: none; }

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

.w-100 { width: 100%; }
.position-relative { position: relative; }
.overflow-hidden { overflow: hidden; }

/* ============================================
   Scrollbar
   ============================================ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--navy-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-light);
}

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--gold) var(--navy-dark);
}

/* ============================================
   Responsive - Tablet (1024px)
   ============================================ */
@media (max-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .section {
        padding: 4rem 0;
    }

    .hero-stats {
        gap: 1.5rem;
        padding: 1.25rem 2rem;
    }
}

/* ============================================
   Responsive - Mobile (768px)
   ============================================ */
@media (max-width: 768px) {
    /* Navigation */
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background: rgba(6, 14, 26, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        z-index: 999;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 0.5rem;
        opacity: 0;
        padding: 6rem 1.5rem 3rem;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        transition: opacity 0.3s ease;
    }

    .nav-links.active {
        display: flex;
        opacity: 1;
    }

    .nav-links li {
        width: 100%;
        max-width: 340px;
        text-align: center;
    }

    .nav-links a {
        font-family: 'Outfit', sans-serif;
        font-size: 1.25rem;
        font-weight: 600;
        padding: 1rem 1.25rem;
        display: block;
        color: var(--text-secondary);
        border-radius: var(--radius-md);
        transition: all var(--transition-base);
        -webkit-tap-highlight-color: transparent;
    }

    .nav-links a:active,
    .nav-links a:hover {
        background: rgba(212, 168, 83, 0.08);
        color: var(--gold);
    }

    .navbar-container {
        padding: 0 1.25rem;
    }

    .nav-cta {
        display: none !important;
    }

    .mobile-only {
        display: block !important;
    }
    
    .mobile-only a,
    .mobile-only .nav-link {
        color: var(--navy-dark) !important;
        background: linear-gradient(135deg, var(--gold), var(--gold-dark));
        padding: 0.8rem 2.5rem !important;
        border-radius: var(--radius-full);
        font-size: 1.1rem !important;
    }

    .nav-cta-desktop {
        display: none;
    }
    
    .nav-links li.mobile-only {
        margin-top: 1rem;
    }

    /* Hero */
    .hero {
        min-height: 80vh;
    }
    .hero h1 {
        font-size: clamp(2rem, 6vw, 3rem);
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-stats {
        margin-top: 2rem;
        padding: 1.5rem;
    }

    .stat-item {
        text-align: center;
    }

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

    .hero-buttons a {
        width: 100%;
        max-width: 420px;
        justify-content: center;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .feature-card,
    .program-card,
    .value-card,
    .testimonial-card,
    .audience-card,
    .special-program-card {
        padding: 1.5rem;
    }

    .testimonial-nav {
        margin-top: 1.5rem;
    }

    .cta-buttons > a,
    .cta-buttons > .btn {
        width: 100%;
        max-width: 100%;
    }

    .footer-logo span {
        font-size: 1.1rem;
    }
    
    .hero-pill {
        font-size: 0.8rem;
        padding: 0.4rem 0.85rem;
    }

    .hero-stats {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
    }

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

    .register-steps {
        grid-template-columns: 1fr;
    }

    .testimonials-track {
        flex-direction: column;
        gap: 1.5rem;
    }

    .testimonial-card {
        width: 100%;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    /* Grids */
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    /* Section */
    .section {
        padding: 3rem 0;
    }

    .container {
        padding: 0 1.25rem;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer-bottom-links {
        justify-content: center;
    }

    /* Page Header */
    .page-header {
        padding: 7rem 0 3rem;
    }

    .page-header h1 {
        font-size: clamp(1.75rem, 5vw, 2.5rem);
    }
    
    .page-hero-stats {
        gap: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .page-hero-stat-num {
        font-size: 1.3rem;
    }
    
    /* About page */
    .gallery-placeholder,
    .video-tour-grid {
        grid-template-columns: 1fr;
    }
    
    .philosophy-grid {
        grid-template-columns: 1fr !important;
    }
    
    .trust-grid {
        grid-template-columns: 1fr !important;
    }

    /* Schedule day sections */
    .schedule-day-section {
        padding: 1.5rem;
    }
    
    .schedule-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .schedule-table th,
    .schedule-table td {
        padding: 0.75rem;
        font-size: 0.85rem;
        white-space: nowrap;
    }
    
    .day-title {
        font-size: 1.25rem;
    }

    /* Typography */
    .section-title {
        font-size: clamp(1.5rem, 5vw, 2.25rem);
    }

    .section-subtitle {
        font-size: 1rem;
    }

    /* Cards */
    .card,
    .feature-card,
    .value-card,
    .testimonial-card {
        padding: 1.5rem;
    }

    .team-card img {
        width: 120px;
        height: 120px;
    }
}

/* ============================================
   Responsive - Small Mobile (480px)
   ============================================ */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 1rem;
    }

    .section {
        padding: 2.5rem 0;
    }

    .hero {
        min-height: 90vh;
    }

    .hero h1 {
        font-size: 1.85rem;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
        padding: 0.9rem 2rem;
    }

    .hero-buttons {
        width: 100%;
    }

    .hero-buttons a {
        width: 100%;
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .hero-stats {
        padding: 1.25rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .register-step,
    .program-card,
    .feature-card,
    .testimonial-card {
        padding: 1.25rem;
    }

    .section-cta {
        padding-top: 1.5rem;
    }

    .nav-logo span {
        font-size: 1.2rem;
    }

    .page-header {
        padding: 6rem 0 2.5rem;
    }

    .breadcrumb {
        font-size: 0.8rem;
    }

    .course-card .course-image,
    .course-card .course-image-wrapper,
    .blog-card .blog-image,
    .blog-card .blog-image-wrapper {
        height: 160px;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .faq-question {
        font-size: 0.95rem;
        padding: 1.25rem 0;
    }

    .footer {
        padding-top: 3rem;
    }
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
    .navbar,
    .hamburger,
    .hero-float,
    .footer-socials,
    .nav-cta {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .card,
    .feature-card,
    .course-card,
    .team-card,
    .testimonial-card,
    .value-card,
    .blog-card {
        border: 1px solid #ddd;
        box-shadow: none;
        background: white;
    }
}

/* ============================================
   Accessibility
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .hero-float {
        animation: none;
    }
}

/* Focus Visible */
*:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

/* Skip to Content (Accessibility) */
.skip-to-content {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.75rem 1.5rem;
    background: var(--gold);
    color: var(--navy-dark);
    font-weight: 600;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    z-index: 9999;
    transition: top var(--transition-base);
}

.skip-to-content:focus {
    top: 0;
}

/* ============================================
   Cleaner and Creative Enhancements (Modern Glassmorphism & Ambient Glow)
   ============================================ */

/* Global Smooth Background Glows */
body {
    position: relative;
}

.ambient-glow-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.ambient-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.12;
    mix-blend-mode: screen;
    pointer-events: none;
    will-change: transform;
    animation: float-slow 25s ease-in-out infinite alternate;
}

.glow-1 {
    top: 5%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--gold) 0%, var(--purple) 70%, transparent 100%);
}

.glow-2 {
    top: 25%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-blue) 0%, var(--purple) 70%, transparent 100%);
    animation-delay: -5s;
    animation-duration: 30s;
}

.glow-3 {
    top: 55%;
    left: 10%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, var(--accent-teal) 0%, var(--purple-light) 70%, transparent 100%);
    animation-delay: -10s;
    animation-duration: 22s;
}

.glow-4 {
    bottom: 5%;
    right: 5%;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, var(--gold) 0%, var(--purple) 70%, transparent 100%);
    animation-delay: -15s;
}

@keyframes float-slow {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    50% {
        transform: translate(30px, -50px) scale(1.05) rotate(90deg);
    }
    100% {
        transform: translate(-20px, 20px) scale(0.95) rotate(180deg);
    }
}

/* Cleaner Glassmorphic Cards */
.card, 
.feature-card, 
.course-card,
.team-card, 
.value-card, 
.blog-card, 
.testimonial-card,
.audience-card,
.program-card,
.subject-column,
.schedule-day-section,
.contact-info-card,
.faq-section {
    background: rgba(19, 32, 56, 0.35) !important;
    border: 1px solid rgba(255, 255, 255, 0.03) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.card:hover, 
.feature-card:hover, 
.course-card:hover, 
.team-card:hover, 
.value-card:hover, 
.blog-card:hover,
.testimonial-card:hover,
.audience-card:hover,
.program-card:hover {
    transform: translateY(-6px) scale(1.01);
    border-color: rgba(212, 168, 83, 0.25) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35), 0 0 20px rgba(212, 168, 83, 0.06) !important;
}

/* Cleaner Form Elements */
.form-container, .contact-card {
    background: rgba(19, 32, 56, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.04) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.form-input, .form-select, .form-textarea {
    background: rgba(10, 22, 40, 0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    color: var(--text-primary) !important;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--gold) !important;
    background: rgba(10, 22, 40, 0.8) !important;
    box-shadow: 0 0 12px rgba(212, 168, 83, 0.15) !important;
}

/* Premium Typography Improvements */
p {
    font-weight: 300;
    letter-spacing: 0.015em;
}

.section-subtitle {
    font-weight: 300;
    letter-spacing: 0.01em;
}

/* Creative Navigation Indicator */
.nav-links a {
    font-weight: 400;
    letter-spacing: 0.02em;
}

.nav-links a::after {
    height: 1px !important;
    background: linear-gradient(90deg, transparent, var(--gold), transparent) !important;
}

/* Elegant Pill Badge */
.hero-badge {
    background: rgba(212, 168, 83, 0.06) !important;
    border: 1px solid rgba(212, 168, 83, 0.15) !important;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}



/* Clean, modern scroll indicator */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-circle);
    background: rgba(19, 32, 56, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: var(--gold) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    cursor: pointer;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--gold) !important;
    color: var(--navy-dark) !important;
    box-shadow: 0 8px 24px rgba(212, 168, 83, 0.3) !important;
}

@media (max-width: 480px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
    }
}

/* ============================================
   Creative Enhancements — Site-wide
   ============================================ */
.section-title {
    font-family: 'Fraunces', 'Outfit', serif;
    font-weight: 700;
}

.hero-title,
.hero h1 {
    font-family: 'Fraunces', 'Outfit', serif !important;
}

.hero-icon-floats {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 5;
}

.hero-icon-float {
    position: absolute;
    font-size: 1.25rem;
    color: rgba(212, 168, 83, 0.15);
    animation: pageFloat 7s ease-in-out infinite;
}

.hero-icon-float:nth-child(1) { top: 22%; left: 12%; }
.hero-icon-float:nth-child(2) { top: 35%; right: 10%; animation-delay: -2s; font-size: 1.6rem; }
.hero-icon-float:nth-child(3) { bottom: 32%; left: 18%; animation-delay: -4s; }
.hero-icon-float:nth-child(4) { bottom: 28%; right: 15%; animation-delay: -1s; }

@media (max-width: 480px) {
    .hero-icon-float { display: none; }
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(212, 168, 83, 0.15), rgba(212, 168, 83, 0.05));
    border: 1px solid rgba(212, 168, 83, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 1.25rem;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.feature-icon i {
    font-size: 1.25rem;
}

.feature-card:hover .feature-icon {
    transform: scale(1.08) rotate(-3deg);
    box-shadow: 0 8px 20px rgba(212, 168, 83, 0.15);
}

.feature-title {
    font-family: 'Fraunces', 'Outfit', serif;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.program-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--accent-teal), var(--gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.program-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 168, 83, 0.3);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

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

.program-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--navy-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
}

.program-title {
    font-family: 'Fraunces', 'Outfit', serif;
    font-size: 1.35rem;
    margin-bottom: 0.35rem;
}

.program-level {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gold);
    margin-bottom: 1rem;
}

.program-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.program-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gold);
    transition: gap var(--transition-base), color var(--transition-base);
}

.program-link:hover {
    color: var(--gold-light);
    gap: 0.75rem;
}

.section-cta {
    text-align: center;
    margin-top: 3rem;
}

.cta-section {
    padding: 4rem 0 6rem;
}

.cta-card,
.cta-content {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 4rem 3rem;
    text-align: center;
    overflow: hidden;
}

.cta-card::before,
.cta-content::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: calc(var(--radius-xl) + 2px);
    background: linear-gradient(135deg, var(--gold), var(--purple-light), var(--accent-teal), var(--gold));
    background-size: 300% 300%;
    animation: newsletterBorder 8s ease infinite;
    z-index: 0;
}

.cta-card::after,
.cta-content::after {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: var(--radius-xl);
    background: var(--navy-light);
    z-index: 0;
}

.cta-card > *,
.cta-content > * {
    position: relative;
    z-index: 1;
}

.cta-content h2,
.cta-card h2 {
    font-family: 'Fraunces', 'Outfit', serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

.cta-content p,
.cta-card p {
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto 2rem;
}

@keyframes newsletterBorder {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.cta-title {
    font-family: 'Fraunces', 'Outfit', serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

.cta-text {
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Blog page */
.featured-post-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    margin-bottom: 4rem;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: stretch;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.featured-ribbon {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--navy-dark);
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    z-index: 3;
}

.featured-visual {
    position: relative;
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.featured-visual-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, var(--purple-light) 0%, var(--gold-dark) 50%, var(--navy-light) 100%);
    background-size: 200% 200%;
    animation: featuredMesh 10s ease infinite;
}

@keyframes featuredMesh {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.featured-visual-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2.5rem;
}

.featured-visual-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    border: 2px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.25rem;
    color: #fff;
}

.featured-body {
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-body h2,
.featured-visual h3 {
    font-family: 'Fraunces', 'Outfit', serif;
}

.featured-body h2 {
    font-size: 1.85rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 1rem;
}

.featured-visual h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    max-width: 280px;
    margin: 0 auto;
}

.featured-tag {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--navy-dark);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    width: fit-content;
    margin-bottom: 1rem;
}

.blog-filters-wrap { margin-bottom: 3rem; }

.blog-filters-label {
    text-align: center;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.blog-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.blog-filter-btn {
    padding: 0.55rem 1.25rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-glass);
    background: rgba(255,255,255,0.03);
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.blog-filter-btn:hover {
    color: var(--gold);
    border-color: rgba(212, 168, 83, 0.35);
    transform: translateY(-2px);
}

.blog-filter-btn.active {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--navy-dark);
    border-color: var(--gold);
    font-weight: 600;
    box-shadow: var(--shadow-gold);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.75rem;
    margin-bottom: 5rem;
}

.blog-card {
    grid-column: span 4;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.blog-card:nth-child(1),
.blog-card:nth-child(4) { grid-column: span 6; }

.blog-gradient-header {
    width: 100%;
    height: 170px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-glass);
    overflow: hidden;
}

.blog-card:nth-child(1) .blog-gradient-header,
.blog-card:nth-child(4) .blog-gradient-header { height: 200px; }

.blog-header-icon {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.15);
}

.blog-header-title {
    position: relative;
    z-index: 1;
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
    max-width: 85%;
}

.blog-read-time {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    z-index: 1;
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255,255,255,0.75);
    background: rgba(0,0,0,0.25);
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-full);
}

.blog-card-content { padding: 1.75rem; display: flex; flex-direction: column; flex-grow: 1; }

.blog-category-tag {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gold);
    margin-bottom: 0.6rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.blog-category-tag::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
}

.blog-title {
    font-family: 'Fraunces', 'Outfit', serif;
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.85rem;
}

.blog-card:hover .blog-title { color: var(--gold-light); }

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.blog-excerpt {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.read-more-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    margin-top: auto;
}

.read-more-link:hover { color: var(--gold-light); }
.read-more-link:hover i { transform: translateX(4px); }
.read-more-link i { transition: transform var(--transition-base); }

.grad-academic { background: linear-gradient(145deg, #0a1628 0%, #1e40af 60%, #3b82f6 100%); }
.grad-parent { background: linear-gradient(145deg, #1a0f3c 0%, #5b21b6 60%, #a78bfa 100%); }
.grad-news { background: linear-gradient(145deg, #132038 0%, #92400e 50%, #d4a853 100%); }
.grad-study { background: linear-gradient(145deg, #0a1628 0%, #0f766e 60%, #14b8a6 100%); }
.grad-success { background: linear-gradient(145deg, #1a0f3c 0%, #166534 60%, #22c55e 100%); }

.newsletter-card {
    position: relative;
    border-radius: var(--radius-xl);
    padding: 3px;
    max-width: 860px;
    margin: 0 auto 5rem;
    overflow: hidden;
    background: linear-gradient(135deg, var(--gold), var(--purple-light), var(--accent-teal), var(--gold));
    background-size: 300% 300%;
    animation: newsletterBorder 6s ease infinite;
}

.newsletter-inner {
    background: var(--navy-light);
    border-radius: calc(var(--radius-xl) - 2px);
    padding: 3.5rem 2.5rem;
    text-align: center;
}

.newsletter-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--navy-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto 1.25rem;
}

.newsletter-form {
    display: flex;
    max-width: 480px;
    margin: 2rem auto 1rem;
    gap: 0.75rem;
}

@media (max-width: 1024px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-card,
    .blog-card:nth-child(1),
    .blog-card:nth-child(4) { grid-column: span 1; }
}

@media (max-width: 900px) {
    .featured-post-card { grid-template-columns: 1fr; }
    .featured-visual { min-height: 260px; }
    .featured-body { padding: 2.5rem 2rem; }
}

@media (max-width: 640px) {
    .blog-grid { grid-template-columns: 1fr; }
    .newsletter-form { flex-direction: column; }
    .newsletter-inner { padding: 2.5rem 1.5rem; }
    .cta-card { padding: 3rem 1.5rem; }
}

/* ============================================
   Homepage — Doc-specified sections
   ============================================ */
.hero-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(212, 168, 83, 0.2);
    color: var(--gold-light);
    font-size: 0.85rem;
    font-weight: 500;
}

.hero-pill i { font-size: 0.8rem; }

.audience-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
}

@media (max-width: 768px) {
    .audience-grid { grid-template-columns: 1fr; }
}

.audience-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all var(--transition-base);
}

.audience-card:hover {
    transform: translateY(-6px);
    border-color: rgba(212, 168, 83, 0.25);
}

.audience-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--navy-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.audience-card h3 {
    font-family: 'Fraunces', 'Outfit', serif;
    font-size: 1.15rem;
    margin-bottom: 0.35rem;
}

.audience-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gold);
    margin-bottom: 0.75rem;
}

.subjects-catalog {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    margin-bottom: 2rem;
}

@media (max-width: 1024px) {
    .subjects-catalog { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .subjects-catalog { grid-template-columns: 1fr; }
}

.subject-column {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    height: 100%;
}

.subject-column h3 {
    font-family: 'Fraunces', 'Outfit', serif;
    font-size: 1.1rem;
    color: var(--gold);
    margin-bottom: 0.35rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.subject-column .subject-level {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.subject-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.subject-list li {
    font-size: 0.88rem;
    color: var(--text-secondary);
    padding-left: 1rem;
    position: relative;
    margin-bottom: 0;
}

.subject-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--gold);
}

.subject-note {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-top: 1rem;
    margin-bottom: 0;
}

.special-programs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
    margin-top: 2rem;
}

@media (max-width: 640px) {
    .special-programs-grid { grid-template-columns: 1fr; }
}

.special-program-card {
    background: rgba(212, 168, 83, 0.06);
    border: 1px solid rgba(212, 168, 83, 0.15);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
}

.special-program-card h4 {
    font-family: 'Fraunces', 'Outfit', serif;
    color: var(--gold);
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.register-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
    counter-reset: step;
}

@media (max-width: 1024px) {
    .register-steps { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
    .register-steps { grid-template-columns: 1fr; }
}

.register-step {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.25rem;
    text-align: center;
    position: relative;
}

.register-step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--navy-dark);
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    font-size: 0.95rem;
}

.register-step p {
    font-size: 0.88rem;
    margin-bottom: 0;
    line-height: 1.5;
}

.final-message {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

.final-message p {
    font-size: 1.05rem;
    line-height: 1.8;
}

.final-tagline {
    font-family: 'Fraunces', 'Outfit', serif;
    font-size: 1.25rem;
    color: var(--gold);
    margin-top: 1.5rem;
    font-weight: 600;
}

/* About page — philosophy, trust & success sections */
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
    margin: 2rem 0;
}

@media (max-width: 1024px) {
    .philosophy-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
    .philosophy-grid { grid-template-columns: repeat(2, 1fr); }
}

.philosophy-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
    transition: all var(--transition-base);
}

.philosophy-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 168, 83, 0.2);
}

.philosophy-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    color: var(--gold);
}

.philosophy-card h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.philosophy-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
    margin: 2rem 0;
}

@media (max-width: 1024px) {
    .trust-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
}

.trust-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
    transition: all var(--transition-base);
}

.trust-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 168, 83, 0.2);
}

.trust-icon {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--gold);
}

.trust-card h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.trust-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.success-checklist {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 700px;
    margin: 2rem auto;
}

@media (max-width: 640px) {
    .success-checklist { grid-template-columns: 1fr; }
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.checklist-item:hover {
    border-color: rgba(212, 168, 83, 0.2);
    transform: translateX(4px);
}

.check-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #22c55e;
    flex-shrink: 0;
}

.check-icon i {
    font-size: 0.8rem;
}

.checklist-item span:last-child {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* About — Experience Learning */
.experience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin: 2rem 0;
}

@media (max-width: 768px) {
    .experience-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .experience-grid { grid-template-columns: 1fr; }
}

.experience-item {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
    transition: all var(--transition-base);
}

.experience-item:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 168, 83, 0.2);
}

.experience-item i {
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 0.75rem;
    display: block;
}

.experience-item span {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.gallery-placeholder,
.video-tour-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

@media (max-width: 640px) {
    .gallery-placeholder,
    .video-tour-grid { grid-template-columns: 1fr; }
}

.placeholder-box {
    background: rgba(255,255,255,0.03);
    border: 2px dashed rgba(212, 168, 83, 0.25);
    border-radius: var(--radius-md);
    padding: 2.5rem 1.5rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.88rem;
}

.placeholder-box i {
    font-size: 2rem;
    color: rgba(212, 168, 83, 0.4);
    display: block;
    margin-bottom: 0.75rem;
}

.whatsapp-channel-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #25d366;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.whatsapp-channel-link:hover { color: #1ebe57; }

.since-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.75rem;
}


/* ============================================
   Motion & Polish Upgrades
   ============================================ */

/* Animated gold gradient text — subtle living shimmer */
.text-gradient {
    background-size: 200% auto;
    animation: goldTextShift 5s ease-in-out infinite alternate;
}

@keyframes goldTextShift {
    from { background-position: 0% center; }
    to   { background-position: 100% center; }
}

/* Primary button shine sweep on hover */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: skewX(-20deg);
    transition: left 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.btn-primary:hover::before {
    left: 125%;
}

/* Icon pop on card hover (matches existing feature-icon behavior) */
.program-icon,
.audience-icon {
    transition: transform 0.4s var(--transition-spring), box-shadow 0.4s ease;
}

.program-card:hover .program-icon,
.audience-card:hover .audience-icon {
    transform: translateY(-4px) scale(1.08) rotate(-4deg);
    box-shadow: 0 8px 22px rgba(212, 168, 83, 0.3);
}

/* Springier social icons */
.social-link {
    transition: all 0.35s var(--transition-spring);
}

.social-link:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 6px 18px rgba(212, 168, 83, 0.3);
}

/* Gentle glow pulse on hero/page badges */
.hero-badge,
.page-hero-badge {
    animation: badgeGlow 3.5s ease-in-out infinite;
}

@keyframes badgeGlow {
    0%, 100% { box-shadow: 0 0 0 rgba(212, 168, 83, 0); }
    50%      { box-shadow: 0 0 22px rgba(212, 168, 83, 0.22); }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
    .text-gradient,
    .hero-badge,
    .page-hero-badge {
        animation: none;
    }
    .btn-primary::before {
        display: none;
    }
}

/* --- Custom Overrides for Founders and Testimonials --- */

/* Founder Images Styling */
.founder-image-frame {
    width: 220px;
    height: 220px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--gold);
    box-shadow: 0 10px 30px rgba(212, 168, 83, 0.4);
    position: relative;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}
.founder-image-frame:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 15px 40px rgba(212, 168, 83, 0.6);
}
.founder-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.6s ease;
}
.founder-image-frame:hover img {
    transform: scale(1.1);
}

/* Testimonials Grid Styling */
.testimonials-grid-view {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    padding: 1rem;
    align-items: stretch;
}
.testimonial-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.testimonial-card .testimonial-text {
    flex-grow: 1;
}



/* ============================================
   MOBILE FRIENDLY OVERRIDES (Added via Script)
   ============================================ */
@media (max-width: 768px) {
    /* Better typography for mobile */
    h1 { font-size: 2.2rem !important; line-height: 1.25 !important; }
    h2, .section-title { font-size: 1.8rem !important; }
    h3 { font-size: 1.4rem !important; }
    p { font-size: 0.95rem !important; line-height: 1.6 !important; }

    /* Reduce section spacing */
    .section { padding: 3rem 0 !important; }
    .page-header { padding: 6rem 0 2.5rem !important; }
    .hero { padding: 6rem 0 3rem !important; min-height: auto !important; }

    /* Force grids to 1 column to prevent overflow */
    .grid-2, .grid-3, .grid-4, .contact-grid, .footer-grid, .features-grid, .courses-grid, .team-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    /* Fix the Testimonials grid we added earlier */
    .testimonials-grid-view {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        padding: 0.5rem !important;
    }

    /* Ensure cards take full width */
    .testimonial-card, .course-card, .team-card, .feature-card, .contact-card {
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Founder image slightly smaller on mobile */
    .founder-image-frame {
        width: 180px !important;
        height: 180px !important;
    }

    /* Buttons full width on mobile for easier tapping */
    .btn, .btn-primary, .btn-secondary, .contact-btn {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        margin-bottom: 0.5rem !important;
        box-sizing: border-box !important;
    }

    /* Stack flex rows */
    .hero-buttons {
        flex-direction: column !important;
        width: 100% !important;
    }
    
    .hero-stats, .page-hero-stats {
        flex-direction: column !important;
        gap: 1rem !important;
        align-items: center !important;
    }

    /* Fix inputs */
    input, textarea, select {
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Navbar fixes */
    .nav-cta {
        display: none !important; /* Hide desktop CTA in header */
    }
}

@media (max-width: 480px) {
    /* Extra small screens */
    h1 { font-size: 1.8rem !important; }
    h2, .section-title { font-size: 1.5rem !important; }
    
    .section { padding: 2rem 0 !important; }
    
    .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .footer-bottom {
        flex-direction: column !important;
        text-align: center !important;
        gap: 1rem !important;
    }
}
