/* Global Styles - Enhanced */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Prevent layout shifts and ensure consistent positioning */
*, *::before, *::after {
    box-sizing: border-box;
}

/* Enhanced HTML and Body styles - CONSOLIDATED */
html {
    overflow-x: hidden;
    overflow-y: auto;
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    height: 100%;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.7;
    color: #2D3748;
    background: #fff;
    font-size: 16px;
    letter-spacing: 0.01em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: "kern" 1, "liga" 1;
    overflow: visible;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

/* Responsive Container Styles - CONSOLIDATED */
@media (max-width: 768px) {
    html {
        scroll-padding-top: 120px;
    }
    
    .container {
        padding: 0 12px;
        max-width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    html {
        scroll-padding-top: 130px;
    }
    
    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 375px) {
    .container {
        padding: 0 8px;
        max-width: 100%;
        margin: 0 auto;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Enhanced Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
    min-height: 70px;
    display: flex;
    align-items: center;
    will-change: background, backdrop-filter;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.2);
    padding: 0.75rem 0;
}

.navbar.scrolled .nav-menu a {
    color: #2D3748;
    text-shadow: none;
}

.navbar.scrolled .nav-menu a:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}

.navbar.scrolled .hamburger span {
    background: #2D3748;
}

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

.logo-img {
    height: 65px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.02);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    padding: 12px 20px;
    border-radius: 30px;
    letter-spacing: 0.02em;
}

.nav-menu a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.4));
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 2px;
}

.nav-menu a:hover::after {
    width: 70%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.hamburger:hover {
    background: rgba(255, 255, 255, 0.1);
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: white;
    margin: 4px 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 2px;
}

/* Enhanced Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 0;
    position: relative;
    overflow: hidden;
}

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: brightness(0.85) contrast(1.1);
}

.hero-background-slide.active {
    opacity: 1;
}

.hero-navigation {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 3;
    transform: translateY(-50%);
}

.hero-nav-btn {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    font-size: 2rem;
    padding: 1.2rem 1.8rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.hero-nav-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.15);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.12) 0%, transparent 50%),
                linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    pointer-events: none;
    z-index: 2;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 3;
}

/* Ensure desktop hero layout for 878–1016px */
@media (min-width: 878px) and (max-width: 1016px) {
  #index-home .hero-content {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    text-align: left !important;
    gap: 4rem !important;
  }
  #index-home .hero-buttons { justify-content: flex-start !important; }
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0,0,0,0.4);
    letter-spacing: -0.02em;
}

.hero-text .highlight {
    background: linear-gradient(135deg, #FFE4B5 0%, #FFA500 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(255, 164, 0, 0.3));
}

.hero-text p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    line-height: 1.6;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

/* Enhanced Button Styles */
.btn {
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: inline-block;
    letter-spacing: 0.02em;
    backdrop-filter: blur(10px);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 140%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    border-radius: inherit;
    transform: translateX(-120%);
    transition: transform 1.8s ease;
}

.btn:hover::before {
    transform: translateX(120%);
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.5);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.btn-secondary {
    background: rgba(124, 58, 237, 0.1);
    color: #7C3AED;
    border: 2px solid #7C3AED;
    backdrop-filter: blur(15px);
}

.btn-secondary:hover {
    background: #7C3AED;
    color: white;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 35px rgba(124, 58, 237, 0.3);
}

.hero-highlights {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 12px 20px;
    border-radius: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.highlight-icon {
    font-size: 1.4rem;
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.highlight-icon img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.highlight-item span {
    color: #1E40AF;
    font-weight: 600;
    font-size: 0.95rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Hero Illustration */
.hero-illustration {
    position: relative;
    height: 500px;
    width: 100%;
}

.cloud {
    position: absolute;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 50px;
    opacity: 0.95;
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.cloud::before {
    content: '';
    position: absolute;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.cloud::after {
    content: '';
    position: absolute;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.cloud-1 {
    width: 100px;
    height: 50px;
    top: 10%;
    right: 25%;
    animation-delay: 0s;
}

.cloud-1::before {
    width: 50px;
    height: 50px;
    top: -25px;
    left: 10px;
}

.cloud-1::after {
    width: 60px;
    height: 40px;
    top: -15px;
    right: 15px;
}

.cloud-2 {
    width: 80px;
    height: 40px;
    top: 5%;
    right: 15%;
    animation-delay: 2s;
}

.cloud-2::before {
    width: 40px;
    height: 40px;
    top: -20px;
    left: 15px;
}

.cloud-2::after {
    width: 50px;
    height: 35px;
    top: -10px;
    right: 10px;
}

.cloud-3 {
    width: 70px;
    height: 35px;
    top: 15%;
    right: 30%;
    animation-delay: 1s;
}

.cloud-3::before {
    width: 35px;
    height: 35px;
    top: -18px;
    left: 12px;
}

.cloud-3::after {
    width: 45px;
    height: 30px;
    top: -8px;
    right: 8px;
}

.cloud-4 {
    width: 90px;
    height: 45px;
    top: 25%;
    right: 35%;
    animation-delay: 3s;
}

.cloud-4::before {
    width: 45px;
    height: 45px;
    top: -22px;
    left: 18px;
}

.cloud-4::after {
    width: 55px;
    height: 38px;
    top: -12px;
    right: 12px;
}



.sun {
    position: absolute;
    top: 3%;
    right: 18%;
    width: 70px;
    height: 70px;
    background: radial-gradient(circle at 30% 30%, #FFF700 0%, #FFD700 50%, #FFA500 100%);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.6), 0 0 60px rgba(255, 215, 0, 0.3);
}

.sun::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    background: 
        conic-gradient(from 0deg, 
            transparent 0deg, #FFD700 10deg, transparent 20deg,
            transparent 30deg, #FFD700 40deg, transparent 50deg,
            transparent 60deg, #FFD700 70deg, transparent 80deg,
            transparent 90deg, #FFD700 100deg, transparent 110deg,
            transparent 120deg, #FFD700 130deg, transparent 140deg,
            transparent 150deg, #FFD700 160deg, transparent 170deg,
            transparent 180deg, #FFD700 190deg, transparent 200deg,
            transparent 210deg, #FFD700 220deg, transparent 230deg,
            transparent 240deg, #FFD700 250deg, transparent 260deg,
            transparent 270deg, #FFD700 280deg, transparent 290deg,
            transparent 300deg, #FFD700 310deg, transparent 320deg,
            transparent 330deg, #FFD700 340deg, transparent 350deg
        );
    border-radius: 50%;
    opacity: 0.7;
}



/* SVG Image Styling for Kids Decorations */
.about-kid img,
.programs-kid img,
.footer-kid img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.1));
}

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

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

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Enhanced Section Styles */
section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* About Kids Decoration */
.about-kids-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.about-kid {
    position: absolute;
    font-size: 2rem;
    animation: float 10s ease-in-out infinite;
    opacity: 0.6;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.about-kid-1 {
    top: 15%;
    left: 5%;
    animation-delay: 0s;
}

.about-kid-2 {
    top: 25%;
    right: 8%;
    animation-delay: 2s;
}

.about-kid-3 {
    top: 45%;
    left: 3%;
    animation-delay: 4s;
}

.about-kid-4 {
    top: 65%;
    right: 5%;
    animation-delay: 6s;
}

.about-kid-5 {
    top: 80%;
    left: 10%;
    animation-delay: 8s;
}

.about-kid-6 {
    top: 35%;
    right: 15%;
    animation-delay: 1s;
}

/* Enhanced Section Header */
.section-header {
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
    z-index: 5;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.section-header p {
    font-size: 1.3rem;
    color: #64748B;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
}

/* Enhanced Profile Video Section - Standardized */
.profile-video {
    padding: 5rem 0;
    background: var(--intro-gradient), var(--glass-overlay);
    color: white;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    min-height: auto;
    /* Standardized typography and spacing */
    font-family: 'Poppins', sans-serif;
}

.profile-video .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.profile-video .section-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.profile-video .section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.profile-video .section-header p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.profile-video::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    z-index: 1;
    animation: intro-glow 6s ease-in-out infinite;
    will-change: opacity;
}

.profile-video .section-header h2 {
    color: white;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.profile-video .section-header h2::after {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.profile-video .section-header p {
    color: rgba(255, 255, 255, 0.9);
}

.video-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 3rem;
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: white;
}

.video-info p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.video-highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.video-highlights .highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.video-highlights .highlight-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.video-highlights .highlight-item:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

.navigation-arrow {
    margin-left: auto;
    font-size: 1.2rem;
    color: #3b82f6;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.video-highlights .highlight-item:hover .navigation-arrow {
    transform: translateX(3px);
}

/* Highlight icon colors - beige, yellow, pink */
.video-highlights .highlight-item:nth-child(1) .highlight-icon {
    color: #f5e6d3;
    background: linear-gradient(135deg, #f5e6d3, #e8d5c4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.video-highlights .highlight-item:nth-child(2) .highlight-icon {
    color: #ffd700;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.video-highlights .highlight-item:nth-child(3) .highlight-icon {
    color: #ff69b4;
    background: linear-gradient(135deg, #ff69b4, #ff85c0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.video-highlights .highlight-icon {
    font-size: 1.2rem;
}

.video-highlights span:last-child {
    font-weight: 500;
}

/* Override highlight icon rendering to use true emoji/SVG colors */
.profile-video .video-highlights .highlight-icon {
    -webkit-background-clip: initial !important;
    background-clip: initial !important; /* add standard property for compatibility */
    -webkit-text-fill-color: initial !important;
    background: none !important;
    color: inherit;
    font-size: 1.4rem;
}

.profile-video .video-highlights .highlight-icon img,
.profile-video .video-highlights .highlight-icon svg {
    width: 24px;
    height: 24px;
    display: inline-block;
}

@media (max-width: 768px) {
    .video-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .video-wrapper {
        margin-bottom: 1rem;
        width: 100%;
        max-width: 100%;
    }
    
    .video-info {
        text-align: left;
        width: 100%;
        max-width: 100%;
        padding: 0;
    }
    
    .video-info h3 {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }
    
    .video-info p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
    
    .video-highlights {
        max-width: 100%;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .video-highlights .highlight-item {
        padding: 1rem;
        font-size: 0.95rem;
    }
    
    /* Article Carousel Mobile */
    .article-carousel {
        max-width: 95%;
        margin: 30px auto 0;
    }

    .carousel-container {
        height: 400px;
    }

    .article-content {
        padding: 20px;
    }

    .article-content h3 {
        font-size: 1.3rem;
    }

    .article-content p {
        font-size: 0.9rem;
    }

    .carousel-btn {
        font-size: 1.5rem;
        padding: 10px 15px;
    }

    .prev-btn {
        left: 10px;
    }

    .next-btn {
        right: 10px;
    }
}

/* Enhanced About Section */
.about {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(102,126,234,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.5;
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 2;
}

/* Programs Kids Decoration */
.programs-kids-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.programs-kid {
    position: absolute;
    font-size: 2.5rem;
    animation: float 12s ease-in-out infinite;
    opacity: 0.7;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.programs-kid-1 {
    top: 20%;
    left: 8%;
    animation-delay: 0s;
}

.programs-kid-2 {
    top: 30%;
    right: 12%;
    animation-delay: 2s;
}

.programs-kid-3 {
    top: 50%;
    left: 5%;
    animation-delay: 4s;
}

.programs-kid-4 {
    top: 70%;
    right: 8%;
    animation-delay: 6s;
}

.programs-kid-5 {
    top: 85%;
    left: 15%;
    animation-delay: 8s;
}

.programs-kid-6 {
    top: 40%;
    right: 20%;
    animation-delay: 1s;
}

/* Enhanced About Item Cards */
.about-item {
    background: rgba(255, 255, 255, 0.9);
    padding: 3rem 2.5rem;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.about-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.6s ease;
}

.about-item:hover::before {
    left: 100%;
}

.about-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.2);
    background: rgba(255, 255, 255, 0.95);
}

.about-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.about-icon img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.about-item h3 {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.about-item ul {
    list-style: none;
    text-align: left;
    position: relative;
    z-index: 2;
}

.about-item li {
    padding: 0.75rem 0;
    position: relative;
    padding-left: 2rem;
    font-size: 1.1rem;
    color: #475569;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.about-item li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #1A237E;
    font-weight: bold;
}

/* Programs Section */
.programs {
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('../lhDocumentation/fotoKegiatanKelas/kegiatankelas4.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.program-card {
    background: linear-gradient(180deg, #F0F9FF 0%, #E0F2FE 100%);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    border: 3px solid #63B3ED;
    transition: all 0.3s ease;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(99, 179, 237, 0.3);
}

.program-icon {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.program-icon img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.program-icon-img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.program-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1E40AF;
    margin-bottom: 0.5rem;
}

.program-card ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    display: grid;
    gap: 0.5rem;
}

.program-card li {
    position: relative;
    padding-left: 22px;
    color: #4a5568;
}

.program-card li::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 8px;
    width: 6px;
    height: 6px;
    background: #63B3ED;
    border-radius: 50%;
    transform: translateY(-50%);
}

#daycare-summary .program-card {
    border-color: #F59E0B;
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.18);
}

#daycare-summary .program-card:hover {
    box-shadow: 0 15px 40px rgba(245, 158, 11, 0.28);
}

#daycare-summary .program-card li::before {
    background: #F59E0B;
}

.program-age {
    font-weight: 600;
    color: #F97316;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Curriculum Section */
.curriculum {
    background: linear-gradient(180deg, #ECFDF5 0%, #D1FAE5 100%);
}

.curriculum-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.curriculum-item {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-top: 4px solid #1A237E;
    transition: transform 0.3s ease;
}

.curriculum-item:hover {
    transform: translateY(-5px);
}

.curriculum-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.curriculum-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.curriculum-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1E40AF;
    margin-bottom: 1rem;
}

/* Activities Section */
.activities {
    background: white;
}

.activities-content {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    align-items: center;
}

/* Activities Carousel - Left Side - Fixed Z-index */
.activities-carousel {
    flex: 1;
    max-width: 700px;
    position: relative;
    z-index: 2; /* Ensure carousel is above background elements */
}

.activities-carousel-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    z-index: 2; /* Ensure container is properly layered */
}

.activities-carousel-track {
    position: relative;
    width: 100%;
    height: 450px;
}

.activities-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.activities-slide.active {
    opacity: 1;
}

.activities-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.activities-slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 30px 20px 20px;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
}

/* Carousel Navigation Buttons - Fixed Z-index */
.activities-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 5; /* Reduced from 10 to prevent overlap issues */
    display: flex;
    align-items: center;
    justify-content: center;
}

.activities-carousel-btn:hover {
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.activities-prev-btn {
    left: 15px;
}

.activities-next-btn {
    right: 15px;
}

/* Carousel Dots */
.activities-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.activities-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.activities-dot.active,
.activities-dot:hover {
    background: #ff6b6b;
    transform: scale(1.2);
}

/* Activities Grid - Right Side */
.activities-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    max-width: 600px;
}

.activity-card {
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    min-height: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

/* Individual card colors */
.activity-card:nth-child(1) {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
}

.activity-card:nth-child(2) {
    background: linear-gradient(135deg, #4834d4 0%, #686de0 100%);
}

.activity-card:nth-child(3) {
    background: linear-gradient(135deg, #00d2d3 0%, #54a0ff 100%);
}

.activity-card:nth-child(4) {
    background: linear-gradient(135deg, #ff9ff3 0%, #f368e0 100%);
}

.activity-card:nth-child(5) {
    background: linear-gradient(135deg, #feca57 0%, #ff9f43 100%);
}

.activity-card:nth-child(6) {
    background: linear-gradient(135deg, #48dbfb 0%, #0abde3 100%);
}

.activity-card:nth-child(7) {
    background: linear-gradient(135deg, #1A237E 0%, #00005C 100%);
}

.activity-card:nth-child(8) {
    background: linear-gradient(135deg, #a55eea 0%, #8c7ae6 100%);
}

.activity-card:nth-child(9) {
    background: linear-gradient(135deg, #fd79a8 0%, #e84393 100%);
}

.activity-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.activity-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.activity-card:hover::before {
    opacity: 1;
}

.activity-card:active {
    transform: translateY(-4px) scale(0.98);
}

.activity-image {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 10px;
}

.activity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.activity-card:hover .activity-image img {
    transform: scale(1.05);
}

.activity-icon {
    font-size: 1.8rem;
    margin-bottom: 8px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.activity-card:hover .activity-icon {
    transform: scale(1.1) rotate(5deg);
}

.activity-card h3 {
    margin: 0;
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

/* Extracurricular Section */
.extracurricular {
    background: linear-gradient(180deg, #FDF2F8 0%, #FCE7F3 100%);
}

/* iOS 26 Liquid Glass - CSS Variables for Performance */
:root {
    --glass-blur-light: blur(20px);
    --glass-blur-medium: blur(30px);
    --glass-blur-heavy: blur(40px);
    --glass-saturate: saturate(150%);
    --glass-brightness: brightness(110%);
    --glass-border: 1px solid rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    --glass-transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    
    --intro-gradient: linear-gradient(135deg, rgb(102, 126, 234) 0%, rgb(118, 75, 162) 50%, rgb(240, 147, 251) 100%);
    --art-gradient: linear-gradient(90deg, rgb(254, 243, 199) 0%, rgb(253, 230, 138) 50%, rgb(245, 158, 11) 100%);
    --dance-gradient: linear-gradient(90deg, rgb(243, 232, 255) 0%, rgb(233, 213, 255) 50%, rgb(192, 132, 252) 100%);
    --music-gradient: linear-gradient(90deg, rgb(219, 234, 254) 0%, rgb(191, 219, 254) 50%, rgb(96, 165, 250) 100%);
    --english-gradient: linear-gradient(90deg, rgb(236, 253, 245) 0%, rgb(209, 250, 229) 50%, rgb(52, 211, 153) 100%);
    --cooking-gradient: linear-gradient(90deg, rgb(255, 247, 237) 0%, rgb(255, 237, 213) 50%, rgb(251, 146, 60) 100%);
    
    --glass-overlay: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 70%), radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
}

/* iOS 26 Liquid Glass - Ultra-Lightweight Optimized Base Class */
.liquid-glass-section {
    position: relative;
    overflow: hidden;
    backdrop-filter: var(--glass-blur-light);
    -webkit-backdrop-filter: var(--glass-blur-light);
}

.liquid-glass-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.08);
    border: var(--glass-border);
    z-index: 1;
    animation: glass-pulse 8s ease-in-out infinite;
    will-change: opacity;
}

/* Lightweight pulse animation - only opacity changes */
@keyframes glass-pulse {
    0%, 100% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
}

/* iOS 26 Liquid Glass - Extracurricular Introduction */
.extra-intro {
    background: var(--intro-gradient), var(--glass-overlay);
    padding: 50px 0;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    min-height: 70vh;
}

/* Ultra-Lightweight Glass Layer */
.extra-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    z-index: 1;
    animation: intro-glow 6s ease-in-out infinite;
    will-change: opacity;
}

/* Simple glow effect - only opacity changes */
@keyframes intro-glow {
    0%, 100% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
}

.extra-intro::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 20% 70%, rgba(255, 255, 255, 0.06) 0%, transparent 50%);
    animation: intro-float 25s ease-in-out infinite;
    z-index: 1;
}

.extra-intro::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.4) 2px, transparent 2px),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.3) 1.5px, transparent 1.5px),
        radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.35) 2.5px, transparent 2.5px),
        radial-gradient(circle at 90% 70%, rgba(255, 255, 255, 0.25) 1px, transparent 1px);
    background-size: 150px 150px, 200px 200px, 120px 120px, 180px 180px;
    animation: intro-sparkle 20s linear infinite;
    z-index: 1;
}

@keyframes intro-float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(-30px, -20px) rotate(1deg);
    }
    50% {
        transform: translate(20px, -40px) rotate(-1deg);
    }
    75% {
        transform: translate(-10px, -30px) rotate(0.5deg);
    }
}

@keyframes intro-sparkle {
    0%, 100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
    25% {
        opacity: 0.8;
        transform: scale(1.1) rotate(90deg);
    }
    50% {
        opacity: 0.6;
        transform: scale(0.9) rotate(180deg);
    }
    75% {
        opacity: 0.9;
        transform: scale(1.05) rotate(270deg);
    }
}

.extra-intro .container {
    position: relative;
    z-index: 5;
}

.extra-intro .section-header {
    text-align: center;
    margin-bottom: 1rem;
    margin-top: 0.2rem;
    position: relative;
    z-index: 6;
}

.extra-intro .section-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(90deg, 
        #FFD700 0%, 
        #FFA500 25%, 
        #FFFF99 50%, 
        #FFA500 75%, 
        #FFD700 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.2rem;
    position: relative;
    display: inline-block;
    animation: text-shimmer-flow 4s linear infinite;
    text-shadow: none !important;
    line-height: 1.1;
}

.extra-intro .section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
}

