/* ================================================ */
/* === TK IT HADIQOTUL ATHFAL - MAIN STYLESHEET === */
/* === Version: 2.0 (Clean, Responsive, Optimized) === */
/* ================================================ */

/* ============================================= */
/* === 1. CSS VARIABLES === */
/* ============================================= */
:root {
    --primary-blue: #0056b3;
    --secondary-blue: #007bff;
    --dark-blue: #003d80;
    --accent-green: #28a745;
    --accent-green-dark: #1e7e34;
    --whatsapp-green: #25D366;
    --whatsapp-dark: #128C7E;
    --gold: #f5b301;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f4f7f6;
    --white: #ffffff;
    --shadow-sm: 0 4px 15px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 50px rgba(0,0,0,0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================= */
/* === 2. RESET & BASE === */
/* ============================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-padding-top: 80px;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    overflow-x: hidden;
    line-height: 1.6;
    cursor: default;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeSpeed;
}

a { text-decoration: none; color: inherit; cursor: pointer; }
ul { list-style: none; }
img { max-width: 100%; display: block; opacity: 1; transition: opacity 0.4s ease; }
img[loading="lazy"]:not([data-loaded]) { opacity: 0; }
img[data-loaded] { opacity: 1; }
p, h1, h2, h3, h4, h5, h6, span, li { cursor: text; }
::selection { background: var(--accent-green); color: var(--white); }

/* Interactive elements */
button,
.btn-ppdb,
.btn-wa-hero,
.btn-secondary,
.btn-ppdb-large,
.btn-wa-large,
.filter-btn,
.hero-dot,
.testimonial-dot,
.gallery-item,
.teacher-card,
.card,
.menu-toggle,
.lightbox-close,
.back-to-top {
    cursor: pointer;
}

/* Focus state (accessibility) */
a:focus-visible,
button:focus-visible,
.btn-ppdb:focus-visible,
.btn-wa-hero:focus-visible,
.filter-btn:focus-visible,
.hero-dot:focus-visible,
.testimonial-dot:focus-visible {
    outline: 3px solid var(--accent-green);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-blue), var(--accent-green));
    border-radius: 10px;
    border: 2px solid #f1f5f9;
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--dark-blue), var(--accent-green-dark));
}

/* Smooth scroll */
@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}

/* ============================================= */
/* === 3. SCROLL PROGRESS BAR === */
/* ============================================= */
.scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-green));
    width: 0%;
    z-index: 9999;
    transition: width 0.1s linear;
}

/* ============================================= */
/* === 4. PRELOADER === */
/* ============================================= */
.preloader {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, #ffffff 0%, #eaf1f8 100%);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
.preloader.hide { opacity: 0; visibility: hidden; }

.preloader-logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(0, 86, 179, 0.2);
    margin-bottom: 25px;
    animation: preloaderPulse 1.5s ease-in-out infinite;
    padding: 10px;
}
.preloader-logo img {
    width: 100%; height: 100%;
    object-fit: contain;
    border-radius: 50%;
}
@keyframes preloaderPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 10px 40px rgba(0, 86, 179, 0.2); }
    50% { transform: scale(1.08); box-shadow: 0 15px 50px rgba(0, 86, 179, 0.35); }
}
.preloader-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 20px;
    letter-spacing: 1px;
}
.preloader-bar {
    width: 200px;
    height: 4px;
    background: rgba(0, 86, 179, 0.15);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}
.preloader-bar::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    height: 100%; width: 40%;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-green));
    border-radius: 10px;
    animation: loading 1.2s ease-in-out infinite;
}
@keyframes loading {
    0% { left: -40%; }
    100% { left: 100%; }
}

/* ============================================= */
/* === 5. TOP BAR === */
/* ============================================= */
.top-bar {
    background: var(--dark-blue);
    color: rgba(255,255,255,0.85);
    padding: 8px 20px;
    font-size: 0.82rem;
}
.top-bar-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.top-bar-info {
    display: flex;
    gap: 25px;
    align-items: center;
    flex-wrap: wrap;
}
.top-bar-info span,
.top-bar-info a {
    display: flex;
    align-items: center;
    gap: 7px;
    color: rgba(255,255,255,0.85);
    transition: color 0.3s;
}
.top-bar-info a:hover { color: var(--accent-green); }
.top-bar-info i { color: var(--accent-green); font-size: 0.85rem; }
.top-bar-social { display: flex; gap: 12px; }
.top-bar-social a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
    font-size: 0.85rem;
}
.top-bar-social a:hover {
    color: var(--accent-green);
    transform: translateY(-2px);
}

/* ============================================= */
/* === 6. NAVBAR === */
/* ============================================= */
header {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--primary-blue);
    letter-spacing: 0.3px;
}
.logo img {
    height: 50px;
    width: auto;
    transition: var(--transition);
}
.logo:hover img { transform: rotate(10deg) scale(1.08); }

/* Logo SVG */
.logo-svg {
    height: 55px;
    width: auto;
    transition: var(--transition);
    filter: drop-shadow(0 3px 6px rgba(0, 86, 179, 0.15));
}
.logo:hover .logo-svg {
    transform: rotate(-5deg) scale(1.08);
    filter: drop-shadow(0 5px 10px rgba(0, 86, 179, 0.3));
}

/* Logo IMG (file PNG) */
.logo-img {
    height: 55px;
    width: auto;
    max-width: 55px;
    object-fit: contain;
    transition: var(--transition);
    filter: drop-shadow(0 3px 6px rgba(0, 86, 179, 0.15));
}
.logo:hover .logo-img {
    transform: rotate(-5deg) scale(1.08);
    filter: drop-shadow(0 5px 10px rgba(0, 86, 179, 0.3));
}

.logo-text small {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-light);
    letter-spacing: 1px;
}
.nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
}
.nav-links a {
    font-weight: 600;
    color: var(--text-dark);
    transition: color 0.3s;
    position: relative;
    font-size: 0.92rem;
}
.nav-links a:not(.btn-ppdb)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: var(--accent-green);
    transition: width 0.3s ease;
}
.nav-links a:not(.btn-ppdb):hover::after { width: 100%; }
.nav-links a:not(.btn-ppdb):hover { color: var(--primary-blue); }

/* PPDB button in navbar */
.btn-ppdb {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white) !important;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}
.btn-ppdb::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}
.btn-ppdb:hover::before { left: 100%; }
.btn-ppdb:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 86, 179, 0.4);
}
.nav-links a.btn-ppdb { position: relative; }

