/* ==========================================================================
   ACCOUNTING WITH GJ - PREMIUM DESIGN SYSTEM & STYLESHEET
   Author: UI/UX Engineer for Gayantha Jayasooriya
   Theme: Bold, Direct, Rich Light Aesthetics with Contrast Gold & Crimson
   ========================================================================== */

:root {
    /* Colors - Curated Premium Palette */
    --primary: #0f172a;        /* Deep Slate / Royal Navy */
    --primary-light: #1e293b;  /* Slate Navy */
    --primary-dark: #020617;   /* Midnight */
    
    --accent: #e11d48;         /* Bold Action Crimson */
    --accent-hover: #be123c;   /* Deep Crimson */
    --accent-light: #ffe4e6;   /* Soft Rose */
    
    --gold: #d97706;           /* Excellence Gold */
    --gold-hover: #b45309;     /* Rich Amber */
    --gold-light: #fef3c7;     /* Soft Amber */
    --gold-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    
    --blue: #2563eb;           /* Trust Azure */
    --blue-hover: #1d4ed8;     /* Royal Azure */
    --blue-light: #eff6ff;     /* Ice Blue */
    
    --green: #10b981;          /* Success Green */
    --green-light: #d1fae5;
    
    --bg-main: #f8fafc;        /* Clean Crisp Light Background */
    --bg-surface: #ffffff;     /* Pure White Card Surface */
    --bg-alt: #f1f5f9;         /* Light Gray Section Background */
    --bg-dark: #0f172a;        /* Dark Section / Footer Background */
    
    --text-main: #0f172a;      /* Bold Dark Text */
    --text-muted: #64748b;     /* Muted Slate Text */
    --text-light: #f8fafc;     /* White/Light Text */
    
    --border: #e2e8f0;         /* Soft Border Gray */
    --border-gold: #fde68a;
    
    /* Shadows & Glassmorphism */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.03);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
    --shadow-lg: 0 10px 15px -3px rgba(15,23,42,0.08), 0 4px 6px -2px rgba(15,23,42,0.04);
    --shadow-xl: 0 20px 25px -5px rgba(15,23,42,0.1), 0 10px 10px -5px rgba(15,23,42,0.04);
    --shadow-gold: 0 10px 25px -5px rgba(217, 119, 6, 0.3);
    --shadow-accent: 0 10px 25px -5px rgba(225, 29, 72, 0.3);
    
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.5);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease-in-out;
}

/* Base Reset & Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    font-weight: 700;
    line-height: 1.25;
}

.sinhala-text, .sinhala-title, .tagline-sinhala, .sinhala-quote {
    font-family: 'Noto Sans Sinhala', 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
}

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

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}

/* Utility & Highlight Classes */
.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
    background: linear-gradient(135deg, #b45309 0%, #d97706 50%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.highlight {
    color: var(--gold);
}

.text-red { color: var(--accent); }
.text-green { color: var(--green); }
.text-blue { color: var(--blue); }
.text-gold { color: var(--gold); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

.btn-primary {
    background: var(--primary);
    color: var(--text-light);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}
.btn-primary:hover {
    background: var(--blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.3);
}

.btn-accent {
    background: var(--accent);
    color: var(--text-light);
    box-shadow: var(--shadow-accent);
}
.btn-accent:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 20px rgba(225, 29, 72, 0.4);
}

.btn-gold {
    background: var(--gold-gradient);
    color: #ffffff;
    box-shadow: var(--shadow-gold);
}
.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 20px rgba(217, 119, 6, 0.4);
}

.btn-secondary {
    background: var(--blue);
    color: var(--text-light);
}
.btn-secondary:hover {
    background: var(--blue-hover);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: var(--text-light);
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: var(--text-light);
    border: 2px solid rgba(255, 255, 255, 0.4);
}
.btn-outline-light:hover {
    background: var(--text-light);
    color: var(--primary);
}

.btn-whatsapp {
    background: #25d366;
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp:hover {
    background: #1ebc57;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.4);
}

.btn-facebook {
    background: #1877f2;
    color: #ffffff;
}
.btn-facebook:hover {
    background: #166fe5;
    transform: translateY(-2px);
}

/* Animations */
@keyframes pulseGlow {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.5); }
    70% { transform: scale(1.03); box-shadow: 0 0 0 12px rgba(225, 29, 72, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(225, 29, 72, 0); }
}

.pulse-glow {
    animation: pulseGlow 2.5s infinite;
}

@keyframes bounceDown {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    60% { transform: translateY(-4px); }
}

.bounce {
    animation: bounceDown 2s infinite;
}

/* ==========================================================================
   ADVANCED SCROLL REVEAL ANIMATION SYSTEM
   ========================================================================== */
.scroll-hidden {
    opacity: 0;
    will-change: opacity, transform;
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-hidden.reveal-up {
    transform: translateY(45px);
}

.scroll-hidden.reveal-down {
    transform: translateY(-45px);
}

.scroll-hidden.reveal-left {
    transform: translateX(-50px);
}

.scroll-hidden.reveal-right {
    transform: translateX(50px);
}

.scroll-hidden.reveal-scale {
    transform: scale(0.90);
}

.scroll-in-view {
    opacity: 1 !important;
    transform: translate(0, 0) scale(1) !important;
}

/* Floating Ambient Motion */
@keyframes floatGentle {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}

.float-ambient {
    animation: floatGentle 4.5s ease-in-out infinite;
}

/* Section Headers */
.section-header {
    margin-bottom: 50px;
}
.sub-heading {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    background: var(--accent-light);
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 12px;
}
.sub-heading.tag-gold {
    color: var(--gold);
    background: var(--gold-light);
}
.section-title {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 16px;
}
.section-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* ==========================================================================
   TOP ANNOUNCEMENT BANNER
   ========================================================================== */
.top-banner {
    background: linear-gradient(90deg, var(--primary) 0%, #1e3a8a 50%, var(--primary) 100%);
    color: var(--text-light);
    padding: 10px 0;
    font-size: 0.9rem;
    border-bottom: 2px solid var(--gold);
}
.banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.banner-badge {
    background: var(--gold);
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.banner-text {
    flex: 1;
    text-align: center;
}
.banner-text strong { color: #fde68a; }
.banner-link {
    color: #fde68a;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.banner-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* ==========================================================================
   STICKY NAVIGATION BAR
   ========================================================================== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}
.navbar.scrolled {
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.95);
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}
.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}
.logo-badge {
    width: 48px;
    height: 48px;
    background: var(--gold-gradient);
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(217, 119, 6, 0.3);
    letter-spacing: -1px;
}
.logo-text {
    display: flex;
    flex-direction: column;
}
.logo-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--primary);
    line-height: 1.1;
}
.logo-subtitle {
    font-size: 0.75rem;
    color: var(--gold);
    font-weight: 700;
    margin-top: 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}
.mobile-only-nav {
    display: none;
}
.nav-item {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.98rem;
    color: var(--text-main);
    padding: 6px 4px;
    position: relative;
    white-space: nowrap;
}
.nav-item::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
}
.nav-item:hover::after, .nav-item.active::after {
    width: 100%;
}
.nav-item:hover, .nav-item.active {
    color: var(--gold);
}
.nav-highlight {
    color: var(--gold) !important;
    background: var(--gold-light);
    padding: 6px 16px !important;
    border-radius: 20px;
    font-weight: 700;
}
.nav-highlight::after { display: none; }
.nav-highlight:hover { background: #fde68a; }

.social-nav {
    color: #1877f2;
    font-size: 1.3rem;
    padding: 8px;
    border-radius: 50%;
    background: #eff6ff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.social-nav:hover {
    background: #1877f2;
    color: #ffffff;
    transform: scale(1.1);
}

.nav-cta {
    padding: 10px 22px;
    font-size: 0.95rem;
    border-radius: 30px;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.6rem;
    color: var(--primary);
    cursor: pointer;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    padding: 80px 0 100px;
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.88) 0%, rgba(248, 250, 252, 0.65) 50%, rgba(254, 243, 199, 0.35) 100%);
}
.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.42;
    filter: contrast(108%) saturate(115%);
    z-index: -1;
}

