/**
 * SunnySteps - Premium PAUD & TK Kindergarten Theme Stylesheet
 * Inspired by SunnySteps Nursery, Kindazai, and Modern Childcare Aesthetics
 */

/* ==========================================================================
   1. CSS RESET & DESIGN TOKENS
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Dynamic tokens overridden by inline customizer styles */
    --color-primary: #F59E0B;
    --color-primary-rgb: 245, 158, 11;
    --color-secondary: #0D9488;
    --color-secondary-rgb: 13, 148, 136;
    --color-accent: #FF6B6B;
    --color-accent-rgb: 255, 107, 107;
    --color-bg-main: #FFFDF9;
    --color-bg-soft: #FEF9C3;
    --color-bg-card: #FFFFFF;
    --color-text-main: #1F2937;
    --color-text-muted: #6B7280;
    --color-badge-bg: #FDE68A;
    --font-main: 'Quicksand', 'Nunito', -apple-system, sans-serif;
    --radius-btn: 9999px;

    /* Fixed UI tokens */
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 26px;
    --radius-xl: 36px;
    --radius-full: 9999px;

    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.04);
    --shadow-card: 0 10px 30px rgba(var(--color-primary-rgb), 0.08);
    --shadow-hover: 0 18px 40px rgba(var(--color-primary-rgb), 0.16);

    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --container-max: 1200px;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--color-bg-main);
    color: var(--color-text-main);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

a:hover {
    color: var(--color-primary);
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--color-text-main);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

/* ==========================================================================
   2. LAYOUT & CONTAINERS
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

.section-padding {
    padding-top: 80px;
    padding-bottom: 80px;
    position: relative;
}

@media (max-width: 768px) {
    .section-padding {
        padding-top: 50px;
        padding-bottom: 50px;
    }
}

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

/* Section Header Typography */
.section-header {
    margin-bottom: 48px;
    max-width: 680px;
}

.section-header.text-center {
    margin-left: auto;
    margin-right: auto;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background-color: var(--color-badge-bg);
    color: var(--color-text-main);
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    margin-bottom: 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.section-title {
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    letter-spacing: -0.02em;
    color: var(--color-text-main);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   3. BUTTONS & UI BADGES
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 28px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--radius-btn);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    line-height: 1.2;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #ffffff;
    box-shadow: 0 4px 18px rgba(var(--color-primary-rgb), 0.35);
}

.btn-primary:hover {
    background-color: var(--color-secondary);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(var(--color-secondary-rgb), 0.4);
}

.btn-secondary {
    background-color: var(--color-secondary);
    color: #ffffff;
    box-shadow: 0 4px 18px rgba(var(--color-secondary-rgb), 0.35);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(var(--color-primary-rgb), 0.4);
}

.btn-accent {
    background-color: var(--color-accent);
    color: #ffffff;
    box-shadow: 0 4px 18px rgba(var(--color-accent-rgb), 0.35);
}

.btn-accent:hover {
    filter: brightness(1.1);
    transform: translateY(-3px);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--color-secondary);
    color: var(--color-secondary);
}

.btn-outline:hover {
    background-color: var(--color-secondary);
    color: #ffffff;
    transform: translateY(-3px);
}

.btn-whatsapp {
    background-color: #25D366;
    color: #ffffff;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    color: #ffffff;
    transform: translateY(-3px);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.875rem;
}

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

/* ==========================================================================
   4. HEADER & NAVIGATION
   ========================================================================== */
.site-topbar {
    background-color: var(--color-bg-soft);
    padding: 8px 0;
    font-size: 0.875rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.topbar-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.topbar-info {
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--color-text-main);
    font-weight: 600;
}

.topbar-info span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.topbar-social {
    display: flex;
    align-items: center;
    gap: 14px;
}

.topbar-social a {
    color: var(--color-text-muted);
    display: inline-flex;
    align-items: center;
}

.topbar-social a:hover {
    color: var(--color-primary);
}

.site-header {
    background-color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 84px;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 14px;
}

.site-branding .custom-logo {
    max-height: 54px;
    width: auto;
}

