/* ============================================
   BASE VARIABLES & RESET
   ============================================ */
:root {
    --primary: #ff6b00;
    --primary-dark: #d45a00;
    --primary-light: #ff8c3a;
    --primary-glow: rgba(255, 107, 0, 0.12);
    --dark: #1a1612;
    --white: #ffffff;
    --off-white: #fdf8f4;
    --text-main: #2c2420;
    --text-muted: #7a6a60;
    --border: rgba(255, 107, 0, 0.15);
    --shadow-sm: 0 2px 12px rgba(0,0,0,0.06);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.10);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.12);
    --shadow-orange: 0 8px 30px rgba(255, 107, 0, 0.25);
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 28px;
    --transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text-main);
    background-color: var(--white);
    overflow-x: hidden;
    line-height: 1.7;
}

h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ============================================
   LOADING SCREEN
   ============================================ */
.loader-container {
    position: fixed;
    inset: 0;
    background: var(--off-white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
.loader-container.hidden { opacity: 0; visibility: hidden; }

.loader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.loader-logo-wrap {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-logo {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: var(--shadow-orange);
    animation: floatLogo 2s ease-in-out infinite alternate;
}

.loader-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 3px solid rgba(255, 107, 0, 0.15);
    border-top-color: var(--primary);
    animation: spin 1.2s linear infinite;
}

.loader-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
}

.loader-bar {
    width: 160px;
    height: 3px;
    background: rgba(255, 107, 0, 0.15);
    border-radius: 99px;
    overflow: hidden;
}

.loader-bar-fill {
    height: 100%;
    width: 0%;
    background: var(--primary);
    border-radius: 99px;
    animation: loadBar 2.8s ease forwards;
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes floatLogo {
    from { transform: translateY(0); }
    to { transform: translateY(-10px); }
}
@keyframes loadBar {
    0% { width: 0%; }
    60% { width: 70%; }
    100% { width: 100%; }
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.6); }
    70% { box-shadow: 0 0 0 16px rgba(255, 107, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 107, 0, 0); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes scrollBob {
    0%, 100% { transform: scaleY(1); opacity: 0.5; }
    50% { transform: scaleY(1.3); opacity: 1; }
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.93);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 107, 0, 0.08);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    transition: var(--transition);
}
.navbar.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.10); }

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary);
    transition: var(--transition);
}
.nav-logo:hover { opacity: 0.85; }
.nav-logo img {
    height: 40px; width: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 107, 0, 0.2);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 36px;
}
.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
    position: relative;
    padding-bottom: 4px;
    transition: color var(--transition);
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--primary);
    border-radius: 99px;
    transition: width var(--transition);
}
.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { width: 100%; }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.hamburger span {
    display: block;
    width: 24px; height: 2px;
    background: var(--text-main);
    border-radius: 99px;
    transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
    display: none;
    background: var(--white);
    border-top: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}
.mobile-menu.open { max-height: 320px; padding: 10px 0; }
.mobile-menu ul { list-style: none; }
.mobile-menu ul li a {
    display: block;
    padding: 13px 24px;
    font-weight: 500;
    color: var(--text-main);
    transition: color var(--transition), background var(--transition);
}
.mobile-menu ul li a:hover { color: var(--primary); background: var(--primary-glow); }
.mob-cta { color: var(--primary) !important; font-weight: 600 !important; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all var(--transition);
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: var(--shadow-orange);
}
.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(255, 107, 0, 0.35);
}

.btn-secondary {
    background: rgba(255,255,255,0.12);
    color: var(--white);
    border-color: rgba(255,255,255,0.55);
    backdrop-filter: blur(6px);
}
.btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-outline-light {
    background: transparent;
    color: rgba(255,255,255,0.8);
    border-color: rgba(255,255,255,0.3);
}
.btn-outline-light:hover {
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border-color: rgba(255,255,255,0.55);
}

.pulse-anim { animation: pulse 2.2s infinite; }

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 620px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.slider { position: absolute; inset: 0; z-index: 1; }

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 1.5s ease-in-out, transform 5s ease-out;
}
.slide.active { opacity: 1; transform: scale(1); }

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        110deg,
        rgba(15, 10, 5, 0.84) 0%,
        rgba(15, 10, 5, 0.55) 55%,
        rgba(15, 10, 5, 0.22) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 720px;
    color: var(--white);
    padding: 0 5% 0 6%;
    animation: fadeInUp 0.9s ease 0.5s both;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 107, 0, 0.18);
    border: 1px solid rgba(255, 107, 0, 0.38);
    color: #ffb07a;
    font-size: 0.83rem;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 50px;
    margin-bottom: 24px;
    letter-spacing: 0.3px;
    backdrop-filter: blur(6px);
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.6rem, 6vw, 4rem);
    font-weight: 900;
    line-height: 1.12;
    margin-bottom: 22px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.hero-title em { font-style: italic; color: var(--primary-light); }