/* ==========================================================================
   SUBTLE YELLOW FLOWER PETALS FALLING EFFECT (HERO SECTION)
   ========================================================================== */
.hero-petals-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.falling-petal {
    position: absolute;
    top: -60px;
    left: var(--left-pos, 50%);
    width: var(--petal-size, 18px);
    height: calc(var(--petal-size, 18px) * 1.25);
    pointer-events: none;
    will-change: transform, opacity;
    opacity: 0;
    animation: petalFall var(--petal-duration, 11s) linear infinite;
    animation-delay: var(--petal-delay, 0s);
}

.falling-petal .petal-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: petalFlutter var(--flutter-duration, 4s) ease-in-out infinite alternate;
}

.falling-petal svg {
    display: block;
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 5px rgba(217, 119, 6, 0.18));
    transform-origin: center center;
}

.falling-petal.petal-glow svg {
    filter: drop-shadow(0 0 8px rgba(250, 204, 21, 0.45));
}

@keyframes petalFall {
    0% {
        opacity: 0;
        transform: translate3d(var(--start-x, 0px), -65px, 0) rotate3d(1, 1, 0, 0deg) scale(var(--petal-scale, 1));
    }
    12% {
        opacity: var(--petal-opacity, 0.65);
    }
    48% {
        transform: translate3d(calc(var(--start-x, 0px) + var(--sway-x-mid, 35px)), 48vh, 0) rotate3d(1, 0.8, 0.2, 170deg) scale(var(--petal-scale, 1));
    }
    82% {
        opacity: var(--petal-opacity, 0.65);
    }
    100% {
        opacity: 0;
        transform: translate3d(calc(var(--start-x, 0px) + var(--sway-x-end, -25px)), 105vh, 0) rotate3d(0.8, 1, 0.5, 360deg) scale(var(--petal-scale, 1));
    }
}

@keyframes petalFlutter {
    0% {
        transform: rotate(-10deg) scale(0.98);
    }
    100% {
        transform: rotate(14deg) scale(1.03);
    }
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 50px;
}

.badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}
.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--blue-light);
    color: var(--blue);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 6px 14px;
    border-radius: 30px;
    border: 1px solid rgba(37, 99, 235, 0.2);
}
.tag-gold {
    background: var(--gold-light);
    color: var(--gold);
    border-color: rgba(217, 119, 6, 0.2);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1px;
}
.sinhala-title {
    display: block;
    color: var(--gold);
    font-size: 2.4rem;
    margin-top: 8px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 28px;
    max-width: 580px;
}
.hero-subtitle strong {
    color: var(--primary);
}

.quote-box {
    background: var(--bg-surface);
    border-left: 4px solid var(--accent);
    padding: 16px 20px;
    border-radius: 0 12px 12px 0;
    box-shadow: var(--shadow-sm);
    margin-bottom: 32px;
    max-width: 580px;
    position: relative;
}
.quote-icon {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    color: var(--accent-light);
}
.quote-text {
    font-size: 0.95rem;
    font-style: italic;
    color: var(--text-main);
    font-weight: 500;
    margin-bottom: 6px;
}
.quote-author {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}
.stat-card {
    background: var(--bg-surface);
    padding: 14px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    text-align: center;
}
.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
}
.stat-suffix {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gold);
}
.stat-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-top: 4px;
}
.highlight-stat {
    background: var(--gold-light);
    border-color: var(--border-gold);
}
.stat-icon {
    font-size: 1.5rem;
    color: var(--gold);
    display: block;
    margin-bottom: 2px;
}
.usj-text {
    color: #b45309;
    font-size: 0.85rem;
}

/* Hero Visual & Cutout */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.image-frame-glow {
    position: relative;
    width: 100%;
    max-width: 460px;
    border-radius: 24px;
    padding: 12px;
    background: linear-gradient(135deg, rgba(217,119,6,0.3) 0%, rgba(37,99,235,0.3) 100%);
    box-shadow: var(--shadow-xl);
}
.hero-teacher-img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: var(--shadow-md);
}

.floating-badge {
    position: absolute;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 12px 16px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10;
    max-width: 230px;
}
.badge-top-left {
    top: -20px;
    left: -20px;
    animation: floatAnim 4s ease-in-out infinite;
}
.badge-bottom-right {
    bottom: -20px;
    right: -20px;
    animation: floatAnim 4s ease-in-out infinite 2s;
}

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

.badge-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}
.gold-icon {
    background: var(--gold-gradient);
}
.badge-text strong {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    color: var(--primary);
    line-height: 1.2;
}
.badge-text span {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
}

.experience-seal {
    position: absolute;
    top: 20px;
    right: -15px;
    width: 90px;
    height: 90px;
    background: var(--accent);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-accent);
    border: 3px solid #ffffff;
    transform: rotate(12deg);
    z-index: 11;
}
.seal-title { font-size: 0.55rem; font-weight: 700; letter-spacing: 1px; }
.seal-main { font-family: 'Outfit', sans-serif; font-size: 1.6rem; font-weight: 900; line-height: 1; }
.seal-sub { font-size: 0.55rem; font-weight: 700; letter-spacing: 0.5px; }

.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}
.scroll-indicator a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
}
.scroll-indicator i {
    color: var(--gold);
}

/* ==========================================================================
   PHILOSOPHY & INTERACTIVE MINDSET GIMMICK
   ========================================================================== */
.philosophy-section {
    background-color: var(--bg-alt);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}
.philosophy-card {
    background: var(--bg-surface);
    border-radius: 20px;
    padding: 36px 30px;
    box-shadow: var(--shadow-md);
    position: relative;
    border: 2px solid transparent;
    transition: var(--transition);
}
.card-alert {
    border-color: #fecdd3;
    background: linear-gradient(180deg, #fffcfc 0%, #ffffff 100%);
}
.card-victory {
    border-color: var(--gold);
    background: linear-gradient(180deg, #fffefb 0%, #ffffff 100%);
    box-shadow: var(--shadow-gold);
}

.card-badge {
    position: absolute;
    top: -14px;
    right: 24px;
    background: var(--gold-gradient);
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 14px;
    border-radius: 20px;
    letter-spacing: 1px;
}
.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: #ffe4e6;
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
}
.icon-gold {
    background: var(--gold-light);
    color: var(--gold);
}

.philosophy-card h3 {
    font-size: 1.6rem;
    margin-bottom: 6px;
}
.card-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px dashed var(--border);
}

.comparison-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 1rem;
    font-weight: 500;
}
.comparison-list i {
    margin-top: 4px;
    font-size: 1.1rem;
}

.result-tag {
    margin-top: 28px;
    padding: 12px;
    border-radius: 10px;
    text-align: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
}
.result-fail {
    background: #ffe4e6;
    color: #9f1239;
}
.result-success {
    background: var(--gold-gradient);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}