/* Curriculum Title Gradient Styling */
.curriculum-info .section-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(90deg, 
        #8B5CF6 0%, 
        #FFD700 25%, 
        #FFA500 50%, 
        #FFD700 75%, 
        #8B5CF6 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.2rem;
    position: relative;
    display: inline-block;
    animation: text-shimmer-flow 4s linear infinite;
    text-shadow: none !important;
    line-height: 1.1;
}

/* Curriculum Title Subtitle Styling */
.curriculum-info .section-header p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    max-width: 450px;
    margin: 0 auto 0.3rem auto;
    line-height: 1.3;
}

.curriculum-info .section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
}

.extra-intro .section-header p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    max-width: 450px;
    margin: 0 auto 0.3rem auto;
    line-height: 1.3;
}

/* Ultra-Lightweight Description Card */
.extra-intro .extra-description {
    background: rgba(255, 255, 255, 0.22);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    position: relative;
    z-index: 6;
    max-width: 650px;
    margin: 0.2rem auto 0 auto;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, box-shadow;
}

.extra-intro .extra-description:hover {
    background: rgba(255, 255, 255, 0.28);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.extra-intro .extra-description::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.03) 0%, transparent 50%);
    animation: description-float 30s ease-in-out infinite;
    z-index: -1;
}

.extra-intro .extra-description::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 15% 15%, rgba(245, 158, 11, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 85% 25%, rgba(139, 92, 246, 0.08) 1.5px, transparent 1.5px),
        radial-gradient(circle at 25% 85%, rgba(59, 130, 246, 0.06) 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, rgba(16, 185, 129, 0.04) 2px, transparent 2px);
    background-size: 80px 80px, 120px 120px, 100px 100px, 140px 140px;
    animation: description-sparkle 25s linear infinite;
    z-index: -1;
}

@keyframes description-float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(-20px, -15px) rotate(1deg);
    }
    66% {
        transform: translate(15px, -25px) rotate(-0.5deg);
    }
}

@keyframes description-sparkle {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

.extra-intro .extra-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 1.5rem;
}

.extra-intro .extra-description p:last-child {
    margin-bottom: 0;
    font-weight: 600;
    color: #1F2937;
}

.extra-intro .cartoon-icon {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 7;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    padding: 0.8rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.extra-intro .cartoon-icon img {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

/* Floating Decorative Elements */
.floating-decorations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.floating-icon {
    position: absolute;
    opacity: 0.6;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
    transition: all 0.3s ease;
}

.floating-icon img {
    filter: brightness(1.2) saturate(1.1);
}

.floating-icon-1 {
    top: 15%;
    left: 8%;
    animation: float-1 20s ease-in-out infinite;
}

.floating-icon-2 {
    top: 25%;
    right: 12%;
    animation: float-2 18s ease-in-out infinite 2s;
}

.floating-icon-3 {
    top: 60%;
    left: 5%;
    animation: float-3 22s ease-in-out infinite 4s;
}

.floating-icon-4 {
    bottom: 20%;
    right: 8%;
    animation: float-4 19s ease-in-out infinite 1s;
}

.floating-icon-5 {
    top: 40%;
    left: 15%;
    animation: float-5 21s ease-in-out infinite 3s;
}

.floating-icon-6 {
    top: 70%;
    right: 20%;
    animation: float-6 17s ease-in-out infinite 5s;
}

@keyframes float-1 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    25% {
        transform: translate(20px, -15px) rotate(5deg) scale(1.1);
    }
    50% {
        transform: translate(-10px, -30px) rotate(-3deg) scale(0.9);
    }
    75% {
        transform: translate(15px, -20px) rotate(2deg) scale(1.05);
    }
}

@keyframes float-2 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    33% {
        transform: translate(-25px, 20px) rotate(-4deg) scale(1.15);
    }
    66% {
        transform: translate(15px, -10px) rotate(6deg) scale(0.85);
    }
}

@keyframes float-3 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    40% {
        transform: translate(30px, -25px) rotate(8deg) scale(1.2);
    }
    80% {
        transform: translate(-20px, 10px) rotate(-5deg) scale(0.9);
    }
}

@keyframes float-4 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    30% {
        transform: translate(-15px, -20px) rotate(-6deg) scale(1.1);
    }
    70% {
        transform: translate(25px, 15px) rotate(4deg) scale(0.95);
    }
}

@keyframes float-5 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    50% {
        transform: translate(20px, -35px) rotate(7deg) scale(1.25);
    }
}

@keyframes float-6 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    35% {
        transform: translate(-30px, -15px) rotate(-8deg) scale(1.3);
    }
    65% {
        transform: translate(10px, 25px) rotate(3deg) scale(0.8);
    }
}

/* iOS 26 Liquid Glass - Stats Section */
.intro-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2.5rem;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
}

.intro-stats::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.3) 20%, 
        rgba(255, 255, 255, 0.6) 50%, 
        rgba(255, 255, 255, 0.3) 80%, 
        transparent 100%);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}

/* Ultra-Lightweight Stats Cards */
.stat-item {
    text-align: center;
    padding: 1.5rem 1rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, box-shadow;
}

.stat-item:hover {
    transform: translateY(-8px) scale(1.02);
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #F59E0B;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* iOS 26 Liquid Glass - CTA Buttons */
.intro-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2.5rem;
    flex-wrap: wrap;
    position: relative;
}

/* Ultra-Lightweight Modern Buttons */
.btn-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid transparent;
    position: relative;
    min-width: 200px;
    will-change: transform, box-shadow;
}

/* Ultra-Lightweight Button Variants */
.btn-modern.btn-primary {
    background: rgba(245, 158, 11, 0.9);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(245, 158, 11, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-modern.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    background: rgba(245, 158, 11, 1);
    box-shadow: 0 16px 40px rgba(245, 158, 11, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-modern.btn-secondary {
    background: rgba(255, 255, 255, 0.18);
    color: #1F2937;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.btn-modern.btn-secondary:hover {
    transform: translateY(-4px) scale(1.02);
    background: rgba(255, 255, 255, 0.28);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #111827;
}

/* iOS 26 Liquid Glass - Optimized Sections */
#art-club.extracurricular-section {
    background: var(--art-gradient), var(--glass-overlay);
}

#dance-club.extracurricular-section {
    background: var(--dance-gradient), var(--glass-overlay);
}

#music-club.extracurricular-section {
    background: var(--music-gradient), var(--glass-overlay);
}

#english-club.extracurricular-section {
    background: var(--english-gradient), var(--glass-overlay);
}

#cooking-club.extracurricular-section {
    background: var(--cooking-gradient), var(--glass-overlay);
}

/* Ultra-Lightweight Section Properties */
.extracurricular-section {
    position: relative;
    overflow: hidden;
}

.extracurricular-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.06);
    border: var(--glass-border);
    z-index: 1;
    animation: section-breathe 10s ease-in-out infinite;
    will-change: opacity;
}

/* Lightweight breathing animation */
@keyframes section-breathe {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 0.9;
    }
}

/* Removed redundant individual section animations - now using optimized base class */

/* Removed redundant dance-club individual styling - now using optimized base class */

/* Removed redundant music-club individual styling - now using optimized base class */

/* Removed redundant english-club individual styling - now using optimized base class */

/* Removed redundant cooking-club individual styling - now using optimized base class */

/* All individual section animations removed - using unified optimized base class */

/* iOS 26 Liquid Glass - Content Layering */
.extracurricular-section .container {
    position: relative;
    z-index: 10;
}

/* Ultra-Lightweight Content Cards */
.extracurricular-section .extra-card {
    position: relative;
    z-index: 15;
    background: rgba(255, 255, 255, 0.2);
    border: var(--glass-border);
    border-radius: 32px;
    box-shadow: var(--glass-shadow);
    transition: var(--glass-transition);
    will-change: transform, box-shadow, opacity;
}

.extracurricular-section .extra-card:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

/* Extracurricular Gallery Section - Fixed Z-index Issues */
.extracurricular-gallery {
    background: linear-gradient(135deg, #FFE4E6 0%, #FECDD3 50%, #FBCFE8 100%);
    padding: 40px 0;
    position: relative;
    overflow: hidden;
    z-index: 1; /* Base z-index for the section */
}

.extracurricular-gallery::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 20% 30%, rgba(124, 58, 237, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(236, 72, 153, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 40% 80%, rgba(59, 130, 246, 0.06) 0%, transparent 50%);
    animation: float-bg 20s ease-in-out infinite;
    z-index: 0; /* Background layer */
}

.extracurricular-gallery::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 15% 15%, rgba(255, 255, 255, 0.3) 2px, transparent 2px),
        radial-gradient(circle at 85% 25%, rgba(255, 255, 255, 0.2) 1px, transparent 1px),
        radial-gradient(circle at 25% 85%, rgba(255, 255, 255, 0.25) 1.5px, transparent 1.5px),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
    background-size: 100px 100px, 150px 150px, 120px 120px, 80px 80px;
    animation: sparkle 15s linear infinite;
    z-index: 0; /* Background layer */
}

@keyframes float-bg {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(-20px, -30px) rotate(1deg);
    }
    66% {
        transform: translate(20px, -20px) rotate(-1deg);
    }
}

@keyframes sparkle {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

/* Decorative geometric shapes - Fixed z-index */
.extracurricular-gallery .geometric-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1; /* Reduced from 2 to prevent overlap issues */
}

.extracurricular-gallery .shape {
    position: absolute;
    opacity: 0.1;
    animation: float-shapes 25s ease-in-out infinite;
}

.extracurricular-gallery .shape-1 {
    top: 10%;
    left: 5%;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #7C3AED, #EC4899);
    border-radius: 50%;
    animation-delay: 0s;
}

.extracurricular-gallery .shape-2 {
    top: 20%;
    right: 8%;
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #3B82F6, #8B5CF6);
    transform: rotate(45deg);
    animation-delay: 5s;
}

.extracurricular-gallery .shape-3 {
    bottom: 15%;
    left: 8%;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #EC4899, #F59E0B);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    animation-delay: 10s;
}

.extracurricular-gallery .shape-4 {
    bottom: 25%;
    right: 12%;
    width: 35px;
    height: 35px;
    background: linear-gradient(45deg, #1A237E, #3B82F6);
    border-radius: 50%;
    animation-delay: 15s;
}

@keyframes float-shapes {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(90deg);
    }
    50% {
        transform: translateY(-10px) rotate(180deg);
    }
    75% {
        transform: translateY(-30px) rotate(270deg);
    }
}

/* Extracurricular Kids Decoration */
.extracurricular-kids-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.extra-kid {
    position: absolute;
    animation: float 12s ease-in-out infinite;
    opacity: 0.2;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: -1;
    width: 50px;
    height: 50px;
}

.extra-kid img {
    width: 30px;
    height: 30px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
    transition: transform 0.3s ease;
    pointer-events: none;
}

.extra-kid:hover {
    opacity: 0.5;
}

.extra-kid:hover img {
    transform: scale(1.05);
}

.extra-kid-1 {
    top: 12%;
    left: 6%;
    animation-delay: 0s;
}

.extra-kid-2 {
    top: 20%;
    right: 10%;
    animation-delay: 2.5s;
}

.extra-kid-3 {
    top: 65%;
    left: 4%;
    animation-delay: 5s;
}

.extra-kid-4 {
    top: 75%;
    right: 6%;
    animation-delay: 7.5s;
}

.extra-kid-5 {
    top: 35%;
    left: 12%;
    animation-delay: 1.5s;
}

.extra-kid-6 {
    top: 45%;
    right: 18%;
    animation-delay: 4s;
}

/* Activities Content Layout */
.activities-content {
    display: flex;
    gap: 3rem;
    margin: 3rem auto;
    max-width: 1200px;
    padding: 0 20px;
    align-items: center;
    position: relative;
    z-index: 10;
}

.extracurricular-gallery .container {
    position: relative;
    z-index: 2; /* Increased from 5 to ensure proper stacking */
}

.extracurricular-gallery .section-header {
    position: relative;
    z-index: 3; /* Increased from 6 to ensure proper stacking */
    margin-bottom: 1rem;
}

/* Activities Carousel - Left Side */
.activities-carousel {
    flex: 1;
    max-width: 700px;
}

.activities-carousel-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.activities-carousel-track {
    position: relative;
    width: 100%;
    height: 450px;
}

.activities-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.activities-slide.active {
    opacity: 1;
}

.activities-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.activities-slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 30px 20px 20px;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
}