.hero-subtitle {
    font-size: 1.08rem;
    font-weight: 300;
    line-height: 1.78;
    margin-bottom: 38px;
    color: rgba(255,255,255,0.83);
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}
.stat { text-align: left; }
.stat strong {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--primary-light);
    line-height: 1;
}
.stat span {
    font-size: 0.76rem;
    color: rgba(255,255,255,0.55);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    margin-top: 3px;
    display: block;
}
.stat-divider {
    width: 1px;
    height: 34px;
    background: rgba(255,255,255,0.18);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    gap: 8px;
}
.slider-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    border: none;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
    padding: 0;
}
.slider-dot.active {
    background: var(--primary);
    transform: scale(1.35);
}

.hero-scroll-hint {
    position: absolute;
    bottom: 34px;
    right: 6%;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.4);
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 500;
}
.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
    animation: scrollBob 2s ease-in-out infinite;
}

/* ============================================
   SHARED SECTION STYLES
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 24px;
}

.section-header { margin-bottom: 56px; }
.text-center { text-align: center; }
.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-eyebrow {
    display: inline-block;
    font-size: 0.76rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--primary);
    margin-bottom: 10px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 2.7rem);
    color: var(--text-main);
    margin-bottom: 14px;
    position: relative;
    display: inline-block;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px; left: 0;
    width: 44px; height: 3px;
    background: var(--primary);
    border-radius: 99px;
}

.section-subtitle {
    font-size: 1.02rem;
    color: var(--text-muted);
    margin-top: 16px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   HUB / ABOUT SECTION
   ============================================ */
.hub-info-section {
    background: var(--off-white);
    position: relative;
    overflow: hidden;
}
.hub-info-section::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(255,107,0,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.about-intro {
    max-width: 860px;
    margin: 0 auto 56px;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px 54px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    position: relative;
}
.about-intro::before {
    content: '"';
    position: absolute;
    top: -18px; left: 40px;
    font-family: 'Playfair Display', serif;
    font-size: 6rem;
    color: var(--primary);
    opacity: 0.1;
    line-height: 1;
}
.about-intro p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.85;
}
.about-intro p:last-child { margin-bottom: 0; }
.about-intro strong { color: var(--text-main); font-weight: 600; }

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
    margin-bottom: 80px;
}

.mv-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 42px 38px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
    position: relative;
    overflow: hidden;
}
.mv-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-slow);
}
.mv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.mv-card:hover::after { transform: scaleX(1); }

.mv-icon { font-size: 2.2rem; margin-bottom: 18px; }

.card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.45rem;
    color: var(--text-main);
    margin-bottom: 12px;
    font-weight: 700;
}
.mv-card p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.why-choose-us { padding-top: 10px; }

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

.feature-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 34px 30px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(255, 107, 0, 0.28);
}

.feature-icon {
    font-size: 1.9rem;
    margin-bottom: 14px;
    width: 54px; height: 54px;
    background: var(--primary-glow);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}
.feature-card h4 {
    font-size: 1.08rem;
    color: var(--text-main);
    margin-bottom: 10px;
    font-weight: 600;
}
.feature-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.75;
}

/* ============================================
   FOUNDER SECTION
   ============================================ */
.about-section { background: var(--white); }
.about-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: visible;
}
.image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: block;
    transition: transform 0.8s ease;
    position: relative;
    z-index: 1;
}
.image-wrapper:hover img { transform: scale(1.02); }

.img-accent-dot {
    position: absolute;
    width: 110px; height: 110px;
    border-radius: 50%;
    background: var(--primary-glow);
    border: 2px solid rgba(255, 107, 0, 0.18);
    z-index: 0;
}
.img-accent-dot.top-left { top: -18px; left: -18px; }
.img-accent-dot.bottom-right { bottom: -18px; right: -18px; }

.section-text {
    display: flex;
    flex-direction: column;
}
.section-text .section-eyebrow { margin-bottom: 8px; }
.section-text .section-title { margin-bottom: 28px; }

.founder-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.65rem;
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 700;
}
.section-text p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 14px;
    line-height: 1.8;
}
.section-text p strong { color: var(--text-main); }

.education-bg {
    margin-top: 26px;
    padding: 26px 30px;
    background: var(--off-white);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition);
}
.education-bg:hover { transform: translateX(4px); }