/* Interactive Simulator Box */
.gimmick-container {
    background: var(--primary);
    color: var(--text-light);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.gimmick-header {
    text-align: center;
    margin-bottom: 30px;
}
.gimmick-header h3 {
    color: #ffffff;
    font-size: 1.8rem;
    margin-bottom: 8px;
}
.gimmick-header p {
    color: #94a3b8;
    font-size: 1rem;
}

.slider-wrapper {
    max-width: 800px;
    margin: 0 auto 30px;
}
.slider-labels {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: #cbd5e1;
    margin-bottom: 12px;
}
.slider-current {
    color: #fde68a;
    font-size: 1.2rem;
    font-weight: 800;
    background: rgba(217, 119, 6, 0.3);
    padding: 4px 16px;
    border-radius: 20px;
}

.custom-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 14px;
    border-radius: 10px;
    background: #1e293b;
    outline: none;
    transition: background 0.3s;
    cursor: pointer;
}
.custom-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gold-gradient);
    cursor: pointer;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.8);
    border: 3px solid #ffffff;
    transition: transform 0.15s ease;
}
.custom-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.gimmick-output {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    max-width: 800px;
    margin: 0 auto;
}
.meter-bar-bg {
    width: 100%;
    height: 12px;
    background: #0f172a;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}
.meter-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #e11d48 0%, #f59e0b 50%, #10b981 100%);
    border-radius: 10px;
    transition: width 0.3s ease;
}
.output-status {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    color: #fde68a;
    margin-bottom: 8px;
}
.output-comment {
    font-size: 0.95rem;
    color: #cbd5e1;
    font-style: italic;
}

/* ==========================================================================
   FOCUS UNIVERSITY SECTION (USJ)
   ========================================================================== */
.university-section {
    position: relative;
    background: var(--bg-surface);
}
.uni-feature-banner {
    position: relative;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 50%, #fffbeb 100%);
    border: 2px solid var(--border-gold);
    border-radius: 28px;
    padding: 50px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 50px;
}
.uni-badge-floating {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold-gradient);
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 0.85rem;
    padding: 6px 20px;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.4);
    letter-spacing: 1.5px;
}

.uni-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 40px;
    align-items: center;
}
.uni-content h3 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 12px;
}
.uni-content p {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}
.uni-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 1rem;
}
.uni-benefits i {
    color: var(--gold);
    font-size: 1.2rem;
    margin-top: 3px;
}
.uni-benefits strong {
    color: var(--primary);
}
.uni-cta {
    margin-top: 30px;
}

/* Visual Showcase with Thumbnails */
.uni-visual-showcase {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.uni-main-img {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 16/10;
    background: #0f172a;
}
.uni-main-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.uni-main-img:hover img {
    transform: scale(1.03);
}
.uni-img-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(0deg, rgba(15,23,42,0.9) 0%, rgba(15,23,42,0) 100%);
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 20px 20px 12px;
}

.uni-thumbs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.uni-thumb {
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: var(--transition);
    aspect-ratio: 16/10;
}
.uni-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.uni-thumb.active, .uni-thumb:hover {
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.uni-motivation-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.uni-mot-card {
    background: var(--bg-alt);
    padding: 30px 24px;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: var(--transition);
    text-align: center;
}
.uni-mot-card:hover {
    background: #ffffff;
    box-shadow: var(--shadow-md);
    border-color: var(--gold);
    transform: translateY(-5px);
}
.mot-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gold-light);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 16px;
}
.uni-mot-card h4 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}
.uni-mot-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* ==========================================================================
   ABOUT TEACHER SECTION - SUPERIOR BALANCED LAYOUT
   ========================================================================== */
.about-section {
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    padding: 100px 0;
}

/* Hero Profile Grid (Left visual + Experience / Right Bio + 2x2 Qualifications) */
.about-profile-hero {
    display: grid;
    grid-template-columns: 460px 1fr;
    gap: 50px;
    align-items: stretch;
    margin-bottom: 50px;
}

.about-profile-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
}

.about-img-container {
    position: relative;
    border-radius: 24px;
    padding: 12px;
    background: #ffffff;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.about-main-photo {
    width: 100%;
    height: 440px;
    border-radius: 16px;
    object-fit: cover;
    object-position: top center;
}
.about-badge-experience {
    position: absolute;
    bottom: -15px;
    right: 24px;
    background: var(--primary);
    color: #ffffff;
    padding: 14px 24px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    border: 2px solid var(--gold);
    z-index: 5;
}
.exp-years {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
}
.exp-text {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.2;
}

/* Left Column Experience Cards Strip */
.about-left-experience {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}
.about-exp-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-left: 4px solid var(--gold);
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.about-exp-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.about-exp-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(217, 119, 6, 0.12);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.about-exp-text h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 4px;
}
.about-exp-text p {
    font-size: 0.86rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}

/* Right Column Content */
.about-profile-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.tag-short {
    color: var(--gold);
}
.about-bio {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin: 18px 0 24px;
    line-height: 1.75;
}

/* 2x2 Qualifications Grid */
.qualifications-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}
.qual-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: #ffffff;
    padding: 18px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
}
.qual-item:hover {
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.qual-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--blue-light);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}
.qual-details h4 {
    font-size: 1.1rem;
    margin-bottom: 2px;
}
.qual-details p {
    font-size: 0.9rem;
    color: var(--text-muted);
}
.badge-merit {
    color: var(--gold);
    background: var(--gold-light);
    padding: 2px 8px;
    border-radius: 6px;
}

.teaching-style-box {
    background: #ffffff;
    border-left: 4px solid var(--gold);
    padding: 20px;
    border-radius: 0 12px 12px 0;
    box-shadow: var(--shadow-sm);
    margin-bottom: 32px;
}
.teaching-style-box h4 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.teaching-style-box p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.about-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* ==========================================================================
   SYLLABUS SUMMARY SECTION
   ========================================================================== */
.syllabus-section {
    background: var(--bg-surface);
}
.syllabus-tabs-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}
.tab-btn {
    padding: 14px 28px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50px;
    border: 2px solid var(--border);
    background: #ffffff;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.tab-btn:hover, .tab-btn.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}
.tab-btn.active {
    background: var(--gold-gradient);
    border-color: var(--gold);
}

.tab-pane {
    display: none;
    animation: fadeInTab 0.4s ease;
}
.tab-pane.active {
    display: block;
}
@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.module-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.module-card {
    background: var(--bg-alt);
    border-radius: 18px;
    padding: 28px;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}
.module-card:hover {
    background: #ffffff;
    box-shadow: var(--shadow-md);
    border-color: var(--blue);
    transform: translateY(-4px);
}
.mod-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}
.mod-num {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 0.85rem;
    color: var(--blue);
    background: var(--blue-light);
    padding: 4px 12px;
    border-radius: 20px;
}
.mod-weight {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gold);
}
.module-card h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}
.module-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}
.mod-footer {
    padding-top: 14px;
    border-top: 1px dashed var(--border);
}
.mod-tip {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}
.mod-tip i { color: var(--gold); }

/* Standards Box */
.standards-box {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    border: 2px solid var(--border);
    box-shadow: var(--shadow-md);
}
.standards-box h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.standards-box p {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}
.standards-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}
.std-badge {
    background: var(--bg-alt);
    padding: 14px 20px;
    border-radius: 12px;
    border: 1px solid var(--border);
    font-size: 0.95rem;
}
.std-badge strong { color: var(--blue); }
.std-highlight-msg {
    background: var(--gold-light);
    color: #b45309;
    padding: 16px 20px;
    border-radius: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Strategy Container */
.strategy-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.strat-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.strat-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}
.strat-num {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent-light);
    margin-bottom: 10px;
}
.strat-card h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

/* ==========================================================================
   TIMETABLE & LMS SECTION
   ========================================================================== */