/* Carousel Navigation Buttons */
.activities-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.activities-carousel-btn:hover {
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.activities-prev-btn {
    left: 15px;
}

.activities-next-btn {
    right: 15px;
}

/* Carousel Dots */
.activities-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.activities-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.activities-dot.active,
.activities-dot:hover {
    background: #ff6b6b;
    transform: scale(1.2);
}

/* Activities Grid - Right Side (Perfect Donut Chart) */
.activities-grid {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 600px;
    position: relative;
    overflow: visible;
    padding: 20px;
}

.donut-chart {
    position: relative;
    width: 450px;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.donut-svg {
    width: 100%;
    height: 100%;
    max-width: 450px;
    max-height: 450px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    z-index: 10;
    position: relative;
}

/* Donut segment groups */
.donut-segment-group {
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
    z-index: 15;
    position: relative;
}

.donut-segment-group:hover {
    transform: scale(1.03);
    z-index: 20;
}

/* Center content */
.donut-center {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 130px;
    height: 130px;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 20;
    color: #7C3AED;
    text-align: center;
    background: #FDF2F8;
    border-radius: 50%;
    border: 3px solid #E5E7EB;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
}

.donut-center:hover {
    transform: translate(-50%, -50%) scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    border-color: #7C3AED;
}

.donut-center:active {
    transform: translate(-50%, -50%) scale(0.98);
}

.donut-center .center-icon {
    font-size: 2.2rem;
    margin-bottom: 4px;
    transition: transform 0.3s ease;
}

.donut-center:hover .center-icon {
    transform: scale(1.1);
}

.donut-center .center-text {
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.1;
    transition: color 0.3s ease;
}

.donut-center:hover .center-text {
    color: #5B21B6;
}

.extra-content {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.extra-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.extra-item {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.extra-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 179, 237, 0.1) 0%, rgba(251, 191, 36, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.extra-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: #63B3ED;
}

.extra-item:hover::before {
    opacity: 1;
}

.extra-item.active {
    border-color: #63B3ED;
    background: linear-gradient(135deg, rgba(99, 179, 237, 0.1) 0%, rgba(251, 191, 36, 0.1) 100%);
}

.extra-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.extra-info {
    flex: 1;
    position: relative;
    z-index: 2;
}

.extra-info h3 {
    color: #2D3748;
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.extra-info p {
    color: #4A5568;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.extra-video {
    flex: 1;
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    margin-bottom: 1rem;
    border-radius: 15px;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
}

.video-title h4 {
    color: #2D3748;
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.video-title p {
    color: #4A5568;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Highlights Section */
.highlights {
    padding: 80px 0;
    background: linear-gradient(180deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
}

.highlights .section-header h2 {
    color: white;
}

.highlights .section-header p {
    color: white;
    background: linear-gradient(45deg, #FFE4B5, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 10px rgba(255, 228, 181, 0.5);
    font-weight: 600;
}

/* Article Carousel */
.article-carousel {
    position: relative;
    max-width: 800px;
    margin: 50px auto 0;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    width: 300%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.article-slide {
    width: 33.333%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.article-image {
    height: 60%;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-slide:hover .article-image img {
    transform: scale(1.05);
}

.article-content {
    padding: 30px;
    height: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.article-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.article-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #fff;
}

.article-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* Carousel Navigation */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 2rem;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

/* Carousel Dots */
.carousel-dots {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active,
.dot:hover {
    background-color: white;
    transform: scale(1.2);
}

/* Contact Section */
.contact {
    background: linear-gradient(180deg, #1E40AF 0%, #3B82F6 100%);
    color: white;
}

.contact .section-header h2,
.contact .section-header p {
    color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.contact-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #FBBF24;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    color: #333;
}

.contact-form h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1E40AF;
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #E5E7EB;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #63B3ED;
    box-shadow: 0 0 0 3px rgba(99, 179, 237, 0.1);
}

.form-group textarea {
    height: 100px;
    resize: vertical;
    min-height: 80px;
    line-height: 1.5;
}

.form-group select {
    cursor: pointer;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"><path fill="%23666" d="M2 0L0 2h4zm0 5L0 3h4z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.form-group input[type="date"] {
    cursor: pointer;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9CA3AF;
    opacity: 1;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.whatsapp-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
}

/* Footer */
.footer {
    background: #1F2937;
    color: white;
    padding: 3rem 0 1rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    height: 4px;
    background: #1F2937;
    pointer-events: none;
}

/* Footer Kids Decoration */
.footer-kids-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.footer-kid {
    position: absolute;
    font-size: 2rem;
    animation: float 15s ease-in-out infinite;
    opacity: 0.5;
}

.footer-kid-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.footer-kid-2 {
    top: 30%;
    right: 15%;
    animation-delay: 3s;
}

.footer-kid-3 {
    top: 60%;
    left: 5%;
    animation-delay: 6s;
}

.footer-kid-4 {
    top: 50%;
    right: 8%;
    animation-delay: 9s;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo-img {
    width: 80px;
    height: auto;
    object-fit: contain;
}

.footer-section h3,
.footer-section h4 {
    color: #FBBF24;
    margin-bottom: 1rem;
}

.footer-section h3 {
    font-size: 1.5rem;
}

.footer-section h4 {
    font-size: 1.2rem;
}

.footer-social {
    margin-top: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.social-icon {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 0;
    color: #9CA3AF;
}
.extracurricular-section::before { border-top: 0 !important; }
.extra-conclusion { border-top: 0 !important; border-bottom: 0 !important; }
.extra-conclusion::before { border-top: 0 !important; border-bottom: 0 !important; }
#cooking-club .section-divider { bottom: -2px; }
#extra-conclusion .section-divider { bottom: -8px; }

/* Section Dividers - SVG Wave Transitions - Fixed Pink Flash */
.section-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    overflow: hidden;
    z-index: 10;
    display: block;
    line-height: 0;
    /* Fix pink flash by ensuring smooth transitions */
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    /* Decorative only: allow clicks on underlying content */
    pointer-events: none;
}

.section-divider svg {
    width: calc(100% + 4px);
    height: 100%;
    display: block;
    min-width: 100%;
    margin-left: -2px;
    margin-right: -2px;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    shape-rendering: geometricPrecision;
}

/* Ensure sections have relative positioning for absolute dividers */
section {
    position: relative;
    padding-bottom: 120px;
}

/* Different colored dividers - let embedded SVG gradients control colors for accuracy */
/* Remove solid fill overrides so waves use their own <linearGradient> definitions. */

/* Posisi divider-4 diturunkan agar menempel mulus ke section berikutnya */
.divider-4 { bottom: 0; height: 150px; }

/* Extracurricular → Footer: colors handled by SVG gradient in markup */

/* Turunkan posisi divider-5 agar tidak menutupi tombol CTA */
.divider-5 { bottom: -12px; }

/* Activities to Extracurricular: warna sesuai extracurricular (pink gradient) */
.divider-6 svg path {
    fill: #FDF2F8;
}

/* Extracurricular to Highlights: warna sesuai highlights (purple gradient) */
.divider-7 svg path {
    fill: #6366f1;
}

/* Highlights to Contact: warna sesuai contact (blue gradient) */
.divider-8 svg path {
    fill: #1E40AF;
}

/* Contact to Footer: warna sesuai footer (dark) */
.divider-9 svg path {
    fill: #1F2937;
}

/* Remove default margins from sections to ensure seamless connection */
.hero, .profile-video, .about, .programs, .curriculum, .activities, .extracurricular, .highlights, .contact, .footer, .teachers {
    margin: 0;
    position: relative;
    z-index: 1;
    /* Fix pink flash by optimizing section rendering */
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

/* Enhanced section transition handling to prevent pink flash */
section {
    position: relative;
    /* Prevent layout shifts during transitions */
    contain: layout style;
    /* Optimize rendering performance */
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

/* Fix gradient transitions to prevent color artifacts */
.hero {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    background-attachment: fixed;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.programs {
    /* Use solid background to match divider color exactly */
    background: linear-gradient(to bottom, #ffffff, #f8fafc);
    isolation: isolate;
}

.facilities {
    /* Solid colors to align with divider-3 gradient stops */
    background: linear-gradient(#ECFDF5, #D1FAE5);
    isolation: isolate;
    z-index: 2;
}

#daycare-facilities {
    background: linear-gradient(90deg, #E8F9EF 0%, #CFF3E0 32%, #A7F3D0 68%, #5EEAD4 100%);
}

.extracurricular-gallery {
    background: linear-gradient(135deg, #FFE4E6 0%, #FECDD3 50%, #FBCFE8 100%);
    isolation: isolate;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Teachers Section ------------------------------------------------------- */
.teachers{
  background: linear-gradient(180deg, #EFF6FF 0%, #DBEAFE 100%);
  padding: 64px 0 24px;
}
.teachers .section-header{ text-align:center; margin-bottom:24px; }
.teachers .section-header h2{ font-size: 2.2rem; font-weight:700; color:#0F172A; line-height:1.2; padding-bottom: 10px; }
.teachers .section-header p{ color:#334155; }

@media (max-width: 768px) {
  .teachers .section-header h2{ font-size: 2rem; }
}
@media (max-width: 480px) {
  .teachers .section-header h2{ font-size: 1.6rem; }
}

/* TV Carousel Section ------------------------------------------------------- */
.tv-carousel-section {
    overflow: hidden;
}

.tv-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
}

.tv-container {
    background: linear-gradient(145deg, #d3d3d3, #f0f0f0);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 10px 10px 25px rgba(0,0,0,0.3), -10px -10px 25px rgba(255,255,255,0.5);
    position: relative;
    width: 100%;
    max-width: 900px; /* Adjusted for better screen fit */
}

.tv-container::before, .tv-container::after {
    content: '';
    position: absolute;
    bottom: -20px;
    width: 20px;
    height: 20px;
    background: #b0b0b0;
}

.tv-container::before {
    left: 60px;
    transform: skewX(30deg);
}

.tv-container::after {
    right: 60px;
    transform: skewX(-30deg);
}

.tv-top-row {
    display: flex;
    justify-content: center;
    align-items: stretch; /* Stretch to fill height */
    gap: 15px;
    background: #333;
    padding: 15px;
    border-radius: 15px;
    border: 3px solid #555;
    overflow: hidden; /* cegah scrollbar horizontal */
}

.tv-screen-wrapper {
    flex-grow: 1;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background: #000;
    display: flex; /* Center image */
    align-items: center; /* Center image */
    justify-content: center; /* Center image */
    aspect-ratio: 16/9; /* Keep screen ratio consistent */
}

.tv-screen-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 10%);
    pointer-events: none;
}

#tv-main-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: opacity 0.5s ease-in-out;
    aspect-ratio: auto;
}

.tv-thumbnail-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px 12px;
    background: #222;
    border-radius: 8px;
    overflow-y: auto;
    max-height: 340px;
    box-sizing: border-box;
}
/* Fix widths of left/right thumbnail columns so screen doesn't shrink */
#left-thumbnails, #right-thumbnails {
    flex: 0 0 120px;
    box-sizing: border-box;
    overflow-x: hidden;
}

.tv-thumbnail {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 5px;
    transition: border-color 0.3s, transform 0.3s;
    overflow: hidden;
    flex-shrink: 0;
    box-sizing: border-box;
}

.tv-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.tv-thumbnail:hover img {
    transform: scale(1.1);
}

.tv-thumbnail.active {
    border-color: #00aaff;
    transform: scale(1.05);
}

.tv-controls-panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    margin-top: 15px;
    background: #c0c0c0;
    border-radius: 0 0 15px 15px;
}

.tv-knob-wrapper {
    text-align: center;
}

.tv-knob-label {
    font-family: 'Arial', sans-serif;
    font-size: 10px;
    color: #555;
    font-weight: bold;
    margin-bottom: 5px;
}

.tv-knob {
    width: 30px;
    height: 30px;
    background: #888;
    border-radius: 50%;
    border: 2px solid #666;
    box-shadow: inset 2px 2px 5px rgba(0,0,0,0.4);
}

.tv-speaker-grill {
    display: flex;
    gap: 4px;
}

.tv-speaker-grill span {
    width: 3px;
    height: 30px;
    background: #777;
    border-radius: 2px;
}

@media (max-width: 768px) {
    .tv-top-row {
        flex-direction: column;
    }
    .tv-thumbnail-list {
        flex-direction: row;
        overflow-x: auto;
        max-height: none;
    }
    #left-thumbnails { order: 2; }
    .tv-screen-wrapper { order: 1; }
    #right-thumbnails { order: 3; }
}

/* Cute floating icon */
.cartoon-icon{ position:absolute; right:24px; margin-top:-40px; }
.float-animation{ animation: floaty 3.6s ease-in-out infinite; }
@keyframes floaty{
  0%{ transform: translateY(0px); }
  50%{ transform: translateY(-6px); }
  100%{ transform: translateY(0px); }
}

/* Responsive Design */
@media (max-width: 877px) {
    .navbar {
        width: 100%;
        max-width: 100%;
        left: 0;
        right: 0;
        margin: 0;
        padding: 0 1rem;
    }
    
    .highlight-item {
        font-size: 0.85rem;
        padding: 8px 14px;
        margin: 0.2rem;
    }
    
    .navbar.scrolled {
        padding: 0 1rem;
    }
    
    .nav-container {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }
    
    .nav-menu {
        position: fixed;
        top: -200px;
        left: 0;
        right: 0;
        flex-direction: row;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.3);
        width: 100%;
        justify-content: flex-start;
        align-items: center;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
        padding: 0.75rem 1rem;
        z-index: 1000;
        border-radius: 0;
        overflow: hidden;
        white-space: nowrap;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-24px);
        transition: none;
        will-change: transform, opacity;
    }
    
    .nav-menu.active {
        top: 70px;
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
        transition: transform 0.2s ease, opacity 0.2s ease;
    }
    
    .nav-menu a {
        color: #1E40AF !important;
        text-shadow: none !important;
    }
    
    .nav-menu a:hover {
        background: rgba(30, 64, 175, 0.1) !important;
        color: #1E40AF !important;
    }
    
    .nav-menu li {
        margin: 0 0.2rem;
        display: inline-block;
    }
    
    .nav-menu a {
        font-size: 0.8rem;
        padding: 0.4rem 0.6rem;
        border-radius: 6px;
        transition: all 0.2s ease;
        white-space: nowrap;
    }
    
    .nav-menu a:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: translateY(-2px);
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero {
        padding-top: 100px;
        min-height: 100vh;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
        margin-top: 1rem;
    }
    
    .hero-text p {
        font-size: 1.1rem;
    }
    
    .hero-illustration {
        order: -1;
        height: 250px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-navigation {
        padding: 0 1rem;
        display: none;
    }
    
    .hero-nav-btn {
        font-size: 1.5rem;
        padding: 0.8rem 1.2rem;
    }
    
    /* Activities Mobile Layout */
    .activities-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .activities-carousel {
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
    }
    
    .activities-carousel-track {
        height: 320px;
    }
    
    .activities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
    }
    
    .activities-carousel-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
        z-index: 20;
        background: rgba(255, 255, 255, 0.95);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }
    
    .activities-prev-btn {
        left: 10px;
    }
    
    .activities-next-btn {
        right: 10px;
    }
    
    .activity-card {
        padding: 15px;
        min-height: 75px;
    }
    
    .activity-icon {
        font-size: 1.5rem;
        margin-bottom: 6px;
    }
    
    .activity-card h3 {
        font-size: 0.75rem;
        line-height: 1.1;
    }
    
    .extra-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .extra-item {
        padding: 1rem;
    }
    
    .extra-icon {
        font-size: 2rem;
    }
    
    .extra-info h3 {
        font-size: 1rem;
    }
    
    .extra-info p {
        font-size: 0.85rem;
    }
    
    .extra-video {
        padding: 1rem;
    }
    
    .video-title h4 {
        font-size: 1.1rem;
    }
    
    .video-title p {
        font-size: 0.9rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    /* Section Dividers Responsive */
    .section-divider {
        height: 80px;
    }
    section {
        padding-bottom: 80px;
    }

    .divider-2::before,
    .divider-4::before,
    .divider-6::before,
    .divider-8::before {
        transform: skewY(1.5deg);
    }

    .section-divider::before {
        transform: skewY(-1.5deg);
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero-illustration {
        height: 300px;
    }
    
    .programs-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .section {
        padding: 3rem 0;
    }
}

/* Mobile Landscape Mode */
@media (max-width: 896px) and (max-height: 414px) and (orientation: landscape) {
    .hero {
        padding-top: 120px;
        min-height: 100vh;
    }
    .hero-navigation { display: none; }
    .hero-content { display: flex; flex-direction: column; justify-content: center; min-height: calc(var(--vh, 1vh) * 100 - 120px); }
    
    .hero-text h1 {
        font-size: 1.8rem;
        margin-top: 2rem;
    }
    
    .hero-content {
        gap: 1.5rem;
    }
    
    .hero-illustration {
        height: 200px;
    }
    
    .navbar {
        padding: 0.5rem 1rem;
    }
}

/* Tablet and larger devices (Surface Pro 7, etc.) */
@media (min-width: 1024px) and (max-width: 1400px) {
    .nav-container {
        max-width: 95%;
        padding: 0 30px;
    }
    
    .nav-menu {
        gap: 2.5rem;
    }
    
    .nav-menu a {
        padding: 10px 20px;
        font-size: 1rem;
    }
    
    .logo-img {
        height: 65px;
        max-width: 280px;
    }
    
    .hero {
        padding-top: 90px;
        min-height: calc(100vh - 90px);
    }
    
    .hero-text h1 {
        font-size: 3rem;
    }
    
    .hero-text p {
        font-size: 1.3rem;
    }
    
    .section-header h2 {
        font-size: 2.8rem;
    }
    
    .section-header p {
        font-size: 1.3rem;
    }
}

/* Mobile Devices (iPhone, Samsung, and other smartphones) */
@media (max-width: 768px) and (min-width: 376px) {
    .navbar {
        padding: 0.5rem 12px;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: transparent;
        backdrop-filter: blur(20px);
    }
    
    .hero {
        padding: 85px 0 0;
        min-height: calc(var(--vh, 1vh) * 100);
        margin-top: 0;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: calc(var(--vh, 1vh) * 100 - 85px - 120px);
    }
    
    .section {
        padding: 35px 0;
    }
    
    .hero-text h1 {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .hero-text { transform: translateY(-20px); }
    
    .hero-text p {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .hero-highlights {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-top: 1.2rem;
    }
    
    .highlight-item {
        font-size: 0.75rem;
        padding: 5px 10px;
        margin: 0.2rem;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.3);
    }
    
    .contact-form {
        padding: 1.5rem;
        margin: 0 8px;
        border-radius: 15px;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.7rem;
        font-size: 0.9rem;
        border-radius: 8px;
    }
    
    .nav-menu {
        padding: 0.4rem 0.3rem;
        overflow-x: hidden;
        white-space: nowrap;
    }
    
    .nav-menu li {
        margin: 0 0.1rem;
        display: inline-block;
    }
    
    .nav-menu a {
        font-size: 0.7rem;
        padding: 0.3rem 0.4rem;
        border-radius: 4px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.8rem;
        text-align: center;
        padding: 0 15px;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
    }
    
    .footer-section p,
    .footer-section a {
        font-size: 0.85rem;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-icon {
        width: 26px;
        height: 26px;
    }
    
    .activities-carousel {
        position: relative;
        overflow: hidden;
        margin: 0 8px;
    }
    
    .activities-carousel-track {
        width: 100%;
        margin: 0;
        padding: 0 45px;
    }
    
    .activities-carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
        top: 50%;
        transform: translateY(-50%);
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.9);
        border: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .activities-prev-btn {
        left: 8px;
    }
    
    .activities-next-btn {
        right: 8px;
    }
    
    .profile-section {
        padding: 35px 0;
    }
    
    .profile-content {
        flex-direction: column;
        gap: 1.8rem;
    }
    
    .profile-video {
        padding: 45px 0;
        min-height: auto;
    }
    
    .profile-video .container {
        padding: 0 18px;
    }
    
    .profile-video .section-header {
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .profile-video .section-header h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
        color: white;
    }
    
    .profile-video .section-header p {
        font-size: 1rem;
        color: rgba(255, 255, 255, 0.9);
        line-height: 1.5;
    }
    
    .profile-text {
        width: 100%;
        max-width: 100%;
        text-align: center;
        padding: 1rem;
    }
    
    .profile-video iframe {
        width: 100%;
        height: 220px;
        border-radius: 12px;
    }
    
    .profile-text h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
        line-height: 1.2;
    }
    
    .profile-text p {
        font-size: 0.9rem;
        margin-bottom: 0.7rem;
        line-height: 1.4;
    }
    
    .profile-highlights {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: center;
        margin-top: 1rem;
    }
    
    .profile-highlight {
        background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
        color: white;
        padding: 0.4rem 0.7rem;
        border-radius: 15px;
        font-size: 0.75rem;
        font-weight: 500;
    }
    
    /* Video Info Section */
    .video-container {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 0 12px;
        height: auto;
        min-height: 600px;
    }
    
    .video-wrapper {
        width: 100%;
        max-width: 100%;
        margin-bottom: 1.2rem;
        position: relative;
        height: 220px;
        padding-bottom: 0;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    }
    
    .video-wrapper iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: none;
        border-radius: 12px;
    }
    
    .video-info {
        width: 100%;
        max-width: 100%;
        padding: 1.2rem 0.7rem;
        text-align: center;
        display: block !important;
        visibility: visible !important;
    }
    
    .video-info h3 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
        color: white;
        line-height: 1.2;
    }
    
    .video-info p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 1.2rem;
        color: rgba(255, 255, 255, 0.9);
    }
    
    .video-highlights {
        display: flex;
        flex-direction: column;
        gap: 0.7rem;
        margin-top: 1.2rem;
    }
    
    .video-highlights .highlight-item {
        display: flex;
        align-items: center;
        gap: 0.6rem;
        padding: 0.7rem;
        background: rgba(255, 255, 255, 0.15);
        border-radius: 12px;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        font-size: 0.85rem;
        transition: all 0.3s ease;
    }
    
    .video-highlights .highlight-item:hover {
        background: rgba(255, 255, 255, 0.25);
        transform: translateY(-2px);
    }
    
    .video-highlights .highlight-icon {
        font-size: 1.1rem;
        flex-shrink: 0;
    }
    
    /* Extracurricular video adjustments */
    .extracurricular .video-container {
        padding-bottom: 56.25% !important;
        min-height: 220px !important;
        height: 0 !important;
    }
    
    .extra-content {
        flex-direction: column;
        gap: 1.8rem;
    }
    
    .extra-video {
        padding: 1.2rem;
    }
    
    /* Hide decorative elements on mobile screens */
    .cartoon-icon,
    .stars-decoration,
    .floating-icons {
        display: none !important;
    }
}

/* Very Small Devices (iPhone SE 1st gen, etc.) */
@media (max-width: 375px) {
    .navbar {
        padding: 0.4rem 8px;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: transparent;
        backdrop-filter: blur(20px);
    }
    
    .hero {
        padding: 80px 0 30px;
        min-height: auto;
        margin-top: 0;
    }
    
    .section {
        padding: 30px 0;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .hero-text {
        flex: 1;
        max-width: 100%;
    }
    
    .hero-text h1 {
        font-size: 1.6rem;
        line-height: 1.2;
        margin-bottom: 0.8rem;
    }
    
    .hero-text p {
        font-size: 0.85rem;
        margin-bottom: 1.2rem;
        line-height: 1.4;
    }
    
    .hero-illustration {
        flex: none;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
        margin-bottom: 0.6rem;
    }
    
    .section-header p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .programs-grid,
    .activities-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        padding: 0 5px;
    }
    
    .program-card,
    .activity-card {
        padding: 1rem;
        margin: 0;
        border-radius: 12px;
    }
    
    .program-card h3,
    .activity-card h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .program-card p,
    .activity-card p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.6rem;
        align-items: center;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        padding: 0.7rem 1rem;
        font-size: 0.85rem;
        border-radius: 25px;
    }
    
    .highlight-item {
        font-size: 0.75rem;
        padding: 4px 8px;
        margin: 0.2rem;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.3);
    }
    
    .hero-highlights {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.4rem;
        margin-top: 1rem;
    }
    
    .contact-form {
        padding: 1.2rem;
        margin: 0 5px;
        border-radius: 15px;
    }
    
    .form-group {
        margin-bottom: 0.8rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.6rem;
        font-size: 0.85rem;
        border-radius: 8px;
    }
    
    .nav-menu {
        padding: 0.3rem 0.2rem;
        overflow-x: hidden;
        white-space: nowrap;
    }
    
    .nav-menu li {
        margin: 0 0.05rem;
        display: inline-block;
    }
    
    .nav-menu a {
        font-size: 0.65rem;
        padding: 0.25rem 0.3rem;
        border-radius: 4px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
        padding: 0 10px;
    }
    
    .footer-section h4 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .footer-section p,
    .footer-section a {
        font-size: 0.8rem;
    }
    
    .whatsapp-float {
        width: 45px;
        height: 45px;
        bottom: 12px;
        right: 12px;
    }
    
    .whatsapp-icon {
        width: 24px;
        height: 24px;
    }
    
    .activities-carousel {
        position: relative;
        overflow: hidden;
        margin: 0 5px;
    }
    
    .activities-carousel-track {
        width: 100%;
        margin: 0;
        padding: 0 40px;
    }
    
    .activities-carousel-btn {
        width: 30px;
        height: 30px;
        font-size: 12px;
        top: 50%;
        transform: translateY(-50%);
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.9);
        border: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .activities-prev-btn {
        left: 5px;
    }
    
    .activities-next-btn {
        right: 5px;
    }
    
    .profile-section {
        padding: 30px 0;
    }
    
    .profile-content {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .profile-video {
        padding: 40px 0;
        min-height: auto;
    }
    
    .profile-video .container {
        padding: 0 15px;
    }
    
    .profile-video .section-header {
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .profile-video .section-header h2 {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
        color: white;
    }
    
    .profile-video .section-header p {
        font-size: 0.9rem;
        color: rgba(255, 255, 255, 0.9);
        line-height: 1.5;
    }
    
    .profile-text {
        width: 100%;
        max-width: 100%;
        text-align: center;
        padding: 0.8rem;
    }
    
    .profile-video iframe {
        width: 100%;
        height: 200px;
        border-radius: 12px;
    }
    
    .profile-text h2 {
        font-size: 1.4rem;
        margin-bottom: 0.8rem;
        line-height: 1.2;
    }
    
    .profile-text p {
        font-size: 0.8rem;
        margin-bottom: 0.6rem;
        line-height: 1.4;
    }
    
    .profile-highlights {
        display: flex;
        flex-wrap: wrap;
        gap: 0.4rem;
        justify-content: center;
        margin-top: 0.8rem;
    }
    
    .profile-highlight {
        background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
        color: white;
        padding: 0.3rem 0.6rem;
        border-radius: 15px;
        font-size: 0.7rem;
        font-weight: 500;
    }
    
    /* Video Info Section for iPhone SE */
    .video-container {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 10px;
        height: auto;
        min-height: 600px;
    }
    
    .video-wrapper {
        width: 100%;
        max-width: 100%;
        margin-bottom: 1rem;
        position: relative;
        height: 200px;
        padding-bottom: 0;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    }
    
    .video-wrapper iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: none;
        border-radius: 12px;
    }
    
    .video-info {
        width: 100%;
        max-width: 100%;
        padding: 1rem 0.5rem;
        text-align: center;
        display: block !important;
        visibility: visible !important;
    }
    
    .video-info h3 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
        color: white;
        line-height: 1.2;
    }
    
    .video-info p {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 1rem;
        color: rgba(255, 255, 255, 0.9);
    }
    
    .video-highlights {
        display: flex;
        flex-direction: column;
        gap: 0.6rem;
        margin-top: 1rem;
    }
    
    .video-highlights .highlight-item {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.6rem;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        font-size: 0.8rem;
    }
    
    .video-highlights .highlight-icon {
        font-size: 1rem;
        flex-shrink: 0;
    }
    
    /* Extracurricular video adjustments for iPhone SE */
    .extracurricular .video-container {
        padding-bottom: 56.25% !important; /* Same as profile video 16:9 ratio */
        min-height: 200px !important;
        height: 0 !important;
    }
    
    .extra-content {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .extra-video {
        padding: 1rem;
    }
    
    /* Hide decorative elements on very small screens */
    .cartoon-icon,
    .stars-decoration,
    .floating-icons {
        display: none !important;
    }
    
    /* Ensure proper spacing for all sections */
    .about,
    .programs,
    .curriculum,
    .activities,
    .highlights,
    .contact {
        padding: 25px 0;
    }
    
    /* Fix any overflow issues - consolidated */
    html, body {
        overflow-x: hidden !important;
        max-width: 100%;
    }
    
    /* Improve readability */
    .curriculum-item,
    .extra-item {
        padding: 0.8rem;
        margin-bottom: 0.6rem;
    }
    
    .curriculum-item h4,
    .extra-item h4 {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }
    
    .curriculum-item p,
    .extra-item p {
        font-size: 0.75rem;
        line-height: 1.3;
    }
}



/* Remove duplicate html style definition */

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease-out;
}

/* Hover Effects Removed */

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #63B3ED;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #4299E1;
}

/* Cartoon Icons Animations */
.cartoon-icon {
    position: absolute;
    z-index: 10;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.cartoon-icon:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Floating Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* Sway Animation */
@keyframes sway {
    0%, 100% {
        transform: rotate(-5deg);
    }
    50% {
        transform: rotate(5deg);
    }
}

/* Bounce Animation */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0px);
    }
    25% {
        transform: translateY(-10px);
    }
    75% {
        transform: translateY(-5px);
    }
}

/* Wiggle Animation */
@keyframes wiggle {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-3deg);
    }
    75% {
        transform: rotate(3deg);
    }
}

/* Apply animations to different icons */
.float-animation {
    animation: float 3s ease-in-out infinite;
}

.sway-animation {
    animation: sway 4s ease-in-out infinite;
}

.bounce-animation {
    animation: bounce 2.5s ease-in-out infinite;
}

.wiggle-animation {
    animation: wiggle 2s ease-in-out infinite;
}

/* Icon positioning for different sections */
.hero .cartoon-icon {
    top: 20%;
    left: 8%;
}

.about .cartoon-icon {
    top: 10%;
    left: 3%;
}

.programs .cartoon-icon {
    top: 8%;
    right: 5%;
}

.curriculum .cartoon-icon {
    top: 12%;
    left: 2%;
}

.activities .cartoon-icon {
    top: 10%;
    right: 4%;
}

.highlights .cartoon-icon {
    top: 8%;
    left: 5%;
}

.contact .cartoon-icon {
    top: 15%;
    right: 8%;
}

/* Stars decoration positioning */
.stars-decoration .star {
    position: absolute;
    z-index: 2;
}

.about .star-1 {
    top: 5%;
    left: 5%;
    animation-delay: 0s;
}

.about .star-2 {
    top: 8%;
    left: 12%;
    animation-delay: 1s;
}

.about .star-3 {
    top: 12%;
    left: 8%;
    animation-delay: 2s;
}

/* Butterfly decoration positioning */
.butterfly-decoration {
    position: absolute;
    top: 15%;
    right: 8%;
    z-index: 2;
    animation-delay: 0.5s;
}

/* Additional airplane positioning */
.additional-airplane {
    position: absolute;
    top: 5%;
    right: 12%;
    z-index: 2;
    animation-delay: 1s;
}

/* Curriculum decorations positioning */
.curriculum-decorations .curriculum-star,
.curriculum-decorations .curriculum-tent,
.curriculum-decorations .curriculum-book {
    position: absolute;
    z-index: 2;
}

.curriculum .curriculum-star.star-1 {
    top: 8%;
    right: 15%;
    animation-delay: 0s;
}

.curriculum .curriculum-star.star-2 {
    top: 12%;
    right: 25%;
    animation-delay: 1.5s;
}

.curriculum .curriculum-tent {
    top: 5%;
    left: 8%;
    animation-delay: 0.8s;
}

.curriculum .curriculum-book {
    top: 15%;
    left: 15%;
    animation-delay: 2s;
}

/* Activities decorations positioning */
.activities-decorations .activities-car,
.activities-decorations .activities-bicycle,
.activities-decorations .activities-water,
.activities-decorations .activities-plants,
.activities-decorations .activities-sun {
    position: absolute;
    z-index: 2;
}

.activities .activities-car {
    top: 8%;
    right: 20%;
    animation-delay: 0.5s;
}

.activities .activities-bicycle {
    top: 12%;
    right: 8%;
    animation-delay: 1s;
}

.activities .activities-water {
    top: 18%;
    left: 12%;
    animation-delay: 1.5s;
}

.activities .activities-plants {
    top: 5%;
    left: 20%;
    animation-delay: 2s;
}

.activities .activities-sun {
    top: 3%;
    left: 5%;
    animation-delay: 0s;
}

/* Extracurricular floating icons positioning */
.extracurricular-floating .floating-art,
.extracurricular-floating .floating-music,
.extracurricular-floating .floating-dance,
.extracurricular-floating .floating-cooking,
.extracurricular-floating .floating-english {
    position: absolute;
    z-index: 2;
}

.extracurricular .floating-art {
    top: 8%;
    left: 10%;
    animation-delay: 0s;
}

.extracurricular .floating-music {
    top: 5%;
    right: 15%;
    animation-delay: 1s;
}

.extracurricular .floating-dance {
    top: 15%;
    right: 5%;
    animation-delay: 2s;
}

.extracurricular .floating-cooking {
    top: 12%;
    left: 25%;
    animation-delay: 1.5s;
}

.extracurricular .floating-english {
    top: 3%;
    left: 50%;
    animation-delay: 0.5s;
}

/* Highlights party icons positioning */
.highlights-party .party-icon {
    position: absolute;
    z-index: 2;
}

.highlights .party-balloon {
    top: 8%;
    left: 12%;
    animation-delay: 0s;
}

.highlights .party-trophy {
    top: 5%;
    right: 18%;
    animation-delay: 1.2s;
}

.highlights .party-celebration {
    top: 12%;
    right: 8%;
    animation-delay: 2.5s;
}

/* Profile decorations positioning */
.profile-decorations .profile-star,
.profile-decorations .profile-airplane {
    position: absolute;
    z-index: 2;
}

.profile-video .profile-star.star-1 {
    top: 22%;
    left: 6%;
    animation-delay: 0s;
}

.profile-video .profile-star.star-2 {
    top: 26%;
    right: 6%;
    animation-delay: 1.5s;
}

.profile-video .profile-airplane {
    top: 20%;
    right: 18%;
    animation-delay: 0.8s;
}

/* New Layout Styles for LAYOUTCHANGE.md Implementation */

/* Page Hero Styles */
.page-hero {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-hero-content p {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Big Events Styles */
.big-events {
    background: linear-gradient(rgba(254, 243, 199, 0.9), rgba(253, 230, 138, 0.9));
    padding: 80px 0;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.event-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.event-image {
    height: 200px;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.event-card:hover .event-image img {
    transform: scale(1.05);
}

.event-content {
    padding: 1.5rem;
}

.event-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: #1E40AF;
}

.event-content p {
    color: #6B7280;
    line-height: 1.6;
}

/* Facilities Styles */
.facilities {
    background: linear-gradient(rgba(236, 253, 245, 0.9), rgba(209, 250, 229, 0.9));
    padding: 80px 0;
}

/* Enhanced Facility Gallery Grid */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    container-type: inline-size;
}

.facility-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: white;
    will-change: transform, box-shadow;
}

.facility-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.facility-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.facility-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.facility-card:hover .facility-image img {
    transform: scale(1.08);
}

.facility-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.6) 50%, transparent 100%);
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(0);
    transition: all 0.4s ease;
    backdrop-filter: blur(2px);
}

.facility-card:hover .facility-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 60%, transparent 100%);
    padding: 2.5rem 1.5rem 2rem;
}

.facility-overlay h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.facility-overlay p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.facility-card:hover .facility-overlay p {
    opacity: 1;
}

/* Legacy Gallery (Hidden by Default) */
.facilities-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.facility-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 250px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

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

.facility-item:hover .facility-overlay {
    transform: translateY(0);
}

.facility-item:hover img {
    transform: scale(1.1);
}

.facility-overlay h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* Responsive Facility Gallery */
@media (max-width: 1200px) {
    .facilities-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }
    
    .facility-image {
        height: 260px;
    }
}

@media (max-width: 768px) {
    .facilities-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.25rem;
        margin-top: 2rem;
    }
    
    .facility-image {
        height: 240px;
    }
    
    .facility-overlay h3 {
        font-size: 1.2rem;
    }
    
    .facility-overlay p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .facilities-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .facility-image {
        height: 220px;
    }
    
    .facility-overlay {
        padding: 1.5rem 1rem 1rem;
    }
    
    .facility-overlay h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .facility-overlay p {
        font-size: 0.85rem;
    }
}

/* Enhanced Responsive Design for All Breakpoints */
@media (max-width: 1400px) {
    .container {
        max-width: 1140px;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .programs-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 1200px) {
    .container {
        max-width: 960px;
        padding: 0 20px;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .activities-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .activities-carousel {
        max-width: 100%;
    }
}

@media (max-width: 877px) {
    .container {
        max-width: 720px;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-text {
        order: 2;
    }
    
    .hero-image {
        order: 1;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .programs-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .events-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 100%;
        padding: 0 15px;
    }
    
    .navbar {
        padding: 0.75rem 0;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .hero {
        padding: 100px 0 0;
        min-height: calc(var(--vh, 1vh) * 100);
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: calc(var(--vh, 1vh) * 100 - 100px - 120px);
    }
    
    .hero-navigation { display: none; }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-text { transform: translateY(-22px); }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .video-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .activities-carousel {
        max-width: 100%;
    }
    
    .activities-carousel-track {
        height: 350px;
    }
    
    .activities-carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .facility-image {
        height: 220px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 12px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .activities-carousel-track {
        height: 300px;
    }
    
    .facility-image {
        height: 200px;
    }
    
    .video-wrapper {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .hero {
        padding: 90px 0 0;
        min-height: calc(var(--vh, 1vh) * 100);
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: calc(var(--vh, 1vh) * 100 - 90px - 120px);
    }
    
    .hero-navigation { display: none; }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-text { transform: translateY(-35px); }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .program-card {
        padding: 1.5rem;
    }
    
    .program-card h3 {
        font-size: 1.2rem;
    }
    
    .activities-carousel-track {
        height: 250px;
    }
    
    .facility-image {
        height: 180px;
    }
    
    .video-wrapper {
        height: 180px;
    }
    
    .video-highlights .highlight-item {
        padding: 0.6rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 380px) {
    .hero-text { transform: translateY(-45px); }
}

@media (max-width: 375px) {
    .container {
        padding: 0 8px;
    }
    
    .hero-content h1 {
        font-size: 1.6rem;
    }
    
    .section-header h2 {
        font-size: 1.4rem;
    }
    
    .program-card {
        padding: 1.25rem;
    }
    
    .activities-carousel-track {
        height: 220px;
    }
    
    .facility-image {
        height: 160px;
    }
    
    .video-wrapper {
        height: 160px;
    }
}

/* Extracurricular Gallery Styles */
.extracurricular-gallery {
    background: linear-gradient(rgba(255, 228, 230, 0.9), rgba(254, 205, 211, 0.9));
}

.extracurricular-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.extra-gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 180px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

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

.extra-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    color: white;
    padding: 1.2rem 0.8rem 0.8rem;
    text-align: center;
}

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

.extra-overlay h3 {
    font-size: 1.1rem;
    margin: 0;
}

.extra-cta {
    text-align: center;
    margin-top: 2rem;
}

/* Profile Video Section Styles */
.profile-video {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.profile-decorations {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.profile-star {
    position: absolute;
}

.star-1 {
    top: 15%;
    left: 10%;
}

.star-2 {
    top: 25%;
    right: 15%;
}

.profile-airplane {
    position: absolute;
    top: 60%;
    right: 8%;
}

.video-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-info {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
}

.video-info h3 {
    font-size: 1.8rem;
    color: #1E40AF;
    margin-bottom: 1.5rem;
}

.video-info p {
    color: #374151;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.video-highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.video-highlights .highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem;
    background: rgba(103, 126, 234, 0.1);
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.video-highlights .highlight-item:hover {
    transform: translateX(10px);
}

.video-highlights .highlight-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.video-highlights .highlight-item span:last-child {
    font-weight: 600;
    color: #1E40AF;
}

/* About Page Styles */
.about-school {
    background: linear-gradient(rgb(254, 243, 199), rgb(253, 230, 138));
    padding: 80px 0;
}

#daycare-benefits .section-header h2 {
    background: linear-gradient(90deg, #FB923C 0%, #F59E0B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

#daycare-benefits .section-header h2::after {
    background: linear-gradient(90deg, #FB923C 0%, #F59E0B 100%);
}

#daycare-benefits .about-content {
    grid-template-columns: repeat(6, 1fr);
    gap: 2.5rem;
}
#daycare-benefits .about-item { grid-column: span 2; margin-top: 0; }
#daycare-benefits .about-item:nth-child(1) { grid-column: 1 / span 2; }
#daycare-benefits .about-item:nth-child(2) { grid-column: 3 / span 2; }
#daycare-benefits .about-item:nth-child(3) { grid-column: 5 / span 2; }
#daycare-benefits .about-item:nth-child(4) { grid-column: 2 / span 2; }
#daycare-benefits .about-item:nth-child(5) { grid-column: 4 / span 2; }
@media (min-width: 769px) and (max-width: 1024px) {
  #daycare-benefits .about-content { grid-template-columns: repeat(2, 1fr); }
  #daycare-benefits .about-item { grid-column: auto !important; }
}

#daycare-benefits {
    padding: 72px 0 104px;
}

#daycare-benefits .section-divider {
    margin-top: 24px;
}

#daycare-benefits .about-item {
    background: linear-gradient(180deg, #FFF7ED 0%, #FFFBEB 100%);
    border: 2px solid rgba(245, 158, 11, 0.25);
    box-shadow: 0 15px 35px rgba(245, 158, 11, 0.25);
    transform: translateY(0);
}

#daycare-benefits .about-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(245, 158, 11, 0.35);
    background: linear-gradient(180deg, #FFEDD5 0%, #FFF7ED 100%);
}

#daycare-benefits .about-icon {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(255, 255, 255, 0.9), rgba(245, 158, 11, 0.2));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #F59E0B;
    margin: 0 auto 1.25rem;
    box-shadow: inset 0 0 0 8px rgba(255, 255, 255, 0.7), 0 10px 25px rgba(245, 158, 11, 0.35);
    font-size: 2rem;
}

#daycare-benefits .about-item h3 {
    background: linear-gradient(135deg, #FB923C 0%, #F59E0B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

#daycare-benefits .about-item p {
    color: #334155;
}

.accreditation {
    background: linear-gradient(rgb(236, 253, 245), rgb(209, 250, 229));
    padding: 80px 0;
}

.accreditation-card {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    margin-top: 2rem;
}

.accreditation-image img {
    width: 100%;
    border-radius: 15px;
}

.accreditation-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.badge-icon {
    font-size: 3rem;
}

.badge-text h3 {
    font-size: 1.5rem;
    color: #1A237E;
    margin-bottom: 0.5rem;
}

.accreditation-details p {
    margin-bottom: 0.8rem;
    color: #374151;
}

.accreditation-description {
    font-style: italic;
    color: #6B7280;
    margin-top: 1rem;
}

.founder {
    background: linear-gradient(rgb(253, 242, 248), rgb(252, 231, 243));
    padding: 80px 0;
}

.founder-placeholder {
    text-align: center;
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-top: 2rem;
}

.placeholder-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.6;
}

.placeholder-note {
    margin-top: 1.5rem;
    color: #6B7280;
    font-size: 0.9rem;
}

.teachers {
    background: linear-gradient(rgb(239, 246, 255), rgb(219, 234, 254));
    padding: 80px 0;
}

.teachers-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.teachers-description {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.teacher-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.teacher-text p {
    margin-bottom: 1.2rem;
    line-height: 1.7;
    color: #374151;
}

.teachers-gallery {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.teacher-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.teacher-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 1rem;
    font-size: 0.9rem;
    text-align: center;
}

/* About Page - Activity Gallery */
.about-activity-gallery {
    background: linear-gradient(rgb(239, 246, 255), rgb(219, 234, 254));
    padding: 80px 0;
}

.about-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.about-gallery-item {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Baseline: nonaktifkan efek hover berat untuk perangkat touch/coarse pointer */
@media (hover: none), (pointer: coarse) {
  .about-gallery-item:hover {
    transform: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  }
}

/* Desktop: efek hover berat hanya untuk perangkat yang mendukung hover */
@media (hover: hover) and (pointer: fine) {
  .about-gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(59, 130, 246, 0.25), 0 10px 24px rgba(0,0,0,0.12);
  }
}

/* Saat modal terbuka, matikan efek hover pada latar belakang */
body.modal-open .about-gallery-item:hover {
  transform: none;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
}

.about-gallery-item:focus-visible,
.about-gallery-item:focus-within {
    transform: none;
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
    outline: 2px solid #2563EB;
    outline-offset: 2px;
}

.about-gallery-item .thumb {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.about-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-gallery-item .meta {
    padding: 0.85rem 1rem;
    color: #374151;
}

.about-gallery-item .meta h4 {
    margin: 0 0 0.25rem;
    font-size: 1rem;
    color: #1F2937;
}

.about-gallery-item .meta p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #6B7280;
}

@media (max-width: 640px) {
    .about-gallery-item .thumb {
        height: 160px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-gallery-item {
        transition: box-shadow 0.25s ease;
    }
    .about-gallery-item:hover,
    .about-gallery-item:focus-visible,
    .about-gallery-item:focus-within {
        transform: none;
    }
}

/* Modern Curriculum Page Styles */
.curriculum-info {
    background: linear-gradient(135deg, #3B82F6 0%, #1A237E 25%, #06B6D4 50%, #1A237E 75%, #3B82F6 100%);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.curriculum-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(6, 182, 212, 0.2) 0%, transparent 50%);
    animation: backgroundShift 15s ease-in-out infinite;
    pointer-events: none;
}

.curriculum-info::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><defs><pattern id="dots" x="0" y="0" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23dots)"/></svg>');
    animation: float 25s linear infinite;
    pointer-events: none;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes backgroundShift {
    0%, 100% { 
        transform: translateX(0%) translateY(0%) scale(1); 
        opacity: 0.8;
    }
    33% { 
        transform: translateX(5%) translateY(-5%) scale(1.1); 
        opacity: 0.6;
    }
    66% { 
        transform: translateX(-5%) translateY(5%) scale(0.9); 
        opacity: 0.7;
    }
}

/* Curriculum Interactive Area */
.curriculum-interactive-area {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 4rem;
}

/* Area Kiri: Slideshow */
.curriculum-left-area {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    padding: 2rem;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.1),
        0 15px 35px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.curriculum-left-area:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.08),
        0 10px 20px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Slideshow Container */
.photo-slideshow {
    margin-bottom: 2rem;
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
}

.slide {
    display: none;
    width: 100%;
    height: 100%;
    position: relative;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.5s ease;
    filter: brightness(1.1) contrast(1.05) saturate(1.1);
}

.slide:hover img {
    transform: scale(1.05);
    filter: brightness(1.2) contrast(1.1) saturate(1.2);
}

/* Slideshow Dots */
.slideshow-dots {
    text-align: center;
    margin-top: 1rem;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dot.active,
.dot:hover {
    background-color: rgba(255, 255, 255, 0.9);
    border-color: rgba(59, 130, 246, 0.6);
    transform: scale(1.15);
}

/* Book Icon Button */
.curriculum-info-button {
    text-align: center;
}

.book-icon-btn {
    background: rgba(139, 92, 246, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 20px;
    padding: 1rem 2rem;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.2);
}

.book-icon-btn:hover {
    background: rgba(139, 92, 246, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(139, 92, 246, 0.25);
    border-color: rgba(139, 92, 246, 0.4);
}

/* Area Kanan: Memory Game */
.curriculum-right-area {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    padding: 2rem;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.1),
        0 15px 35px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.curriculum-right-area:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.08),
        0 10px 20px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Memory Game Container */
.memory-game-container h3 {
    text-align: center;
    color: white;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.memory-game-container p {
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

/* Game Stats */
.game-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.stat {
    color: white;
    font-weight: 600;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

/* Memory Game Board */
.memory-game-board {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.memory-card {
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-size: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.memory-card:hover {
    transform: translateY(-2px) scale(1.02);
    background: rgba(255, 255, 255, 0.28);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.memory-card.flipped {
    background: rgba(139, 92, 246, 0.3);
    border-color: rgba(139, 92, 246, 0.5);
    transform: rotateY(180deg);
}

.memory-card.matched {
    background: rgba(34, 197, 94, 0.3);
    border-color: rgba(34, 197, 94, 0.5);
    animation: matchedPulse 0.6s ease;
}

@keyframes matchedPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.memory-card .card-back {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.5rem;
}

.memory-card .card-front {
    display: none;
}

.memory-card.flipped .card-back {
    display: none;
}

.memory-card.flipped .card-front {
    display: block;
}

/* Reset Game Button */
.reset-game-btn {
    width: 100%;
    background: rgba(239, 68, 68, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 15px;
    padding: 0.8rem;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(239, 68, 68, 0.2);
}

.reset-game-btn:hover {
    background: rgba(239, 68, 68, 0.28);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.25);
}

/* Modal Popup Styling */
.curriculum-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.curriculum-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    padding: 0;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 
        0 35px 70px rgba(0, 0, 0, 0.3),
        0 20px 40px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    animation: slideIn 0.4s ease;
}

@keyframes slideIn {
    from { 
        transform: translateY(-50px) scale(0.9);
        opacity: 0;
    }
    to { 
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.close-modal:hover {
    background: rgba(239, 68, 68, 0.3);
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(239, 68, 68, 0.3);
}

.modal-header {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(168, 85, 247, 0.2) 100%);
    padding: 2.5rem 2rem 1.5rem;
    border-radius: 30px 30px 0 0;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header .curriculum-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.modal-header h3 {
    color: white;
    font-size: 2rem;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    font-weight: 700;
}

.modal-body {
    padding: 2rem;
    color: white;
    line-height: 1.8;
}

.modal-body p {
    margin-bottom: 1.5rem;
    text-align: justify;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.modal-body .curriculum-motto {
    background: rgba(139, 92, 246, 0.2);
    padding: 1.5rem;
    border-radius: 20px;
    border-left: 4px solid rgba(139, 92, 246, 0.8);
    margin-top: 2rem;
    text-align: center;
    font-style: italic;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Responsive layout untuk curriculum interactive area */
@media (max-width: 1024px) {
    .curriculum-interactive-area {
        gap: 2rem;
    }
    
    .slideshow-container {
        height: 300px;
    }
    
    .memory-game-board {
        gap: 0.6rem;
    }
    
    .memory-card {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .curriculum-interactive-area {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .curriculum-left-area,
    .curriculum-right-area {
        padding: 1.5rem;
    }
    
    .slideshow-container {
        height: 250px;
    }
    
    .memory-game-container h3 {
        font-size: 1.5rem;
    }
    
    .memory-game-board {
        gap: 0.5rem;
        padding: 0.8rem;
    }
    
    .memory-card {
        font-size: 1.5rem;
    }
    
    .modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .modal-header {
        padding: 2rem 1.5rem 1rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .curriculum-left-area,
    .curriculum-right-area {
        padding: 1rem;
    }
    
    .slideshow-container {
        height: 200px;
    }
    
    .book-icon-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .memory-game-board {
        gap: 0.4rem;
        padding: 0.6rem;
    }
    
    .memory-card {
        font-size: 1.2rem;
    }
    
    .game-stats {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .modal-header h3 {
        font-size: 1.5rem;
    }
    
    .modal-header .curriculum-icon {
         font-size: 3rem;
     }
 }

.curriculum-icon {
    font-size: 4.5rem;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
    animation: bounce-gentle 4s ease-in-out infinite;
    position: relative;
}

@keyframes bounce-gentle {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

.curriculum-content h3 {
    font-size: 2.4rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    font-weight: 700;
    position: relative;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
}

.curriculum-content h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.4));
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.curriculum-content p {
    margin-bottom: 1.8rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.15rem;
    position: relative;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.curriculum-content p strong {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.curriculum-motto {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
    font-size: 1.3rem;
    position: relative;
    padding: 2rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 4px solid rgba(255, 255, 255, 0.6);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-top: 2rem;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.class-activities {
    background: linear-gradient(135deg, #fef3c7 0%, #fbbf24 50%, #f59e0b 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.class-activities::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><polygon points="20,10 30,30 10,30" fill="rgba(255,255,255,0.1)"/><polygon points="80,20 90,40 70,40" fill="rgba(255,255,255,0.1)"/><polygon points="50,70 60,90 40,90" fill="rgba(255,255,255,0.1)"/><circle cx="15" cy="70" r="3" fill="rgba(255,255,255,0.1)"/><circle cx="85" cy="80" r="2" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    animation: float-shapes 25s linear infinite;
    pointer-events: none;
}

@keyframes float-shapes {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(-100px) translateY(-50px); }
}

.activities-gallery {
    margin-top: 4rem;
    display: grid;
    gap: 3rem;
}

.activity-theme {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
    background: linear-gradient(145deg, #ffffff 0%, #fefefe 100%);
    border-radius: 25px;
    padding: 2.5rem;
    box-shadow: 
        0 20px 40px rgba(245, 158, 11, 0.15),
        0 10px 20px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    position: relative;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, box-shadow;
    overflow: hidden;
}

.activity-theme::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #fef3c7, #fde68a, #f59e0b, #d97706);
    border-radius: 27px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.activity-theme:hover::before {
    opacity: 1;
}

.activity-theme:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 30px 60px rgba(245, 158, 11, 0.25),
        0 15px 30px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.activity-theme.reverse {
    grid-template-columns: 2fr 1fr;
}

.activity-image {
    border-radius: 20px;
    overflow: hidden;
    height: 280px;
    position: relative;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
}

.activity-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(245, 158, 11, 0.1) 50%, transparent 70%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.activity-theme:hover .activity-image::before {
    opacity: 1;
}

.activity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.activity-theme:hover .activity-image img {
    transform: scale(1.1);
}

.activity-content {
    position: relative;
}

.activity-content h3 {
    font-size: 1.8rem;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    font-weight: 700;
    position: relative;
}

.activity-content h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #f59e0b, #d97706);
    border-radius: 2px;
}

.activity-content p {
    margin-bottom: 1.3rem;
    line-height: 1.8;
    color: #4a5568;
    font-size: 1.05rem;
    position: relative;
}

.activity-content p strong {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.learning-approach {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 50%, #a7f3d0 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.learning-approach::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><polygon points="20,10 30,30 10,30" fill="rgba(255,255,255,0.1)"/><polygon points="80,20 90,40 70,40" fill="rgba(255,255,255,0.1)"/><polygon points="50,70 60,90 40,90" fill="rgba(255,255,255,0.1)"/><circle cx="15" cy="70" r="3" fill="rgba(255,255,255,0.1)"/><circle cx="85" cy="80" r="2" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    animation: float-shapes-learning 30s linear infinite;
    pointer-events: none;
}

@keyframes float-shapes-learning {
    0% { transform: translateX(0) translateY(0) rotate(0deg); }
    100% { transform: translateX(-100px) translateY(-50px) rotate(360deg); }
}

.approach-summary {
    background: linear-gradient(145deg, #ffffff 0%, #fefefe 100%);
    border-radius: 25px;
    padding: 3rem;
    box-shadow: 
        0 25px 50px rgba(5, 150, 105, 0.15),
        0 12px 25px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    margin-top: 3rem;
    display: flex;
    align-items: flex-start;
    gap: 2.5rem;
    position: relative;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
}

.approach-summary:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 35px 70px rgba(5, 150, 105, 0.2),
        0 18px 35px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.approach-icon {
    font-size: 4rem;
    flex-shrink: 0;
    background: linear-gradient(135deg, #1A237E 0%, #00005C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 4px 8px rgba(26, 35, 126, 0.3));
}

.approach-text h3 {
    font-size: 2rem;
    background: linear-gradient(135deg, #1A237E 0%, #00005C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    font-weight: 700;
    position: relative;
}

.approach-text h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #1A237E, #00005C);
    border-radius: 2px;
}

.approach-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
}

.pillar {
    background: linear-gradient(145deg, #ffffff 0%, #fefefe 100%);
    border-radius: 25px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 
        0 20px 40px rgba(5, 150, 105, 0.12),
        0 10px 20px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    position: relative;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, box-shadow;
    overflow: hidden;
}

.pillar::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #e0f2fe, #bbdefb, #90caf9, #1A237E);
    border-radius: 27px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.pillar:hover::before {
    opacity: 1;
}

.pillar:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 30px 60px rgba(26, 35, 126, 0.2),
        0 15px 30px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.pillar-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #1A237E 0%, #00005C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 4px 8px rgba(26, 35, 126, 0.3));
    transition: all 0.4s ease;
}

.pillar:hover .pillar-icon {
    transform: scale(1.2) rotate(10deg);
    filter: drop-shadow(0 6px 12px rgba(26, 35, 126, 0.4));
}

.pillar h4 {
    font-size: 1.4rem;
    background: linear-gradient(135deg, #00005C 0%, #1A237E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.2rem;
    font-weight: 700;
    position: relative;
}

.pillar h4::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #1A237E, #00005C);
    border-radius: 1px;
}

.pillar p {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.7;
    position: relative;
}

.pillar p strong {
    background: linear-gradient(135deg, #00005C 0%, #1A237E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.approach-conclusion {
    font-style: italic;
    color: #1A237E;
    font-weight: 600;
    margin-top: 1.5rem;
}

/* Extracurricular Page Styles */
.extra-intro {
    background: linear-gradient(135deg, rgb(102, 126, 234) 0%, rgb(118, 75, 162) 50%, rgb(240, 147, 251) 100%);
    padding: 120px 0 80px 0;
}

/* AOS for intro section */
.section-header {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.section-header.animate {
    opacity: 1;
    transform: translateY(0);
}

.extra-description {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.2s;
}

.extra-description.animate {
    opacity: 1;
    transform: translateY(0);
}

.cartoon-icon {
    opacity: 0;
    transform: scale(0.5) rotate(-10deg);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cartoon-icon.animate {
    opacity: 0.8;
    transform: scale(1) rotate(0deg);
}

.extra-description {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-top: 2rem;
    text-align: center;
}

.extra-description p {
    margin-bottom: 1.2rem;
    line-height: 1.7;
    color: #374151;
}

.extracurricular-section {
    padding-top: 5px;
    padding-bottom: 60px;
}

.extracurricular-section .container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Art Club Section */
#art-club {
    background: linear-gradient(rgb(254, 243, 199), rgb(253, 230, 138));
}

/* Dance Club Section */
#dance-club {
    background: linear-gradient(rgb(236, 253, 245), rgb(209, 250, 229));
}

/* Music Club Section */
#music-club {
    background: linear-gradient(rgb(253, 242, 248), rgb(252, 231, 243));
}

/* English Club Section */
#english-club {
    background: linear-gradient(rgb(239, 246, 255), rgb(219, 234, 254));
}

/* Cooking Club Section */
#cooking-club {
    background: linear-gradient(rgb(255, 251, 235), rgb(254, 243, 199));
}

/* Special layout for Cooking Club and cooking-style cards */
.cooking-special,
.cooking-style {
    display: block !important;
    grid-template-columns: none !important;
    max-width: 1500px;
    padding: 2rem 2rem;
    margin: 2rem auto;
    border-radius: 25px;
}



/* Reverse layout for cooking-content */
.cooking-content.reverse {
    grid-template-columns: 1.2fr 0.8fr;
}

/* AOS animations for extracurricular cards */
.cooking-style {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cooking-style.animate {
    opacity: 1;
    transform: translateY(0);
}

.cooking-style.animate .cooking-header .extra-icon {
    animation: iconFadeIn 0.6s ease-out 0.3s both;
}

@keyframes iconFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(10px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Staggered animation delays */
.cooking-style:nth-child(1) { transition-delay: 0.1s; }
.cooking-style:nth-child(2) { transition-delay: 0.2s; }
.cooking-style:nth-child(3) { transition-delay: 0.3s; }
.cooking-style:nth-child(4) { transition-delay: 0.4s; }
.cooking-style:nth-child(5) { transition-delay: 0.5s; }

.cooking-header {
    text-align: left;
    margin-bottom: 1.5rem;
    padding: 0;
    border-bottom: 2px solid rgba(249, 115, 22, 0.2);
    position: relative;
}

.cooking-header .extra-icon {
    font-size: 4rem;
    margin: 0;
    padding-top: 0.5rem;
    display: block;
    opacity: 0;
    transform: scale(0.8) translateY(10px);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.cooking-special.animate .cooking-header .extra-icon {
    animation: iconFadeIn 0.6s ease-out 0.3s both;
}



.cooking-header h3 {
    font-size: 2.2rem;
    color: #1E40AF;
    margin-bottom: 0.8rem;
    font-weight: 700;
    line-height: 1.2;
}

.cooking-header .extra-subtitle {
    font-style: italic;
    color: #1A237E;
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.4;
}

.cooking-content {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 2rem;
    align-items: center;
    margin-top: 1rem;
}

.cooking-content .extra-image {
    height: 320px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}

.cooking-content .extra-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cooking-content .extra-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 0;
    min-height: auto;
}

/* Desktop adjustments for cooking club */
@media (min-width: 1024px) {
    .cooking-special {
        max-width: 1600px;
        padding: 2rem 2.5rem;
    }
    
    .cooking-header h3 {
        font-size: 2.4rem;
    }
    
    .cooking-header .extra-subtitle {
        font-size: 1.2rem;
    }
    
    .cooking-header .extra-icon {
        font-size: 4.5rem;
    }
    
    .cooking-content {
        gap: 2.5rem;
    }
    
    .cooking-content .extra-image {
        height: 300px;
    }
}

@media (min-width: 1400px) {
    .cooking-special {
        max-width: 1700px;
        padding: 2.5rem 3rem;
    }
    
    .cooking-header h3 {
        font-size: 2.6rem;
    }
    
    .cooking-header .extra-subtitle {
        font-size: 1.3rem;
    }
    
    .cooking-header .extra-icon {
        font-size: 5rem;
    }
    
    .cooking-content {
        gap: 3rem;
    }
    
    .cooking-content .extra-image {
        height: 320px;
    }
}

.extra-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: white;
    border-radius: 25px;
    padding: 2rem 3rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    margin: 2rem auto;
    max-width: 1500px;
}

.extra-card.reverse {
    grid-template-columns: 1fr 1fr;
}

.extra-image {
    border-radius: 20px;
    overflow: hidden;
    height: 240px;
    width: 100%;
    position: relative;
    box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}

/* Desktop specific adjustments */
@media (min-width: 1024px) {
    .extra-card {
        grid-template-columns: 1fr 1.2fr;
        gap: 4rem;
        padding: 2rem 3.5rem;
        max-width: 1600px;
    }
    
    .extra-card.reverse {
        grid-template-columns: 1.2fr 1fr;
    }
    
    .extra-image {
        height: 280px;
    }
    
    .extracurricular-section {
        padding-top: 5px;
        padding-bottom: 40px;
    }
    
    .extracurricular-section .container {
        max-width: 1700px;
        padding: 0 3rem;
    }
}

/* Large desktop adjustments */
@media (min-width: 1400px) {
    .extra-card {
        max-width: 1700px;
        gap: 5rem;
        padding: 2.5rem 4rem;
    }
    
    .extra-image {
        height: 300px;
    }
    
    .extracurricular-section {
        padding-top: 5px;
        padding-bottom: 100px;
    }
    
    .extracurricular-section .container {
        max-width: 1800px;
        padding: 0 4rem;
    }
}

.extra-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.extra-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0.5rem 0;
    min-height: 280px;
}

/* Desktop content adjustments */
@media (min-width: 1024px) {
    .extra-content {
        min-height: 320px;
        padding: 1rem 0;
    }
}

@media (min-width: 1400px) {
    .extra-content {
        min-height: 350px;
        padding: 1.5rem 0;
    }
}

.extra-header {
    margin-bottom: 2rem;
    text-align: left;
}

.extra-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
}

.extra-header h3 {
    font-size: 1.9rem;
    color: #1E40AF;
    margin-bottom: 0.6rem;
    font-weight: 700;
    line-height: 1.2;
}

.extra-subtitle {
    font-style: italic;
    color: #1A237E;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1.2rem;
    line-height: 1.4;
}

/* Desktop typography adjustments */
@media (min-width: 1024px) {
    .extra-header h3 {
        font-size: 2.1rem;
        margin-bottom: 0.8rem;
    }
    
    .extra-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.4rem;
    }
}

@media (min-width: 1400px) {
    .extra-header h3 {
        font-size: 2.3rem;
        margin-bottom: 1rem;
    }
    
    .extra-subtitle {
        font-size: 1.2rem;
        margin-bottom: 1.6rem;
    }
}

.extra-description {
    flex-grow: 1;
}

.extra-description p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #374151;
    font-size: 1rem;
    text-align: justify;
}

.extra-benefits {
    margin-top: 2rem;
    background: rgba(124, 58, 237, 0.05);
    border-radius: 15px;
    padding: 1.5rem;
    border-left: 4px solid #7C3AED;
}

.extra-benefits h4 {
    color: #7C3AED;
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.extra-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.extra-benefits li {
    padding: 0.6rem 0;
    color: #374151;
    position: relative;
    padding-left: 2rem;
    font-size: 0.95rem;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.extra-benefits li:hover {
    color: #1E40AF;
}

.extra-benefits li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #1A237E;
    font-weight: bold;
    font-size: 1.1rem;
    top: 0.6rem;
}

.extra-note {
    background: #FEF3C7;
    border-left: 4px solid #F59E0B;
    padding: 1rem;
    margin-top: 1.5rem;
    border-radius: 0 8px 8px 0;
}

.extra-note p {
    margin: 0;
    color: #92400E;
    font-size: 0.9rem;
}

.extra-conclusion {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.85) 0%, rgba(118, 75, 162, 0.85) 100%);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: var(--glass-blur-light);
    -webkit-backdrop-filter: var(--glass-blur-light);
    border: var(--glass-border);
}

.extra-conclusion::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.08);
    border: var(--glass-border);
    z-index: 1;
    animation: section-breathe 10s ease-in-out infinite;
    will-change: opacity;
}

.conclusion-content {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    margin-top: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 10;
}

.conclusion-content h2 {
    font-size: 2.2rem;
    color: #7C3AED;
    margin-bottom: 1.5rem;
}

.conclusion-content p {
    margin-bottom: 1.2rem;
    line-height: 1.7;
    color: #374151;
}

.extra-cta {
    text-align: center;
    margin-top: 3rem;
    position: relative;
    z-index: 5;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Hide cartoon icons on mobile for better performance */
@media (max-width: 768px) {
    .cartoon-icon,
    .stars-decoration,
    .butterfly-decoration,
    .additional-airplane,
    .curriculum-decorations,
    .activities-decorations,
    .extracurricular-floating,
    .highlights-party,
    .profile-decorations {
        display: none;
    }
    
    /* Mobile optimizations for new layouts */
    .page-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .facilities-gallery {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .extracurricular-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    /* Activities Carousel Mobile */
     .activities-content {
         flex-direction: column;
         gap: 2rem;
     }
     
     .activities-carousel {
         max-width: 100%;
     }
     
     .activities-carousel-track {
         height: 320px;
     }
     
     .activities-grid {
         max-width: 100%;
     }
     
     .donut-chart {
              width: 350px;
              height: 350px;
          }
          
          .donut-svg {
              max-width: 350px;
              max-height: 350px;
          }
          
          .donut-center {
              width: 100px;
              height: 100px;
          }
          
          .donut-center .center-icon {
              font-size: 1.6rem;
              margin-bottom: 3px;
          }
          
          .donut-center .center-text {
              font-size: 0.65rem;
              line-height: 1.0;
          }
     
     .activities-carousel-btn {
         width: 35px;
         height: 35px;
         font-size: 14px;
     }
     
     .activities-prev-btn {
         left: 8px;
     }
     
     .activities-next-btn {
         right: 8px;
     }
     
     /* Show kids decoration on mobile with reduced opacity */
     .extracurricular-kids-decoration {
         display: block;
         opacity: 0.4;
     }
     
     .extra-kid {
         font-size: 1.5rem;
         opacity: 0.5;
     }
     
     .extra-kid img {
         width: 30px;
         height: 30px;
     }
     
     /* Modern intro responsive */
     .extra-intro {
         padding: 40px 0;
         min-height: auto;
     }
     
     .extra-intro .section-header {
         margin-top: 2rem;
         margin-bottom: 1rem;
     }
     
     .extra-intro .section-header h2 {
         font-size: 2rem;
         margin-bottom: 0.8rem;
         line-height: 1.3;
     }
     
     .extra-intro .section-header p {
         font-size: 1rem;
         padding: 0 1rem;
         line-height: 1.6;
         margin-bottom: 1.5rem;
     }
     
     .curriculum-info .section-header h2 {
         font-size: 2rem;
         margin-bottom: 0.8rem;
         line-height: 1.3;
     }
     
     .curriculum-info .section-header p {
         font-size: 1rem;
         padding: 0 1rem;
         line-height: 1.6;
         margin-bottom: 1.5rem;
     }
     
     .extra-intro .extra-description {
         margin: 0.3rem 1rem 0 1rem;
         padding: 1.2rem;
         border-radius: 16px;
         font-size: 0.9rem;
     }
     
     .extra-intro .extra-description p {
         font-size: 0.95rem;
         line-height: 1.6;
         margin-bottom: 1rem;
     }
     
     .extra-intro .cartoon-icon {
         top: 1rem;
         right: 1rem;
         padding: 0.6rem;
         width: 50px;
         height: 50px;
     }
     
     .extra-intro .cartoon-icon img {
         width: 30px;
         height: 30px;
     }
     
     /* Modern elements responsive */
     .intro-stats {
         grid-template-columns: 1fr;
         gap: 1rem;
         padding: 1.5rem 0;
     }
     
     .stat-item {
         padding: 1.5rem 1rem;
     }
     
     .stat-number {
         font-size: 2rem;
     }
     
     .stat-label {
         font-size: 0.8rem;
     }
     
     .intro-cta {
         flex-direction: column;
         align-items: center;
         gap: 0.8rem;
     }
     
     .btn-modern {
         width: 100%;
         max-width: 280px;
         padding: 0.9rem 1.5rem;
         font-size: 0.9rem;
     }
     
     /* Hide floating decorations on mobile for cleaner look */
     .floating-decorations {
         display: none;
     }
     
     /* Adjust main cartoon icon for mobile */
     .extra-intro .cartoon-icon {
         position: static;
         display: flex;
         justify-content: center;
         margin-bottom: 1rem;
         background: none;
         backdrop-filter: none;
         border: none;
         box-shadow: none;
         padding: 0;
     }
     
     /* Ensure proper section spacing */
     .extracurricular-gallery {
         padding: 60px 0;
     }
    
    .accreditation-card {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .teachers-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .activity-theme,
    .activity-theme.reverse {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .approach-pillars {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .extra-card,
    .extra-card.reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
        margin: 2rem 1rem;
    }
    
    .extra-image {
        height: 250px;
        order: -1;
    }
    
    .extra-content {
        min-height: auto;
        padding: 0;
    }
    
    .extra-header h3 {
        font-size: 1.8rem;
        text-align: center;
    }
    
    .extra-icon {
        font-size: 3rem;
        text-align: center;
    }
    
    .extra-subtitle {
        text-align: center;
        font-size: 1rem;
    }
    
    .extra-description p {
        text-align: left;
        font-size: 0.95rem;
    }
    
    .extra-benefits {
        margin-top: 1.5rem;
        padding: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    /* Profile Video Mobile Optimizations */
    .video-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .video-info {
        padding: 2rem;
    }
    
    .video-info h3 {
        font-size: 1.5rem;
    }
    
    .profile-decorations {
        display: none;
    }
    
    /* Cooking Club mobile adjustments */
    .cooking-header {
        text-align: center;
        margin-bottom: 1.5rem;
        padding-bottom: 0;
    }
    
    .cooking-header h3 {
        font-size: 1.8rem;
    }
    
    .cooking-header .extra-subtitle {
        font-size: 1rem;
    }
    
    .cooking-content,
    .cooking-content.reverse {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        align-items: flex-start;
    }
    
    .cooking-content .extra-image {
        height: 200px;
    }
    
    .cooking-content .extra-content {
        padding: 0;
    }
    
    .cooking-content .extra-description p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .cooking-content .extra-benefits {
        margin-top: 1rem;
        padding: 0.8rem;
    }
    
    .cooking-content .extra-benefits h4 {
        font-size: 1rem;
    }
    
    .cooking-content .extra-benefits li {
        font-size: 0.85rem;
        padding: 0.4rem 0;
    }
    
    .cooking-content .extra-note {
        padding: 0.8rem;
        margin-top: 1rem;
    }
    
    .cooking-content .extra-note p {
        font-size: 0.8rem;
    }
}

/* ----------------------------------------------
   Profile Video Hero – Header overlap & spacing
   ---------------------------------------------- */
/* Anchor offset so #profile-video tidak tertutup navbar saat scroll/jump */
#profile-video { scroll-margin-top: 120px; }

/* Pastikan judul di atas overlay dan dekorasi */
.profile-video .section-header { position: relative; z-index: 2; }

/* Jarak atas diatur melalui .extra-intro agar konsisten lintas halaman */
/* (hapus padding-top khusus .profile-video untuk menghindari duplikasi) */

/* Optimasi jarak dan visibilitas untuk perangkat mobile */
@media (max-width: 768px) {
  /* Mobile padding diatur via .extra-intro agar seragam */

  /* Tampilkan dekorasi SVG dan pastikan berada di atas background grain */
  .profile-decorations { display: block; z-index: 2; opacity: 0.95; }

  /* Geser posisi dekorasi agar tidak terlalu dekat header */
  .profile-video .profile-star.star-1 { top: 16%; left: 6%; }
  .profile-video .profile-star.star-2 { top: 20%; right: 6%; }
  .profile-video .profile-airplane { top: 14%; right: 20%; }

  /* Sedikit rapikan jarak konten video untuk kenyamanan baca */
  .profile-video .video-container { gap: 1.25rem; margin-top: 1.5rem; }
}

/* Sedikit kompak di desktop agar komposisi lebih rapi */
.profile-video .video-container { gap: 2.5rem; margin-top: 2.5rem; }


/* Mobile override untuk kenyamanan jarak di .extra-intro */
@media (max-width: 768px) {
  .extra-intro { padding: 95px 0 80px 0; }
}

/* ----------------------------------------------
   Profile Intro (About) – decoupled from extracurricular
   Keep shimmer text and glow overlay; change colors only
   ---------------------------------------------- */
.profile-intro {
  background: linear-gradient(135deg, #06b6d4 0%, #10b981 50%, #84cc16 100%);
  padding: 120px 0 80px 0;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  min-height: 70vh;
}

.profile-intro::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  z-index: 1;
  animation: profile-intro-glow 6s ease-in-out infinite;
  will-change: opacity;
}

/* Teal circular dots decoration - Combined with existing overlay */

/* Orange star decorations */
.profile-intro .orange-stars {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.orange-star {
  position: absolute;
  width: 20px;
  height: 20px;
  background: linear-gradient(45deg, #ff6b35, #ff8c42);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  filter: drop-shadow(0 2px 4px rgba(255, 107, 53, 0.4));
  animation: orange-star-float 8s ease-in-out infinite;
}

.orange-star.star-1 { top: 20%; left: 10%; animation-delay: 0s; }
.orange-star.star-2 { top: 60%; left: 85%; animation-delay: 2s; }
.orange-star.star-3 { top: 80%; left: 20%; animation-delay: 4s; }
.orange-star.star-4 { top: 30%; left: 70%; animation-delay: 6s; }

@keyframes orange-star-float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(180deg); }
}

.profile-intro .container { position: relative; z-index: 5; }
.profile-intro .section-header { text-align: center; margin-bottom: 1rem; margin-top: 0.2rem; position: relative; z-index: 6; }

.profile-intro .section-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(90deg, 
    #FFD700 0%, 
    #FFA500 25%, 
    #FFFF99 50%, 
    #FFA500 75%, 
    #FFD700 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.2rem;
  position: relative;
  display: inline-block;
  animation: text-shimmer-flow 4s linear infinite;
  text-shadow: none !important;
  line-height: 1.1;
}

.profile-intro .section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
  border-radius: 2px;
}

.profile-intro .section-header p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 400;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.40);
  max-width: 450px;
  margin: 0 auto 0.3rem auto;
  line-height: 1.3;
}

@media (max-width: 768px) {
  .profile-intro { padding: 95px 0 80px 0; }
  .profile-intro .section-header { margin-top: 2rem; margin-bottom: 1rem; }
  .profile-intro .section-header h2 { font-size: 2rem; margin-bottom: 0.8rem; line-height: 1.3; }
  .profile-intro .section-header p { font-size: 1rem; padding: 0 1rem; line-height: 1.6; margin-bottom: 1.5rem; }
}

/* Profile Intro rotating background overlay (isolated) - Combined with teal dots */
.profile-intro::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: 
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><defs><pattern id="dots" x="0" y="0" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.10)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23dots)"/></svg>'),
    radial-gradient(circle at 15% 25%, rgba(20, 184, 166, 0.4) 0%, transparent 8%),
    radial-gradient(circle at 85% 75%, rgba(20, 184, 166, 0.3) 0%, transparent 6%),
    radial-gradient(circle at 45% 15%, rgba(20, 184, 166, 0.35) 0%, transparent 7%),
    radial-gradient(circle at 75% 45%, rgba(20, 184, 166, 0.25) 0%, transparent 5%),
    radial-gradient(circle at 25% 85%, rgba(20, 184, 166, 0.3) 0%, transparent 6%);
  z-index: 0;
  animation: profile-bg-rotate 35s linear infinite;
  transform-origin: 50% 50%;
  pointer-events: none;
}

/* Isolated keyframes for Profile Intro */
@keyframes profile-text-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

@keyframes profile-bg-rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes profile-intro-glow {
  0% { opacity: 0.65; }
  50% { opacity: 0.85; }
  100% { opacity: 0.65; }
}

/* Tablet adjustments for kids decoration */
/* MacBook Air 13.6 inch optimization (1470x956 viewport) */
@media (min-width: 1280px) and (max-width: 1500px) and (max-height: 1000px) {
    .extra-intro {
        padding: 110px 0 70px 0;
        min-height: 70vh;
    }
    .profile-intro {
        padding: 110px 0 70px 0;
        min-height: 70vh;
    }
    
    .extra-intro .section-header {
        margin-top: 0;
        margin-bottom: 1rem;
    }
    .profile-intro .section-header {
        margin-top: 0;
        margin-bottom: 1rem;
    }
    
    .extra-intro .section-header h2 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
        line-height: 1.1;
    }
    .profile-intro .section-header h2 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
        line-height: 1.1;
    }
    
    .extra-intro .section-header p {
        font-size: 0.85rem;
        margin-bottom: 1rem;
        line-height: 1.4;
    }
    .profile-intro .section-header p {
        font-size: 0.85rem;
        margin-bottom: 1rem;
        line-height: 1.4;
    }
    
    .curriculum-info .section-header h2 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
        line-height: 1.1;
    }
    
    .curriculum-info .section-header p {
        font-size: 0.85rem;
        margin-bottom: 1rem;
        line-height: 1.4;
    }
    
    .extra-intro .extra-description {
        padding: 1rem;
        margin: 0.3rem auto 0.5rem auto;
        font-size: 0.8rem;
    }
    
    .extra-intro .extra-description p {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 0.8rem;
    }
    
    .extra-intro .cartoon-icon {
        width: 45px;
        height: 45px;
        top: 1rem;
        right: 1rem;
        padding: 0.5rem;
    }
    
    .extra-intro .cartoon-icon img {
        width: 28px;
        height: 28px;
    }
    
    /* Reduce floating elements size for better proportion */
    .extra-kid {
        width: 28px;
        height: 28px;
        opacity: 0.2;
    }
    
    .extra-kid img {
        width: 16px;
        height: 16px;
    }
    
    .extracurricular-kids-decoration {
        opacity: 0.12;
        transform: scale(0.6);
    }
    
    /* Adjust stats cards for MacBook - more compact */
    .stats-grid {
        gap: 0.8rem;
        margin-top: 0.5rem;
    }
    
    .stat-card {
        padding: 0.8rem;
    }
    
    .stat-card .stat-number {
        font-size: 1.4rem;
    }
    
    .stat-card .stat-label {
        font-size: 0.7rem;
    }
    
    /* Extracurricular grid more compact */
    .extracurricular-grid {
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .extracurricular-card {
        padding: 1rem;
    }
    
    .extracurricular-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .extracurricular-card p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .extracurricular-card .card-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 0.8rem;
    }
    
    .extracurricular-card .card-icon img {
        width: 24px;
        height: 24px;
    }
}

/* General laptop optimization for better readability */
@media (min-width: 1024px) and (max-width: 1600px) {
    .extra-intro {
        padding: 120px 0 80px 0;
        min-height: 90vh;
    }
    .profile-intro {
        padding: 120px 0 80px 0;
        min-height: 90vh;
    }
    
    .extra-intro .section-header {
        margin-top: 0;
        margin-bottom: 1rem;
    }
    .profile-intro .section-header {
        margin-top: 0;
        margin-bottom: 1rem;
    }
    
    .extra-intro .section-header h2 {
        font-size: 3.2rem;
        margin-bottom: 1.2rem;
        line-height: 1.1;
    }
    .profile-intro .section-header h2 {
        font-size: 3.2rem;
        margin-bottom: 1.2rem;
        line-height: 1.1;
    }
    
    .extra-intro .section-header p {
        font-size: 1.2rem;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
        margin-bottom: 2.5rem;
        line-height: 1.7;
    }
    .profile-intro .section-header p {
        font-size: 1.2rem;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
        margin-bottom: 2.5rem;
        line-height: 1.7;
    }
    
    .curriculum-info .section-header h2 {
        font-size: 3.2rem;
        margin-bottom: 1.2rem;
        line-height: 1.1;
    }
    
    .curriculum-info .section-header p {
        font-size: 1.2rem;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
        margin-bottom: 2.5rem;
        line-height: 1.7;
    }
    
    .extra-intro .extra-description {
        padding: 2rem;
        margin: 0.5rem auto 1.5rem auto;
        font-size: 1.1rem;
    }
    
    .extra-intro .extra-description p {
        font-size: 1.1rem;
        line-height: 1.8;
        margin-bottom: 1.5rem;
    }
    
    .extra-intro .cartoon-icon {
        width: 70px;
        height: 70px;
        top: 2rem;
        right: 2rem;
        padding: 1rem;
    }
    
    .extra-intro .cartoon-icon img {
        width: 45px;
        height: 45px;
    }
    
    /* Stats grid for desktop */
    .stats-grid {
        gap: 2rem;
        margin-top: 1rem;
    }
    
    .stat-card {
        padding: 2rem;
    }
    
    .stat-card .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-card .stat-label {
        font-size: 1rem;
    }
    
    /* Floating elements for desktop */
    .extra-kid {
        width: 45px;
        height: 45px;
        opacity: 0.35;
    }
    
    .extra-kid img {
        width: 28px;
        height: 28px;
    }
    
    .extracurricular-kids-decoration {
        opacity: 0.25;
        transform: scale(0.9);
    }
}

/* Large desktop optimization (1600px+) */
@media (min-width: 1600px) {
    .extra-intro {
        padding: 120px 0 80px 0;
        min-height: 95vh;
    }
    .profile-intro {
        padding: 120px 0 80px 0;
        min-height: 95vh;
    }
    
    .extra-intro .section-header {
        margin-top: 0;
        margin-bottom: 1rem;
    }
    .profile-intro .section-header {
        margin-top: 0;
        margin-bottom: 1rem;
    }
    
    .extra-intro .section-header h2 {
        font-size: 3.8rem;
        margin-bottom: 1.5rem;
        line-height: 1.1;
    }
    .profile-intro .section-header h2 {
        font-size: 3.8rem;
        margin-bottom: 1.5rem;
        line-height: 1.1;
    }
    
    .extra-intro .section-header p {
        font-size: 1.4rem;
        margin-bottom: 3rem;
        line-height: 1.8;
        text-shadow: 0 3px 12px rgba(0, 0, 0, 0.6);
    }
    .profile-intro .section-header p {
        font-size: 1.4rem;
        margin-bottom: 3rem;
        line-height: 1.8;
        text-shadow: 0 3px 12px rgba(0, 0, 0, 0.6);
    }
    
    .extra-intro .extra-description {
        padding: 3rem;
        margin-bottom: 3rem;
        font-size: 1.2rem;
    }
    
    .extra-intro .extra-description p {
        font-size: 1.2rem;
        line-height: 1.9;
        margin-bottom: 1.8rem;
    }
    
    .extra-intro .cartoon-icon {
        width: 80px;
        height: 80px;
        top: 2.5rem;
        right: 2.5rem;
        padding: 1.2rem;
    }
    
    .extra-intro .cartoon-icon img {
        width: 50px;
        height: 50px;
    }
    
    /* Stats grid for large desktop */
    .stats-grid {
        gap: 2.5rem;
        margin-top: 1rem;
    }
    
    .stat-card {
        padding: 2.5rem;
    }
    
    .stat-card .stat-number {
        font-size: 3rem;
    }
    
    .stat-card .stat-label {
        font-size: 1.1rem;
    }
    
    /* Floating elements for large desktop */
    .extra-kid {
        width: 50px;
        height: 50px;
        opacity: 0.4;
    }
    
    .extra-kid img {
        width: 32px;
        height: 32px;
    }
    
    .extracurricular-kids-decoration {
        opacity: 0.3;
        transform: scale(1);
    }
}

@media (min-width: 769px) and (max-width: 1023px) {
    /* Tablet optimization for extracurricular page */
    .extra-intro {
        padding: 115px 0 70px 0;
        min-height: 75vh;
    }
    .profile-intro {
        padding: 115px 0 70px 0;
        min-height: 75vh;
    }
    
    .extra-intro .section-header {
        margin-top: 0;
        margin-bottom: 1rem;
    }
    .profile-intro .section-header {
        margin-top: 0;
        margin-bottom: 1rem;
    }
    
    .extra-intro .section-header h2 {
        font-size: 2.3rem;
        margin-bottom: 0.9rem;
        line-height: 1.2;
    }
    .profile-intro .section-header h2 {
        font-size: 2.3rem;
        margin-bottom: 0.9rem;
        line-height: 1.2;
    }
    
    .extra-intro .section-header p {
        font-size: 1.05rem;
        line-height: 1.6;
    }
    .profile-intro .section-header p {
        font-size: 1.05rem;
        line-height: 1.6;
    }
    
    .extra-intro .extra-description {
        padding: 1.8rem;
        margin-bottom: 1.8rem;
        font-size: 1rem;
    }
    
    .extra-intro .extra-description p {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 1.3rem;
    }
    
    .extra-intro .cartoon-icon {
        width: 58px;
        height: 58px;
        top: 1.3rem;
        right: 1.3rem;
        padding: 0.7rem;
    }
    
    .extra-intro .cartoon-icon img {
        width: 38px;
        height: 38px;
    }
    
    .extra-kid img {
        width: 28px;
        height: 28px;
    }
    
    .extracurricular-kids-decoration {
        opacity: 0.18;
        z-index: -2;
        transform: scale(0.85);
    }
    
    .extra-kid {
        opacity: 0.18;
        z-index: -2;
        width: 38px;
        height: 38px;
    }
    
    /* Stats grid for tablet */
    .stats-grid {
        gap: 1.8rem;
        margin-top: 1rem;
    }
    
    .stat-card {
        padding: 1.8rem;
    }
    
    .stat-card .stat-number {
        font-size: 2.2rem;
    }
    
    .stat-card .stat-label {
        font-size: 0.95rem;
    }
}

/* Landscape tablet optimization for dimensions like 1024x600 */
@media (min-width: 769px) and (max-width: 1023px) and (max-height: 700px) {
    .hero {
        padding-top: 100px;
        min-height: calc(100vh - 100px);
    }
    
    .hero-content {
        padding: 20px 0;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-text p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        margin-top: 1.5rem;
        gap: 1rem;
    }
    
    .hero-highlights {
        margin-top: 2rem;
        gap: 1rem;
    }
    
    .highlight-item {
        font-size: 0.9rem;
        padding: 8px 12px;
    }
    
    .page-hero {
        padding: 100px 0 60px;
    }
    
    .page-hero-content h1 {
        font-size: 2.8rem;
    }
}

/* Auto Slide Gallery Styles */
.auto-slide-wrapper {
    position: relative;
    width: 100%;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    background: #f8f9fa;
}

.auto-slide-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 70%;
    height: 70%;
    object-fit: contain;
    object-position: center;
    border-radius: 12px;
    background: #f8f9fa;
    margin: auto;
    max-width: 100%;
    max-height: 100%;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 20px 16px 16px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

.slide-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    color: #333;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.slide-control:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.slide-control.prev {
    left: 16px;
}

.slide-control.next {
    right: 16px;
}

.slide-info {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10;
}

.slide-counter {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.play-pause-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #333;
}

.play-pause-btn:hover {
    background: white;
    transform: scale(1.1);
}

.slide-indicators {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: white;
    transform: scale(1.2);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Responsive adjustments for auto slide */
@media (max-width: 768px) {
    .auto-slide-wrapper {
        height: 250px;
    }
    
    .slide-control {
        width: 36px;
        height: 36px;
    }
    
    .slide-control.prev {
        left: 12px;
    }
    
    .slide-control.next {
        right: 12px;
    }
    
    .slide-info {
        top: 12px;
        right: 12px;
        gap: 8px;
    }
    
    .play-pause-btn {
        width: 32px;
        height: 32px;
    }
    
    .slide-caption {
        font-size: 13px;
        padding: 16px 12px 12px;
    }
}

@media (max-width: 480px) {
    .auto-slide-wrapper {
        height: 200px;
    }
    
    .slide-control {
        width: 32px;
        height: 32px;
    }
    
    .slide-control svg {
        width: 18px;
        height: 18px;
    }
    
    .play-pause-btn {
        width: 28px;
        height: 28px;
    }
    
    .play-pause-btn svg {
        width: 16px;
        height: 16px;
    }
    
    .slide-counter {
        font-size: 11px;
        padding: 4px 8px;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
}

/* Text Shimmer Animation for Ekstrakurikuler Title */
@keyframes text-shimmer-flow {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}/* Updated: Wed Oct 22 12:35:43 WIB 2025 */
/* Album Modal Gallery */
.album-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(4px);
  z-index: 1000;
}
.album-modal[aria-hidden="false"] { display: flex; }

/* Backdrop element for additional depth and click capture */
.album-modal-backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 60% at 50% 50%, rgba(17,24,39,0.50) 0%, rgba(17,24,39,0.65) 100%);
  backdrop-filter: blur(4px);
}

body.modal-open { overflow: hidden; }

.album-modal-content {
  background: linear-gradient(180deg, #ffffff 0%, #F9FAFB 100%);
  color: #1F2937;
  width: min(92vw, 960px);
  max-height: 88vh;
  border-radius: 18px;
  box-shadow: 0 24px 56px rgba(0,0,0,0.25);
  border: 1px solid #E5E7EB;
  position: relative;
  padding: 18px 18px 14px;
  display: flex;
  flex-direction: column;
  transform: translateY(8px) scale(0.98);
  opacity: 0;
  transition: opacity .25s ease, transform .25s ease;
}

.album-modal[aria-hidden="false"] .album-modal-content {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.album-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e5e7eb;
}
.album-modal-header h3 { font-size: 1.1rem; margin: 0; }
.album-modal-count { font-size: .9rem; color: #6B7280; }

.album-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 1px solid #E5E7EB;
  background: #ffffff;
  color: #374151;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}
.album-modal-close:hover,
.album-modal-close:focus-visible {
  background: #2563EB;
  color: #ffffff;
  border-color: #2563EB;
}

.album-slider { position: relative; margin-top: 10px; }
.album-slides { position: relative; overflow: hidden; }
.album-slide { display: none; }
.album-slide.active { display: block; animation: albumFadeIn .25s ease; }
.album-slide img {
  width: 100%;
  height: auto;
  max-height: 64vh;
  object-fit: cover;
  border-radius: 14px;
}

.album-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid #E5E7EB;
  background: rgba(255,255,255,0.9);
  color: #2563EB;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}
.album-prev { left: 10px; }
.album-next { right: 10px; }
.album-nav:hover, .album-nav:focus-visible { background: #2563EB; color: #fff; border-color: #2563EB; }

.album-caption {
  margin-top: 10px;
  padding: 12px 14px;
  font-size: 0.95rem;
  color: #374151;
  background: #F9FAFB;
  border-radius: 12px;
  border: 1px solid #E5E7EB;
}

@media (max-width: 640px) {
  .album-modal-content { width: 95vw; padding: 12px; }
  .album-slide img { max-height: 58vh; }
  .album-nav { width: 38px; height: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  .album-modal, .album-modal-content, .album-nav { transition: none !important; }
}
/* Stabilkan gutter scrollbar untuk mengurangi layout shift saat modal */
html { scrollbar-gutter: stable; overscroll-behavior: contain; }

/* Dots navigation for album slides */
.album-dots { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 10px; }
.album-dot { width: 8px; height: 8px; border-radius: 999px; background: #D1D5DB; border: none; cursor: pointer; padding: 0; box-shadow: 0 0 0 2px rgba(0,0,0,0.05); }
.album-dot.active { width: 10px; height: 10px; background: #2563EB; box-shadow: 0 0 0 4px rgba(37,99,235,0.15); }
.album-dot:focus-visible { outline: 2px solid #2563EB; outline-offset: 2px; }

@keyframes albumFadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

.gallery-page{padding:130px 0 60px;background:#F8FAFC}
.gallery-main#gallery{scroll-margin-top:120px}
.gallery-page-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.gallery-layout{display:grid;grid-template-columns:260px 1fr;gap:20px}
.gallery-sidebar{background:#fff;border:1px solid #E5E7EB;border-radius:14px;padding:12px;position:sticky;top:80px;max-height:calc(100vh - 100px);overflow:auto}
.album-link{display:block;width:100%;text-align:left;padding:10px 12px;border:none;background:transparent;color:#1F2937;border-radius:10px;cursor:pointer}
.album-link:hover,.album-link:focus-visible{background:#F3F4F6}
.album-link.active{background:#EEF2FF;color:#2563EB}
.gallery-main{background:#fff;border:1px solid #E5E7EB;border-radius:14px;padding:12px}
.album-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px}
.album-photo{background:#fff;border:1px solid #E5E7EB;border-radius:12px;overflow:hidden}
.album-photo img{width:100%;aspect-ratio:4/3;height:auto;object-fit:cover;display:block}
.album-photo{transition:transform .2s ease, box-shadow .2s ease}
.album-photo:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(0,0,0,.08)}
.back-link{align-self:flex-end;padding:8px 14px;font-size:.9rem;border-radius:10px}
.back-link.btn-secondary{border-width:1px}
.gallery-page .album-slider{margin-top:12px}
.gallery-page .album-next{position:static;display:block;width:100%;padding:12px 16px;height:auto;border-radius:12px;border:none;background:linear-gradient(180deg,#2563EB 0%,#1D4ED8 100%);color:#fff;font-weight:600;box-shadow:0 6px 14px rgba(29,78,216,.25);transform:none}
.gallery-page .album-next:hover,.gallery-page .album-next:focus-visible{background:#1D4ED8;color:#fff}
.gallery-page .album-slides{display:flex;align-items:center;justify-content:center;min-height:72vh}
.gallery-page .album-slide{display:none;max-width:100%}
.gallery-page .album-slide.active{display:flex;align-items:center;justify-content:center}
.gallery-page .album-slide img{object-fit:contain;object-position:center center;max-height:72vh;max-width:100%;width:auto;height:auto}
.gallery-page .album-slide img.landscape{width:auto;height:68vh;max-width:100%;object-fit:contain}
.gallery-page .album-slide img.portrait{width:100%;height:auto;object-fit:contain}
.gallery-page .album-slide img.square{width:100%;height:auto;object-fit:contain;aspect-ratio:1/1}
@media (min-width:1280px){.album-grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr))}}
@media (max-width:1024px){.gallery-layout{grid-template-columns:220px 1fr}}
@media (max-width:768px){.gallery-page{padding:120px 0 40px}.gallery-page-header{flex-direction:column;align-items:flex-start;gap:8px}.gallery-layout{grid-template-columns:1fr;gap:12px}.gallery-sidebar{position:relative;top:auto;max-height:none;display:flex;flex-wrap:nowrap;gap:8px;overflow-x:auto;padding:8px}.album-link{display:inline-block;white-space:nowrap}.album-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:480px){.album-grid{grid-template-columns:1fr}.gallery-page{padding:110px 0 40px}}
.album-photo figcaption{padding:8px 10px;font-size:.95rem;color:#374151}
@media (max-width:768px){.gallery-layout{grid-template-columns:1fr}.gallery-sidebar{position:relative;max-height:none}}

/* Day Care Page Styles */
.daycare-hero {
    min-height: 100vh;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.35) 0%, rgba(2, 6, 23, 0.2) 50%, rgba(2, 6, 23, 0.1) 100%), url('assets/lhDocumentation/dayCare/dayCare5.jpeg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.daycare-hero .hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.daycare-hero .hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.daycare-hero .hero-text .highlight {
    color: #FFE66D;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.daycare-hero .hero-text p {
    font-size: 1.25rem;
    color: white;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.daycare-hero .hero-buttons {
    display: flex;
    gap: 1rem;
}

.daycare-features {
    padding: 80px 0;
    background: #F8FAFC;
}

.daycare-features .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.daycare-features .section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 1rem;
}

.daycare-features .section-header p {
    font-size: 1.125rem;
    color: #64748B;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-image {
    width: 100%;
    height: 180px;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.feature-card:hover .feature-image img {
    transform: scale(1.05);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1E293B;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: #64748B;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Responsive DayCare Feature Cards */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-image {
        height: 160px;
        margin-bottom: 1.25rem;
    }
    
    .feature-icon {
        font-size: 2.5rem;
        margin-bottom: 0.75rem;
    }
    
    .feature-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .feature-card p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        padding: 0 0.5rem;
    }
    
    .feature-card {
        padding: 1.25rem;
    }
    
    .feature-image {
        height: 140px;
        margin-bottom: 1rem;
    }
    
    .feature-icon {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .feature-card h3 {
        font-size: 1rem;
    }
    
    .feature-card p {
        font-size: 0.85rem;
    }
}

.daycare-programs {
    padding: 80px 0;
    background: linear-gradient(90deg, #F8FAFC 0%, #6366F1 100%);
    --panelHeight: clamp(380px, 45vw, 460px);
}

#index-home .programs {
    background: linear-gradient(180deg, #EEF2FF 0%, #DBEAFE 100%) !important;
}

#index-home .big-events {
    background: linear-gradient(180deg, #FFF7ED 0%, #FEF3C7 100%) !important;
}

#index-home .facilities {
    background: linear-gradient(180deg, #ECFDF5 0%, #D1FAE5 100%) !important;
}

#index-home .extracurricular-gallery {
    background: linear-gradient(180deg, #FFE4E6 0%, #FBCFE8 100%) !important;
}

/* Remove decorative and gradient overlays only on index homepage */
#index-home .extracurricular-gallery::before,
#index-home .extracurricular-gallery::after {
    content: '' !important;
    display: none !important;
    background: none !important;
    animation: none !important;
}

#index-home .extracurricular-gallery .geometric-shapes {
    display: none !important;
}

#index-home .slider-container {
    background: #ffffff !important;
    background-image: none !important;
    background-blend-mode: normal !important;
}



#index-home .extra-cta {
    position: relative !important;
    z-index: 20 !important;
    margin-bottom: 8px !important;
}


#index-home .divider-5 {
    bottom: -24px !important;
}

/* Large desktop only: wide layout & stable heights */
@media (min-width: 1200px) {
  #index-home .activities-carousel-container {
    min-height: clamp(420px, 45vh, 520px) !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
  }
  #index-home .activities-carousel-track {
    height: auto !important;
    min-height: clamp(420px, 45vh, 520px) !important;
    aspect-ratio: 16 / 9;
  }
  #index-home .activities-carousel {
    min-height: clamp(420px, 45vh, 520px) !important;
    width: 100% !important;
    max-width: none !important;
  }
  #index-home .activities-slide {
    height: 100% !important;
  }
  #index-home .activities-slide img {
    height: 100% !important;
    object-fit: cover !important;
  }
  /* Force layout columns to keep carousel wide on desktop */
  #index-home .activities-content {
    display: grid !important;
    grid-template-columns: 1fr 450px !important;
    align-items: center !important;
    gap: 40px !important;
  }
  #index-home .activities-carousel {
    width: 100% !important;
    max-width: none !important;
    min-width: 460px !important;
  }
  #index-home .activities-carousel-container { width: 100% !important; }
  #index-home .activities-carousel-container { min-width: 460px !important; }
}

/* 769px–1199px: stack into two rows like mobile */
@media (min-width: 769px) and (max-width: 1199px) {
  #index-home .activities-content { display: flex !important; flex-direction: column !important; gap: 30px !important; }
  #index-home .activities-carousel, #index-home .activities-carousel-container { width: 100% !important; max-width: 100% !important; min-width: 0 !important; }
  #index-home .activities-carousel-track { height: 360px !important; padding: 0 !important; }
  #index-home .activities-slide img { height: 100% !important; object-fit: cover !important; }
}

/* removed contain-fit override to keep consistent cover behavior */

.daycare-programs .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.daycare-programs .section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 1rem;
}

.daycare-programs .section-header p {
    font-size: 1.125rem;
    color: #64748B;
}
.daycare-programs .info-grid { display: grid; grid-template-columns: 0.65fr 1.35fr; gap: 1.5rem; align-items: start; }
.daycare-programs .info-display { display: block; min-height: var(--panelHeight); }
.daycare-programs .info-panel { display: none; }
.daycare-programs .info-panel.active { display: block; }
.daycare-programs .info-menu { display: flex; flex-direction: column; gap: 12px; }
.daycare-programs .info-btn { display: inline-flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px; border: 1px solid rgba(255,255,255,0.35); background: rgba(255,255,255,0.14); backdrop-filter: blur(12px); color: #0F172A; font-weight: 700; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease; }
.daycare-programs .info-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(99,102,241,0.22); background: rgba(255,255,255,0.22); }
.daycare-programs .info-btn.active { background: rgba(255,255,255,0.28); border-color: rgba(255,255,255,0.6); box-shadow: 0 12px 30px rgba(99,102,241,0.26); }
.daycare-programs .info-icon { width: 30px; height: 30px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #6366F1, #7C3AED); color: #ffffff; box-shadow: 0 8px 20px rgba(99,102,241,0.25); font-size: 1rem; }
.daycare-programs .info-panel .program-card { border: 2px solid #6366F1; height: var(--panelHeight); }
.daycare-programs .info-panel .program-card { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 10px; }
.daycare-programs .info-panel .program-card h3 { margin: 6px 0 6px; }
.daycare-programs .info-panel .program-card p { max-width: 520px; }
.daycare-programs .info-panel .program-card .brochure-actions { justify-content: center; }
.daycare-programs .info-panel .program-card ul { text-align: center; }
.daycare-programs .info-panel .program-card::before { background: linear-gradient(90deg, #6366F1, #7C3AED); }
.daycare-programs .programs-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.program-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}
.daycare-programs .program-card { display: flex; flex-direction: column; height: 100%; transition: box-shadow 0.2s ease; }
.daycare-programs .program-card h3 { margin-top: 0.25rem; }
.daycare-programs .program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #6366F1, #7C3AED);
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.program-card.featured {
    border: 2px solid #6366F1;
    transform: none;
    box-shadow: 0 14px 38px rgba(99, 102, 241, 0.18);
}

.program-card:hover {
    transform: none;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.program-card.featured:hover {
    transform: none;
}

.featured-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: #6366F1;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}
.daycare-programs .featured-badge { background: linear-gradient(135deg, #6366F1, #7C3AED); box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3); }

.program-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 1rem;
}

.program-time {
    font-size: 1.125rem;
    color: #6366F1;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.daycare-programs .program-time { display: inline-block; padding: 6px 12px; border-radius: 999px; border: 1px solid #A5B4FC; background: #EEF2FF; }

.program-price {
    font-size: 2rem;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 1.5rem;
}

.daycare-programs .price-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    display: grid;
    gap: 0.6rem;
}
.daycare-programs .price-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #1E293B;
    border-bottom: 1px dashed rgba(99, 102, 241, 0.25);
    padding: 8px 0;
    gap: 12px;
}
.daycare-programs .price-list li:last-child { border-bottom: 0; }
.daycare-programs .price-list .amount {
    background: #EEF2FF;
    color: #1E293B;
    border: 1px solid #6366F1;
    padding: 6px 12px;
    border-radius: 10px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.2px;
    min-width: 140px;
    text-align: center;
}
.daycare-programs .pricing-note {
    margin-top: 1.5rem;
    background: rgba(99,102,241,0.08);
    color: #1E293B;
    border: 1px solid rgba(99,102,241,0.25);
    border-radius: 12px;
    padding: 12px 14px;
    text-align: center;
    font-weight: 600;
}

@media (max-width: 768px) {
  .daycare-programs .program-card { padding: 1.5rem; }
  .daycare-programs .program-card h3 { font-size: 1.25rem; }
  .daycare-programs .price-list .amount { padding: 4px 8px; min-width: 120px; }
}

@media (max-width: 900px) {
  .daycare-programs .info-grid { grid-template-columns: 1fr; gap: 1rem; }
  .daycare-programs .info-menu { flex-direction: column; align-items: stretch; }
  .daycare-programs .info-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .daycare-programs .program-card { transition: none; }
  .daycare-programs .program-card:hover { box-shadow: 0 8px 16px rgba(0,0,0,0.10); }
}

.program-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.program-features li {
    padding: 0.5rem 0;
    color: #64748B;
    border-bottom: 1px solid #E2E8F0;
}

.program-features li:last-child {
    border-bottom: none;
}

.divider-daycare { background: transparent; }

.divider-features { background: transparent; }

.divider-programs { background: transparent; }
.daycare-programs .section-divider { height: 110px; bottom: -1px; }
.daycare-programs .section-divider svg { height: calc(100% + 6px); }

.divider-summary { background: transparent; }
.divider-brochure { background: transparent; }

/* Responsive for Day Care */
@media (max-width: 768px) {
    .daycare-hero .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .daycare-hero .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .daycare-hero .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
    }
    
    .program-card.featured {
        transform: none;
    }
    
    .program-card.featured:hover {
        transform: translateY(-4px);
    }
}

/* Day Care Button in Homepage */
.btn-daycare {
    background: linear-gradient(135deg, #FF6B6B 0%, #FFE66D 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-top: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.btn-daycare:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.daycare-card {
    border: 2px solid #FFE66D;
    background: linear-gradient(135deg, #FFF9E6 0%, #FFFFFF 100%);
}

/* Facilities Slider Styles */
.facilities-slider {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.slider-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    /* Playful background behind single-photo slider */
    background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%);
    background-image:
      radial-gradient(circle at 12% 18%, #FFF7ED 0 6px, transparent 7px),
      radial-gradient(circle at 88% 28%, #E0F2FE 0 6px, transparent 7px),
      radial-gradient(circle at 24% 82%, #FDE68A 0 6px, transparent 7px),
      radial-gradient(circle at 70% 70%, #FBCFE8 0 6px, transparent 7px);
    background-blend-mode: screen;
}

.facility-slides {
    display: flex;
    transition: transform 0.5s ease;
    width: auto;
}

.facility-slide {
    flex: 0 0 100%;
    width: 100%;
    position: relative;
}

.facility-slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.facility-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 40px 30px 30px;
    text-align: center;
}

.facility-overlay h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.facility-overlay p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    color: #333;
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.slider-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.indicator-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator-dot.active {
    background: #6366F1;
    transform: scale(1.2);
}

.indicator-dot:hover {
    background: #8B5CF6;
}

/* Responsive for Facilities Slider */
@media (max-width: 768px) {
    .facility-slide img {
        height: 300px;
    }
    
    .facility-overlay {
        padding: 30px 20px 20px;
    }
    
    .facility-overlay h3 {
        font-size: 1.5rem;
    }
    
    .facility-overlay p {
        font-size: 1rem;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .prev-btn {
        left: 10px;
    }
    
    .next-btn {
        right: 10px;
    }
}
.daycare-brochure {
    padding: 64px 0 88px;
    background: linear-gradient(180deg, #FFF1F2 0%, #FFFFFF 100%);
}


#daycare-brochure .section-header h2 {
    background: linear-gradient(90deg, #FB923C 0%, #F59E0B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

#daycare-brochure .section-header h2::after {
    background: linear-gradient(90deg, #FB923C 0%, #F59E0B 100%);
}

.brochure-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
    align-items: center;
    background: #FFFFFF;
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 20px 45px rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.2);
    position: relative;
}

.brochure-preview {
    position: relative;
}

.brochure-cover {
    background: linear-gradient(180deg, #FFFFFF 0%, #FFF7ED 100%);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 15px 30px rgba(2, 6, 23, 0.06);
    position: relative;
    overflow: hidden;
}

.brochure-stamp {
    position: absolute;
    top: -12px;
    left: -12px;
    background: #F59E0B;
    color: #FFFFFF;
    padding: 8px 12px;
    border-radius: 10px;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.35);
}

.brochure-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0F172A;
}

.brochure-subtitle {
    color: #334155;
    margin-top: 6px;
}

.brochure-ornament {
    display: flex;
    gap: 10px;
    margin-top: 1rem;
    color: #F59E0B;
    font-size: 1.2rem;
}

.brochure-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.brochure-info {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.5rem;
}

.brochure-info li {
    color: #334155;
}

#daycare-brochure .brochure-actions {
    justify-content: flex-start;
    margin-top: 0.5rem;
}

#daycare-brochure .brochure-card {
    margin-top: 1.25rem;
    margin-bottom: 2.5rem;
}

#daycare-brochure .section-divider {
    margin-top: 24px;
}

#daycare-brochure .section-divider {
  overflow: visible;
}

#daycare-brochure .section-divider::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: #1E40AF;
  pointer-events: none;
}

@media (min-width: 921px) and (max-width: 959px) {
  #daycare-brochure .section-divider {
    height: 126px;
    bottom: -2px;
  }
  #daycare-brochure .section-divider svg {
    height: calc(100% + 4px);
  }
  #daycare-brochure ~ #contact::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: #1E40AF;
    pointer-events: none;
  }
  #daycare-brochure ~ #contact { margin-top: -3px; }
}

@media (max-width: 900px) {
    .brochure-card {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }
    #daycare-brochure .brochure-actions {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    #daycare-benefits .about-content {
        grid-template-columns: 1fr;
        grid-auto-flow: row;
        gap: 1.25rem;
    }
    #daycare-benefits .about-item {
        grid-column: auto !important;
        padding: 1.5rem;
    }
    #daycare-benefits .about-icon {
        width: 72px;
        height: 72px;
        font-size: 1.6rem;
    }
    .brochure-cover {
        padding: 1.25rem;
    }
    .brochure-title { font-size: 1.2rem; }
    .brochure-subtitle { font-size: 0.95rem; }
}

@media (min-width: 769px) and (max-width: 1024px) {
    #daycare-benefits .about-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
  #daycare-summary .programs-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.75rem; grid-auto-flow: row dense; }
}

@media (max-width: 900px) {
    .contact-content { grid-template-columns: 1fr; gap: 2rem; }
}

.brochure-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    justify-content: center;
}

.brochure-viewer {
    width: 100%;
    height: 640px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    background: #FFFFFF;
}
.daycare-summary {
    padding: 60px 0;
    background: linear-gradient(135deg, #F8FAFC 0%, #E0F2FE 100%);
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
    margin-top: 1.25rem;
}

.summary-card {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(229, 231, 235, 0.8);
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.summary-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: #0F172A;
}

.summary-card ul {
    list-style: none;
    padding-left: 0;
    color: #334155;
}

.summary-card ul li {
    margin-bottom: 0.5rem;
}
.daycare-hero .hero-text {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 16px;
    padding: 20px;
}

.daycare-gallery {
    padding: 60px 0;
    background: linear-gradient(135deg, #F8FAFC 0%, #EEF2FF 100%);
}

.daycare-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.daycare-gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(0,0,0,0.12);
}

.daycare-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.daycare-gallery-item .caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 14px;
    background: linear-gradient(180deg, rgba(2,6,23,0) 0%, rgba(2,6,23,0.6) 100%);
    color: #FFFFFF;
    font-size: 0.95rem;
}
.about-school#daycare-summary {
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
}

.about-school#daycare-summary .section-header h2 {
    background: linear-gradient(90deg, #FB923C 0%, #F59E0B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}
.about-school#daycare-summary .section-header h2::after {
    background: linear-gradient(90deg, #FB923C 0%, #F59E0B 100%);
}

#daycare-hero .btn-primary,
#daycare-brochure .btn-primary {
    background: linear-gradient(135deg, #FB923C 0%, #F59E0B 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.2);
}
#daycare-hero .btn-primary:hover,
#daycare-brochure .btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 35px rgba(245, 158, 11, 0.5);
    background: linear-gradient(135deg, #F59E0B 0%, #FB923C 100%);
}

#daycare-hero .btn-secondary,
#daycare-brochure .btn-secondary {
    background: rgba(245, 158, 11, 0.1);
    color: #F59E0B;
    border: 2px solid #F59E0B;
    backdrop-filter: blur(15px);
}
#daycare-hero .btn-secondary:hover,
#daycare-brochure .btn-secondary:hover {
    background: #F59E0B;
    color: white;
    transform: translateY(-4px) scale(1.02);
}
#daycare-summary .section-header h2 {
    background: linear-gradient(90deg, #FB923C 0%, #F59E0B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

#daycare-summary .section-header h2::after {
    background: linear-gradient(90deg, #FB923C 0%, #F59E0B 100%);
}
#index-home .program-card {
    border-color: #7C3AED !important;
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.15) !important;
}

#index-home .program-card:hover {
    box-shadow: 0 15px 40px rgba(124, 58, 237, 0.25) !important;
}
.nav-menu a.nav-daycare:hover {
    color: transparent !important;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-image: linear-gradient(90deg, #FB923C 0%, #F59E0B 100%) !important;
}

.navbar.scrolled .nav-menu a.nav-daycare:hover {
    color: transparent !important;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-image: linear-gradient(90deg, #FB923C 0%, #F59E0B 100%) !important;
}

.nav-menu a.nav-daycare:focus {
    outline: none;
    color: transparent;
    background-image: linear-gradient(90deg, #FB923C 0%, #F59E0B 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.extra-intro { padding-bottom: 0 !important; }
.extracurricular-section { padding-bottom: 0 !important; }
#index-home .section-header {
    opacity: 1 !important;
    transform: none !important;
}
#index-home .contact {
    padding-bottom: 120px !important;
}

#index-home .contact .section-divider {
    height: 120px;
    bottom: 0;
}

@media (max-width: 877px) {
  #index-home .contact {
    padding-bottom: 80px !important;
  }
  #index-home .contact .section-divider { height: 80px; }
}

#index-home .contact::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: #1F2937;
  pointer-events: none;
}

#index-home ~ .footer {
  margin-top: -1px;
}
#index-home .extracurricular-gallery .section-divider {
    display: block !important;
    height: 120px;
    bottom: 0;
    overflow: visible;
}