/* Menu toggle (mobile) */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--primary-blue);
    background: none;
    border: none;
    padding: 5px;
}
.menu-toggle.active i::before { content: '\f00d'; }

/* ============================================= */
/* === 7. HERO SECTION === */
/* ============================================= */
.hero {
    min-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 80px 20px;
}

/* Hero slider */
.hero-slider { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease, transform 8s ease;
    transform: scale(1);
}
.hero-slide.active { opacity: 1; transform: scale(1.08); }
.hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(255,255,255,0.88), rgba(244,247,246,0.94));
}
.hero-slide:nth-child(1) {
    background-image: url('https://images.unsplash.com/photo-1503676260728-1c00da094a0b?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
}
.hero-slide:nth-child(2) {
    background-image: url('https://images.unsplash.com/photo-1544717305-2782549b5136?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
}
.hero-slide:nth-child(3) {
    background-image: url('https://images.unsplash.com/photo-1587654780291-39c9404d746b?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
}

/* Particles */
.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}
.particle {
    position: absolute;
    background: rgba(0, 86, 179, 0.15);
    border-radius: 50%;
    animation: floatParticle 15s linear infinite;
}
@keyframes floatParticle {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100px) rotate(360deg); opacity: 0; }
}

/* Hero glow */
.hero::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(40, 167, 69, 0.08) 0%, transparent 70%);
    bottom: -100px;
    left: 10%;
    z-index: 1;
    animation: heroGlow 8s ease-in-out infinite;
    pointer-events: none;
}
@keyframes heroGlow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* Hero content */
.hero-content {
    max-width: 850px;
    position: relative;
    z-index: 2;
    animation: fadeUp 1s ease forwards;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(40, 167, 69, 0.1);
    color: var(--accent-green-dark);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 25px;
    border: 1px solid rgba(40, 167, 69, 0.2);
    animation: fadeUp 0.8s ease forwards;
    position: relative;
    overflow: hidden;
}
.hero-badge i { color: var(--gold); }
.hero-badge::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    animation: shimmer 3s infinite;
}
@keyframes shimmer {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
    line-height: 1.15;
    font-weight: 800;
    animation: fadeUp 1s ease forwards;
}
.hero-content h1 span {
    color: var(--accent-green);
    display: inline-block;
    min-width: 180px;
    text-align: left;
}
.hero-content h1 span.typed-text {
    background: linear-gradient(135deg, #28a745, #0056b3);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShimmer 3s ease infinite;
    font-weight: 900;
}
@keyframes textShimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
.hero-content h1 span.cursor {
    display: inline-block;
    background-color: var(--primary-blue);
    width: 3px;
    margin-left: 3px;
    animation: blink 1s infinite;
    min-width: unset;
    -webkit-text-fill-color: var(--primary-blue);
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 35px;
    line-height: 1.8;
    animation: fadeUp 1.2s ease forwards;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeUp 1.4s ease forwards;
}

/* WA hero button */
.btn-wa-hero {
    background: linear-gradient(135deg, var(--whatsapp-green), var(--whatsapp-dark));
    color: var(--white);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.btn-wa-hero::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}
.btn-wa-hero:hover::before { left: 100%; }
.btn-wa-hero:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.45);
}

/* Secondary button */
.btn-secondary {
    background: var(--white);
    color: var(--primary-blue);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    border: 2px solid var(--primary-blue);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-4px);
}

/* Hero dots */
.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}
.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 86, 179, 0.3);
    transition: var(--transition);
    border: none;
    position: relative;
}
.hero-dot.active {
    background: var(--accent-green);
    width: 30px;
    border-radius: 10px;
}
.hero-dot.active::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: inherit;
    border: 2px solid rgba(40, 167, 69, 0.4);
    animation: dotPulse 1.5s infinite;
}
@keyframes dotPulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.3); opacity: 0; }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================= */
/* === 8. MARQUEE / RUNNING TEXT === */
/* ============================================= */
.marquee-container {
    background: linear-gradient(90deg, var(--primary-blue), var(--dark-blue));
    padding: 15px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}
.marquee-content {
    display: inline-block;
    animation: marquee 30s linear infinite;
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 1px;
}
.marquee-content span {
    margin: 0 30px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.marquee-content i {
    color: var(--accent-green);
    font-size: 0.8rem;
}
@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

/* ============================================= */
/* === 9. WAVY DIVIDER === */
/* ============================================= */
.wavy-divider {
    position: relative;
    width: 100%;
    height: 100px;
    margin-top: -1px;
    z-index: 2;
}
.wavy-divider svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* ============================================= */
/* === 10. SECTION TITLE === */
/* ============================================= */
.section-title { text-align: center; margin-bottom: 55px; }
.section-title .eyebrow {
    color: var(--accent-green);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}
.section-title h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 700;
    line-height: 1.25;
}
.section-title h2 span { color: var(--primary-blue); }
.section-title p {
    color: var(--text-light);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}
.section-title .divider {
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-green));
    margin: 18px auto 0;
    border-radius: 2px;
}

/* ============================================= */
/* === 11. STATISTIK COUNTER === */
/* ============================================= */
.stats-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    position: relative;
    overflow: hidden;
}
.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 30%, rgba(255,255,255,0.1) 0%, transparent 40%),
                      radial-gradient(circle at 80% 70%, rgba(40, 167, 69, 0.15) 0%, transparent 40%);
}
.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}
.stat-item { text-align: center; color: var(--white); }
.stat-item i {
    font-size: 2.5rem;
    color: var(--accent-green);
    margin-bottom: 10px;
}
.stat-number {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 4px;
}
.stat-number span { color: #6ee7b7; font-size: 2rem; }
.stat-number .counter {
    background: linear-gradient(90deg, #6ee7b7, #ffffff, #6ee7b7);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: numberShine 3s ease infinite;
}
@keyframes numberShine {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
.stat-label { font-size: 0.9rem; opacity: 0.9; letter-spacing: 1px; }

/* ============================================= */
/* === 12. FITUR / KEUNGGULAN === */
/* ============================================= */
.features {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.grid-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 1px solid rgba(0,0,0,0.03);
}
.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 0;
    background: linear-gradient(180deg, rgba(0,86,179,0.05) 0%, transparent 100%);
    transition: height 0.4s;
    z-index: -1;
}
.card:hover::before { height: 100%; }
.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}
.card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-green));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}
.card:hover::after { opacity: 1; }
.card-icon {
    width: 80px; height: 80px;
    margin: 0 auto 22px;
    background: rgba(0, 86, 179, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    transform: rotate(-5deg);
}
.card:hover .card-icon {
    transform: rotate(0) scale(1.1);
    background: var(--primary-blue);
}
.card-icon i {
    font-size: 2.2rem;
    color: var(--primary-blue);
    transition: color 0.4s;
}
.card:hover .card-icon i {
    color: var(--white);
    animation: iconBounce 0.6s ease;
}
@keyframes iconBounce {
    0%, 100% { transform: translateY(0); }
    25% { transform: translateY(-8px); }
    50% { transform: translateY(-3px); }
    75% { transform: translateY(-5px); }
}
.card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--text-dark);
    font-weight: 700;
}
.card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.92rem;
}