.timetable-section {
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
}
.timetable-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}
.tt-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 36px 30px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: var(--transition);
}
.tt-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.featured-tt {
    border: 2px solid var(--gold);
    box-shadow: var(--shadow-gold);
    background: linear-gradient(180deg, #fffefb 0%, #ffffff 100%);
}

.popular-ribbon {
    position: absolute;
    top: 20px;
    right: -10px;
    background: var(--accent);
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 0.75rem;
    padding: 6px 16px;
    border-radius: 20px 0 0 20px;
    box-shadow: var(--shadow-sm);
    letter-spacing: 1px;
}

.tt-batch-badge {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 0.8rem;
    padding: 6px 14px;
    border-radius: 30px;
    margin-bottom: 16px;
    width: fit-content;
}
.batch-2026 { background: var(--blue-light); color: var(--blue); }
.batch-2027 { background: var(--gold-light); color: var(--gold); }
.batch-rev { background: #f3e8ff; color: #7e22ce; }

.tt-header h3 {
    font-size: 1.6rem;
    margin-bottom: 6px;
}
.tt-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px dashed var(--border);
}

.tt-details {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 30px;
}
.tt-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.tt-row i {
    font-size: 1.2rem;
    color: var(--gold);
    margin-top: 3px;
}
.tt-row strong {
    display: block;
    font-size: 1rem;
    color: var(--primary);
}
.tt-row span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Dedicated LMS Portal Card */
.lms-showcase {
    background: linear-gradient(135deg, var(--primary) 0%, #1e293b 100%);
    border-radius: 28px;
    padding: 50px;
    color: #ffffff;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.lms-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 158, 11, 0.2);
    color: #fde68a;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 16px;
}
.lms-content h3 {
    color: #ffffff;
    font-size: 2.3rem;
    margin-bottom: 16px;
}
.lms-content p {
    color: #94a3b8;
    font-size: 1.05rem;
    margin-bottom: 28px;
}
.lms-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}
.lms-feat {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.lms-feat i {
    font-size: 1.3rem;
    color: var(--gold);
    margin-top: 3px;
}
.lms-feat strong {
    display: block;
    color: #ffffff;
    font-size: 0.95rem;
}
.lms-feat span {
    font-size: 0.85rem;
    color: #94a3b8;
}
.lms-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* LMS UI Mockup Card */
.lms-mockup-card {
    background: #0f172a;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    overflow: hidden;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.4);
}
.mockup-top {
    background: #1e293b;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }
.mockup-url {
    font-family: monospace;
    font-size: 0.75rem;
    color: #94a3b8;
    background: #0f172a;
    padding: 3px 12px;
    border-radius: 6px;
    margin-left: 10px;
    flex: 1;
}
.mockup-body {
    padding: 24px;
}
.lms-dash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #ffffff;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.badge-active {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
    padding: 2px 10px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.75rem;
}
.lms-progress-box {
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: #94a3b8;
}
.prog-bar {
    width: 100%;
    height: 8px;
    background: #1e293b;
    border-radius: 10px;
    margin-top: 6px;
    overflow: hidden;
}
.prog-fill {
    height: 100%;
    background: var(--gold-gradient);
}
.lms-cards-mini {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.mini-card {
    background: #1e293b;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.8rem;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   PHOTO GALLERY SECTION
   ========================================================================== */
.gallery-section {
    background: var(--bg-surface);
}
.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}
.filter-btn {
    padding: 10px 22px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 30px;
    border: 1px solid var(--border);
    background: var(--bg-alt);
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 240px;
    gap: 20px;
}
.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    background: #0f172a;
}
.gallery-item:nth-child(1), .gallery-item:nth-child(7) {
    grid-column: span 2;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-item:hover img {
    transform: scale(1.08);
}
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(15,23,42,0.9) 0%, rgba(15,23,42,0.2) 60%, rgba(15,23,42,0) 100%);
    color: #ffffff;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: var(--transition);
}
.gallery-item:hover .gallery-overlay {
    opacity: 1;
}
.gal-cat {
    font-size: 0.75rem;
    font-weight: 700;
    color: #fde68a;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.gallery-overlay h4 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-top: 2px;
}
.zoom-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

/* Lightbox & Modals */
.lightbox-modal, .modal-overlay {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
}
.close-lightbox, .close-modal {
    position: absolute;
    top: 25px;
    right: 35px;
    color: #ffffff;
    font-size: 40px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}
.close-lightbox:hover, .close-modal:hover {
    color: var(--gold);
}
.lightbox-caption {
    position: absolute;
    bottom: 30px;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    text-align: center;
    background: rgba(15, 23, 42, 0.8);
    padding: 10px 24px;
    border-radius: 30px;
}

/* Modal Card */
.modal-card {
    background: #ffffff;
    border-radius: 24px;
    width: 100%;
    max-width: 480px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    animation: scaleInModal 0.3s ease;
}
@keyframes scaleInModal {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.modal-header {
    background: var(--primary);
    color: #ffffff;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}
.modal-header h3 { color: #ffffff; font-size: 1.4rem; }
.modal-header .close-modal { position: static; font-size: 28px; }
.modal-body { padding: 30px; }
.modal-body p { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 20px; }
.modal-footer-links {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
}
.modal-footer-links a { color: var(--blue); font-weight: 600; }

/* ==========================================================================
   CONTACT US & WHATSAPP FORM SECTION
   ========================================================================== */
.contact-section {
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
}
.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 12px;
}
.contact-intro {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 28px;
}
.contact-card-item {
    background: #ffffff;
    padding: 20px;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
    transition: var(--transition);
}
.contact-card-item:hover {
    border-color: var(--gold);
    transform: translateX(6px);
}
.cc-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--blue-light);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}
.contact-card-item:nth-child(2) .cc-icon { background: #dcfce7; color: #16a34a; }
.contact-card-item:nth-child(3) .cc-icon { background: #eff6ff; color: #1877f2; }
.cc-details h4 { font-size: 1.1rem; margin-bottom: 4px; }
.cc-details p, .cc-details span { font-size: 0.9rem; color: var(--text-muted); }
.fb-link { color: #1877f2; font-weight: 700; display: inline-flex; align-items: center; gap: 4px; }

.social-connect-box {
    background: #ffffff;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid var(--border);
    text-align: center;
    margin-top: 24px;
}
.social-connect-box h4 { margin-bottom: 16px; }
.social-icons-row {
    display: flex;
    justify-content: center;
    gap: 14px;
}
.soc-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #ffffff;
    transition: var(--transition);
}
.soc-btn.fb { background: #1877f2; }
.soc-btn.wa { background: #25d366; }
.soc-btn.yt { background: #ff0000; }
.soc-btn.tg { background: #0088cc; }
.soc-btn:hover { transform: translateY(-4px) scale(1.1); }

/* Form Wrapper */
.contact-form-wrapper {
    background: #ffffff;
    border-radius: 28px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--border);
}
.form-header {
    margin-bottom: 24px;
}
.form-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #dcfce7;
    color: #16a34a;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 0.75rem;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
}
.form-header h3 { font-size: 1.8rem; margin-bottom: 6px; }
.form-header p { font-size: 0.95rem; color: var(--text-muted); }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 8px;
}
.form-input {
    width: 100%;
    padding: 14px 16px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.95rem;
    border: 2px solid var(--border);
    border-radius: 12px;
    background: var(--bg-main);
    color: var(--text-main);
    transition: var(--transition);
    outline: none;
}
.form-input:focus {
    border-color: #25d366;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.1);
}

.radio-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
}
.radio-label input[type="radio"] {
    accent-color: #25d366;
    width: 18px;
    height: 18px;
}
.form-disclaimer {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 12px;
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 70px 0 30px;
    border-top: 4px solid var(--gold);
}
.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.footer-logo .logo-badge { width: 42px; height: 42px; font-size: 1.3rem; }
.footer-logo .logo-title { color: #ffffff; }
.footer-tagline { color: var(--gold); font-size: 0.85rem; margin-bottom: 16px; }
.footer-about { font-size: 0.9rem; color: #94a3b8; margin-bottom: 20px; line-height: 1.7; }

.footer-social { display: flex; gap: 12px; }
.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #1e293b;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.footer-social a:hover { background: var(--gold); transform: translateY(-3px); }

.links-col h4, .quote-col h4 {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}
.links-col h4::after, .quote-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gold);
}
.links-col ul li { margin-bottom: 12px; }
.links-col ul a {
    color: #94a3b8;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.links-col ul a:hover { color: var(--gold); transform: translateX(5px); }
.links-col ul i { font-size: 0.75rem; color: var(--gold); }

.footer-quote-box {
    background: #1e293b;
    padding: 20px;
    border-radius: 12px;
    border-left: 3px solid var(--gold);
    margin-bottom: 20px;
}
.fq-text { font-style: italic; font-size: 0.9rem; color: #cbd5e1; margin-bottom: 8px; }
.fq-author { font-weight: 700; font-size: 0.85rem; color: var(--gold); }
.footer-uni-badge {
    background: rgba(217, 119, 6, 0.2);
    color: #fde68a;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid #1e293b;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #64748b;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-bottom-left {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.footer-credits {
    font-size: 0.82rem;
    color: #94a3b8;
}
.footer-credits a {
    color: var(--gold);
    font-weight: 600;
    transition: var(--transition);
}
.footer-credits a:hover {
    color: #ffffff;
    text-decoration: underline;
}
.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 12px;
}
.footer-bottom-links a { color: #94a3b8; font-weight: 600; }
.footer-bottom-links a:hover { color: #ffffff; }

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gold-gradient);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-gold);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}
.back-to-top.show {
    opacity: 1;
    visibility: visible;
}
.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 24px rgba(217, 119, 6, 0.5);
}

/* ==========================================================================
   TEACHER ACHIEVEMENTS, GOLD MEDALS & ISLAND RANKS SHOWCASE
   ========================================================================== */
.achievements-showcase {
    margin-top: 40px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-md);
}
.achievements-showcase-title {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--primary);
}
.achievements-showcase-title i {
    color: var(--gold);
    font-size: 1.5rem;
}
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}
.achiev-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 18px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.achiev-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
    box-shadow: 0 12px 20px -8px rgba(217, 119, 6, 0.25);
}
.achiev-card.gold-card {
    border-left: 5px solid var(--gold);
    background: linear-gradient(135deg, #ffffff 0%, rgba(254, 243, 199, 0.4) 100%);
}
.achiev-card.rank-card {
    border-left: 5px solid var(--accent);
    background: linear-gradient(135deg, #ffffff 0%, rgba(253, 242, 240, 0.4) 100%);
}
.achiev-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}
.achiev-icon.gold {
    background: var(--gold-light);
    color: var(--gold);
}
.achiev-icon.rank {
    background: var(--accent-light);
    color: var(--accent);
}
.achiev-text h4 {
    font-size: 1.02rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-main);
}
.achiev-text p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.45;
}
.achiev-badge-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    border-radius: 6px;
    margin-top: 8px;
}
.achiev-badge-tag.gold-tag {
    background: var(--gold);
    color: #ffffff;
}
.achiev-badge-tag.rank-tag {
    background: var(--accent);
    color: #ffffff;
}