.site-title {
    font-size: 1.45rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.1;
    color: var(--color-text-main);
}

.site-title a {
    color: inherit;
}

.site-tagline {
    font-size: 0.78rem;
    color: var(--color-secondary);
    font-weight: 600;
    margin: 0;
}

/* Navigation Links */
.main-navigation {
    display: flex;
    align-items: center;
}

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

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    display: block;
    padding: 10px 15px;
    color: var(--color-text-main);
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a {
    color: var(--color-primary);
    background-color: var(--color-bg-soft);
}

/* Highlighted CTA Menu Item */
.nav-menu > li.menu-item-cta > a {
    background-color: var(--color-primary);
    color: #ffffff !important;
    padding: 10px 22px;
    border-radius: var(--radius-btn);
    box-shadow: 0 4px 14px rgba(var(--color-primary-rgb), 0.3);
}

.nav-menu > li.menu-item-cta > a:hover {
    background-color: var(--color-secondary);
    transform: translateY(-2px);
}

/* Mobile Toggle Hamburger */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    border-radius: 8px;
}

.mobile-nav-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background-color: var(--color-text-main);
    border-radius: 3px;
    margin: 5px 0;
    transition: var(--transition);
}

/* Mobile Drawer Overlay */
.mobile-nav-drawer {
    display: none;
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background: #ffffff;
    box-shadow: -6px 0 30px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    padding: 30px 24px;
    overflow-y: auto;
    transition: right 0.35s ease;
}

.mobile-nav-drawer.active {
    right: 0;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.drawer-close {
    background: #f3f4f6;
    border: none;
    font-size: 1.4rem;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-list li a {
    display: block;
    padding: 12px 14px;
    color: var(--color-text-main);
    font-weight: 700;
    font-size: 1rem;
    border-radius: 8px;
}

.mobile-menu-list li a:hover {
    background-color: var(--color-bg-soft);
    color: var(--color-primary);
}

.mobile-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 9999;
}

.mobile-backdrop.active {
    display: block;
}

@media (max-width: 992px) {
    .site-topbar { display: none; }
    .main-navigation .nav-menu { display: none; }
    .mobile-nav-toggle { display: block; }
    .mobile-nav-drawer { display: block; }
}

/* ==========================================================================
   5. HERO BANNER VARIATIONS (PRD SECTION 4.D)
   ========================================================================== */
.hero-section {
    position: relative;
    padding: 70px 0 90px;
    background: linear-gradient(180deg, #FFFFFF 0%, var(--color-bg-soft) 100%);
    overflow: hidden;
}

/* Decorative background shapes */
.hero-shape-1, .hero-shape-2 {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.6;
    pointer-events: none;
    z-index: 1;
}

.hero-shape-1 {
    width: 380px;
    height: 380px;
    background-color: rgba(var(--color-primary-rgb), 0.25);
    top: -60px;
    right: -80px;
}

.hero-shape-2 {
    width: 320px;
    height: 320px;
    background-color: rgba(var(--color-secondary-rgb), 0.2);
    bottom: -40px;
    left: -60px;
}

.hero-wrapper {
    position: relative;
    z-index: 2;
}

/* Hero Layout 1: Split Left Text / Right Image */
.hero-split-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
}

.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background-color: #ffffff;
    color: var(--color-primary);
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(var(--color-primary-rgb), 0.2);
}