/* ============================================= */
/* === 13. TENAGA PENDIDIK === */
/* ============================================= */
.teachers-section {
    padding: 100px 20px;
    background: linear-gradient(180deg, var(--bg-light) 0%, #eaf1f8 100%);
    position: relative;
    overflow: hidden;
}
.teachers-section::before {
    content: '\f501';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    font-size: 25rem;
    color: rgba(0, 86, 179, 0.03);
    top: -50px; right: -50px;
    transform: rotate(15deg);
    pointer-events: none;
}
.teachers-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.teachers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}
/* ============================================= */
/* === KARTU PENGAJAR - PREMIUM STYLING === */
/* ============================================= */

/* === CARD CONTAINER === */
.teacher-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 86, 179, 0.08);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    border: 1px solid rgba(0, 86, 179, 0.06);
}

/* Efek hover: lift + glow + shadow berwarna */
.teacher-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 
        0 25px 50px rgba(0, 86, 179, 0.2),
        0 0 0 3px rgba(40, 167, 69, 0.15);
}

/* Gradient border animasi saat hover */
.teacher-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, 
        var(--primary-blue) 0%, 
        var(--accent-green) 50%, 
        var(--primary-blue) 100%);
    background-size: 200% 200%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    animation: borderGlow 3s linear infinite;
    z-index: 1;
}

.teacher-card:hover::before {
    opacity: 1;
}

@keyframes borderGlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* === FOTO WRAPPER === */
.teacher-img-wrapper {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: linear-gradient(135deg, #e8eef5 0%, #d4e0eb 100%);
}

/* Efek gradient overlay di bawah foto */
.teacher-img-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, 
        rgba(0, 61, 128, 0.85) 0%, 
        rgba(0, 61, 128, 0.3) 50%,
        transparent 100%);
    z-index: 2;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.teacher-card:hover .teacher-img-wrapper::after {
    opacity: 1;
}

/* Foto: efek scale + brightness saat hover */
.teacher-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), filter 0.4s ease;
    position: relative;
    z-index: 1;
}

.teacher-card:hover .teacher-img-wrapper img {
    transform: scale(1.12);
    filter: brightness(1.08) saturate(1.1);
}

/* === FLOATING BADGE - Ikon Bintang di Pojok === */
.teacher-img-wrapper::before {
    content: '\f005';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 15px;
    left: 15px;
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #f5b301, #ffd93d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.9rem;
    z-index: 3;
    box-shadow: 
        0 4px 15px rgba(245, 179, 1, 0.5),
        0 0 0 3px rgba(255, 255, 255, 0.9);
    animation: starPulse 2s ease-in-out infinite;
}

@keyframes starPulse {
    0%, 100% { 
        transform: scale(1) rotate(0deg); 
        box-shadow: 0 4px 15px rgba(245, 179, 1, 0.5), 0 0 0 3px rgba(255, 255, 255, 0.9);
    }
    50% { 
        transform: scale(1.08) rotate(10deg); 
        box-shadow: 0 6px 20px rgba(245, 179, 1, 0.7), 0 0 0 4px rgba(255, 255, 255, 0.9);
    }
}

/* === ZOOM HINT - Ikon Cari Lebih Menarik === */
.teacher-img-wrapper .zoom-hint {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5) rotate(-15deg);
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.6rem;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
    z-index: 4;
    box-shadow: 
        0 15px 35px rgba(0, 86, 179, 0.5),
        0 0 0 6px rgba(255, 255, 255, 0.25),
        0 0 0 12px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.teacher-card:hover .teacher-img-wrapper .zoom-hint {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
}

.teacher-img-wrapper .zoom-hint i {
    transition: transform 0.3s ease;
}

.teacher-card:hover .teacher-img-wrapper .zoom-hint i {
    animation: zoomBounce 1.2s ease infinite;
}

@keyframes zoomBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2) rotate(5deg); }
}

/* === INFO SECTION === */
.teacher-info {
    padding: 28px 22px 30px;
    position: relative;
    background: var(--white);
    z-index: 2;
}

/* Garis dekoratif di atas nama */
.teacher-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-green));
    border-radius: 3px;
    transition: width 0.4s ease;
}

.teacher-card:hover .teacher-info::before {
    width: 100px;
}

/* Nama pengajar */
.teacher-info h3 {
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-weight: 700;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.teacher-card:hover .teacher-info h3 {
    color: var(--primary-blue);
}

/* Badge jabatan */
.teacher-info .role {
    font-size: 0.8rem;
    color: var(--white);
    font-weight: 600;
    display: inline-block;
    padding: 6px 18px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 50px;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(0, 86, 179, 0.25);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Efek shine pada badge */
.teacher-info .role::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s ease;
}

.teacher-card:hover .teacher-info .role::before {
    left: 100%;
}

.teacher-card:hover .teacher-info .role {
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(0, 86, 179, 0.4);
}

/* Deskripsi */
.teacher-info p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* === TEACHER SOCIAL (jika ada) === */
.teacher-social {
    position: absolute;
    bottom: -60px;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, 
        rgba(0, 61, 128, 0.95), 
        rgba(0, 61, 128, 0.4) 60%, 
        transparent);
    padding: 50px 20px 25px;
    display: flex;
    justify-content: center;
    gap: 12px;
    transition: bottom 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 5;
}

.teacher-card:hover .teacher-social {
    bottom: 0;
}