.education-bg h4 {
    font-size: 0.9rem;
    color: var(--primary-dark);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.education-bg ul { list-style: none; }
.education-bg ul li {
    font-size: 0.97rem;
    color: var(--text-main);
    margin-bottom: 11px;
    padding-left: 30px;
    position: relative;
    font-weight: 500;
    transition: color var(--transition);
}
.education-bg ul li:hover { color: var(--primary); }
.education-bg ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px; height: 20px;
    background: var(--primary);
    color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: bold;
}

/* ============================================
   INSTRUCTOR SECTION
   ============================================ */
.instructor-section { background: var(--off-white); }

.instructor-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    display: grid;
    grid-template-columns: 420px 1fr;
    border: 1px solid var(--border);
    transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}
.instructor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 70px rgba(255, 107, 0, 0.12);
}

.instructor-image {
    position: relative;
    overflow: hidden;
    min-height: 480px;
}
.instructor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
    transition: transform 0.6s ease;
}
.instructor-card:hover .instructor-image img { transform: scale(1.05); }

.instructor-image-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.65), transparent);
    display: flex;
    align-items: flex-end;
}
.instructor-badge {
    background: var(--primary);
    color: var(--white);
    font-size: 0.76rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 50px;
    letter-spacing: 0.2px;
}

.instructor-info {
    padding: 52px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.instructor-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.95rem;
    color: var(--text-main);
    margin-bottom: 6px;
    font-weight: 700;
}
.instructor-role {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.93rem;
    margin-bottom: 22px;
    display: block;
}
.instructor-info p {
    color: var(--text-muted);
    font-size: 0.98rem;
    margin-bottom: 12px;
    line-height: 1.78;
}
.instructor-info p strong { color: var(--text-main); }

.fancy-list-container {
    margin-top: 26px;
    padding: 22px 26px;
    background: var(--off-white);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary);
    box-shadow: var(--shadow-sm);
}
.fancy-list-container h4 {
    font-size: 0.88rem;
    color: var(--primary-dark);
    margin-bottom: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fancy-list { list-style: none; }
.fancy-list li {
    font-size: 0.95rem;
    color: var(--text-main);
    margin-bottom: 10px;
    padding-left: 28px;
    position: relative;
    font-weight: 500;
    transition: color var(--transition);
}
.fancy-list li:hover { color: var(--primary); }
.fancy-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px; height: 18px;
    background: var(--primary);
    color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 0.62rem;
    font-weight: bold;
}

/* ============================================
   FOOTER
   ============================================ */
.footer { background: var(--dark); color: var(--white); }

.footer-top {
    padding: 70px 0 58px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1.3fr;
    gap: 56px;
    align-items: start;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-logo {
    width: 54px; height: 54px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 107, 0, 0.3);
}
.footer-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
}
.footer-tagline {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.4);
    line-height: 1.6;
    max-width: 220px;
}

.footer-links-col h5,
.footer-contact h5 {
    font-size: 0.74rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-light);
    margin-bottom: 20px;
}
.footer-links-col ul { list-style: none; }
.footer-links-col ul li { margin-bottom: 10px; }
.footer-links-col ul li a {
    font-size: 0.93rem;
    color: rgba(255,255,255,0.5);
    transition: color var(--transition);
}
.footer-links-col ul li a:hover { color: var(--white); }

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-btn {
    width: 100%;
    justify-content: center;
    padding: 12px 22px;
    font-size: 0.87rem;
}

.footer-bottom {
    text-align: center;
    padding: 20px 24px;
    background: rgba(0,0,0,0.18);
}
.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.28);
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.slide-up-trigger {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.75s ease-out, transform 0.75s ease-out;
}
.slide-up-trigger.visible {
    opacity: 1;
    transform: translateY(0);
}

.zoom-in-trigger {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.75s ease-out, transform 0.75s ease-out;
}
.zoom-in-trigger.visible {
    opacity: 1;
    transform: scale(1);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .instructor-card { grid-template-columns: 340px 1fr; }
}

@media (max-width: 900px) {
    .instructor-card { grid-template-columns: 1fr; }
    .instructor-image { min-height: 360px; }
    .about-section .container { grid-template-columns: 1fr; gap: 50px; }
    .mission-vision-grid, .features-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 992px) {
    .nav-links, .nav-cta { display: none; }
    .hamburger { display: flex; }
    .mobile-menu { display: block; }
    .hero-title { font-size: 2.3rem; }
    .hero-buttons { flex-direction: column; gap: 12px; }
    .hero-stats { gap: 16px; }
    .stat strong { font-size: 1.3rem; }
    .hero-scroll-hint { display: none; }

    .about-intro { padding: 30px 26px; }
    .instructor-info { padding: 34px 26px; }
    .container { padding: 70px 18px; }

    .footer-inner { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2rem; }
    .hero-badge { font-size: 0.76rem; }
    .mv-card, .feature-card { padding: 26px 20px; }
    .about-intro { padding: 26px 20px; }
}