@media (min-width: 960px) and (max-width: 1100px) {
  #index-home .extracurricular-gallery .section-divider { 
    display: block !important; 
    height: 124px; 
  }
  #index-home .extracurricular-gallery .section-divider svg { 
    height: calc(100% + 2px);
  }
}

#index-home .extracurricular-gallery ~ .contact::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: #1E40AF;
  pointer-events: none;
}

@media (min-width: 964px) and (max-width: 1019px) {
  #index-home .extracurricular-gallery::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: #1E40AF;
    pointer-events: none;
  }
  #index-home .extracurricular-gallery ~ .contact::before {
    top: -2px;
    height: 3px;
  }
  #index-home .extracurricular-gallery ~ .contact {
    margin-top: -2px;
  }
}

/* Enhanced overlap for larger screens */
@media (min-width: 1024px) {
}

@media (min-width: 1280px) and (-webkit-min-device-pixel-ratio: 2),
       (min-width: 1280px) and (min-resolution: 192dpi) {
}

@media (min-width: 1440px) {
}
#daycare-summary .learning-cycle { position: relative; max-width: 960px; margin: 0 auto; }
#daycare-summary .cycle-ring { position: relative; width: var(--ringSize); max-width: none; margin: 0 auto; aspect-ratio: 1 / 1; --ringSize: min(88vw, 560px); --ringCenterRadius: calc(var(--ringSize) * 0.44); --labelOffset: calc(var(--ringSize) * 0.22); --centerInset: 16%; --centerGap: clamp(0px, calc(var(--ringSize) * 0.005), 6px); }
#daycare-summary .cycle-ring::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background:
  conic-gradient(from 315deg,
    rgba(255,255,255,0.94) 0deg, #F59E0B 90deg,
    rgba(255,255,255,0.94) 90deg, #F97316 180deg,
    rgba(255,255,255,0.94) 180deg, #F59E0B 270deg,
    rgba(255,255,255,0.94) 270deg, #F97316 360deg
  );
  box-shadow: inset 0 14px 40px rgba(14,165,161,0.18), inset 0 -12px 32px rgba(2,132,199,0.12);
}
#daycare-summary .cycle-ring::after { content: ''; position: absolute; inset: 12%; border-radius: 50%; background: #FFFFFF; box-shadow: inset 0 0 0 10px rgba(99,102,241,0.06); }
#daycare-summary .cycle-center { position: absolute; inset: var(--centerInset); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--centerGap); text-align: center; border-radius: 50%; z-index: 1; }
#daycare-summary .cycle-center .cycle-title, #daycare-summary .cycle-center .cycle-sub { transition: opacity 0.22s ease, transform 0.22s ease; will-change: opacity, transform; }
#daycare-summary .cycle-center.updating .cycle-title, #daycare-summary .cycle-center.updating .cycle-sub { opacity: 0; transform: translateY(4px); }
#daycare-summary .cycle-title { font-size: clamp(1.25rem, calc(var(--ringSize) * 0.065), 2rem); font-weight: 800; color: #1E293B; line-height: 1.03; }
#daycare-summary .cycle-sub { color: #64748B; margin-top: 0; font-size: clamp(0.9rem, calc(var(--ringSize) * 0.032), 1.25rem); line-height: 1.2; }
#daycare-summary .cycle-point { --angle: 0deg; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(var(--angle)) translateX(var(--ringCenterRadius)) rotate(calc(-1 * var(--angle))); width: 260px; z-index: 2; cursor: pointer; }
#daycare-summary .cycle-point::before { content: ''; position: absolute; top: 50%; left: 50%; width: 120px; height: 80px; transform: translate(-50%, -50%) rotate(var(--angle)); border-radius: 50% / 60%; background: radial-gradient(closest-side, rgba(15,23,42,0.12), rgba(15,23,42,0)); z-index: 1; pointer-events: none; }
#daycare-summary .cycle-point::after { content: ''; position: absolute; top: 50%; left: 50%; width: 120px; height: 80px; transform: translate(-50%, -50%) rotate(var(--angle)); border-radius: 50% / 60%; background: radial-gradient(closest-side, var(--tint, rgba(2,132,199,0.10)), rgba(2,132,199,0)); z-index: 1; pointer-events: none; mix-blend-mode: multiply; }
#daycare-summary .point-badge { position: absolute; top: 50%; left: 50%; width: 80px; height: 80px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; color: #FFFFFF; box-shadow: 0 8px 18px rgba(0,0,0,0.14), 0 6px 14px rgba(14,165,161,0.12); background: linear-gradient(calc(var(--angle) + 45deg), #2CD3C8 0%, #0EA5A1 100%); border: 0; transform: translate(-50%, -50%); z-index: 3; font-size: 1.15rem; transition: transform 0.2s ease, box-shadow 0.2s ease; }
#daycare-summary .point-1 .point-badge,
#daycare-summary .point-3 .point-badge,
#daycare-summary .point-5 .point-badge { background: linear-gradient(calc(var(--angle) + 45deg), #FDE047 0%, #F59E0B 100%); }
#daycare-summary .point-2 .point-badge,
#daycare-summary .point-4 .point-badge { background: linear-gradient(calc(var(--angle) + 45deg), #FDBA74 0%, #F97316 100%); }
#daycare-summary .point-1, #daycare-summary .point-3, #daycare-summary .point-5 { --tint: rgba(245,158,11,0.12); }
#daycare-summary .point-2, #daycare-summary .point-4 { --tint: rgba(249,115,22,0.10); }
#daycare-summary .point-content { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(var(--angle)) translateX(var(--labelOffset)) rotate(calc(-1 * var(--angle))); width: 220px; }
#daycare-summary .point-content { z-index: 4; }
#daycare-summary .point-title { font-weight: 800; color: #0F172A; font-size: 1.05rem; text-wrap: balance; line-height: 1.1; }
#daycare-summary .point-desc { color: #334155; font-size: 0.95rem; margin-top: 6px; }
#daycare-summary .cycle-point.right { text-align: left; }
#daycare-summary .cycle-point.left { text-align: right; }
#daycare-summary .cycle-point.center { text-align: center; }
#daycare-summary .point-1 { --angle: 315deg; }
#daycare-summary .point-2 { --angle: 45deg; }
#daycare-summary .point-3 { --angle: 135deg; }
#daycare-summary .point-4 { --angle: 225deg; }
@media (max-width: 900px) {
  #daycare-summary .cycle-ring { max-width: 560px; }
}
@media (max-width: 768px) {
  #daycare-summary .learning-cycle { max-width: 100%; }
  #daycare-summary .learning-cycle { padding-inline: 12px; }
  #daycare-summary .cycle-ring { --ringSize: min(84vw, 340px); --ringCenterRadius: calc(var(--ringSize) * 0.43); --labelOffset: calc(var(--ringSize) * 0.24); --centerInset: 18%; --centerGap: clamp(0px, calc(var(--ringSize) * 0.004), 4px); }
  #daycare-summary .cycle-point { width: clamp(150px, calc(var(--ringSize) * 0.42), 208px); }
  #daycare-summary .point-content { width: clamp(calc(var(--ringSize) * 0.28), calc(var(--ringSize) * 0.32), calc(var(--ringSize) * 0.36)); }
  #daycare-summary .point-badge { width: 46px; height: 46px; font-size: 0.98rem; }
  #daycare-summary .cycle-title { font-size: clamp(1.05rem, calc(var(--ringSize) * 0.062), 1.5rem); line-height: 1.02; }
  #daycare-summary .cycle-sub { font-size: clamp(0.85rem, calc(var(--ringSize) * 0.030), 1.05rem); margin-top: 0; }
  #daycare-summary .point-title { font-size: clamp(0.86rem, 3.2vw, 0.96rem); white-space: normal; }
  #daycare-summary .point-desc { font-size: clamp(0.82rem, 3.2vw, 0.9rem); display: none; }
  #daycare-summary .extra-index { width: 30px; height: 30px; font-size: 0.9rem; }
  #daycare-summary .extra-badge { padding: 8px 12px; font-size: 0.95rem; }
  #daycare-summary .extra-desc { font-size: 0.82rem; line-height: 1.35; display: none; }
  #daycare-summary .cycle-extras { margin-top: clamp(34px, 8vw, 48px); }
}