.teacher-social a {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.teacher-social a:hover {
    background: var(--accent-green);
    transform: translateY(-6px) scale(1.15) rotate(8deg);
    box-shadow: 0 10px 25px rgba(40, 167, 69, 0.5);
    border-color: var(--accent-green);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .teacher-img-wrapper { height: 250px; }
    .teacher-img-wrapper::before {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
        top: 12px;
        left: 12px;
    }
    .teacher-img-wrapper .zoom-hint {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }
    .teacher-info { padding: 22px 16px 25px; }
    .teacher-info h3 { font-size: 1.05rem; }
    .teacher-info .role { font-size: 0.75rem; padding: 5px 15px; }
    .teacher-social a { width: 38px; height: 38px; font-size: 0.85rem; }
}

@media (max-width: 480px) {
    .teacher-img-wrapper { height: 300px; }
    .teacher-card:hover { transform: translateY(-8px) scale(1.01); }
}

/* Disable hover effects di touch device */
@media (hover: none) {
    .teacher-card:hover {
        transform: none;
        box-shadow: 0 4px 20px rgba(0, 86, 179, 0.08);
    }
    .teacher-card:hover .teacher-img-wrapper img {
        transform: none;
    }
    .teacher-card:hover .teacher-info::before {
        width: 60px;
    }
}

/* ============================================= */
/* === 14. PPDB CTA === */
/* ============================================= */
.ppdb-section {
    padding: 90px 20px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
}
.ppdb-section::before {
    content: '';
    position: absolute;
    width: 500px; height: 500px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    top: -200px; left: -100px;
}
.ppdb-section::after {
    content: '';
    position: absolute;
    width: 400px; height: 400px;
    background: rgba(40, 167, 69, 0.1);
    border-radius: 50%;
    bottom: -150px; right: -100px;
}
.ppdb-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    color: var(--white);
}
.badge-ppdb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.2);
}
.ppdb-content h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 800;
}
.ppdb-content h2 span { color: #6ee7b7; }
.ppdb-content p {
    font-size: 1.05rem;
    margin-bottom: 35px;
    opacity: 0.9;
    line-height: 1.8;
}
.ppdb-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-ppdb-large {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--accent-green);
    color: var(--white);
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(40, 167, 69, 0.4);
    transition: var(--transition);
    animation: pulse 2s infinite;
    position: relative;
}
.btn-ppdb-large:hover {
    transform: translateY(-5px) scale(1.03);
    background: var(--accent-green-dark);
}
.btn-ppdb-large::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50px;
    border: 2px solid var(--accent-green);
    animation: pulseRing 2s ease-out infinite;
    pointer-events: none;
}
@keyframes pulseRing {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.15); opacity: 0; }
}
@keyframes pulse {
    0% { box-shadow: 0 10px 30px rgba(40, 167, 69, 0.4); }
    50% { box-shadow: 0 10px 40px rgba(40, 167, 69, 0.7); }
    100% { box-shadow: 0 10px 30px rgba(40, 167, 69, 0.4); }
}
.btn-wa-large {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--whatsapp-green);
    color: var(--white);
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
}
.btn-wa-large:hover {
    transform: translateY(-5px) scale(1.03);
    background: var(--whatsapp-dark);
}

/* ============================================= */
/* === 15. GALERI (3 KOLOM) === */
/* ============================================= */
.gallery-preview { padding: 100px 20px; background: var(--white); }
.gallery-section { padding: 100px 20px; background: var(--white); }
.gallery-container { max-width: 1200px; margin: 0 auto; }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}
.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 280px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}
.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.gallery-item:hover img { transform: scale(1.15); }
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 86, 179, 0.9), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    color: var(--white);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay h4 {
    font-size: 1.1rem;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}
.gallery-overlay span {
    font-size: 0.88rem;
    opacity: 0.8;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s;
}
.gallery-item:hover .gallery-overlay h4,
.gallery-item:hover .gallery-overlay span {
    transform: translateY(0);
}
.gallery-item.hidden { display: none; }

/* Filter galeri */
.gallery-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}
.filter-btn {
    background: var(--white);
    color: var(--text-dark);
    border: 2px solid #e0e7ee;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.88rem;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
}
.filter-btn:hover {
    border-color: var(--accent-green);
    color: var(--accent-green);
}
.filter-btn.active {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
    box-shadow: 0 5px 15px rgba(0, 86, 179, 0.3);
}

/* ============================================= */
/* === 16. TESTIMONI === */
/* ============================================= */
.testimonial-section {
    padding: 100px 20px;
    background: linear-gradient(180deg, #eaf1f8 0%, var(--bg-light) 100%);
    position: relative;
    overflow: hidden;
}
.testimonial-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}
.testimonial-slider {
    position: relative;
    overflow: hidden;
    min-height: 320px;
}
.testimonial-card {
    background: var(--white);
    padding: 50px 45px;
    border-radius: 25px;
    box-shadow: var(--shadow-md);
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    pointer-events: none;
    border-top: 4px solid var(--accent-green);
}
.testimonial-card.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    position: relative;
}
.testimonial-quote {
    font-size: 3rem;
    color: var(--accent-green);
    line-height: 1;
    margin-bottom: 15px;
    opacity: 0.4;
}
.testimonial-text {
    font-size: 1.05rem;
    color: var(--text-dark);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 30px;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}
.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-green);
}
.testimonial-author-info h4 {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 3px;
}
.testimonial-author-info p {
    font-size: 0.85rem;
    color: var(--text-light);
}
.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}
.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 86, 179, 0.2);
    transition: var(--transition);
    border: none;
    position: relative;
}
.testimonial-dot.active {
    background: var(--accent-green);
    width: 30px;
    border-radius: 10px;
}
.testimonial-dot.active::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: inherit;
    border: 2px solid rgba(40, 167, 69, 0.4);
    animation: dotPulse 1.5s infinite;
}

/* ============================================= */
/* === 17. KONTAK === */
/* ============================================= */
.contact-section {
    padding: 100px 20px;
    background: var(--bg-light);
    position: relative;
}
.contact-container { max-width: 1200px; margin: 0 auto; }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 40px;
    margin-top: 20px;
}
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.contact-card {
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 18px;
    align-items: flex-start;
    transition: var(--transition);
    border-left: 4px solid transparent;
}
.contact-card:hover {
    transform: translateX(5px);
    border-left-color: var(--accent-green);
    box-shadow: var(--shadow-md);
}
.contact-card .icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: rgba(0, 86, 179, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 1.3rem;
    transition: var(--transition);
}
.contact-card:hover .icon {
    background: var(--primary-blue);
    color: var(--white);
    transform: rotate(-5deg);
}
.contact-card .icon.wa-icon {
    background: rgba(37, 211, 102, 0.12);
    color: var(--whatsapp-green);
}
.contact-card:hover .icon.wa-icon {
    background: var(--whatsapp-green);
    color: var(--white);
}
.contact-card h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--text-dark);
    font-weight: 700;
}
.contact-card p, .contact-card a {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.6;
    transition: color 0.3s;
}
.contact-card a:hover { color: var(--primary-blue); }
.contact-card .wa-highlight {
    color: var(--whatsapp-dark);
    font-weight: 700;
    font-size: 1.05rem;
}
.contact-map {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    min-height: 400px;
    position: relative;
}
.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 500px;
    border: 0;
    display: block;
}