/* ============================================
   MODAL OVERLAY (Contact modal on index.html)
   ============================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(20, 14, 8, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.open { opacity: 1; visibility: visible; }

.modal-box {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px 48px 44px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 30px 80px rgba(0,0,0,0.25);
    transform: translateY(20px) scale(0.97);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.modal-overlay.open .modal-box { transform: translateY(0) scale(1); }

.modal-close {
    position: absolute;
    top: 18px; right: 18px;
    width: 34px; height: 34px;
    background: var(--off-white);
    border: 1px solid var(--border);
    border-radius: 50%;
    font-size: 1.2rem;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition), color var(--transition);
}
.modal-close:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }

.modal-header { text-align: center; margin-bottom: 28px; }
.modal-logo {
    width: 58px; height: 58px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--border);
    margin: 0 auto 14px;
}
.modal-logo img { width: 100%; height: 100%; object-fit: cover; }
.modal-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    color: var(--text-main);
    margin-bottom: 8px;
}
.modal-header p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.65;
    max-width: 400px;
    margin: 0 auto;
}

/* Shared form elements used in modal */
.lv-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.lv-form .form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.lv-form label { font-size: 0.88rem; font-weight: 600; color: var(--text-main); }
.lv-form .req { color: var(--primary); }

.lv-form input[type="text"],
.lv-form input[type="email"],
.lv-form input[type="tel"],
.lv-form select,
.lv-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e0d8d2;
    border-radius: var(--radius-sm);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.97rem;
    color: var(--text-main);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}
.lv-form select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237a6a60' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}
.lv-form textarea { resize: vertical; min-height: 90px; }
.lv-form input:focus,
.lv-form select:focus,
.lv-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255,107,0,0.1);
}

.btn-full { width: 100%; justify-content: center; margin-top: 8px; }
.spin-icon { animation: spin 0.8s linear infinite; display: inline-block; }

.form-success, .form-error {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 20px;
    border-radius: var(--radius-sm);
    margin-top: 16px;
    font-size: 0.93rem;
    line-height: 1.55;
}
.form-success {
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.25);
    color: #166534;
}
.form-success span, .form-error span { font-size: 1.4rem; flex-shrink: 0; }
.form-success strong { display: block; margin-bottom: 3px; }
.form-error {
    background: rgba(239, 68, 68, 0.07);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #991b1b;
}

.nav-cta {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* Nav ghost button & mobile link-button */
.btn-ghost-nav {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.92rem;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    transition: color var(--transition), background var(--transition);
    white-space: nowrap;
}
.btn-ghost-nav:hover { color: var(--primary); background: var(--primary-glow); }

.mob-link-btn {
    display: block;
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-main);
    padding: 13px 24px;
    cursor: pointer;
    transition: color var(--transition), background var(--transition);
}
.mob-link-btn:hover {
    color: var(--primary);
    background: var(--primary-glow);
}

@media (max-width: 640px) {
    .modal-box { padding: 30px 20px; }
    .lv-form .form-row { grid-template-columns: 1fr; }
}

 /* ============================================ */
.programs-section {
    background: var(--white);
    position: relative;
}
.programs-section::before {
    content: '';
    position: absolute;
    bottom: -80px; left: -80px;
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(255,107,0,0.05) 0%, transparent 70%);
    pointer-events: none;
}

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

/* Make the 5th card (Robotics) span full width on 2-col so it's not orphaned */
.programs-grid .program-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 560px;
    margin: 0 auto;
    width: 100%;
}

.program-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 38px 34px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    position: relative;
    overflow: hidden;
}
.program-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-slow);
}
.program-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255,107,0,0.25);
}
.program-card:hover::before { transform: scaleX(1); }

.program-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.program-icon-wrap {
    font-size: 2rem;
    width: 58px; height: 58px;
    background: var(--primary-glow);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.program-level {
    font-size: 0.74rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--primary);
    background: var(--primary-glow);
    padding: 5px 12px;
    border-radius: 50px;
}

.program-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--text-main);
    font-weight: 700;
    margin: 0;
}

.program-card > p {
    font-size: 0.97rem;
    color: var(--text-muted);
    line-height: 1.78;
    flex-grow: 1;
}