@media (max-width: 480px) {
  #daycare-summary .learning-cycle { padding-inline: 12px; }
  #daycare-summary .cycle-ring { --ringSize: min(88vw, 300px); --ringCenterRadius: calc(var(--ringSize) * 0.44); --labelOffset: calc(var(--ringSize) * 0.24); --centerInset: 19%; --centerGap: clamp(0px, calc(var(--ringSize) * 0.003), 3px); }
  #daycare-summary .cycle-title { font-size: clamp(1rem, calc(var(--ringSize) * 0.060), 1.35rem); line-height: 1.02; }
  #daycare-summary .cycle-sub { font-size: clamp(0.8rem, calc(var(--ringSize) * 0.028), 0.98rem); margin-top: 0; }
  #daycare-summary .point-badge { width: 42px; height: 42px; font-size: 0.92rem; }
  #daycare-summary .point-title { font-size: clamp(0.84rem, 3.2vw, 0.94rem); white-space: normal; }
  #daycare-summary .point-desc { font-size: clamp(0.78rem, 3.1vw, 0.88rem); display: none; }
  #daycare-summary .point-content { width: clamp(calc(var(--ringSize) * 0.28), calc(var(--ringSize) * 0.30), calc(var(--ringSize) * 0.34)); }
  #daycare-summary .extra-index { width: 28px; height: 28px; font-size: 0.85rem; }
  #daycare-summary .extra-badge { padding: 7px 10px; font-size: 0.9rem; }
  #daycare-summary .extra-desc { font-size: 0.78rem; line-height: 1.3; display: none; }
  #daycare-summary .cycle-extras { margin-top: clamp(38px, 10vw, 54px); }
}
#daycare-summary .cycle-extras { margin: 28px auto 0; display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; }
#daycare-summary .extra-item { display: inline-flex; align-items: center; gap: 10px; }
#daycare-summary .cycle-extras .extra-item { cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease; }
#daycare-summary .cycle-extras .extra-item.active .extra-badge { box-shadow: 0 0 0 6px rgba(253,224,71,0.35), 0 12px 28px rgba(249,115,22,0.26); transform: translateY(-1px); }
#daycare-summary .extra-index { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; font-weight: 800; color: #0F172A; background: linear-gradient(135deg, #FDE047, #F59E0B); box-shadow: 0 6px 16px rgba(245,158,11,0.22); }
#daycare-summary .extra-badge { display: inline-flex; align-items: center; padding: 10px 14px; border-radius: 999px; font-weight: 800; color: #0F172A; background: linear-gradient(135deg, #FDE047, #F97316); box-shadow: 0 8px 20px rgba(249,115,22,0.18); }
#daycare-summary .extra-desc { color: #334155; font-weight: 600; }
#daycare-summary .cycle-point.active .point-badge { transform: translate(-50%, -50%) scale(1.12); box-shadow: 0 0 0 6px rgba(253,224,71,0.30), 0 16px 32px rgba(0,0,0,0.18), 0 12px 24px rgba(14,165,161,0.22); }
#daycare-summary .cycle-point.active::after { mix-blend-mode: screen; background: radial-gradient(closest-side, rgba(253,224,71,0.35), rgba(249,115,22,0.22), rgba(249,115,22,0)); }
#daycare-benefits .section-divider { bottom: -1px; }
#daycare-benefits .section-divider svg { height: calc(100% + 2px); }