/* ============================================= */
/* === 18. PAGE HERO (halaman galeri) === */
/* ============================================= */
.page-hero {
    padding: 120px 20px 60px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    width: 500px; height: 500px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    top: -200px; right: -100px;
}
.page-hero::after {
    content: '';
    position: absolute;
    width: 400px; height: 400px;
    background: rgba(40, 167, 69, 0.1);
    border-radius: 50%;
    bottom: -150px; left: -100px;
}
.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}
.page-hero-content .breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    opacity: 0.85;
}
.page-hero-content .breadcrumb a:hover { color: var(--accent-green); }
.page-hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
}
.page-hero-content h1 span { color: #6ee7b7; }
.page-hero-content p {
    font-size: 1.05rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================= */
/* === 19. FOOTER === */
/* ============================================= */
footer {
    background-color: #0b1a2e;
    color: var(--white);
    padding: 70px 20px 20px;
}
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: var(--white);
    position: relative;
    padding-bottom: 12px;
    font-weight: 700;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 40px; height: 3px;
    background: var(--accent-green);
    border-radius: 2px;
}
.footer-col p, .footer-col a {
    color: #a0aab2;
    line-height: 2;
    display: block;
    margin-bottom: 5px;
    transition: color 0.3s, padding-left 0.3s;
    font-size: 0.92rem;
}
.footer-col a:hover {
    color: var(--accent-green);
    padding-left: 5px;
}
.footer-brand-desc {
    margin: 15px 0;
    line-height: 1.8 !important;
}
.footer-contact-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 15px;
    color: #a0aab2;
    font-size: 0.9rem;
}
.footer-contact-item i {
    color: var(--accent-green);
    margin-top: 5px;
    min-width: 16px;
}
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: var(--white);
}
.footer-logo svg,
.footer-logo-img {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.3));
}
.footer-logo-text {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
}
.footer-logo-text small {
    display: block;
    font-size: 0.7rem;
    font-weight: 400;
    opacity: 0.7;
    letter-spacing: 1px;
}
.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}
.social-links a {
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    margin: 0;
}
.social-links a:hover {
    background: var(--primary-blue);
    transform: translateY(-5px);
    padding-left: 0;
    color: var(--white);
}
.copyright {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #a0aab2;
    font-size: 0.85rem;
    max-width: 1200px;
    margin: 0 auto;
}
.copyright a { color: var(--accent-green); }

/* ============================================= */
/* === 20. FLOATING WA === */
/* ============================================= */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--whatsapp-green), var(--whatsapp-dark));
    color: var(--white);
    padding: 12px 22px 12px 18px;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    font-weight: 600;
    font-size: 0.92rem;
    animation: pulse-wa 2.5s infinite;
}
.floating-wa i { font-size: 1.6rem; }
.floating-wa:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.55);
    color: var(--white);
}
.floating-wa .wa-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.floating-wa .wa-text small {
    font-size: 0.7rem;
    opacity: 0.85;
    font-weight: 400;
}
@keyframes pulse-wa {
    0% { box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 8px 35px rgba(37, 211, 102, 0.7); }
    100% { box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4); }
}

/* ============================================= */
/* === 21. BACK TO TOP === */
/* ============================================= */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 45px;
    height: 45px;
    background: var(--primary-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 998;
    border: none;
    box-shadow: var(--shadow-md);
}
.back-to-top.show {
    opacity: 1;
    visibility: visible;
}
.back-to-top:hover {
    background: var(--accent-green);
    transform: translateY(-5px);
}

/* ============================================= */
/* === 22. LIGHTBOX === */
/* ============================================= */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
}
.lightbox.active {
    display: flex;
    opacity: 1;
}
.lightbox img {
    max-width: 90%;
    max-height: 85vh;
    border-radius: 10px;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}
.lightbox.active img { transform: scale(1); }
.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: var(--white);
    font-size: 2.5rem;
    transition: var(--transition);
    background: none;
    border: none;
}
.lightbox-close:hover {
    color: var(--accent-green);
    transform: rotate(90deg);
}

/* ============================================= */
/* === 23. ENHANCEMENTS === */
/* ============================================= */

/* Gradient text */
.gradient-text {
    background: linear-gradient(90deg, #0056b3, #28a745, #007bff, #1e7e34, #0056b3);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 6s ease infinite;
}
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Magnetic buttons */
.btn-ppdb,
.btn-wa-hero,
.btn-secondary,
.btn-ppdb-large,
.btn-wa-large {
    will-change: transform;
    position: relative;
    overflow: hidden;
}

/* Ripple effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: rippleAnim 0.6s linear;
    pointer-events: none;
}
@keyframes rippleAnim {
    to { transform: scale(4); opacity: 0; }
}

/* 3D tilt */
.tilt-card {
    transform-style: preserve-3d;
    perspective: 1000px;
}
.tilt-card .card-icon,
.tilt-card h3,
.tilt-card p {
    transform: translateZ(20px);
    transition: transform 0.3s ease;
}

/* Badge NEW */
.badge-new {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 10px;
    letter-spacing: 1px;
    box-shadow: 0 3px 10px rgba(255, 71, 87, 0.4);
    animation: badgePulse 2s infinite;
    z-index: 10;
}
@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Floating decoration icons */
.floating-decoration {
    position: absolute;
    font-size: 3rem;
    color: rgba(0, 86, 179, 0.04);
    animation: floatDeco 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}
@keyframes floatDeco {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(15deg); }
}
.section-floating {
    position: relative;
    overflow: hidden;
}

/* ============================================= */
/* === 24. SCROLL REVEAL === */
/* ============================================= */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delay */
.grid-features .reveal:nth-child(1),
.teachers-grid .reveal:nth-child(1),
.gallery-grid .reveal:nth-child(1) { transition-delay: 0.1s; }
.grid-features .reveal:nth-child(2),
.teachers-grid .reveal:nth-child(2),
.gallery-grid .reveal:nth-child(2) { transition-delay: 0.2s; }
.grid-features .reveal:nth-child(3),
.teachers-grid .reveal:nth-child(3),
.gallery-grid .reveal:nth-child(3) { transition-delay: 0.3s; }
.grid-features .reveal:nth-child(4),
.teachers-grid .reveal:nth-child(4),
.gallery-grid .reveal:nth-child(4) { transition-delay: 0.4s; }
.grid-features .reveal:nth-child(5),
.teachers-grid .reveal:nth-child(5),
.gallery-grid .reveal:nth-child(5) { transition-delay: 0.5s; }
.grid-features .reveal:nth-child(6),
.teachers-grid .reveal:nth-child(6),
.gallery-grid .reveal:nth-child(6) { transition-delay: 0.6s; }

