*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { 
    scroll-behavior: smooth; 
    -webkit-text-size-adjust: 100%; 
    overflow-x: hidden !important;
    width: 100%;
}
html, body {
    overflow-x: hidden;
    width: 100%;
    margin: 0; padding: 0;
}
body {
    font-family: 'Inter', sans-serif;
    background: #f0f9ff;
    color: #1e293b;
    line-height: 1.6;
    position: relative;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; }

/* ===== CSS VARIABLES ===== */
:root {
    --primary:        #0369a1;
    --primary-light:  #0ea5e9;
    --primary-dark:   #075985;
    --accent:         #06b6d4;
    --accent-light:   #67e8f9;
    --secondary:      #f97316;
    --deep:           #0f172a;
    --surface:        #ffffff;
    --surface-2:      #f0f9ff;
    --text:           #1e293b;
    --text-muted:     #64748b;
    --border:         rgba(14,165,233,0.15);
    --gradient:       linear-gradient(135deg, #0369a1, #06b6d4);
    --gradient-warm:  linear-gradient(135deg, #f97316, #fbbf24);
    --shadow-sm:      0 2px 10px rgba(3,105,161,0.08);
    --shadow-md:      0 8px 30px rgba(3,105,161,0.15);
    --shadow-lg:      0 20px 60px rgba(3,105,161,0.2);
    --radius:         16px;
    --radius-sm:      10px;
    --radius-lg:      24px;
    --transition:     0.35s cubic-bezier(0.4,0,0.2,1);
    --nav-height:     70px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5 { font-family: 'Outfit', sans-serif; line-height: 1.2; }
.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.white-gradient-text {
    background: linear-gradient(135deg, #67e8f9, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background: rgba(14,165,233,0.1);
    border: 1px solid rgba(14,165,233,0.25);
    border-radius: 50px;
    color: var(--primary-light);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}
.light-tag { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.3); color: #e0f2fe; }
.section-title {
    font-size: clamp(1.6rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text);
}
.light-title { color: #fff; }
.section-sub {
    font-size: clamp(0.9rem, 2vw, 1.05rem);
    color: var(--text-muted);
    max-width: 580px;
    margin: 0 auto;
}
.section-header { text-align: center; margin-bottom: 48px; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.mt-2 { margin-top: 24px; }

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #0ea5e9, #0369a1);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 12px 30px rgba(3,105,161,0.4);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}
.btn-primary:hover { 
    transform: translateY(-4px) scale(1.02); 
    box-shadow: 0 18px 45px rgba(3,105,161,0.5);
    background: linear-gradient(135deg, #38bdf8, #0284c7);
}
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #fff;
    border: 2px solid rgba(255,255,255,0.25);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
}
.btn-secondary:hover { background: rgba(255,255,255,0.18); transform: translateY(-4px); border-color: rgba(255,255,255,0.4); }
.full-width { width: 100%; justify-content: center; border-radius: var(--radius-sm); }

/* ================================================================
   PRELOADER — Logo + 5 Detik Animasi Full
   ================================================================ */
#preloader {
    position: fixed;
    inset: 0;
    background: linear-gradient(160deg, #0c2340 0%, #0369a1 50%, #06b6d4 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    overflow: hidden;
}
#preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

/* Preloader content */
.preloader-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    animation: preloader-enter 0.8s ease forwards;
}
@keyframes preloader-enter {
    from { opacity: 0; transform: translateY(30px) scale(0.9); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Logo wrapper + ripples */
.preloader-logo-wrap {
    position: relative;
    width: 160px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.preloader-logo {
    width: 140px;
    height: 140px;
    object-fit: contain;
    border-radius: 28px;
    background: rgba(255,255,255,0.12);
    padding: 10px;
    animation: logo-pulse 2s ease-in-out infinite;
    position: relative;
    z-index: 3;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}
@keyframes logo-pulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 12px rgba(103,232,249,0.5)); }
    50%       { transform: scale(1.06); filter: drop-shadow(0 0 28px rgba(103,232,249,0.9)); }
}
.preloader-ripple {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 3px solid rgba(103,232,249,0.4);
    animation: ripple-expand 2.5s ease-out infinite;
}
.preloader-ripple.ripple-2 { animation-delay: 0.8s; border-color: rgba(14,165,233,0.3); }
.preloader-ripple.ripple-3 { animation-delay: 1.6s; border-color: rgba(255,255,255,0.2); }
@keyframes ripple-expand {
    0%   { transform: scale(0.8); opacity: 0.8; }
    100% { transform: scale(2.4); opacity: 0; }
}

/* Brand name */
.preloader-brand {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.6rem, 5vw, 2.2rem);
    font-weight: 900;
    color: #fff;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin: 0;
}
.preloader-brand span {
    font-size: 0.55em;
    font-weight: 500;
    letter-spacing: 6px;
    color: rgba(255,255,255,0.7);
    display: block;
    text-align: center;
    margin-top: 2px;
}

/* Progress bar */
.preloader-progress {
    width: min(280px, 80vw);
    height: 4px;
    background: rgba(255,255,255,0.15);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 8px;
}
.preloader-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #67e8f9, #fff, #67e8f9);
    background-size: 200% 100%;
    border-radius: 4px;
    animation: bar-fill 4s linear forwards, bar-shine 1.2s linear infinite;
}
@keyframes bar-fill {
    0%   { width: 0%; }
    100% { width: 100%; }
}
@keyframes bar-shine {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Tagline */
.preloader-tagline {
    font-size: clamp(0.78rem, 2.5vw, 0.9rem);
    color: rgba(255,255,255,0.65);
    margin: 0;
    letter-spacing: 1px;
    animation: blink-text 1.5s ease-in-out infinite;
}
@keyframes blink-text {
    0%, 100% { opacity: 0.5; }
    50%       { opacity: 1; }
}

/* Animated wave at bottom */
.preloader-waves {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    line-height: 0;
    z-index: 1;
}
.preloader-waves svg { width: 100%; height: 100px; }
.wave-path-1 {
    fill: rgba(255,255,255,0.07);
    animation: wave-move 3s ease-in-out infinite;
}
.wave-path-2 {
    fill: rgba(255,255,255,0.05);
    animation: wave-move 4s ease-in-out infinite reverse;
}
@keyframes wave-move {
    0%, 100% { d: path("M0,60 C240,100 480,20 720,60 C960,100 1200,20 1440,60 L1440,120 L0,120 Z"); }
    50%       { d: path("M0,40 C240,20 480,90 720,50 C960,20 1200,90 1440,40 L1440,120 L0,120 Z"); }
}

/* Floating bubbles inside preloader */
#preloader::before, #preloader::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    animation: float-bubble 6s ease-in-out infinite;
}
#preloader::before { width: 150px; height: 150px; bottom: 20%; left: 10%; animation-delay: 0s; }
#preloader::after  { width: 80px; height: 80px; bottom: 40%; right: 8%; animation-delay: 2s; }

/* ================================================================
   NAVBAR — Full Responsive
   ================================================================ */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 12px 0;
    transition: all 0.4s ease;
}
.navbar.scrolled {
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 8px 0;
    box-shadow: 0 4px 24px rgba(3,105,161,0.12);
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

/* --- NAVBAR LOGO --- */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
    transition: var(--transition);
}
.nav-logo:hover { transform: scale(1.02); }
.logo-img {
    height: 48px;
    width: 48px;
    object-fit: contain;
    border-radius: 12px;
    background: rgba(255,255,255,0.1);
    flex-shrink: 0;
}
.navbar.scrolled .logo-img { background: rgba(3,105,161,0.06); }
.logo-text-wrap {
    display: flex;
    flex-direction: column;
    line-height: 1;
}
.logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 1px;
    line-height: 1;
    transition: var(--transition);
}
.navbar.scrolled .logo-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.logo-sub {
    font-size: 0.62rem;
    font-weight: 600;
    color: rgba(255,255,255,0.65);
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: var(--transition);
}
.navbar.scrolled .logo-sub { color: var(--text-muted); }

/* --- NAV LINKS --- */
.nav-links {
    display: flex;
    list-style: none;
    gap: 4px;
    margin-left: auto;
    align-items: center;
}
.nav-link {
    display: block;
    text-decoration: none;
    color: rgba(255,255,255,0.85);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 7px 12px;
    border-radius: 8px;
    transition: var(--transition);
    white-space: nowrap;
}
.navbar.scrolled .nav-link { color: var(--text); }
.nav-link:hover, .nav-link.active { background: rgba(255,255,255,0.15); color: #fff; }
.navbar.scrolled .nav-link:hover, .navbar.scrolled .nav-link.active {
    background: rgba(3,105,161,0.08);
    color: var(--primary);
}
.nav-cta {
    display: inline-flex;
    align-items: center;
    padding: 9px 20px;
    background: rgba(255,255,255,0.18);
    border: 1.5px solid rgba(255,255,255,0.45);
    border-radius: 50px;
    color: #fff;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
    flex-shrink: 0;
}
.navbar.scrolled .nav-cta {
    background: var(--gradient);
    border-color: transparent;
    box-shadow: var(--shadow-sm);
}
.nav-cta:hover { background: rgba(255,255,255,0.28); transform: translateY(-2px); }

/* --- HAMBURGER --- */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 10px;
    cursor: pointer;
    padding: 10px;
    margin-left: auto;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    transition: var(--transition);
}
.navbar.scrolled .hamburger {
    background: rgba(3,105,161,0.08);
    border-color: rgba(3,105,161,0.15);
}
.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: var(--transition);
}
.navbar.scrolled .hamburger span { background: var(--text); }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
    min-height: 100svh;
    background: linear-gradient(145deg, #0c2340 0%, #0369a1 40%, #06b6d4 80%, #0891b2 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: calc(var(--nav-height) + 40px) 0 80px;
}
.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
    width: 100%;
    position: relative;
    z-index: 10;
}
.hero-bg-anim {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}
.bubble {
    position: absolute;
    bottom: -100px;
    left: var(--left);
    width: var(--size);
    height: var(--size);
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.12);
    animation: float-bubble var(--duration) var(--delay) ease-in-out infinite;
}
@keyframes float-bubble {
    0% { transform: translateY(0) scale(1); opacity: 0.4; }
    50% { transform: translateY(-400px) scale(1.1); opacity: 0.1; }
    100% { transform: translateY(-800px) scale(0.9); opacity: 0; }
}
.hero > div, .hero > section { position: relative; z-index: 1; }
.hero-content {
    max-width: 650px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    color: #fbbf24;
    font-size: 0.8rem;
    font-weight: 800;
    margin-bottom: 24px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
}
.hero-title {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 900;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -1.5px;
}
.gradient-text {
    background: linear-gradient(135deg, #67e8f9 0%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}
.hero-subtitle {
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    color: rgba(255,255,255,0.85);
    margin-bottom: 40px;
    line-height: 1.8;
    max-width: 580px;
}
.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}
.hero-stats {
    grid-column: 1 / span 2;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 18px 24px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius);
    width: fit-content;
    margin-top: 20px;
}
.stat-item { text-align: center; min-width: 70px; }
.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 900;
    color: #fff;
    display: block;
    line-height: 1;
}
.stat-label { font-size: 0.72rem; color: rgba(255,255,255,0.6); display: block; margin-top: 4px; }
.stat-divider { width: 1px; height: 36px; background: rgba(255,255,255,0.18); }
.hero-image {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: flex-end;
    perspective: 1000px;
}
.hero-img-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.hero-main-img {
    width: 100%;
    max-width: 480px;
    border-radius: var(--radius-lg);
    object-fit: cover;
    box-shadow: 0 25px 60px rgba(0,0,0,0.4);
    display: block;
    transform: rotateY(-5deg) rotateX(2deg);
    border: 1px solid rgba(255,255,255,0.2);
}
.hero-img-glow {
    position: absolute;
    inset: -30px;
    background: radial-gradient(circle, rgba(14,165,233,0.3), transparent 70%);
    pointer-events: none;
}
.floating-card {
    position: absolute;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text);
    box-shadow: var(--shadow-md);
    animation: float-card 4s ease-in-out infinite;
    white-space: nowrap;
}
.floating-card i { color: var(--primary); font-size: 1rem; }
.card-1 { top: 20px; left: -16px; animation-delay: 0s; }
.card-2 { bottom: 40px; right: -16px; animation-delay: 2s; }
@keyframes float-card {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.hero-wave {
    position: absolute;
    bottom: -1px; 
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 5;
}
.hero-wave svg { width: 100%; height: auto; min-height: 50px; }

/* ===== ABOUT ===== */
.about { padding: 90px 0; }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}
.img-collage {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 12px;
}
.collage-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    min-height: 280px;
}
.collage-side {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.collage-side img {
    width: 100%;
    height: 134px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}
.about-images { position: relative; padding-bottom: 30px; }
.about-badge-float {
    position: absolute;
    bottom: 0;
    left: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: var(--gradient);
    border-radius: var(--radius);
    color: #fff;
    box-shadow: var(--shadow-lg);
}
.about-badge-float i { font-size: 1.6rem; opacity: 0.9; }
.about-badge-float strong { display: block; font-size: 0.9rem; font-weight: 700; }
.about-badge-float span { font-size: 0.75rem; opacity: 0.85; }
.about-desc {
    color: var(--text-muted);
    margin-bottom: 14px;
    font-size: 0.98rem;
    line-height: 1.75;
}
.about-features { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(3,105,161,0.05);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    font-weight: 500;
    transition: var(--transition);
}
.feature-item:hover { background: rgba(3,105,161,0.1); transform: translateX(5px); }
.feature-icon { color: var(--primary-light); font-size: 1rem; flex-shrink: 0; }

/* ===== PROGRAMS ===== */
.programs {
    padding: 90px 0;
    background: linear-gradient(180deg, #0369a1 0%, #0c2340 100%);
    position: relative;
}
.wave-top, .wave-bottom { line-height: 0; }
.wave-top svg, .wave-bottom svg { width: 100%; height: 55px; }
.programs .section-tag { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.3); color: #e0f2fe; }
.programs .section-title { color: #fff; }
.programs .section-sub { color: rgba(255,255,255,0.7); }
.programs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.program-card {
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.program-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
    border-color: rgba(255,255,255,0.22);
}
.program-card.featured { background: rgba(255,255,255,0.97); border-color: transparent; box-shadow: var(--shadow-lg); }
.program-card.featured:hover { background: #fff; transform: translateY(-12px); }
.program-card.featured h3 { color: var(--text); }
.program-card.featured .program-sub { color: var(--text-muted); }
.program-card.featured .program-desc { color: #475569; }
.program-card.featured .program-features li { color: #334155; }
.program-icon-wrap { margin-bottom: 14px; }
.program-icon {
    width: 58px; height: 58px;
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: #fff;
}
.kids-icon { background: linear-gradient(135deg, #f97316, #fbbf24); }
.adult-icon { background: var(--gradient); }
.private-icon { background: linear-gradient(135deg, #7c3aed, #a78bfa); }
.group-icon { background: linear-gradient(135deg, #059669, #34d399); }
.program-badge {
    position: absolute; top: 16px; right: 16px;
    padding: 4px 10px;
    background: linear-gradient(135deg, #f97316, #fbbf24);
    border-radius: 50px;
    font-size: 0.68rem; font-weight: 700; color: #fff; letter-spacing: 0.5px;
}
.featured-badge { background: var(--gradient); }
.private-badge { background: linear-gradient(135deg, #7c3aed, #a78bfa); }
.group-badge { background: linear-gradient(135deg, #059669, #34d399); }
.program-card h3 { font-size: 1.2rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
.program-sub { font-size: 0.78rem; color: rgba(255,255,255,0.6); margin-bottom: 12px; font-weight: 500; }
.program-desc { font-size: 0.87rem; color: rgba(255,255,255,0.7); margin-bottom: 18px; line-height: 1.6; }
.program-features { list-style: none; display: flex; flex-direction: column; gap: 9px; margin-bottom: 20px; flex: 1; }
.program-features li { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: rgba(255,255,255,0.8); }
.program-features li i { color: #34d399; font-size: 0.8rem; flex-shrink: 0; }
.program-card.featured .program-features li i { color: var(--primary); }
.program-btn {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-sm);
    color: #fff; font-weight: 600; font-size: 0.88rem; text-decoration: none;
    transition: var(--transition); margin-top: auto;
}
.program-card.featured .program-btn {
    background: var(--gradient); border-color: transparent;
    box-shadow: 0 6px 20px rgba(3,105,161,0.35); color: #fff;
}
.program-btn:hover { background: rgba(255,255,255,0.2); transform: translateY(-2px); }

/* ===== GALLERY ===== */
.gallery { padding: 90px 0; }
.gallery-filter {
    display: flex; justify-content: center; gap: 10px; margin-bottom: 36px; flex-wrap: wrap;
}
.filter-btn {
    padding: 8px 20px;
    border: 2px solid var(--border);
    background: transparent;
    border-radius: 50px;
    font-size: 0.88rem; font-weight: 600; color: var(--text-muted);
    cursor: pointer; transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
    background: var(--gradient); border-color: transparent; color: #fff;
    box-shadow: 0 4px 16px rgba(3,105,161,0.3);
}
.gallery-grid { columns: 3; column-gap: 16px; }
.gallery-item {
    break-inside: avoid; margin-bottom: 16px; border-radius: var(--radius);
    overflow: hidden; position: relative; cursor: pointer;
}
.gallery-item.hidden { display: none; }
.gallery-item img { width: 100%; display: block; transition: transform 0.5s ease; object-fit: cover; }
.gallery-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(3,105,161,0.85), transparent);
    opacity: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 8px; color: #fff; font-weight: 600; font-size: 0.9rem;
    transition: opacity 0.35s ease;
}
.gallery-overlay i { font-size: 1.6rem; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 9000; display: none; align-items: center; justify-content: center; }
.lightbox.active { display: flex; }
.lightbox-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.93); backdrop-filter: blur(8px); }
.lightbox-content {
    position: relative; z-index: 1;
    max-width: 92vw; max-height: 92vh;
    display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.lightbox-content img {
    max-width: 100%; max-height: 78vh; border-radius: var(--radius);
    box-shadow: var(--shadow-lg); object-fit: contain;
}
#lightboxCaption { color: rgba(255,255,255,0.8); font-size: 0.95rem; font-weight: 500; }
.lightbox-close, .lightbox-prev, .lightbox-next {
    position: absolute;
    background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%; width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1rem; cursor: pointer; transition: var(--transition);
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.3); }
.lightbox-close { top: -52px; right: 0; }
.lightbox-prev { left: -52px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: -52px; top: 50%; transform: translateY(-50%); }

/* ===== VISION MISSION ===== */
.vision-mission {
    padding: 90px 0;
    background: linear-gradient(145deg, #0c2340, #0369a1, #0891b2);
    position: relative; overflow: hidden;
}
.vm-bg-pattern {
    position: absolute; inset: 0;
    background-image:
        radial-gradient(circle at 15% 50%, rgba(255,255,255,0.04) 0%, transparent 50%),
        radial-gradient(circle at 85% 20%, rgba(14,165,233,0.1) 0%, transparent 40%);
    pointer-events: none;
}
.vm-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 28px; align-items: stretch; }
.vm-card {
    padding: 36px; border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.06); backdrop-filter: blur(12px);
    transition: var(--transition);
}
.vm-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-4px); }
.vm-icon {
    width: 60px; height: 60px;
    background: rgba(255,255,255,0.15); border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; color: #67e8f9; margin-bottom: 20px;
}
.vm-card h3 { font-size: 1.4rem; font-weight: 700; color: #fff; margin-bottom: 14px; }
.vm-card p { color: rgba(255,255,255,0.75); font-size: 1rem; line-height: 1.75; }
.mission-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.mission-list li {
    display: flex; align-items: center; gap: 14px;
    color: rgba(255,255,255,0.8); font-size: 0.92rem; line-height: 1.5;
    padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mission-list li:last-child { border-bottom: none; }
.mission-num {
    width: 34px; height: 34px;
    background: rgba(255,255,255,0.12); border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem; font-weight: 800; color: #67e8f9;
    flex-shrink: 0; font-family: 'Outfit', sans-serif;
}

/* ===== WHY US ===== */
.why-us { padding: 90px 0; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why-card {
    padding: 28px 24px; background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); text-align: center; transition: var(--transition);
}
.why-card:hover { border-color: var(--primary-light); box-shadow: var(--shadow-md); transform: translateY(-6px); }
.why-icon {
    width: 64px; height: 64px;
    margin: 0 auto 18px;
    background: linear-gradient(135deg, rgba(3,105,161,0.08), rgba(6,182,212,0.08));
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: var(--primary-light); transition: var(--transition);
}
.why-card:hover .why-icon { background: var(--gradient); color: #fff; transform: scale(1.1) rotate(5deg); }
.why-card h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.why-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; }

/* ===== TESTIMONIALS ===== */
.testimonials { padding: 90px 0; background: linear-gradient(180deg, var(--surface-2), #e0f2fe); }
.testimonial-swiper { padding-bottom: 52px !important; }
.testimonial-card {
    background: var(--surface); border-radius: var(--radius-lg);
    padding: 32px; box-shadow: var(--shadow-sm); border: 1px solid var(--border);
}
.testi-stars { color: #fbbf24; font-size: 0.95rem; margin-bottom: 14px; display: flex; gap: 3px; }
.testi-text { font-size: 0.95rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 20px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
    width: 46px; height: 46px; background: var(--gradient); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 700; font-size: 0.9rem; flex-shrink: 0;
}
.testi-author strong { display: block; font-size: 0.92rem; color: var(--text); }
.testi-author span { font-size: 0.78rem; color: var(--text-muted); }
.swiper-pagination-bullet-active { background: var(--primary) !important; }
.swiper-button-next, .swiper-button-prev {
    color: var(--primary) !important; width: 40px !important; height: 40px !important;
    background: var(--surface); border-radius: 50%; box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}
.swiper-button-next::after, .swiper-button-prev::after { font-size: 14px !important; }

/* ===== CONTACT ===== */
.contact { padding: 90px 0; background: linear-gradient(180deg, #f0f9ff, #e0f2fe); position: relative; }
.wave-top-contact { line-height: 0; }
.wave-top-contact svg { width: 100%; height: 55px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.contact-card {
    display: flex; align-items: center; gap: 16px;
    padding: 16px 18px; background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); margin-bottom: 12px; transition: var(--transition);
    box-shadow: var(--shadow-sm);
}
.contact-card:hover { transform: translateX(5px); box-shadow: var(--shadow-md); border-color: var(--primary-light); }
.contact-icon {
    width: 46px; height: 46px; background: var(--gradient);
    border-radius: 13px; display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.1rem; flex-shrink: 0;
}
.contact-card h4 { font-size: 0.86rem; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.contact-card p { font-size: 0.86rem; color: var(--text-muted); }
.social-links { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.social-btn {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    padding: 13px 20px; border-radius: var(--radius);
    font-weight: 600; font-size: 0.92rem; text-decoration: none; transition: var(--transition);
}
.wa-btn { background: #25d366; color: #fff; box-shadow: 0 4px 16px rgba(37,211,102,0.3); }
.wa-btn:hover { background: #1ebe5d; transform: translateY(-3px); }
.ig-btn {
    background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
    color: #fff; box-shadow: 0 4px 16px rgba(131,58,180,0.3);
}
.ig-btn:hover { transform: translateY(-3px); }
.contact-form-wrap {
    background: var(--surface); border-radius: var(--radius-lg);
    padding: 36px; box-shadow: var(--shadow-md); border: 1px solid var(--border);
}
.contact-form h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 24px; color: var(--text); }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text); margin-bottom: 7px; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 11px 14px; border: 2px solid var(--border);
    border-radius: var(--radius-sm); font-size: 0.92rem; font-family: inherit;
    color: var(--text); background: var(--surface); transition: var(--transition); outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 4px rgba(14,165,233,0.1);
}
.form-group select { cursor: pointer; }
.form-group textarea { resize: vertical; min-height: 96px; }

/* ===== FOOTER ===== */
.footer { background: var(--deep); color: rgba(255,255,255,0.65); padding: 72px 0 0; }
.footer-wave { line-height: 0; }
.footer-wave svg { width: 100%; height: 45px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 36px; padding-bottom: 56px; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo img { height: 44px; width: 44px; object-fit: contain; border-radius: 10px; }
.footer-logo span { font-family: 'Outfit', sans-serif; font-size: 1.05rem; font-weight: 700; color: #fff; }
.footer-brand p { font-size: 0.88rem; line-height: 1.75; max-width: 270px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
    width: 38px; height: 38px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px; display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.55); text-decoration: none; font-size: 0.95rem; transition: var(--transition);
}
.footer-social a:hover { background: var(--gradient); border-color: transparent; color: #fff; transform: translateY(-3px); }
.footer-links h4 { color: #fff; font-size: 0.98rem; font-weight: 700; margin-bottom: 18px; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-links a {
    color: rgba(255,255,255,0.55); text-decoration: none; font-size: 0.88rem;
    transition: color 0.2s; display: flex; align-items: center; gap: 7px;
}
.footer-links a::before { content: '→'; color: var(--accent-light); font-size: 0.7rem; }
.footer-links a:hover { color: #fff; }
.footer-contact h4 { color: #fff; font-size: 0.98rem; font-weight: 700; margin-bottom: 18px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 13px; font-size: 0.88rem; }
.footer-contact-item i { color: var(--accent-light); margin-top: 3px; flex-shrink: 0; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 22px 0;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 0.82rem; flex-wrap: wrap; gap: 10px;
}
.footer-bottom i { color: #ef4444; }

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed; bottom: 28px; right: 24px;
    width: 46px; height: 46px; background: var(--gradient); border: none;
    border-radius: 50%; color: #fff; font-size: 0.95rem; cursor: pointer;
    box-shadow: var(--shadow-md); transition: var(--transition); z-index: 500;
    opacity: 0; visibility: hidden; transform: translateY(20px);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* ================================================================
   RESPONSIVE BREAKPOINTS — Full Mobile Support
   ================================================================ */

/* --- Tablet Large: ≤ 1100px --- */
@media (max-width: 1100px) {
    .programs-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .about-grid { gap: 40px; }
}

/* --- Tablet: ≤ 960px --- */
@media (max-width: 960px) {
    :root { --nav-height: 64px; }

    .nav-links, .nav-cta { display: none; }
    .hamburger { display: flex; }
    .nav-container { gap: 12px; }
    .logo-img { height: 42px; width: 42px; }
    .logo-text { font-size: 1.1rem; }
    .logo-sub { font-size: 0.58rem; }

    /* Mobile nav drawer */
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: var(--nav-height);
        left: 0; right: 0;
        background: rgba(7,89,133,0.98);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        padding: 16px 20px 24px;
        gap: 4px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        z-index: 999;
        box-shadow: 0 20px 40px rgba(0,0,0,0.3);
        animation: menu-slide-down 0.3s ease forwards;
    }
    .navbar.scrolled .nav-links.open {
        background: rgba(255,255,255,0.98);
        border-bottom-color: var(--border);
    }
    @keyframes menu-slide-down {
        from { opacity: 0; transform: translateY(-10px); }
        to   { opacity: 1; transform: translateY(0); }
    }
    .nav-links.open li { width: 100%; }
    .nav-links.open .nav-link {
        display: block; padding: 13px 16px;
        border-radius: var(--radius-sm);
        font-size: 1rem; font-weight: 600;
        color: rgba(255,255,255,0.9);
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    .navbar.scrolled .nav-links.open .nav-link { color: var(--text); border-color: var(--border); }
    .nav-links.open .nav-link:hover, .nav-links.open .nav-link.active {
        background: rgba(255,255,255,0.1); color: #fff;
    }
    .navbar.scrolled .nav-links.open .nav-link:hover,
    .navbar.scrolled .nav-links.open .nav-link.active {
        background: rgba(3,105,161,0.08); color: var(--primary);
    }
    /* Mobile CTA inside nav drawer */
    .nav-links.open::after {
        content: 'Daftar Sekarang →';
        display: block;
        margin-top: 12px;
        padding: 13px;
        background: var(--gradient);
        border-radius: var(--radius-sm);
        text-align: center;
        color: #fff;
        font-weight: 700;
        font-size: 0.95rem;
        cursor: pointer;
    }

    /* --- Hero Section Mobile --- */
    .hero { 
        min-height: auto; 
        padding-top: calc(var(--nav-height) + 30px);
        padding-bottom: 70px; 
    }
    .hero-container { 
        display: flex;
        flex-direction: column; 
        text-align: center; 
        gap: 20px; 
        padding: 0 16px;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0;
        overflow: hidden;
    }
    .hero-content { 
        max-width: 100%; 
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-badge { 
        margin: 0 auto 16px; 
        font-size: 0.72rem; 
        padding: 6px 12px; 
        white-space: normal; 
        word-break: break-all;
        line-height: 1.3;
        text-align: center;
        max-width: 90%;
        display: flex;
        justify-content: center;
    }
    .hero-title { 
        font-size: 1.75rem; 
        margin-bottom: 12px; 
        line-height: 1.25; 
        width: 100%;
        letter-spacing: -0.5px;
    }
    .hero-subtitle { font-size: 0.9rem; margin-bottom: 24px; width: 100%; padding: 0 5px; }
    .hero-buttons { width: 100%; justify-content: center; margin-bottom: 25px; gap: 10px; }
    .btn-primary, .btn-secondary { width: 100%; max-width: 280px; justify-content: center; }
    .hero-stats { 
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        padding: 16px;
        margin: 0 auto;
        background: rgba(255,255,255,0.08);
        border-radius: 16px;
    }
    .stat-item { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 0 10px; }
    .stat-divider { display: block; width: 100%; height: 1px; background: rgba(255,255,255,0.1); margin: 0; }
    .hero-image { display: none; } /* Terpaksa dihilangkan di HP sempit demi kestabilan layout */
    .hero-wave svg { height: 30px; }

    /* About */
    .about-grid { grid-template-columns: 1fr; }
    .about-images { padding-bottom: 50px; }

    /* Programs */
    .programs-grid { grid-template-columns: repeat(2, 1fr); }

    /* Vision Mission */
    .vm-grid { grid-template-columns: 1fr; }

    /* Why */
    .why-grid { grid-template-columns: repeat(2, 1fr); }

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

    /* Gallery */
    .gallery-grid { columns: 2; }

    /* Lightbox arrows */
    .lightbox-prev { left: -44px; }
    .lightbox-next { right: -44px; }
}

/* --- Mobile Large: ≤ 768px --- */
@media (max-width: 768px) {
    .section-header { margin-bottom: 36px; }
    .about, .gallery, .why-us, .testimonials, .contact { padding: 70px 0; }
    .programs, .vision-mission { padding: 70px 0; }

    .img-collage { grid-template-columns: 1fr; }
    .collage-side { display: none; }
    .collage-main img { min-height: 250px; }
    .about-badge-float { font-size: 0.85rem; padding: 12px 16px; }

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

    .hero-stats { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 12px 20px; }
    .stat-divider { display: none; }

    .contact-form-wrap { padding: 28px 20px; }

    .swiper-button-next, .swiper-button-prev { display: none; }
}

/* --- Mobile: ≤ 540px --- */
@media (max-width: 540px) {
    :root { --nav-height: 60px; }
    .nav-container { max-width: 100% !important; padding: 0 16px !important; }
    .container { max-width: 100% !important; padding: 0 16px !important; }

    /* Logo compact */
    .logo-sub { display: none; }
    .logo-img { height: 38px; width: 38px; }
    .logo-text { font-size: 1.05rem; }

    .hero { padding: calc(var(--nav-height) + 30px) 0 40px; }
    .hero-title { font-size: 1.7rem; line-height: 1.25; }
    .hero-image { max-width: 240px; }
    .hero-stats { 
        display: grid; 
        grid-template-columns: 1fr 1fr 1fr; 
        padding: 10px; 
        border-radius: 12px;
        background: rgba(255,255,255,0.1);
    }
    .stat-item { min-width: 0; }
    .hero-buttons { flex-direction: column; align-items: stretch; gap: 10px; }
    .btn-primary, .btn-secondary { justify-content: center; padding: 13px 20px; font-size: 0.95rem; }

    .programs-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .gallery-grid { columns: 2; column-gap: 10px; }

    .preloader-logo { width: 110px; height: 110px; border-radius: 22px; }
    .preloader-logo-wrap { width: 130px; height: 130px; }
    .preloader-brand { font-size: 1.4rem; }

    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }

    .vm-card { padding: 24px 18px; }

    .lightbox-prev, .lightbox-next { display: none; }
    .lightbox-close { top: -48px; right: 0; }

    .back-to-top { bottom: 20px; right: 16px; width: 42px; height: 42px; }
}

/* --- Mobile XS: ≤ 380px --- */
@media (max-width: 380px) {
    .logo-text { font-size: 0.95rem; }
    .hero-title { font-size: 1.5rem; }
    .hero-badge { font-size: 0.75rem; }
    .programs-grid, .why-grid { grid-template-columns: 1fr; }
    .gallery-grid { columns: 1; }
    .filter-btn { padding: 6px 14px; font-size: 0.8rem; }
    .section-title { font-size: 1.5rem; }
    .hero-stats { gap: 8px 12px; padding: 14px 16px; }
    .stat-number { font-size: 1.3rem; }
    .about-grid { gap: 28px; }
    .img-collage { display: block; }
    .collage-side { display: none; }
}