/* Experience Highlights Bar */
.experience-highlights-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin: 24px 0 32px;
}
.exp-highlight-card {
    background: var(--blue-light);
    border: 1px solid rgba(2, 132, 199, 0.2);
    border-radius: 14px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
}
.exp-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--blue);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}
.exp-text-block strong {
    display: block;
    font-size: 1.1rem;
    color: var(--primary);
}
.exp-text-block span {
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* Batch Badges & Recording Policy */
.tt-batch-badge.batch-2028 {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
}
.recording-policy-banner {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(217, 119, 6, 0.1);
    border: 1px solid var(--gold);
    border-radius: 12px;
    padding: 14px 20px;
    margin-top: 24px;
    font-size: 0.95rem;
    color: var(--text-main);
}
.recording-policy-banner i {
    color: var(--gold);
    font-size: 1.4rem;
}
.payment-methods-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    border: 1px dashed var(--border);
    border-radius: 12px;
    padding: 12px 18px;
    margin-top: 20px;
    font-size: 0.88rem;
    color: var(--text-muted);
}
.payment-methods-bar strong {
    color: var(--primary);
}
.payment-tag {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.82rem;
    color: var(--text-main);
}

/* Mobile-only UI Helpers (Hidden by default on Desktop > 1024px) */
.mobile-only-ui,
.mobile-only-visual,
.mobile-bottom-bar {
    display: none !important;
}

/* ==========================================================================
   RESPONSIVE LAYOUTS & COMPREHENSIVE MOBILE OPTIMIZATION SYSTEM
   ========================================================================== */