/* ============================================= */
/* === 25. PERFORMANCE OPTIMIZATION === */
/* ============================================= */
.hero-slide,
.hero-content,
.preloader-logo,
.card,
.teacher-card,
.gallery-item,
.floating-wa,
.stat-number,
.hero-dot,
.testimonial-dot,
.marquee-content {
    will-change: transform, opacity;
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.teachers-section,
.testimonial-section,
.contact-section,
.gallery-section,
.ppdb-section,
.stats-section,
footer {
    content-visibility: auto;
    contain-intrinsic-size: 800px;
}

/* ============================================= */
/* === 26. RESPONSIVE - TABLET (≤992px) === */
/* ============================================= */
@media (max-width: 992px) {
    .hero-content h1 { font-size: 2.6rem; }
    .section-title h2 { font-size: 2.1rem; }
    .teachers-section::before { font-size: 16rem; }
    .ppdb-content h2 { font-size: 2rem; }
    .page-hero-content h1 { font-size: 2.2rem; }
    
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .contact-grid { grid-template-columns: 1fr; gap: 30px; }
    .contact-map { min-height: 350px; }
    .contact-map iframe { min-height: 350px; }
    .footer-content { grid-template-columns: 1fr 1fr; gap: 30px; }
    .stats-container { grid-template-columns: repeat(2, 1fr); gap: 40px 30px; }
    .teachers-grid { grid-template-columns: repeat(2, 1fr); gap: 25px; }
}

/* ============================================= */
/* === 27. RESPONSIVE - TABLET PORTRAIT & HP BESAR (≤768px) === */
/* ============================================= */
@media (max-width: 768px) {
    /* Top bar */
    .top-bar { padding: 8px 15px; font-size: 0.75rem; }
    .top-bar-info { gap: 15px; }
    .top-bar-info span:not(:first-child) { display: none; }
    .top-bar-social { gap: 8px; }
    .top-bar-social a { font-size: 0.8rem; }
    
    /* Navbar */
    .nav-container { padding: 12px 16px; }
    .logo { font-size: 0.95rem; gap: 8px; }
    .logo-svg, .logo-img { height: 42px; }
    .logo img { height: 42px; }
    .logo-text { font-size: 0.9rem; line-height: 1.2; }
    .logo-text small { font-size: 0.62rem; }
    .menu-toggle { display: block; padding: 5px; font-size: 1.4rem; }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 85%;
        max-width: 320px;
        background: var(--white);
        flex-direction: column;
        padding: 90px 25px 30px;
        box-shadow: -5px 0 30px rgba(0,0,0,0.15);
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        gap: 8px;
        align-items: stretch;
        z-index: 999;
        overflow-y: auto;
    }
    .nav-links.active { transform: translateX(0); }
    .nav-links a {
        padding: 12px 15px;
        text-align: left;
        font-size: 1rem;
        border-radius: 10px;
    }
    .nav-links a:not(.btn-ppdb)::after { display: none; }
    .nav-links a:not(.btn-ppdb):hover,
    .nav-links a:not(.btn-ppdb):active {
        background: rgba(0, 86, 179, 0.08);
        color: var(--primary-blue);
    }
    .nav-links a.btn-ppdb {
        margin-top: 15px;
        text-align: center;
        justify-content: center;
    }
    
    /* Hero */
    .hero { min-height: 85vh; padding: 100px 20px 80px; }
    .hero-content h1 { font-size: 1.9rem; line-height: 1.25; }
    .hero-content h1 span { min-width: auto; text-align: center; display: inline; }
    .hero-content p { font-size: 0.95rem; line-height: 1.7; margin-bottom: 30px; }
    .hero-badge { font-size: 0.75rem; padding: 6px 14px; margin-bottom: 20px; }
    .hero-buttons { flex-direction: column; align-items: stretch; gap: 12px; }
    .hero-buttons a { justify-content: center; padding: 13px 25px; font-size: 0.95rem; width: 100%; }
    .hero-dots { bottom: 15px; }
    .hero-dot { width: 10px; height: 10px; }
    .hero-dot.active { width: 25px; }
    
    /* Marquee */
    .marquee-content { font-size: 0.8rem; animation-duration: 20s; }
    .marquee-content span { margin: 0 15px; }
    
    /* Wavy */
    .wavy-divider { height: 50px; }
    
    /* Stats */
    .stats-section { padding: 50px 20px; }
    .stats-container { gap: 30px 20px; }
    .stat-item i { font-size: 1.8rem; margin-bottom: 8px; }
    .stat-number { font-size: 2rem; }
    .stat-number span { font-size: 1.4rem; }
    .stat-label { font-size: 0.8rem; }
    
    /* Sections */
    .features,
    .gallery-section,
    .gallery-preview,
    .teachers-section,
    .contact-section,
    .testimonial-section { padding: 60px 20px; }
    .section-title { margin-bottom: 35px; }
    .section-title h2 { font-size: 1.6rem; line-height: 1.3; }
    .section-title p { font-size: 0.9rem; padding: 0 10px; }
    .section-title .eyebrow { font-size: 0.75rem; letter-spacing: 1.5px; }
    .section-title .divider { width: 50px; height: 3px; margin-top: 15px; }
    
    /* Fitur */
    .grid-features { grid-template-columns: 1fr; gap: 20px; }
    .card { padding: 30px 22px; }
    .card-icon { width: 65px; height: 65px; margin-bottom: 18px; }
    .card-icon i { font-size: 1.8rem; }
    .card h3 { font-size: 1.15rem; margin-bottom: 10px; }
    .card p { font-size: 0.88rem; line-height: 1.6; }
    
    /* Pengajar */
    .teachers-section::before { display: none; }
    .teachers-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .teacher-img-wrapper { height: 200px; }
    .teacher-info { padding: 18px 12px; }
    .teacher-info h3 { font-size: 0.95rem; line-height: 1.3; }
    .teacher-info .role { font-size: 0.75rem; padding: 3px 12px; margin-bottom: 10px; }
    .teacher-info p { font-size: 0.78rem; line-height: 1.5; }
    .teacher-social { bottom: 0; padding: 20px 10px 10px; }
    .teacher-social a { width: 32px; height: 32px; font-size: 0.8rem; }
    
    /* PPDB */
    .ppdb-section { padding: 60px 20px; }
    .ppdb-content h2 { font-size: 1.6rem; line-height: 1.3; margin-bottom: 15px; }
    .ppdb-content p { font-size: 0.9rem; line-height: 1.7; margin-bottom: 25px; }
    .badge-ppdb { font-size: 0.75rem; padding: 6px 15px; }
    .ppdb-buttons { flex-direction: column; align-items: stretch; gap: 12px; }
    .btn-ppdb-large,
    .btn-wa-large {
        justify-content: center;
        padding: 14px 25px;
        font-size: 0.95rem;
        width: 100%;
    }
    
    /* Galeri */
    .gallery-grid { grid-template-columns: 1fr; gap: 15px; }
    .gallery-item { height: 220px; }
    .gallery-overlay { padding: 18px; }
    .gallery-overlay h4 { font-size: 1rem; }
    .gallery-overlay span { font-size: 0.82rem; }
    .gallery-filter { gap: 8px; margin-bottom: 25px; }
    .filter-btn { padding: 8px 16px; font-size: 0.78rem; border-radius: 30px; }
    
    /* Testimoni */
    .testimonial-slider { min-height: 380px; }
    .testimonial-card { padding: 30px 22px; border-radius: 18px; }
    .testimonial-quote { font-size: 2.5rem; margin-bottom: 10px; }
    .testimonial-text { font-size: 0.9rem; line-height: 1.7; margin-bottom: 22px; }
    .testimonial-author img { width: 48px; height: 48px; border-width: 2px; }
    .testimonial-author-info h4 { font-size: 0.9rem; }
    .testimonial-author-info p { font-size: 0.78rem; }
    .testimonial-dots { margin-top: 20px; }
    
    /* Kontak */
    .contact-grid { grid-template-columns: 1fr; gap: 25px; }
    .contact-card { padding: 18px; gap: 14px; }
    .contact-card .icon { width: 42px; height: 42px; min-width: 42px; font-size: 1.1rem; }
    .contact-card h4 { font-size: 0.9rem; }
    .contact-card p,
    .contact-card a { font-size: 0.82rem; line-height: 1.5; }
    .contact-card .wa-highlight { font-size: 0.95rem; }
    .contact-map { border-radius: 15px; }
    .contact-map iframe { min-height: 280px; }
    
    /* Footer */
    footer { padding: 50px 20px 20px; }
    .footer-content { grid-template-columns: 1fr; gap: 30px; margin-bottom: 30px; }
    .footer-col h4 { font-size: 1rem; margin-bottom: 18px; }
    .footer-col p, .footer-col a { font-size: 0.85rem; line-height: 1.8; }
    .footer-brand-desc { font-size: 0.85rem !important; }
    .footer-contact-item { font-size: 0.85rem; margin-bottom: 12px; }
    .footer-logo svg, .footer-logo-img { height: 42px; }
    .footer-logo-text { font-size: 0.9rem; }
    .social-links { gap: 10px; }
    .social-links a { width: 38px; height: 38px; font-size: 0.85rem; }
    .copyright { font-size: 0.78rem; padding-top: 20px; }
    
    /* Page hero */
    .page-hero { padding: 100px 20px 50px; }
    .page-hero-content h1 { font-size: 1.6rem; line-height: 1.3; }
    .page-hero-content p { font-size: 0.9rem; padding: 0 10px; }
    .page-hero-content .breadcrumb { font-size: 0.8rem; gap: 8px; }
    
    /* Floating */
    .floating-wa {
        bottom: 15px;
        right: 15px;
        padding: 12px 15px;
        border-radius: 50%;
        gap: 0;
        width: 56px;
        height: 56px;
        justify-content: center;
    }
    .floating-wa .wa-text { display: none; }
    .floating-wa i { font-size: 1.7rem; }
    .back-to-top {
        bottom: 15px;
        left: 15px;
        width: 42px;
        height: 42px;
        font-size: 0.9rem;
    }
    
    /* Lightbox */
    .lightbox { padding: 10px; }
    .lightbox img { max-width: 95%; max-height: 80vh; border-radius: 8px; }
    .lightbox-close {
        top: 12px;
        right: 15px;
        font-size: 1.8rem;
        width: 42px;
        height: 42px;
        background: rgba(255,255,255,0.1);
        border-radius: 50%;
    }
    
    /* Disable heavy effects */
    .floating-decoration { display: none; }
}