.program-topics {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin: 4px 0;
}
.program-topics li {
    font-size: 0.88rem;
    color: var(--text-main);
    font-weight: 500;
    padding-left: 20px;
    position: relative;
}
.program-topics li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 0.8rem;
}

.program-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 6px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.program-tag {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--off-white);
    padding: 5px 12px;
    border-radius: 50px;
    border: 1px solid var(--border);
}

.btn-sm {
    padding: 9px 20px;
    font-size: 0.82rem;
}

/* ============================================
   SEN SECTION
   ============================================ */
.sen-section {
    background: var(--off-white);
    position: relative;
    overflow: hidden;
}
.sen-section::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 500px; height: 500px;
    background: radial-gradient(circle at top right, rgba(255,107,0,0.06) 0%, transparent 65%);
    pointer-events: none;
}

.sen-inner {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 80px;
    align-items: start;
}

.sen-lead {
    font-size: 1.08rem;
    color: var(--text-main);
    line-height: 1.85;
    margin-bottom: 16px;
    font-weight: 500;
}
.sen-body {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.82;
    margin-bottom: 36px;
}

.sen-services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 36px;
}

.sen-service-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 22px 20px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 14px;
    align-items: flex-start;
    transition: transform var(--transition), box-shadow var(--transition);
}
.sen-service-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.sen-service-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
    width: 46px; height: 46px;
    background: var(--primary-glow);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}
.sen-service-card h4 {
    font-size: 0.97rem;
    color: var(--text-main);
    font-weight: 600;
    margin-bottom: 5px;
}
.sen-service-card p {
    font-size: 0.86rem;
    color: var(--text-muted);
    line-height: 1.65;
}

.sen-cta { display: flex; flex-direction: column; gap: 10px; }
.sen-cta-note {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0;
}

/* SEN visual panel */
.sen-visual {
    position: sticky;
    top: 90px;
}

.sen-badge-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sen-big-badge {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    color: var(--white);
    text-align: center;
    box-shadow: var(--shadow-orange);
    position: relative;
    overflow: hidden;
}
.sen-big-badge::before {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 140px; height: 140px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
}
.sen-badge-icon { font-size: 2.8rem; display: block; margin-bottom: 14px; }
.sen-big-badge p {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-style: italic;
    line-height: 1.55;
    color: rgba(255,255,255,0.95);
}

.sen-stat-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.sen-stat {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 22px 18px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    text-align: center;
}
.sen-stat strong {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.9rem;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 4px;
}
.sen-stat span {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.sen-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.sen-tags span {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-main);
    transition: background var(--transition), color var(--transition), border-color var(--transition);
    cursor: default;
}
.sen-tags span:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
    background: var(--white);
    position: relative;
}
.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 100%; height: 100%;
    background: radial-gradient(ellipse at 50% 0%, rgba(255,107,0,0.04) 0%, transparent 60%);
    pointer-events: none;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--off-white);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform var(--transition), box-shadow var(--transition);
    position: relative;
}
.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 14px; right: 22px;
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    color: var(--primary);
    opacity: 0.08;
    line-height: 1;
}
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.testimonial-top {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-avatar {
    width: 52px; height: 52px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--border);
    flex-shrink: 0;
    background: var(--primary-glow);
    display: flex;
    align-items: center;
    justify-content: center;
}
.testimonial-avatar img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.avatar-fallback {
    font-size: 1.8rem;
    width: 100%; height: 100%;
    align-items: center;
    justify-content: center;
    background: var(--primary-glow);
}

.testimonial-meta strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-main);
    font-weight: 600;
}
.testimonial-meta span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.testimonial-stars {
    font-size: 0.95rem;
    color: #f5a623;
    letter-spacing: 1px;
}

.testimonial-card > p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.78;
    flex-grow: 1;
    font-style: italic;
}

.testimonial-program {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--primary);
    background: var(--primary-glow);
    padding: 5px 12px;
    border-radius: 50px;
    display: inline-block;
    width: fit-content;
    border: 1px solid rgba(255,107,0,0.18);
}

/* ============================================
   RESPONSIVE - NEW SECTIONS
   ============================================ */
@media (max-width: 1024px) {
    .sen-inner { gap: 50px; }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .programs-grid { grid-template-columns: 1fr; }
    .programs-grid .program-card:last-child:nth-child(odd) { grid-column: auto; max-width: 100%; }
    .sen-inner { grid-template-columns: 1fr; gap: 40px; }
    .sen-visual { position: relative; top: auto; }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .sen-services-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .testimonials-grid { grid-template-columns: 1fr; }
    .program-card { padding: 28px 22px; }
}

@media (max-width: 480px) {
    .sen-services-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .sen-stat-row { grid-template-columns: 1fr 1fr; }
}