.hero-title {
    font-size: clamp(2.3rem, 4.2vw, 3.6rem);
    font-weight: 800;
    line-height: 1.18;
    color: var(--color-text-main);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-title span.highlight {
    color: var(--color-primary);
    position: relative;
    display: inline-block;
}

.hero-desc {
    font-size: 1.18rem;
    color: var(--color-text-muted);
    margin-bottom: 34px;
    line-height: 1.7;
    max-width: 580px;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 30px;
}

.hero-trust-badges {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-top: 15px;
    border-top: 1px dashed #d1d5db;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-text-main);
}

.trust-icon {
    font-size: 1.25rem;
}

/* Hero Right Media Card with Floating Badges */
.hero-media-card {
    position: relative;
}

.hero-media-wrapper {
    position: relative;
    border-radius: 36px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    border: 8px solid #ffffff;
}

.hero-media-wrapper img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.hero-media-wrapper:hover img {
    transform: scale(1.03);
}

/* Floating Card 1 */
.floating-badge {
    position: absolute;
    background: #ffffff;
    padding: 12px 20px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 3;
    animation: floatingBob 3.5s ease-in-out infinite;
}

.floating-badge.badge-top-left {
    top: 25px;
    left: -25px;
}

.floating-badge.badge-bottom-right {
    bottom: 30px;
    right: -25px;
    animation-delay: 1.8s;
}

.floating-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--color-bg-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.floating-title {
    font-size: 0.95rem;
    font-weight: 800;
    margin: 0;
    color: var(--color-text-main);
}

.floating-sub {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    margin: 0;
}

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

/* Hero Layout 2: Fullwidth Background Overlay */
.hero-layout-fullwidth {
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 120px 0;
}

.hero-layout-fullwidth::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.78) 100%);
}

.hero-card-glass {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-xl);
    padding: 50px 40px;
    max-width: 720px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

/* Hero Layout 3: Center Playful */
.hero-layout-illustration {
    text-align: center;
    padding: 80px 0 100px;
}

.hero-layout-illustration .hero-cta-group {
    justify-content: center;
}

.hero-layout-illustration .hero-desc {
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 992px) {
    .hero-split-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-media-wrapper img {
        height: 380px;
    }
    .floating-badge.badge-top-left {
        left: 10px;
    }
    .floating-badge.badge-bottom-right {
        right: 10px;
    }
}

/* ==========================================================================
   6. SAMBUTAN KEPALA SEKOLAH
   ========================================================================== */
.section-sambutan {
    background-color: #ffffff;
}

.sambutan-card {
    background: linear-gradient(135deg, #FFFDF9 0%, var(--color-bg-soft) 100%);
    border-radius: var(--radius-xl);
    padding: 50px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: center;
    border: 2px solid rgba(var(--color-primary-rgb), 0.15);
    box-shadow: var(--shadow-card);
}

.sambutan-photo-box {
    text-align: center;
}

.sambutan-photo-box img {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 16px;
    border: 6px solid #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.sambutan-quote-icon {
    font-size: 2.8rem;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 12px;
}

.sambutan-text {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--color-text-main);
    margin-bottom: 24px;
    line-height: 1.8;
}

.sambutan-author h4 {
    font-size: 1.25rem;
    margin-bottom: 4px;
    color: var(--color-secondary);
}

.sambutan-author p {
    color: var(--color-text-muted);
    font-weight: 600;
}

@media (max-width: 768px) {
    .sambutan-card {
        grid-template-columns: 1fr;
        padding: 30px 20px;
        text-align: center;
    }
}

/* ==========================================================================
   7. TENTANG SEKOLAH & STATISTIK BAR
   ========================================================================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.stat-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1.1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-text-muted);
}

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

/* ==========================================================================
   8. PROGRAM PENDIDIKAN CARDS
   ========================================================================== */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.program-card {
    background: #ffffff;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 2px solid transparent;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-primary);
}

.program-thumb {
    position: relative;
    height: 230px;
    overflow: hidden;
    background-color: var(--color-bg-soft);
}

.program-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.program-card:hover .program-thumb img {
    transform: scale(1.06);
}

.program-age-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #ffffff;
    color: var(--color-secondary);
    padding: 6px 16px;
    font-size: 0.85rem;
    font-weight: 800;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.program-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.program-title {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.program-title a {
    color: var(--color-text-main);
}

.program-title a:hover {
    color: var(--color-primary);
}

.program-schedule {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: var(--color-secondary);
    font-weight: 700;
    margin-bottom: 14px;
}

.program-desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

.program-bullets {
    margin-bottom: 24px;
    flex-grow: 1;
}

.program-bullets li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--color-text-main);
    font-weight: 600;
}

.program-bullets li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10B981;
    font-weight: 800;
}

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