/* ============================================= */
/* === 28. RESPONSIVE - HP STANDAR (≤480px) === */
/* ============================================= */
@media (max-width: 480px) {
    .hero-content h1 { font-size: 1.65rem; }
    .hero-content p { font-size: 0.88rem; }
    .section-title h2 { font-size: 1.4rem; }
    .ppdb-content h2 { font-size: 1.4rem; }
    .page-hero-content h1 { font-size: 1.4rem; }
    
    .logo { font-size: 0.85rem; }
    .logo-svg, .logo-img { height: 38px; }
    .logo img { height: 38px; }
    .logo-text { font-size: 0.82rem; }
    .logo-text small { font-size: 0.58rem; }
    
    .hero { padding: 90px 16px 70px; min-height: 82vh; }
    .hero-badge { font-size: 0.7rem; padding: 5px 12px; }
    .hero-buttons a { font-size: 0.88rem; padding: 12px 20px; }
    
    .stats-section { padding: 40px 15px; }
    .stats-container { gap: 25px 15px; }
    .stat-number { font-size: 1.7rem; }
    .stat-item i { font-size: 1.5rem; }
    .stat-label { font-size: 0.72rem; }
    
    .features,
    .gallery-section,
    .gallery-preview,
    .teachers-section,
    .contact-section,
    .testimonial-section { padding: 50px 15px; }
    .section-title { margin-bottom: 30px; }
    .section-title p { font-size: 0.85rem; }
    
    .card { padding: 25px 18px; }
    .card-icon { width: 58px; height: 58px; }
    .card-icon i { font-size: 1.6rem; }
    .card h3 { font-size: 1.05rem; }
    .card p { font-size: 0.82rem; }
    
    /* Pengajar 1 kolom di HP */
    .teachers-grid { grid-template-columns: 1fr; gap: 18px; }
    .teacher-img-wrapper { height: 280px; }
    .teacher-info { padding: 20px 15px; }
    .teacher-info h3 { font-size: 1rem; }
    .teacher-info .role { font-size: 0.78rem; }
    .teacher-info p { font-size: 0.82rem; }
    
    .gallery-item { height: 200px; }
    .gallery-item:hover { transform: none; }
    .gallery-overlay { opacity: 1; background: linear-gradient(to top, rgba(0, 86, 179, 0.85), transparent 70%); }
    .gallery-overlay h4 { font-size: 0.95rem; transform: none; }
    .gallery-overlay span { font-size: 0.78rem; transform: none; }
    
    .testimonial-slider { min-height: 440px; }
    .testimonial-card { padding: 25px 18px; border-radius: 15px; }
    .testimonial-text { font-size: 0.85rem; }
    .testimonial-author { gap: 12px; }
    .testimonial-author img { width: 42px; height: 42px; }
    .testimonial-author-info h4 { font-size: 0.85rem; }
    .testimonial-author-info p { font-size: 0.72rem; }
    
    .contact-card { padding: 15px; gap: 12px; }
    .contact-card .icon { width: 38px; height: 38px; min-width: 38px; font-size: 1rem; }
    .contact-card h4 { font-size: 0.85rem; }
    .contact-card p, .contact-card a { font-size: 0.78rem; }
    .contact-map iframe { min-height: 240px; }
    
    .ppdb-content p { font-size: 0.85rem; }
    .badge-ppdb { font-size: 0.7rem; padding: 5px 12px; }
    .btn-ppdb-large,
    .btn-wa-large {
        font-size: 0.88rem;
        padding: 12px 20px;
    }
    
    footer { padding: 40px 15px 15px; }
    .footer-content { gap: 25px; margin-bottom: 25px; }
    .footer-col h4 { font-size: 0.95rem; margin-bottom: 15px; }
    .footer-col p, .footer-col a { font-size: 0.8rem; }
    .footer-logo svg, .footer-logo-img { height: 38px; }
    .copyright { font-size: 0.72rem; }
    
    .btn-ppdb { padding: 9px 18px; font-size: 0.82rem; gap: 6px; }
    .filter-btn { padding: 7px 14px; font-size: 0.72rem; }
    
    .lightbox-close { font-size: 1.5rem; width: 38px; height: 38px; }
}