.contact .section-divider { bottom: -1px; }
.contact .section-divider svg { height: calc(100% + 2px); }
#daycare-programs ~ #contact { margin-top: -3px; }
/* Floating label for form fields */
.form-group-floating{position:relative}
.form-group-floating .form-label{position:absolute;left:12px;top:12px;color:#6B7280;font-size:14px;line-height:1;pointer-events:none;transition:all .2s ease}
.form-group-floating input[type="text"],.form-group-floating input[type="date"],.form-group-floating select,.form-group-floating textarea{padding-top:22px}
.form-group-floating input:focus~.form-label,.form-group-floating input:valid~.form-label,.form-group-floating select:focus~.form-label,.form-group-floating select:valid~.form-label,.form-group-floating textarea:focus~.form-label,.form-group-floating textarea:not(:placeholder-shown)~.form-label{transform:translateY(-10px);font-size:12px;color:#F97316}
.form-group-floating input[type="date"]:valid~.form-label{opacity:0;visibility:hidden;transform:none}
.form-group input,.form-group select,.form-group textarea{background-color:#fff;color:#1F2937;border:1px solid #E5E7EB;border-radius:12px;appearance:none;-webkit-appearance:none;-moz-appearance:none}
.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:none;border-color:#60A5FA;box-shadow:0 0 0 3px rgba(96,165,250,.25)}
.form-group select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236B7280'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:18px 18px;padding-right:42px}
input[type=date]{appearance:none;-webkit-appearance:none;-moz-appearance:none;background-color:#fff;color:#1F2937;padding-right:42px}
input[type=date]::-webkit-calendar-picker-indicator{opacity:.9;cursor:pointer}