/* ==========================================================================
   9. KEUNGGULAN / MENGAPA MEMILIH KAMI (6 USP CARDS)
   ========================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.feature-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.feature-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background-color: var(--color-bg-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon-wrapper {
    background-color: var(--color-primary);
    transform: scale(1.1) rotate(6deg);
}

.feature-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.feature-desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

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

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

/* ==========================================================================
   10. PROFIL GURU & TENAGA PENDIDIK
   ========================================================================== */
.teachers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}

.teacher-card {
    background: #ffffff;
    border-radius: var(--radius-xl);
    overflow: hidden;
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 30px 20px 24px;
}

.teacher-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.teacher-avatar-box {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 18px;
}

.teacher-avatar-box img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--color-bg-soft);
    transition: var(--transition);
}

.teacher-card:hover .teacher-avatar-box img {
    border-color: var(--color-primary);
    transform: scale(1.04);
}

.teacher-name {
    font-size: 1.15rem;
    margin-bottom: 6px;
    font-weight: 800;
}

.teacher-role {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-secondary);
    background-color: var(--color-bg-soft);
    padding: 4px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 12px;
}

.teacher-edu {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    margin-bottom: 12px;
}

.teacher-bio {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

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

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

/* ==========================================================================
   11. FASILITAS RAMAH ANAK
   ========================================================================== */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.facility-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.facility-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.facility-thumb {
    height: 200px;
    position: relative;
    background-color: var(--color-bg-soft);
}

.facility-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.facility-icon-badge {
    position: absolute;
    bottom: -20px;
    right: 20px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.facility-content {
    padding: 28px 24px 24px;
}

.facility-title {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.facility-badge-text {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.facility-desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

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

/* ==========================================================================
   12. PRESTASI SISWA & SEKOLAH
   ========================================================================== */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.achievement-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 26px 20px;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    text-align: center;
}

.achievement-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.trophy-badge {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FDE68A 0%, #F59E0B 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 16px;
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.35);
}

.achievement-level {
    display: inline-block;
    padding: 4px 12px;
    background-color: var(--color-bg-soft);
    color: var(--color-secondary);
    font-size: 0.78rem;
    font-weight: 800;
    border-radius: var(--radius-full);
    margin-bottom: 10px;
}

.achievement-title {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.achievement-recipient {
    font-size: 0.88rem;
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 6px;
}

.achievement-desc {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

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

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

/* ==========================================================================
   13. GALERI FOTO KEGIATAN & LIGHTBOX
   ========================================================================== */
.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 34px;
}

.gallery-filter-btn {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    color: var(--color-text-main);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(var(--color-primary-rgb), 0.3);
}

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

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 250px;
    cursor: pointer;
    box-shadow: var(--shadow-card);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.75) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    color: #ffffff;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-caption {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.gallery-tag {
    font-size: 0.78rem;
    color: #fde68a;
    font-weight: 600;
}

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

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

/* Lightbox Modal */
.sunnysteps-lightbox {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.88);
    z-index: 20000;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.sunnysteps-lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 900px;
    max-height: 85vh;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 12px;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #ffffff;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
}

/* ==========================================================================
   14. BERITA & INFO PARENTING
   ========================================================================== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background: #ffffff;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.news-thumb {
    height: 210px;
    position: relative;
    background-color: var(--color-bg-soft);
    overflow: hidden;
}

.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-thumb img {
    transform: scale(1.06);
}

.news-category-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--color-secondary);
    color: #ffffff;
    padding: 4px 14px;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: var(--radius-full);
}

.news-body {
    padding: 26px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.82rem;
    color: var(--color-text-muted);
    margin-bottom: 10px;
}

.news-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-title a {
    color: var(--color-text-main);
}

.news-title a:hover {
    color: var(--color-primary);
}

.news-excerpt {
    font-size: 0.92rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 18px;
    flex-grow: 1;
}

.news-link {
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.news-link:hover {
    gap: 10px;
}

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

/* ==========================================================================
   15. TESTIMONI ORANG TUA
   ========================================================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: #ffffff;
    border-radius: var(--radius-xl);
    padding: 36px 30px;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.testi-stars {
    color: #F59E0B;
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.testi-quote {
    font-size: 1rem;
    color: var(--color-text-main);
    line-height: 1.7;
    margin-bottom: 24px;
    flex-grow: 1;
    font-style: italic;
}

.testi-author-info {
    display: flex;
    align-items: center;
    gap: 14px;
    border-top: 1px solid #f3f4f6;
    padding-top: 18px;
}

.testi-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--color-bg-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.testi-author-name {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 2px;
}

.testi-child-badge {
    font-size: 0.82rem;
    color: var(--color-secondary);
    font-weight: 600;
}

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

/* ==========================================================================
   16. PPDB CONVERSION ENGINE & LEAD CAPTURE FORM
   ========================================================================== */