@media (max-width: 1024px) {
    body, html {
        overflow-x: hidden;
    }
    
    .desktop-only-visual,
    .desktop-only-ui {
        display: none !important;
    }
    .mobile-only-visual,
    .mobile-only-ui {
        display: flex !important;
        margin: 12px 0 28px;
        width: 100%;
        justify-content: center;
    }

    .nav-container {
        height: 72px;
    }
    .nav-links {
        position: fixed;
        top: 72px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 72px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 14px;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: var(--shadow-xl);
        padding: 32px 24px 60px;
        overflow-y: auto;
        z-index: 999;
    }
    .nav-links.active { left: 0; }
    .menu-toggle { display: block; }
    .nav-actions .social-nav, .nav-actions .nav-cta { display: none; }
    
    .nav-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 14px 18px;
        font-size: 1.05rem;
        font-weight: 600;
        border-radius: 14px;
        background: var(--bg-surface);
        border: 1px solid var(--border);
        color: var(--text-main);
        transition: var(--transition);
        width: 100%;
    }
    .nav-item::after { display: none; }
    .nav-item:hover, .nav-item.active {
        background: var(--blue-light);
        border-color: rgba(37, 99, 235, 0.3);
        color: var(--blue);
        transform: none;
    }
    .nav-highlight {
        background: var(--gold-light) !important;
        color: var(--gold) !important;
        border-color: rgba(217, 119, 6, 0.3) !important;
        font-weight: 700;
    }
    .mobile-only-nav {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
        max-width: 100%;
        margin-top: 16px;
        padding-top: 20px;
        border-top: 1px dashed var(--border);
    }
    
    .hero-title { font-size: 2.8rem; }
    .sinhala-title { font-size: 2rem; }
    .hero-container, .about-grid, .about-profile-hero {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    /* Mobile/Tablet Section Re-ordering for Optimal UX & Flow */
    .uni-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 22px !important;
    }
    .uni-content {
        display: contents !important;
    }
    .uni-content h3 {
        order: 1 !important;
        width: 100% !important;
    }
    .uni-content .sinhala-quote {
        order: 2 !important;
        width: 100% !important;
    }
    .uni-content p:not(.sinhala-quote) {
        order: 3 !important;
        width: 100% !important;
    }
    .uni-visual-showcase {
        order: 4 !important;
        width: 100% !important;
        margin: 6px 0 12px !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
    }
    .uni-content .uni-benefits {
        order: 5 !important;
        width: 100% !important;
    }
    .uni-content .uni-cta {
        order: 6 !important;
        width: 100% !important;
    }
    .lms-showcase {
        display: flex !important;
        flex-direction: column !important;
        gap: 26px !important;
    }
    .lms-content {
        order: 1 !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
    }
    .lms-visual {
        order: -1 !important;
        width: 100% !important;
        margin: 4px 0 8px !important;
    }
    .contact-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 34px !important;
    }
    .contact-form-wrapper {
        order: -1 !important;
        width: 100% !important;
    }
    .contact-info {
        order: 1 !important;
        width: 100% !important;
    }

    /* Interactive Simulator - Tablet & Mobile Label Structure */
    .slider-labels {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 10px !important;
        margin-bottom: 16px !important;
    }
    .slider-current {
        order: -1 !important;
        width: 100% !important;
        text-align: center !important;
        font-size: 1.22rem !important;
        padding: 8px 20px !important;
        border-radius: 20px !important;
        box-shadow: 0 2px 10px rgba(217, 119, 6, 0.3) !important;
        margin-bottom: 4px !important;
    }
    .slider-labels span:not(.slider-current) {
        font-size: 0.82rem !important;
        color: #94a3b8 !important;
        line-height: 1.3 !important;
        flex: 1 1 calc(50% - 6px) !important;
    }
    .slider-labels span:nth-child(1) {
        text-align: left !important;
    }
    .slider-labels span:nth-child(3) {
        text-align: right !important;
    }

    .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-item:nth-child(1), .gallery-item:nth-child(7) { grid-column: span 1; }
    .footer-top { grid-template-columns: repeat(2, 1fr); gap: 30px; }
    .timetable-grid, .strategy-container, .uni-motivation-cards { grid-template-columns: repeat(1, 1fr); gap: 24px; }
    .module-grid { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 768px) {
    body {
        padding-bottom: 68px; /* Room for sticky mobile bottom action bar */
    }
    
    /* Top Banner Optimization */
    .top-banner { padding: 8px 0; font-size: 0.82rem; }
    .banner-content {
        flex-direction: column;
        gap: 6px;
        text-align: center;
        justify-content: center;
    }
    .banner-badge { font-size: 0.72rem; padding: 3px 10px; }
    .banner-text { font-size: 0.8rem; line-height: 1.35; }

    /* Sticky Navbar */
    .nav-container { height: 64px; }
    .brand-logo { gap: 10px; }
    .logo-badge { width: 40px; height: 40px; font-size: 1.25rem; border-radius: 10px; }
    .logo-title { font-size: 1.1rem; }
    .logo-subtitle { font-size: 0.68rem; }
    .nav-links { top: 64px; height: calc(100vh - 64px); padding: 24px 18px 80px; }

    /* Section & Typography Scale */
    .section { padding: 50px 0; }
    .section-title { font-size: 2rem; line-height: 1.25; margin-bottom: 12px; }
    .section-desc { font-size: 0.96rem; line-height: 1.6; }
    .sub-heading { font-size: 0.76rem; padding: 5px 12px; margin-bottom: 10px; }

    /* Hero Section Re-arranged & Optimized */
    .hero-section { padding: 30px 0 50px; min-height: auto; }
    .hero-container { display: flex; flex-direction: column; gap: 32px; }
    .badge-row { justify-content: center; gap: 8px; margin-bottom: 18px; }
    .hero-tag { font-size: 0.78rem; padding: 6px 12px; }
    .hero-title { font-size: 2.2rem; line-height: 1.18; text-align: center; margin-bottom: 14px; }
    .sinhala-title { font-size: 1.65rem; margin-top: 6px; }
    .hero-subtitle { font-size: 0.96rem; text-align: center; line-height: 1.6; margin: 0 auto 20px; max-width: 100%; }
    
    .quote-box {
        margin: 0 auto 24px;
        border-left: 3px solid var(--accent);
        border-radius: 12px;
        padding: 14px 16px;
        text-align: left;
        max-width: 100%;
    }
    .quote-text { font-size: 0.9rem; line-height: 1.5; }
    .quote-author { font-size: 0.8rem; }

    /* Stacked Hero CTA Actions */
    .hero-actions { flex-direction: column; width: 100%; gap: 12px; margin-bottom: 28px; }
    .hero-actions .btn { width: 100%; max-width: 100%; padding: 14px 20px; font-size: 1rem; }
    
    /* 2x2 Hero Stats Grid */
    .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; padding-top: 20px; }
    .stat-card { padding: 14px 10px; border-radius: 12px; }
    .stat-number { font-size: 1.65rem; }
    .stat-suffix { font-size: 1.15rem; }
    .stat-label { font-size: 0.74rem; }

    /* Teacher Cutout & Badges inside Mobile View */
    .hero-visual { padding: 10px 4px 24px; width: 100%; }
    .image-frame-glow { max-width: 320px; margin: 0 auto; padding: 10px; border-radius: 20px; }
    .hero-teacher-img { border-radius: 14px; }
    .floating-badge { max-width: 175px; padding: 8px 12px; gap: 8px; border-radius: 12px; }
    .badge-icon { width: 36px; height: 36px; font-size: 1rem; border-radius: 10px; }
    .badge-text strong { font-size: 0.82rem; line-height: 1.15; }
    .badge-text span { font-size: 0.68rem; }
    .badge-top-left { top: -14px; left: -8px; }
    .badge-bottom-right { bottom: -16px; right: -8px; }
    .experience-seal { width: 74px; height: 74px; top: 12px; right: -6px; }
    .seal-title { font-size: 0.48rem; }
    .seal-main { font-size: 1.25rem; }
    .seal-sub { font-size: 0.48rem; }

    /* Philosophy & Interactive Simulator Box */
    .philosophy-grid { grid-template-columns: 1fr; gap: 20px; margin-bottom: 36px; }
    .philosophy-card { padding: 24px 20px; border-radius: 16px; }
    .card-badge { right: 16px; top: -12px; font-size: 0.7rem; padding: 3px 10px; }
    
    /* Philosophy & Interactive Simulator Box - Mobile Touch Optimized */
    .gimmick-container {
        padding: 26px 16px 24px !important;
        border-radius: 24px !important;
        border: 1.5px solid rgba(255, 255, 255, 0.15) !important;
        box-shadow: var(--shadow-xl) !important;
        margin: 14px 0 !important;
    }
    .gimmick-header {
        margin-bottom: 22px !important;
    }
    .gimmick-header h3 {
        font-size: 1.48rem !important;
        line-height: 1.25 !important;
        margin-bottom: 8px !important;
    }
    .gimmick-header p {
        font-size: 0.88rem !important;
        line-height: 1.45 !important;
        padding: 0 4px !important;
    }
    .slider-wrapper {
        max-width: 100% !important;
        margin: 0 auto 24px !important;
        padding: 4px 4px !important;
        touch-action: pan-y !important;
    }
    .custom-slider {
        height: 18px !important;
        border-radius: 12px !important;
        background: #1e293b !important;
        box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.4) !important;
    }
    .custom-slider::-webkit-slider-thumb {
        width: 36px !important;
        height: 36px !important;
        box-shadow: 0 0 18px rgba(245, 158, 11, 0.9) !important;
        border: 3.5px solid #ffffff !important;
    }
    .custom-slider::-moz-range-thumb {
        width: 36px !important;
        height: 36px !important;
        box-shadow: 0 0 18px rgba(245, 158, 11, 0.9) !important;
        border: 3.5px solid #ffffff !important;
        border-radius: 50% !important;
        background: var(--gold-gradient) !important;
        cursor: pointer !important;
    }
    .gimmick-output {
        padding: 20px 16px !important;
        border-radius: 18px !important;
        background: rgba(15, 23, 42, 0.88) !important;
        border: 1px solid rgba(255, 255, 255, 0.12) !important;
    }
    .meter-bar-bg {
        height: 14px !important;
        border-radius: 12px !important;
        margin-bottom: 16px !important;
    }
    .output-status {
        font-size: 1.18rem !important;
        line-height: 1.3 !important;
        margin-bottom: 8px !important;
        text-align: center !important;
    }
    .output-comment {
        font-size: 0.88rem !important;
        line-height: 1.5 !important;
        text-align: center !important;
    }

    /* Focus University (USJ / Japura Dream) Section - Mobile Optimized */
    .university-section .section-header {
        margin-bottom: 30px !important;
    }
    .university-section .section-desc {
        font-size: 0.92rem !important;
        line-height: 1.55 !important;
        padding: 0 4px !important;
    }
    .uni-feature-banner {
        padding: 38px 16px 28px !important;
        border-radius: 26px !important;
        margin-bottom: 36px !important;
        border-width: 1.5px !important;
        box-shadow: var(--shadow-xl) !important;
    }
    .uni-badge-floating {
        font-size: 0.74rem !important;
        padding: 7px 18px !important;
        top: -15px !important;
        white-space: nowrap !important;
        letter-spacing: 1.2px !important;
    }
    .uni-content h3 {
        font-size: 1.68rem !important;
        line-height: 1.25 !important;
        text-align: center !important;
        margin-bottom: 10px !important;
    }
    .sinhala-quote {
        font-size: 1.05rem !important;
        text-align: center !important;
        line-height: 1.5 !important;
        margin-bottom: 16px !important;
    }
    .uni-content p:not(.sinhala-quote) {
        font-size: 0.94rem !important;
        line-height: 1.58 !important;
        text-align: center !important;
        color: var(--text-muted) !important;
        margin-bottom: 18px !important;
    }
    .uni-main-img {
        border-radius: 18px !important;
        aspect-ratio: 16/10 !important;
        box-shadow: var(--shadow-lg) !important;
        margin-bottom: 8px !important;
    }
    .uni-img-caption {
        font-size: 0.78rem !important;
        padding: 16px 14px 10px !important;
        line-height: 1.38 !important;
        text-align: left !important;
    }
    .uni-thumbs-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 8px !important;
    }
    .uni-thumb {
        border-radius: 10px !important;
        border-width: 2px !important;
    }
    .uni-benefits {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        margin: 20px 0 26px !important;
        padding: 0 !important;
        list-style: none !important;
    }
    .uni-benefits li {
        font-size: 0.92rem !important;
        gap: 12px !important;
        margin: 0 !important;
        line-height: 1.48 !important;
        align-items: flex-start !important;
        background: rgba(255, 255, 255, 0.45) !important;
        padding: 13px 14px !important;
        border-radius: 14px !important;
        border: 1px solid rgba(217, 119, 6, 0.18) !important;
    }
    .uni-benefits i {
        font-size: 1.18rem !important;
        flex-shrink: 0 !important;
        margin-top: 2px !important;
    }
    .uni-cta {
        margin-top: 14px !important;
        width: 100% !important;
    }
    .uni-cta .btn {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
        padding: 16px 20px !important;
        font-size: 1rem !important;
        font-weight: 700 !important;
        border-radius: 14px !important;
        box-shadow: 0 4px 16px rgba(217, 119, 6, 0.35) !important;
    }
    .uni-motivation-cards {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }
    .uni-mot-card {
        padding: 24px 18px !important;
        border-radius: 18px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }
    .mot-icon {
        margin: 0 auto 14px !important;
    }

    /* About Teacher Profile & Qualifications */
    .about-section { padding: 50px 0; }
    .about-main-photo { height: 330px; }
    .about-badge-experience { bottom: -12px; right: 12px; padding: 10px 18px; border-radius: 14px; }
    .exp-years { font-size: 1.8rem; }
    .exp-text { font-size: 0.78rem; }
    .about-left-experience { grid-template-columns: 1fr; gap: 12px; margin-top: 18px; }
    .about-exp-card { padding: 14px 16px; gap: 12px; }
    .qualifications-grid { grid-template-columns: 1fr; gap: 14px; }
    .qual-item { padding: 16px; gap: 12px; }
    .teaching-style-box { padding: 16px; }
    .about-cta { flex-direction: column; width: 100%; gap: 12px; }
    .about-cta .btn { width: 100%; }
    
    .achievements-showcase { padding: 20px 16px; border-radius: 16px; margin-top: 28px; }
    .achievements-showcase-title { font-size: 1.15rem; }
    .achievements-grid { grid-template-columns: 1fr; gap: 14px; }
    .achiev-card { padding: 16px; gap: 12px; }
    .experience-highlights-bar { grid-template-columns: 1fr; gap: 12px; margin: 20px 0 24px; }
    .exp-highlight-card { padding: 14px 16px; }

    /* Syllabus & Timetable Sections */
    .syllabus-tabs-nav { gap: 8px; margin-bottom: 28px; }
    .tab-btn { padding: 10px 16px; font-size: 0.88rem; flex: 1 1 calc(50% - 8px); justify-content: center; }
    .module-grid { grid-template-columns: 1fr; gap: 16px; }
    .module-card { padding: 20px 16px; }
    .standards-box { padding: 24px 16px; }
    .standards-list { grid-template-columns: 1fr; gap: 12px; }
    .strategy-container { grid-template-columns: 1fr; gap: 16px; }
    
    /* Timetable Section - Mobile Optimized */
    .timetable-grid {
        grid-template-columns: 1fr;
        gap: 22px;
        margin-bottom: 36px;
    }
    .tt-card {
        padding: 24px 16px 22px;
        border-radius: 20px;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }
    .popular-ribbon {
        position: absolute;
        top: 14px;
        right: 0;
        border-radius: 20px 0 0 20px;
        padding: 5px 14px;
        font-size: 0.68rem;
        letter-spacing: 0.8px;
        box-shadow: none;
    }
    .tt-batch-badge {
        font-size: 0.75rem;
        padding: 5px 12px;
        margin-bottom: 12px;
    }
    .tt-header h3 {
        font-size: 1.38rem;
        line-height: 1.25;
        margin-bottom: 4px;
    }
    .tt-subtitle {
        font-size: 0.85rem;
        line-height: 1.4;
        margin-bottom: 18px;
        padding-bottom: 14px;
    }
    .tt-details {
        margin: 14px 0 22px;
        gap: 12px;
        display: flex;
        flex-direction: column;
    }
    .tt-row {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        padding: 11px 12px;
        background: var(--bg-alt);
        border-radius: 12px;
        border: 1px solid rgba(0, 0, 0, 0.04);
    }
    .tt-row i {
        font-size: 1.1rem;
        width: 34px;
        height: 34px;
        flex-shrink: 0;
        margin-top: 1px;
    }
    .tt-row strong {
        font-size: 0.9rem;
        line-height: 1.3;
        display: block;
    }
    .tt-row span {
        font-size: 0.78rem;
        line-height: 1.4;
        display: block;
        margin-top: 3px;
        color: var(--text-muted);
    }
    .tt-card .btn {
        width: 100%;
        justify-content: center;
        padding: 14px 16px;
        font-size: 0.95rem;
        border-radius: 12px;
    }
    .recording-policy-banner {
        flex-direction: column;
        text-align: center;
        padding: 16px 14px;
        gap: 10px;
        border-radius: 16px;
        font-size: 0.88rem;
        line-height: 1.5;
    }
    .payment-methods-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 16px 14px;
        border-radius: 16px;
    }
    .payment-methods-bar strong {
        text-align: center;
        font-size: 0.92rem;
    }
    .payment-methods-bar > div {
        display: flex;
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }
    .payment-tag {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 9px 12px;
        font-size: 0.82rem;
        border-radius: 10px;
    }

    /* LMS Showcase & Gallery - Mobile Optimized */
    .lms-showcase {
        padding: 28px 16px 26px;
        border-radius: 24px;
        gap: 24px;
    }
    .lms-tag {
        font-size: 0.74rem;
        padding: 5px 14px;
        margin-bottom: 12px;
    }
    .lms-content h3 {
        font-size: 1.72rem;
        line-height: 1.25;
        margin-bottom: 12px;
    }
    .lms-content p {
        font-size: 0.95rem;
        line-height: 1.55;
        margin-bottom: 18px;
    }
    .lms-mockup-card {
        border-radius: 16px;
        box-shadow: var(--shadow-lg);
        width: 100%;
    }
    .mockup-top {
        padding: 10px 14px;
        gap: 6px;
    }
    .mockup-url {
        font-size: 0.7rem;
        padding: 3px 10px;
    }
    .mockup-body {
        padding: 18px 14px;
    }
    .lms-dash-header {
        font-size: 0.82rem;
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
        padding-bottom: 12px;
        margin-bottom: 16px;
    }
    .lms-progress-box {
        font-size: 0.82rem;
        margin-bottom: 16px;
    }
    .lms-cards-mini {
        gap: 10px;
    }
    .mini-card {
        padding: 11px 12px;
        font-size: 0.78rem;
        gap: 10px;
    }
    .lms-features-grid {
        display: flex;
        flex-direction: column;
        gap: 14px;
        margin-bottom: 24px;
    }
    .lms-feat {
        gap: 12px;
        background: rgba(255, 255, 255, 0.05);
        padding: 14px;
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.08);
    }
    .lms-feat i {
        font-size: 1.2rem;
        margin-top: 2px;
        flex-shrink: 0;
    }
    .lms-feat strong {
        font-size: 0.92rem;
        margin-bottom: 2px;
    }
    .lms-feat span {
        font-size: 0.82rem;
        line-height: 1.4;
    }
    .lms-actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    .lms-actions .btn {
        width: 100%;
        justify-content: center;
        padding: 15px 18px;
        font-size: 1rem;
    }
    .gallery-filters { gap: 8px; margin-bottom: 24px; }
    .filter-btn { padding: 8px 16px; font-size: 0.85rem; }
    .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; gap: 14px; }
    .gallery-item:nth-child(1), .gallery-item:nth-child(7) { grid-column: span 1; }

    /* Contact Us & Get in Touch - Mobile Optimized */
    .contact-form-wrapper {
        padding: 26px 16px 24px;
        border-radius: 24px;
        border-width: 1.5px;
        box-shadow: var(--shadow-md);
    }
    .form-header {
        margin-bottom: 22px;
        text-align: center;
    }
    .form-badge {
        font-size: 0.72rem;
        padding: 5px 14px;
        margin-bottom: 10px;
    }
    .form-header h3 {
        font-size: 1.58rem;
        line-height: 1.25;
        margin-bottom: 8px;
    }
    .form-header p {
        font-size: 0.88rem;
        line-height: 1.45;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .form-group {
        margin-bottom: 16px;
    }
    .form-group label {
        font-size: 0.86rem;
        margin-bottom: 6px;
    }
    .form-input {
        padding: 14px 14px;
        font-size: 0.94rem;
        border-radius: 12px;
    }
    .radio-group {
        flex-direction: column;
        gap: 12px;
        background: var(--bg-alt);
        padding: 14px 12px;
        border-radius: 12px;
        border: 1px solid var(--border);
    }
    .radio-label {
        font-size: 0.88rem;
        gap: 10px;
    }
    .contact-form-wrapper .btn-whatsapp {
        padding: 15px 16px;
        font-size: 0.96rem;
        border-radius: 12px;
        width: 100%;
        justify-content: center;
        display: flex;
        align-items: center;
        gap: 8px;
        text-align: center;
    }
    .contact-info h3 {
        font-size: 1.68rem;
        text-align: center;
        margin-bottom: 8px;
    }
    .contact-intro {
        font-size: 0.92rem;
        text-align: center;
        line-height: 1.5;
        margin-bottom: 22px;
    }
    .contact-card-item {
        padding: 16px 14px;
        border-radius: 16px;
        gap: 14px;
        align-items: flex-start;
        margin-bottom: 14px;
    }
    .cc-icon {
        width: 44px;
        height: 44px;
        font-size: 1.28rem;
        border-radius: 12px;
    }
    .cc-details h4 {
        font-size: 1.02rem;
        margin-bottom: 3px;
    }
    .cc-details p, .cc-details span, .cc-details .fb-link {
        font-size: 0.84rem;
        line-height: 1.4;
        word-break: break-word;
    }
    .social-connect-box {
        padding: 22px 16px;
        border-radius: 16px;
        margin-top: 18px;
        text-align: center;
    }
    .social-connect-box h4 {
        font-size: 1.08rem;
        margin-bottom: 14px;
    }
    .social-icons-row {
        gap: 14px;
        justify-content: center;
    }
    .soc-btn {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }
    
    .footer { padding: 45px 0 24px; }
    .footer-top { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 14px; }
    .footer-bottom-left { flex-direction: column; align-items: center; gap: 8px; }
    .footer-bottom-links { display: flex; flex-direction: column; gap: 8px; }
    .footer-bottom-links span { display: none; }

    /* Fixed Sticky Mobile Bottom Action Bar */
    .mobile-bottom-bar {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr);
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-top: 1px solid var(--border);
        box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.08);
        z-index: 1001;
        padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
    }
    .bottom-bar-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        color: var(--text-muted);
        font-family: 'Outfit', sans-serif;
        font-weight: 600;
        font-size: 0.72rem;
        padding: 6px 2px;
        border-radius: 8px;
        transition: var(--transition);
        text-decoration: none;
    }
    .bottom-bar-item i { font-size: 1.15rem; }
    .bottom-bar-item:hover, .bottom-bar-item:active {
        color: var(--primary);
        background: var(--bg-alt);
    }
    .bottom-bar-item.active-pulse { color: var(--accent); }
    .bottom-bar-item.active-pulse i {
        color: #25d366;
        filter: drop-shadow(0 2px 4px rgba(37, 211, 102, 0.4));
    }
    .bottom-bar-lms { color: var(--gold); }
    .bottom-bar-lms i { color: var(--gold); }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.88rem; }
    .sinhala-title { font-size: 1.42rem; }
    .hero-stats { grid-template-columns: 1fr 1fr; gap: 8px; }
    .stat-number { font-size: 1.45rem; }
    .stat-suffix { font-size: 1.05rem; }
    .stat-label { font-size: 0.68rem; }
    .image-frame-glow { max-width: 290px; }
    .badge-top-left { top: -12px; left: -4px; padding: 6px 10px; }
    .badge-bottom-right { bottom: -14px; right: -4px; padding: 6px 10px; }
    .experience-seal { width: 64px; height: 64px; top: 10px; right: -4px; }
    .seal-main { font-size: 1.1rem; }
    .tab-btn { flex: 1 1 100%; }
    .modal-card { border-radius: 18px; }
    .modal-header { padding: 18px 16px; }
    .modal-body { padding: 20px 16px; }
    
    .gimmick-container { padding: 22px 14px 20px !important; }
    .gimmick-header h3 { font-size: 1.35rem !important; }
    .slider-current { font-size: 1.12rem !important; padding: 6px 16px !important; }
    .slider-labels span:not(.slider-current) { font-size: 0.74rem !important; }
    .custom-slider::-webkit-slider-thumb, .custom-slider::-moz-range-thumb { width: 34px !important; height: 34px !important; }
    .output-status { font-size: 1.08rem !important; }

    /* Japura Dreams (<480px) Small Phone Polish */
    .uni-feature-banner { padding: 34px 14px 24px !important; border-radius: 22px !important; }
    .uni-badge-floating { font-size: 0.7rem !important; padding: 6px 14px !important; top: -14px !important; }
    .uni-content h3 { font-size: 1.52rem !important; }
    .sinhala-quote { font-size: 0.98rem !important; }
    .uni-benefits li { padding: 11px 12px !important; font-size: 0.88rem !important; gap: 10px !important; }
    .uni-cta .btn { padding: 14px 16px !important; font-size: 0.95rem !important; }
    .uni-mot-card { padding: 20px 14px !important; }
}