/* ============================================= */
/* === 29. RESPONSIVE - HP KECIL (≤360px) === */
/* ============================================= */
@media (max-width: 360px) {
    .hero-content h1 { font-size: 1.4rem; }
    .hero-content p { font-size: 0.82rem; }
    .section-title h2 { font-size: 1.25rem; }
    .ppdb-content h2 { font-size: 1.2rem; }
    .page-hero-content h1 { font-size: 1.2rem; }
    
    .logo-text { font-size: 0.75rem; }
    .logo-text small { font-size: 0.55rem; }
    .logo-svg, .logo-img { height: 34px; }
    .logo img { height: 34px; }
    
    .hero-buttons a { font-size: 0.82rem; padding: 11px 18px; }
    .stat-number { font-size: 1.5rem; }
    .stat-label { font-size: 0.68rem; }
    
    .card { padding: 22px 15px; }
    .card h3 { font-size: 0.98rem; }
    .card p { font-size: 0.78rem; }
    
    .teacher-img-wrapper { height: 250px; }
    
    .btn-ppdb-large,
    .btn-wa-large {
        font-size: 0.82rem;
        padding: 11px 18px;
    }
    
    .floating-wa { width: 52px; height: 52px; }
    .floating-wa i { font-size: 1.5rem; }
    .back-to-top { width: 38px; height: 38px; }
}

/* ============================================= */
/* === 30. RESPONSIVE - LANDSCAPE MOBILE === */
/* ============================================= */
@media (max-width: 768px) and (orientation: landscape) {
    .hero { min-height: auto; padding: 90px 20px 60px; }
    .hero-content h1 { font-size: 1.6rem; }
    .hero-content p { font-size: 0.88rem; margin-bottom: 20px; }
    .hero-badge { margin-bottom: 15px; }
    .hero-dots { display: none; }
    .stats-section { padding: 40px 20px; }
    .stats-container { grid-template-columns: repeat(4, 1fr); gap: 15px; }
    .stat-number { font-size: 1.6rem; }
    .testimonial-slider { min-height: 280px; }
}

/* ============================================= */
/* === 31. RESPONSIVE - LARGE DESKTOP (≥1440px) === */
/* ============================================= */
@media (min-width: 1440px) {
    .nav-container,
    .features,
    .teachers-container,
    .gallery-container,
    .contact-container,
    .footer-content,
    .stats-container,
    .ppdb-content,
    .testimonial-container {
        max-width: 1320px;
    }
    .hero-content h1 { font-size: 4rem; }
    .hero-content p { font-size: 1.2rem; }
    .section-title h2 { font-size: 2.8rem; }
    .gallery-item { height: 320px; }
    .teacher-img-wrapper { height: 320px; }
}

/* ============================================= */
/* === 32. TOUCH DEVICE OPTIMIZATION === */
/* ============================================= */
@media (hover: none) {
    .card:hover,
    .teacher-card:hover,
    .gallery-item:hover,
    .contact-card:hover {
        transform: none;
        box-shadow: var(--shadow-sm);
    }
    a, button, .btn-ppdb, .btn-wa-hero, .filter-btn {
        -webkit-tap-highlight-color: rgba(0, 86, 179, 0.15);
    }
    .gallery-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(0, 86, 179, 0.8), transparent 65%);
    }
    .gallery-overlay h4,
    .gallery-overlay span { transform: none; }
    .hero-slide { transform: none !important; }
}

/* ============================================= */
/* === 33. iOS SAFARI FIX === */
/* ============================================= */
@supports (-webkit-touch-callout: none) {
    .nav-links { -webkit-overflow-scrolling: touch; }
    input, select, textarea { font-size: 16px; }
    .hero { min-height: -webkit-fill-available; }
}

/* ============================================= */
/* === 34. ACCESSIBILITY: REDUCED MOTION === */
/* ============================================= */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .hero-slide { transition: none !important; }
    .particle { display: none !important; }
    .marquee-content { animation: none !important; }
    .floating-decoration { display: none !important; }
    .hero::after,
    .hero::before { animation: none !important; }
}

/* ============================================= */
/* === 35. PRINT STYLES === */
/* ============================================= */
@media print {
    header,
    footer,
    .floating-wa,
    .back-to-top,
    .scroll-progress,
    .preloader,
    .hero-dots,
    .hero-slider,
    .marquee-container {
        display: none !important;
    }
    body { background: white; color: black; }
    a { color: black; text-decoration: underline; }
    .hero,
    .ppdb-section,
    .stats-section {
        background: white !important;
        color: black !important;
    }
}