.section-ppdb-cta {
    background: linear-gradient(135deg, var(--color-primary) 0%, #D97706 100%);
    color: #ffffff;
    border-radius: var(--radius-xl);
    padding: 60px 50px;
    margin: 40px auto;
    box-shadow: 0 20px 50px rgba(var(--color-primary-rgb), 0.35);
    position: relative;
    overflow: hidden;
}

.ppdb-cta-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

.ppdb-info-box h2 {
    color: #ffffff;
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    margin-bottom: 16px;
}

.ppdb-info-box p {
    font-size: 1.15rem;
    opacity: 0.95;
    margin-bottom: 24px;
    line-height: 1.7;
}

.ppdb-badge-year {
    display: inline-block;
    background: #ffffff;
    color: var(--color-primary);
    padding: 6px 18px;
    font-weight: 800;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    margin-bottom: 18px;
}

.ppdb-urgency-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.2);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 24px;
}

/* Interactive Lead Form Box */
.ppdb-form-box {
    background: #ffffff;
    color: var(--color-text-main);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.ppdb-form-box h3 {
    font-size: 1.4rem;
    margin-bottom: 6px;
    color: var(--color-text-main);
}

.ppdb-form-box p.form-sub {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--color-text-main);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    font-family: inherit;
    font-size: 0.95rem;
    border: 2px solid #e5e7eb;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.15);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-message-status {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 0.9rem;
    display: none;
}

.form-message-status.success {
    background-color: #d1fae5;
    color: #065f46;
    display: block;
}

.form-message-status.error {
    background-color: #fee2e2;
    color: #991b1b;
    display: block;
}

@media (max-width: 992px) {
    .section-ppdb-cta {
        padding: 40px 24px;
    }
    .ppdb-cta-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   17. FLOATING WHATSAPP WIDGET (PRD SECTION 5)
   ========================================================================== */
.floating-wa-container {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9990;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.floating-wa-bubble {
    background: #ffffff;
    color: var(--color-text-main);
    padding: 14px 18px;
    border-radius: 18px 18px 4px 18px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    max-width: 260px;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 12px;
    position: relative;
    animation: fadeInScale 0.4s ease;
    border: 1px solid #e5e7eb;
}

.floating-wa-btn {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background-color: #25D366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.floating-wa-btn:hover {
    transform: scale(1.1);
    background-color: #128C7E;
}

.floating-wa-btn svg {
    width: 34px;
    height: 34px;
    fill: #ffffff;
}

.wa-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #25D366;
    animation: waPulseAnim 2s infinite;
}

@keyframes waPulseAnim {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.6); opacity: 0; }
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* ==========================================================================
   18. FOOTER & COPYRIGHT
   ========================================================================== */
.site-footer {
    background-color: #1F2937;
    color: #F3F4F6;
    position: relative;
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h4 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 36px;
    height: 3px;
    background-color: var(--color-primary);
    border-radius: 3px;
}

.footer-about p {
    font-size: 0.95rem;
    color: #9CA3AF;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #D1D5DB;
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--color-primary);
    padding-left: 6px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.92rem;
    color: #D1D5DB;
}

.footer-gmaps-iframe {
    width: 100%;
    height: 150px;
    border-radius: var(--radius-sm);
    border: none;
    margin-top: 12px;
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 0.88rem;
    color: #9CA3AF;
}

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

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

/* ==========================================================================
   19. INNER PAGES (PROFIL, PPDB, SINGLE, ARCHIVE)
   ========================================================================== */
.page-banner {
    background: linear-gradient(135deg, #FFFFFF 0%, var(--color-bg-soft) 100%);
    padding: 60px 0 40px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.page-banner-title {
    font-size: clamp(2rem, 3.8vw, 3rem);
    font-weight: 800;
    margin-bottom: 12px;
}

.sunnysteps-breadcrumbs {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.sunnysteps-breadcrumbs a {
    color: var(--color-text-main);
    font-weight: 600;
}

.sunnysteps-breadcrumbs .separator {
    margin: 0 8px;
    color: #9ca3af;
}

.sunnysteps-breadcrumbs .current {
    color: var(--color-primary);
    font-weight: 700;
}

/* Rich content styling */
.entry-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #374151;
}

.entry-content h2, .entry-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.entry-content p {
    margin-bottom: 1.5rem;
}

.entry-content ul, .entry-content ol {
    margin-bottom: 1.5rem;
    padding-left: 24px;
}

.entry-content ul {
    list-style: disc;
}

.entry-content ol {
    list-style: decimal;
}

.entry-content blockquote {
    border-left: 4px solid var(--color-primary);
    padding: 16px 24px;
    background: var(--color-bg-soft);
    border-radius: 0 16px 16px 0;
    font-style: italic;
    margin: 2rem 0;
}

/* Wave divider SVG */
.sunnysteps-wave {
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.sunnysteps-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 48px;
}

.wave-flipped {
    transform: scaleX(-1);
}



/* ==========================================================================
   20. POST TYPE DIRECTORY PAGES (MATCHING REFERENCE UI)
   ========================================================================== */
.page-main-header {
    text-align: center;
    margin-bottom: 48px;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

.page-main-title {
    font-size: clamp(2rem, 3.6vw, 2.75rem);
    font-weight: 800;
    color: #1e3a8a;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.page-main-subtitle {
    font-size: 1.05rem;
    color: #4b5563;
    line-height: 1.65;
    margin-bottom: 0;
}

.grid-card-columns {
    display: grid;
    gap: 26px;
    margin-bottom: 50px;
}

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

.grid-3-col {
    grid-template-columns: repeat(3, 1fr);
}

/* Specific Card Layout Matching Attached Image */
.profile-person-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 32px 20px 26px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.profile-person-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

.person-avatar-wrapper {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 18px;
    border: 4px solid #f1f5f9;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    flex-shrink: 0;
}

.person-avatar-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.person-name {
    font-size: 1.18rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 6px;
    line-height: 1.3;
}

.person-role {
    font-size: 0.95rem;
    font-weight: 600;
    color: #0284c7;
    margin-bottom: 8px;
    line-height: 1.3;
}

.person-subject {
    font-size: 0.88rem;
    font-weight: 600;
    color: #0d9488;
    margin-bottom: 6px;
    line-height: 1.3;
}

.person-nip {
    font-size: 0.82rem;
    color: #94a3b8;
    font-weight: 500;
    margin-top: auto;
    padding-top: 6px;
}

/* Post Type Directory Card (For Program, Keunggulan, Prestasi) */
.custom-pt-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 30px 24px 26px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.custom-pt-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

.custom-pt-icon-box {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--color-bg-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin-bottom: 18px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.custom-pt-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 8px;
    line-height: 1.35;
}

.custom-pt-badge-blue {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    background: #eff6ff;
    color: #0284c7;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.custom-pt-subtitle-green {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0d9488;
    margin-bottom: 12px;
}

.custom-pt-desc {
    font-size: 0.92rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 18px;
    flex-grow: 1;
}

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

@media (max-width: 860px) {
    .grid-4-col,
    .grid-3-col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 580px) {
    .grid-4-col,
    .grid-3-col {
        grid-template-columns: 1fr;
    }
}
