/* ============================================
   BUDS THE PRESCHOOL - Main Stylesheet
   Colors from logo: Green, Yellow, Orange, Magenta/Pink, Purple
   ============================================ */

:root {
    --green: #4CAF50;
    --green-dark: #388E3C;
    --yellow: #FFC107;
    --yellow-light: #FFF8E1;
    --orange: #FF9800;
    --orange-dark: #F57C00;
    --magenta: #E91E63;
    --purple: #9C27B0;
    --red: #F44336;

    --primary: #4CAF50;
    --secondary: #FF9800;
    --accent: #E91E63;

    --text-dark: #333333;
    --text-medium: #555555;
    --text-light: #777777;
    --white: #ffffff;
    --light-bg: #FFF9F0;
    --light-green-bg: #F1F8E9;
    --card-shadow: 0 4px 20px rgba(0,0,0,0.08);
    --card-shadow-hover: 0 8px 30px rgba(0,0,0,0.15);

    --font-primary: 'Nunito', sans-serif;
    --font-heading: 'Fredoka One', cursive;

    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
    --transition: all 0.3s ease;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

.section-padding {
    padding: 80px 0;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header .subtitle {
    display: inline-block;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--secondary);
    margin-bottom: 10px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 40px;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.2;
}

.section-header p {
    font-size: 17px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.section-header .highlight {
    color: var(--primary);
}

.section-header .highlight-orange {
    color: var(--secondary);
}

.section-header .highlight-pink {
    color: var(--accent);
}

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
    background: linear-gradient(135deg, var(--green-dark), var(--green));
    color: var(--white);
    font-size: 13px;
    padding: 8px 0;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left span {
    margin-right: 20px;
}

.top-bar-left i, .top-bar-right i {
    margin-right: 6px;
}

.top-bar-right a {
    color: var(--white);
    margin-left: 15px;
    font-size: 14px;
}

.top-bar-right a:hover {
    color: var(--yellow);
    transform: scale(1.2);
    display: inline-block;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    background: var(--white);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .logo img {
    height: 55px;
}

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

.nav-menu li a {
    padding: 10px 16px;
    font-weight: 700;
    font-size: 15px;
    color: var(--text-dark);
    border-radius: var(--radius-sm);
    position: relative;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: var(--primary);
    background: var(--light-green-bg);
}

.nav-menu li a.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.btn-enroll {
    background: linear-gradient(135deg, var(--magenta), var(--orange)) !important;
    color: var(--white) !important;
    padding: 10px 24px !important;
    border-radius: 50px !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 15px rgba(233,30,99,0.3);
}

.btn-enroll:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233,30,99,0.4) !important;
    background: linear-gradient(135deg, var(--orange), var(--magenta)) !important;
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--text-dark);
    margin: 5px 0;
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ============================================
   NOTICE TICKER
   ============================================ */
.notice-ticker {
    background: var(--yellow-light);
    border-bottom: 2px solid var(--yellow);
    padding: 8px 0;
    overflow: hidden;
}

.ticker-wrap {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ticker-label {
    background: var(--magenta);
    color: var(--white);
    padding: 4px 14px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
    flex-shrink: 0;
}

.ticker-content {
    overflow: hidden;
    flex: 1;
}

.ticker-scroll {
    display: flex;
    animation: ticker 20s linear infinite;
    white-space: nowrap;
}

.ticker-item {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    padding-right: 10px;
}

.urgent-badge {
    background: var(--red);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    margin-right: 6px;
}

.ticker-separator {
    margin: 0 15px;
    color: var(--orange);
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================
   HERO SLIDER
   ============================================ */
.hero-slider {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-bg {
    position: absolute;
    inset: 0;
}

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

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0,0,0,0.65) 0%,
        rgba(0,0,0,0.35) 50%,
        rgba(0,0,0,0.2) 100%
    );
}

.slide-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    z-index: 3;
    padding: 0 20px;
}

.slide-content .container {
    max-width: 750px;
}

.slide-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    color: white;
    padding: 8px 22px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    animation: fadeInUp 0.6s ease both;
    box-shadow: 0 4px 15px rgba(76,175,80,0.4);
}

.slide-content h1 {
    font-family: var(--font-heading);
    font-size: 48px;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--white);
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
    animation: fadeInUp 0.6s 0.15s ease both;
}

.slide-content p {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
    max-width: 550px;
    line-height: 1.8;
    animation: fadeInUp 0.6s 0.3s ease both;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s 0.45s ease both;
}

.btn-slider-secondary {
    background: rgba(255,255,255,0.15);
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.5);
    backdrop-filter: blur(10px);
}

.btn-slider-secondary:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-3px);
}

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

/* Slider Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-arrow:hover {
    background: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.slider-prev { left: 25px; }
.slider-next { right: 25px; }

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: 2px solid rgba(255,255,255,0.6);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(76,175,80,0.5);
}

/* Floating Stats Bar */
.hero-floating-stats {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    justify-content: center;
    gap: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    padding: 0;
    border-top: 3px solid var(--primary);
}

.float-stat {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    border-right: 1px solid #eee;
}

.float-stat:last-child {
    border-right: none;
}

.float-stat i {
    font-size: 24px;
    color: var(--primary);
}

.float-stat strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--text-dark);
    line-height: 1.2;
}

.float-stat span {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 600;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 15px;
    font-family: var(--font-primary);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(76,175,80,0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(76,175,80,0.4);
}

.btn-secondary {
    background: var(--white);
    color: var(--text-dark);
    border: 2px solid var(--green);
    box-shadow: var(--card-shadow);
}

.btn-secondary:hover {
    background: var(--light-green-bg);
    transform: translateY(-3px);
}

.btn-accent {
    background: linear-gradient(135deg, var(--magenta), var(--purple));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(233,30,99,0.3);
}

.btn-accent:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(233,30,99,0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-sm {
    padding: 10px 22px;
    font-size: 13px;
}

/* ============================================
   FEATURES / WHY CHOOSE US
   ============================================ */
.features {
    padding: 80px 0;
    background: var(--white);
}

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

.feature-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 35px 25px;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: var(--radius) var(--radius) 0 0;
}

.feature-card:nth-child(1)::before { background: var(--green); }
.feature-card:nth-child(2)::before { background: var(--yellow); }
.feature-card:nth-child(3)::before { background: var(--orange); }
.feature-card:nth-child(4)::before { background: var(--magenta); }
.feature-card:nth-child(5)::before { background: var(--purple); }
.feature-card:nth-child(6)::before { background: var(--green); }

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

.feature-card .icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
}

.feature-card:nth-child(1) .icon { background: #E8F5E9; color: var(--green); }
.feature-card:nth-child(2) .icon { background: #FFF8E1; color: var(--orange); }
.feature-card:nth-child(3) .icon { background: #FFF3E0; color: var(--orange-dark); }
.feature-card:nth-child(4) .icon { background: #FCE4EC; color: var(--magenta); }
.feature-card:nth-child(5) .icon { background: #F3E5F5; color: var(--purple); }
.feature-card:nth-child(6) .icon { background: #E8F5E9; color: var(--green); }

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.feature-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

/* Feature cards with images */
.feature-card.has-image {
    padding: 0;
    text-align: center;
    overflow: hidden;
}

.feature-card.has-image .feature-img {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.feature-card.has-image .feature-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.feature-card.has-image h3 {
    padding: 18px 20px 0;
}

.feature-card.has-image p {
    padding: 0 20px 22px;
}

/* ============================================
   PROGRAMS SECTION
   ============================================ */
.programs {
    padding: 80px 0;
    background: var(--light-bg);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
}

.program-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    text-align: center;
}

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

.program-card .program-icon {
    padding: 35px 20px 20px;
    font-size: 50px;
}

.program-card .program-icon.svg-icon {
    padding: 20px 15px 10px;
}

.program-card .program-icon.svg-icon svg {
    width: 100%;
    max-width: 110px;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.08));
    transition: transform 0.4s ease;
}

.program-card:hover .program-icon.svg-icon svg {
    transform: scale(1.08);
}

.program-card:nth-child(1) .program-icon { background: linear-gradient(135deg, #E8F5E9, #C8E6C9); }
.program-card:nth-child(2) .program-icon { background: linear-gradient(135deg, #FFF8E1, #FFECB3); }
.program-card:nth-child(3) .program-icon { background: linear-gradient(135deg, #FFF3E0, #FFE0B2); }
.program-card:nth-child(4) .program-icon { background: linear-gradient(135deg, #FCE4EC, #F8BBD0); }
.program-card:nth-child(5) .program-icon { background: linear-gradient(135deg, #F3E5F5, #E1BEE7); }

.program-card .program-info {
    padding: 20px;
}

.program-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.program-card .age {
    display: inline-block;
    background: var(--light-green-bg);
    color: var(--green);
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 10px;
}

.program-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ============================================
   ABOUT PREVIEW / CTA SECTION
   ============================================ */
.about-preview {
    padding: 80px 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    width: 100%;
}

.about-image .experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: linear-gradient(135deg, var(--orange), var(--magenta));
    color: white;
    padding: 20px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: 0 8px 25px rgba(255,152,0,0.3);
}

.about-image .experience-badge .number {
    font-family: var(--font-heading);
    font-size: 36px;
    display: block;
}

.about-image .experience-badge span {
    font-size: 13px;
    font-weight: 700;
}

.about-content h2 {
    font-family: var(--font-heading);
    font-size: 36px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-content p {
    color: var(--text-medium);
    margin-bottom: 15px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 25px 0;
}

.about-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 14px;
}

.about-feature-item i {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

.about-feature-item:nth-child(odd) i {
    background: #E8F5E9;
    color: var(--green);
}

.about-feature-item:nth-child(even) i {
    background: #FFF3E0;
    color: var(--orange);
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
    background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 50%, #2E7D32 100%);
    padding: 70px 0;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
}

.cta-banner::after {
    content: '';
    position: absolute;
    bottom: -120px;
    right: -60px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
}

.cta-banner .container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.cta-banner .cta-text {
    text-align: left;
    flex: 1;
    min-width: 280px;
}

.cta-banner h2 {
    font-family: var(--font-heading);
    font-size: 36px;
    margin-bottom: 10px;
}

.cta-banner p {
    font-size: 17px;
    opacity: 0.9;
    margin-bottom: 0;
}

.cta-banner .cta-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-shrink: 0;
}

/* Decorative dots pattern */
.cta-banner .cta-dots {
    position: absolute;
    top: 20px;
    right: 15%;
    display: grid;
    grid-template-columns: repeat(5, 8px);
    gap: 10px;
    opacity: 0.15;
}

.cta-banner .cta-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}

/* ============================================
   EVENTS SECTION
   ============================================ */
.events-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
}

.event-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

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

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

.event-card .event-date-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--magenta);
    color: white;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    text-align: center;
    line-height: 1.2;
}

.event-date-badge .day {
    font-family: var(--font-heading);
    font-size: 22px;
    display: block;
}

.event-date-badge .month {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.event-card .event-info {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.event-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.event-card .event-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 12px;
}

.event-card .event-meta i {
    color: var(--secondary);
    margin-right: 4px;
}

.event-card p {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.6;
    flex: 1;
}

.event-placeholder {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
}

.event-card:nth-child(1) .event-placeholder { background: linear-gradient(135deg, #E8F5E9, #C8E6C9); }
.event-card:nth-child(2) .event-placeholder { background: linear-gradient(135deg, #FFF8E1, #FFECB3); }
.event-card:nth-child(3) .event-placeholder { background: linear-gradient(135deg, #FCE4EC, #F8BBD0); }

/* ============================================
   GALLERY PREVIEW (Homepage)
   ============================================ */
.gallery-preview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.gallery-preview-large .gallery-item {
    aspect-ratio: auto;
    height: 100%;
    min-height: 400px;
    border-radius: var(--radius-lg);
}

.gallery-preview-small {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
}

.gallery-preview-small .gallery-item:first-child {
    grid-column: 1 / -1;
    aspect-ratio: 2/1;
}

.gallery-preview-small .gallery-item {
    aspect-ratio: auto;
    border-radius: var(--radius);
    min-height: 0;
}

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

    .gallery-preview-large .gallery-item {
        min-height: 250px;
    }

    .gallery-preview-small {
        grid-template-columns: 1fr;
    }

    .gallery-preview-small .gallery-item:first-child {
        grid-column: auto;
    }
}

/* ============================================
   GALLERY SECTION (Full Page)
   ============================================ */
.gallery-section {
    padding: 80px 0;
    background: var(--white);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.gallery-filters .filter-btn {
    padding: 8px 22px;
    border: 2px solid #E0E0E0;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    background: var(--white);
    transition: var(--transition);
    font-family: var(--font-primary);
    color: var(--text-medium);
}

.gallery-filters .filter-btn:hover,
.gallery-filters .filter-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

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

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    aspect-ratio: 4/3;
    box-shadow: var(--card-shadow);
}

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

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

.gallery-item .gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

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

.gallery-overlay h4 {
    color: white;
    font-family: var(--font-heading);
    font-size: 16px;
}

.gallery-overlay p {
    color: rgba(255,255,255,0.8);
    font-size: 13px;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 85vh;
    border-radius: var(--radius);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.lightbox .close-lightbox {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 36px;
    cursor: pointer;
    background: none;
    border: none;
    font-weight: bold;
}

.lightbox-caption {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
}

.lightbox-caption h4 {
    font-family: var(--font-heading);
    font-size: 18px;
}

/* ============================================
   NOTICES HOME SECTION (Homepage)
   ============================================ */
.notices-home-section {
    background: linear-gradient(135deg, #F1F8E9 0%, #FFF8E1 100%);
}

.notices-home-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: start;
}

.notices-home-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.notice-home-card {
    display: flex;
    align-items: center;
    gap: 18px;
    background: var(--white);
    padding: 18px 22px;
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border-left: 4px solid var(--primary);
}

.notice-home-card:hover {
    transform: translateX(5px);
    box-shadow: var(--card-shadow-hover);
}

.notice-home-card.urgent {
    border-left-color: var(--red);
    background: #FFF5F5;
}

.notice-home-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 55px;
    height: 55px;
    background: var(--light-green-bg);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.notice-home-card.urgent .notice-home-date {
    background: #FFEBEE;
}

.notice-day {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--primary);
    line-height: 1;
}

.notice-home-card.urgent .notice-day {
    color: var(--red);
}

.notice-month {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-light);
}

.notice-home-info {
    flex: 1;
    min-width: 0;
}

.notice-home-info h4 {
    font-size: 15px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.notice-home-info p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.5;
}

.notice-home-attach {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--light-green-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
    transition: var(--transition);
}

.notice-home-attach:hover {
    background: var(--primary);
    color: white;
}

/* Quick Contact Card */
.quick-contact-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.qc-header {
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    padding: 25px 30px;
    color: white;
}

.qc-header h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    margin-bottom: 5px;
}

.qc-header h3 i {
    margin-right: 8px;
}

.qc-header p {
    font-size: 14px;
    opacity: 0.85;
}

.qc-form {
    padding: 25px 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.qc-form input,
.qc-form select,
.qc-form textarea {
    width: 100%;
    padding: 11px 16px;
    border: 2px solid #E8E8E8;
    border-radius: var(--radius-sm);
    font-family: var(--font-primary);
    font-size: 14px;
    transition: var(--transition);
    background: #FAFAFA;
}

.qc-form input:focus,
.qc-form select:focus,
.qc-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(76,175,80,0.1);
}

.qc-phone {
    padding: 15px 30px 25px;
    text-align: center;
    border-top: 1px solid #eee;
}

.qc-phone span {
    font-size: 12px;
    color: var(--text-light);
    display: block;
    margin-bottom: 5px;
}

.qc-phone a {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--primary);
}

.qc-phone a:hover {
    color: var(--green-dark);
}

/* ============================================
   NOTICES SECTION (Full Page)
   ============================================ */
.notices-section {
    padding: 80px 0;
}

.notices-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.notice-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 25px 30px;
    box-shadow: var(--card-shadow);
    border-left: 5px solid var(--primary);
    transition: var(--transition);
    position: relative;
}

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

.notice-card.urgent {
    border-left-color: var(--red);
    background: #FFF5F5;
}

.notice-card .notice-date {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.notice-card .notice-date i {
    color: var(--secondary);
}

.notice-card h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.notice-card p {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.7;
}

.notice-card .notice-attachment {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    color: var(--primary);
    font-weight: 700;
    font-size: 13px;
}

.notice-card .notice-attachment:hover {
    color: var(--green-dark);
}

.notice-urgent-badge {
    display: inline-block;
    background: var(--red);
    color: white;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    margin-left: 8px;
    vertical-align: middle;
}

/* ============================================
   PAGE BANNER
   ============================================ */
.page-banner {
    background: linear-gradient(135deg, #E8F5E9 0%, #FFF8E1 50%, #FFF3E0 100%);
    padding: 50px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(76,175,80,0.1), transparent);
    border-radius: 50%;
    top: -50px;
    right: -50px;
}

.page-banner h1 {
    font-family: var(--font-heading);
    font-size: 42px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.page-banner .breadcrumb {
    font-size: 14px;
    color: var(--text-light);
}

.page-banner .breadcrumb a {
    color: var(--primary);
    font-weight: 700;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-full {
    padding: 80px 0;
}

.about-full .about-content-block {
    max-width: 900px;
    margin: 0 auto 50px;
}

.about-full h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.about-full p {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 16px;
}

.curriculum-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.curriculum-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--card-shadow);
    text-align: center;
    transition: var(--transition);
}

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

.curriculum-card .cur-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.curriculum-card h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    margin-bottom: 10px;
}

.curriculum-card p {
    font-size: 14px;
    color: var(--text-light);
}

/* ============================================
   PROGRAMS PAGE
   ============================================ */
.programs-full {
    padding: 80px 0;
}

.program-detail {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 30px;
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--card-shadow);
    margin-bottom: 30px;
    align-items: start;
    transition: var(--transition);
}

.program-detail:hover {
    box-shadow: var(--card-shadow-hover);
}

.program-detail .prog-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 45px;
}

.program-detail:nth-child(1) .prog-icon { background: linear-gradient(135deg, #E8F5E9, #C8E6C9); }
.program-detail:nth-child(2) .prog-icon { background: linear-gradient(135deg, #FFF8E1, #FFECB3); }
.program-detail:nth-child(3) .prog-icon { background: linear-gradient(135deg, #FFF3E0, #FFE0B2); }
.program-detail:nth-child(4) .prog-icon { background: linear-gradient(135deg, #FCE4EC, #F8BBD0); }
.program-detail:nth-child(5) .prog-icon { background: linear-gradient(135deg, #F3E5F5, #E1BEE7); }

.program-detail h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    margin-bottom: 5px;
}

.program-detail .age-group {
    display: inline-block;
    background: var(--light-green-bg);
    color: var(--green);
    padding: 3px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
}

.program-detail p {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 12px;
}

.program-detail ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.program-detail ul li {
    font-size: 14px;
    color: var(--text-medium);
    display: flex;
    align-items: center;
    gap: 8px;
}

.program-detail ul li i {
    color: var(--green);
    font-size: 12px;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info-cards {
    display: grid;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-info-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
}

.contact-info-card .info-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-info-card:nth-child(1) .info-icon { background: #E8F5E9; color: var(--green); }
.contact-info-card:nth-child(2) .info-icon { background: #FFF3E0; color: var(--orange); }
.contact-info-card:nth-child(3) .info-icon { background: #FCE4EC; color: var(--magenta); }
.contact-info-card:nth-child(4) .info-icon { background: #F3E5F5; color: var(--purple); }

.contact-info-card h4 {
    font-size: 16px;
    margin-bottom: 4px;
    font-weight: 800;
}

.contact-info-card p {
    font-size: 14px;
    color: var(--text-light);
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
}

.contact-form h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    margin-bottom: 25px;
    color: var(--text-dark);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #E0E0E0;
    border-radius: var(--radius-sm);
    font-family: var(--font-primary);
    font-size: 14px;
    transition: var(--transition);
    background: #FAFAFA;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(76,175,80,0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

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

.form-submit {
    text-align: center;
    margin-top: 10px;
}

/* ============================================
   ADMISSION PAGE
   ============================================ */
.admission-section {
    padding: 80px 0;
}

.admission-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.admission-intro p {
    font-size: 17px;
    color: var(--text-medium);
    line-height: 1.8;
}

.admission-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

.step-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    position: relative;
}

.step-card .step-number {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--white);
    margin: 0 auto 15px;
}

.step-card:nth-child(1) .step-number { background: var(--green); }
.step-card:nth-child(2) .step-number { background: var(--orange); }
.step-card:nth-child(3) .step-number { background: var(--magenta); }
.step-card:nth-child(4) .step-number { background: var(--purple); }

.step-card h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    margin-bottom: 8px;
}

.step-card p {
    font-size: 14px;
    color: var(--text-light);
}

.admission-form-wrap {
    max-width: 700px;
    margin: 0 auto;
}

/* ============================================
   ALERT / MESSAGE
   ============================================ */
.alert {
    padding: 15px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 14px;
}

.alert-success {
    background: #E8F5E9;
    color: var(--green-dark);
    border: 1px solid #C8E6C9;
}

.alert-error {
    background: #FFEBEE;
    color: #C62828;
    border: 1px solid #FFCDD2;
}

/* ============================================
   EMPTY STATE
   ============================================ */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
}

.empty-state i {
    font-size: 60px;
    margin-bottom: 20px;
    opacity: 0.3;
}

.empty-state h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--text-medium);
}

.empty-state p {
    font-size: 15px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer-wave {
    margin-top: -2px;
    line-height: 0;
}

.footer-wave svg {
    width: 100%;
    height: 80px;
}

.footer-main {
    background: #2d2d2d;
    padding: 50px 0 30px;
    color: #ccc;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 40px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 15px;
    filter: brightness(0) invert(1);
}

.footer-about p {
    font-size: 14px;
    line-height: 1.7;
}

.footer-desc {
    margin-top: 10px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 15px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.footer-col h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    color: white;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

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

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #aaa;
    font-size: 14px;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.contact-list li {
    display: flex;
    gap: 10px;
    font-size: 14px;
    color: #aaa;
    align-items: flex-start;
}

.contact-list li i {
    color: var(--primary);
    margin-top: 4px;
    flex-shrink: 0;
}

.footer-bottom {
    background: #222;
    padding: 18px 0;
    text-align: center;
    font-size: 13px;
    color: #888;
}

/* ============================================
   ADMIN PANEL STYLES - Revamped
   ============================================ */

/* Admin Login Page */
.admin-login {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    position: relative;
    overflow: hidden;
}

.admin-login::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(76,175,80,0.15), transparent);
    top: -150px;
    right: -100px;
}

.admin-login::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(233,30,99,0.1), transparent);
    bottom: -100px;
    left: -100px;
}

.admin-login-card {
    background: rgba(255,255,255,0.97);
    padding: 50px 40px;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 80px rgba(0,0,0,0.3);
    width: 100%;
    max-width: 420px;
    text-align: center;
    position: relative;
    z-index: 1;
    border-top: 4px solid var(--primary);
}

.admin-login-card img {
    height: 55px;
    margin-bottom: 10px;
}

.admin-login-card h2 {
    font-family: var(--font-heading);
    font-size: 24px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.admin-login-card .login-subtitle {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 30px;
}

/* Sidebar */
.admin-sidebar {
    width: 270px;
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    min-height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 20px rgba(0,0,0,0.1);
}

.admin-sidebar .sidebar-header {
    padding: 25px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    background: rgba(0,0,0,0.15);
}

.admin-sidebar .sidebar-header img {
    height: 42px;
    filter: brightness(0) invert(1);
}

.admin-sidebar .sidebar-header p {
    color: rgba(255,255,255,0.4);
    font-size: 11px;
    margin-top: 8px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.admin-sidebar .sidebar-menu {
    padding: 15px 0;
    flex: 1;
}

.sidebar-menu .menu-label {
    padding: 15px 25px 8px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.3);
    font-weight: 700;
}

.admin-sidebar .sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 25px;
    color: rgba(255,255,255,0.55);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    border-left: 3px solid transparent;
    margin: 2px 0;
}

.admin-sidebar .sidebar-menu a:hover {
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.9);
    border-left-color: rgba(76,175,80,0.5);
}

.admin-sidebar .sidebar-menu a.active {
    background: rgba(76,175,80,0.12);
    color: white;
    border-left-color: var(--primary);
}

.admin-sidebar .sidebar-menu a.active i {
    color: var(--primary);
}

.admin-sidebar .sidebar-menu a i {
    width: 20px;
    text-align: center;
    font-size: 16px;
}

.sidebar-menu .menu-logout {
    border-top: 1px solid rgba(255,255,255,0.06);
    margin-top: 10px;
    padding-top: 10px;
}

.sidebar-menu .menu-logout a {
    color: rgba(244,67,54,0.7) !important;
}

.sidebar-menu .menu-logout a:hover {
    color: #F44336 !important;
    background: rgba(244,67,54,0.08);
    border-left-color: rgba(244,67,54,0.5);
}

/* Main Content Area */
.admin-content {
    margin-left: 270px;
    padding: 0;
    min-height: 100vh;
    background: #F0F2F5;
}

.admin-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 18px 30px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 50;
    margin-bottom: 0;
    border-radius: 0;
}

.admin-topbar h1 {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--text-dark);
}

.admin-topbar .topbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.admin-topbar .topbar-date {
    font-size: 13px;
    color: var(--text-light);
}

.admin-topbar .topbar-date i {
    color: var(--primary);
    margin-right: 5px;
}

.admin-topbar .admin-avatar {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #F5F5F5;
    padding: 8px 15px;
    border-radius: 50px;
}

.admin-topbar .admin-avatar .avatar-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--green-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 14px;
}

.admin-topbar .admin-avatar span {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark);
}

/* Admin Page Content */
.admin-page-content {
    padding: 30px;
}

/* Stat Cards - Revamped */
.admin-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    border-radius: var(--radius);
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

.stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    border-radius: 0 0 0 100%;
    opacity: 0.06;
}

.stat-card:nth-child(1)::after { background: var(--green); }
.stat-card:nth-child(2)::after { background: var(--orange); }
.stat-card:nth-child(3)::after { background: var(--magenta); }
.stat-card:nth-child(4)::after { background: var(--purple); }

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.stat-card .stat-icon {
    width: 55px;
    height: 55px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.stat-card:nth-child(1) .stat-icon { background: linear-gradient(135deg, #E8F5E9, #C8E6C9); color: var(--green); }
.stat-card:nth-child(2) .stat-icon { background: linear-gradient(135deg, #FFF3E0, #FFE0B2); color: var(--orange); }
.stat-card:nth-child(3) .stat-icon { background: linear-gradient(135deg, #FCE4EC, #F8BBD0); color: var(--magenta); }
.stat-card:nth-child(4) .stat-icon { background: linear-gradient(135deg, #F3E5F5, #E1BEE7); color: var(--purple); }

.stat-card .stat-info h3 {
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--text-dark);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-card .stat-info p {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 600;
}

/* Admin Card */
.admin-card {
    background: white;
    border-radius: var(--radius);
    padding: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    margin-bottom: 24px;
    border: 1px solid #f0f0f0;
    overflow: hidden;
}

.admin-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #f0f0f0;
}

.admin-card h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--text-dark);
    margin: 0;
    padding: 20px 25px;
}

.admin-card-header h3 {
    padding: 0;
    margin: 0;
}

.admin-card-body {
    padding: 20px 25px;
}

/* Table */
.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 14px 20px;
    text-align: left;
    border-bottom: 1px solid #f5f5f5;
    font-size: 14px;
}

.admin-table th {
    background: #FAFBFC;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-light);
    border-bottom: 2px solid #eee;
}

.admin-table tr {
    transition: var(--transition);
}

.admin-table tr:hover {
    background: #FAFBFC;
}

.admin-table tr:last-child td {
    border-bottom: none;
}

.admin-table img {
    width: 60px;
    height: 45px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #f0f0f0;
}

/* Badges */
.badge-active {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    background: #E8F5E9;
    color: var(--green);
}

.badge-active::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
}

.badge-inactive {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    background: #FFEBEE;
    color: var(--red);
}

.badge-inactive::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--red);
}

/* Action Buttons */
.action-btns {
    display: flex;
    gap: 6px;
}

.action-btns a,
.action-btns button {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-edit {
    background: #FFF3E0;
    color: var(--orange);
}

.btn-edit:hover {
    background: var(--orange);
    color: white;
    transform: scale(1.1);
}

.btn-delete {
    background: #FFEBEE;
    color: var(--red);
}

.btn-delete:hover {
    background: var(--red);
    color: white;
    transform: scale(1.1);
}

/* Modal */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: white;
    border-radius: var(--radius-lg);
    padding: 0;
    width: 100%;
    max-width: 580px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 25px 80px rgba(0,0,0,0.25);
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.95) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid #f0f0f0;
    background: #FAFBFC;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.modal h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    margin: 0;
    padding: 25px 30px 0;
}

.modal-body {
    padding: 25px 30px;
}

.modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f0f0f0;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    float: right;
    margin: 20px 20px 0 0;
}

.modal-close:hover {
    background: var(--red);
    color: white;
}

/* Quick Actions Grid */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.quick-action-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 15px;
    background: white;
    border-radius: var(--radius);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border: 1px solid #f0f0f0;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 13px;
}

.quick-action-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border-color: var(--primary);
}

.quick-action-card i {
    font-size: 24px;
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quick-action-card:nth-child(1) i { background: #E8F5E9; color: var(--green); }
.quick-action-card:nth-child(2) i { background: #FFF3E0; color: var(--orange); }
.quick-action-card:nth-child(3) i { background: #FCE4EC; color: var(--magenta); }
.quick-action-card:nth-child(4) i { background: #F3E5F5; color: var(--purple); }
.quick-action-card:nth-child(5) i { background: #E3F2FD; color: #1976D2; }
.quick-action-card:nth-child(6) i { background: #FFF8E1; color: var(--orange-dark); }

/* Admin Dashboard Grid */
.admin-dashboard-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 24px;
}

/* Activity Timeline */
.activity-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.activity-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f5f5f5;
    position: relative;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-item .activity-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 14px;
}

.activity-item .activity-text {
    flex: 1;
}

.activity-item .activity-text strong {
    font-size: 14px;
    color: var(--text-dark);
}

.activity-item .activity-text p {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 2px;
}

.activity-item .activity-time {
    font-size: 11px;
    color: var(--text-light);
    white-space: nowrap;
    margin-top: 2px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
/* ============================================
   RESPONSIVE - TABLET (max-width: 992px)
   ============================================ */
@media (max-width: 992px) {
    .container {
        padding: 0 20px;
    }

    .section-padding {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 35px;
    }

    .section-header h2 {
        font-size: 34px;
    }

    /* Hero */
    .hero-slider {
        height: 480px;
    }

    .slide-content h1 {
        font-size: 34px;
    }

    .slide-content p {
        font-size: 16px;
        max-width: 450px;
    }

    .hero-floating-stats {
        display: none;
    }

    /* Notices */
    .notices-home-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Features */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* Programs */
    .programs-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .programs {
        padding: 60px 0;
    }

    /* About */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-content h2 {
        font-size: 30px;
    }

    .about-image .experience-badge {
        bottom: -10px;
        right: 10px;
    }

    /* CTA */
    .cta-banner {
        padding: 50px 0;
    }

    .cta-banner .container {
        flex-direction: column;
        text-align: center;
    }

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

    .cta-banner h2 {
        font-size: 30px;
    }

    /* Events */
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

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

    /* Programs Page */
    .program-detail {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 30px;
    }

    .program-detail .prog-icon {
        margin: 0 auto;
    }

    .program-detail ul {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    /* Admin */
    .admin-dashboard-grid {
        grid-template-columns: 1fr;
    }

    .quick-actions {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-stats {
        grid-template-columns: 1fr 1fr;
    }
}

/* ============================================
   RESPONSIVE - MOBILE (max-width: 768px)
   ============================================ */
@media (max-width: 768px) {

    /* --- Top Bar --- */
    .top-bar {
        padding: 6px 0;
        font-size: 12px;
    }

    .top-bar-left span:last-child {
        display: none;
    }

    .top-bar-right a {
        margin-left: 10px;
        font-size: 13px;
    }

    /* --- Navbar --- */
    .navbar {
        padding: 8px 0;
    }

    .navbar .logo img {
        height: 42px;
    }

    .nav-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 10px 20px 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.12);
        gap: 0;
        z-index: 999;
        max-height: 80vh;
        overflow-y: auto;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li a {
        display: block;
        padding: 12px 15px;
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
        border-radius: 0;
    }

    .nav-menu li:last-child a {
        border-bottom: none;
        margin-top: 8px;
        text-align: center;
    }

    .nav-menu li a.active::after {
        display: none;
    }

    /* --- Notice Ticker --- */
    .ticker-wrap {
        gap: 10px;
    }

    .ticker-label {
        font-size: 11px;
        padding: 3px 10px;
    }

    .ticker-item {
        font-size: 13px;
    }

    /* --- Hero Slider --- */
    .hero-slider {
        height: 420px;
    }

    .slide-content {
        padding: 0 10px;
    }

    .slide-content .container {
        max-width: 100%;
    }

    .slide-badge {
        font-size: 11px;
        padding: 6px 16px;
        margin-bottom: 14px;
        letter-spacing: 1px;
    }

    .slide-content h1 {
        font-size: 26px;
        margin-bottom: 14px;
        line-height: 1.2;
    }

    .slide-content p {
        font-size: 14px;
        margin-bottom: 20px;
        max-width: 100%;
        line-height: 1.6;
    }

    .hero-buttons {
        gap: 10px;
    }

    .hero-buttons .btn {
        padding: 11px 22px;
        font-size: 13px;
    }

    .slider-arrow {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }

    .slider-prev { left: 8px; }
    .slider-next { right: 8px; }

    .slider-dots {
        bottom: 18px;
        gap: 8px;
    }

    .slider-dot {
        width: 10px;
        height: 10px;
    }

    /* --- Section Headers --- */
    .section-header h2 {
        font-size: 28px;
    }

    .section-header p {
        font-size: 15px;
    }

    .section-header .subtitle {
        font-size: 12px;
        letter-spacing: 2px;
    }

    /* --- Features / Why Parents Love Buds --- */
    .features {
        padding: 50px 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .feature-card {
        padding: 25px 20px;
    }

    .feature-card .icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
        margin-bottom: 15px;
    }

    .feature-card h3 {
        font-size: 18px;
    }

    .feature-card.has-image .feature-img {
        height: 160px;
    }

    /* --- Programs --- */
    .programs {
        padding: 50px 0;
    }

    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .program-card .program-icon {
        padding: 25px 15px 15px;
        font-size: 40px;
    }

    .program-card .program-icon.svg-icon {
        padding: 15px 10px 8px;
    }

    .program-card .program-icon.svg-icon svg {
        max-width: 85px;
    }

    .program-card .program-info {
        padding: 14px;
    }

    .program-card h3 {
        font-size: 16px;
        margin-bottom: 5px;
    }

    .program-card .age {
        font-size: 11px;
        padding: 2px 10px;
        margin-bottom: 6px;
    }

    .program-card p {
        font-size: 12px;
        line-height: 1.5;
    }

    /* --- About Preview --- */
    .about-preview {
        padding: 50px 0;
    }

    .about-content h2 {
        font-size: 26px;
    }

    .about-content p {
        font-size: 15px;
    }

    .about-features {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .about-feature-item {
        font-size: 13px;
    }

    .about-image .experience-badge {
        position: relative;
        bottom: auto;
        right: auto;
        display: inline-block;
        margin-top: 15px;
    }

    .about-image .experience-badge .number {
        font-size: 28px;
    }

    /* --- Notices Home --- */
    .notices-home-section {
        padding: 50px 0;
    }

    .notices-home-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .notice-home-card {
        padding: 14px 16px;
        gap: 14px;
    }

    .notice-home-date {
        min-width: 48px;
        height: 48px;
    }

    .notice-day {
        font-size: 18px;
    }

    .notice-month {
        font-size: 10px;
    }

    .notice-home-info h4 {
        font-size: 14px;
    }

    .notice-home-info p {
        font-size: 12px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* Quick Contact */
    .qc-header {
        padding: 20px;
    }

    .qc-header h3 {
        font-size: 20px;
    }

    .qc-form {
        padding: 20px;
    }

    /* --- CTA Banner --- */
    .cta-banner {
        padding: 40px 0;
    }

    .cta-banner h2 {
        font-size: 26px;
    }

    .cta-banner p {
        font-size: 15px;
    }

    .cta-banner .cta-actions {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .cta-banner .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }

    /* --- Events --- */
    .events-section {
        padding: 50px 0;
    }

    .events-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .event-card .event-image {
        height: 180px;
    }

    .event-card .event-info {
        padding: 18px;
    }

    .event-card h3 {
        font-size: 18px;
    }

    .event-placeholder {
        height: 160px;
        font-size: 50px;
    }

    /* --- Gallery --- */
    .gallery-preview-grid {
        grid-template-columns: 1fr;
    }

    .gallery-preview-large .gallery-item {
        min-height: 220px;
    }

    .gallery-preview-small {
        grid-template-columns: 1fr;
    }

    .gallery-preview-small .gallery-item:first-child {
        grid-column: auto;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .gallery-item {
        aspect-ratio: 1/1;
    }

    .gallery-filters {
        gap: 6px;
        margin-bottom: 25px;
    }

    .gallery-filters .filter-btn {
        padding: 6px 16px;
        font-size: 12px;
    }

    /* --- Notices Page --- */
    .notices-section {
        padding: 50px 0;
    }

    .notice-card {
        padding: 18px 20px;
    }

    .notice-card h3 {
        font-size: 16px;
    }

    /* --- Page Banner --- */
    .page-banner {
        padding: 35px 0;
    }

    .page-banner h1 {
        font-size: 30px;
    }

    .page-banner .breadcrumb {
        font-size: 13px;
    }

    /* --- About Page --- */
    .about-full {
        padding: 50px 0;
    }

    .about-full h2 {
        font-size: 26px;
    }

    .curriculum-highlights {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .curriculum-card {
        padding: 22px;
    }

    /* --- Programs Page --- */
    .programs-full {
        padding: 50px 0;
    }

    .program-detail {
        padding: 24px 20px;
        gap: 20px;
    }

    .program-detail .prog-icon {
        width: 80px;
        height: 80px;
        font-size: 36px;
    }

    .program-detail h3 {
        font-size: 20px;
    }

    /* --- Contact Page --- */
    .contact-section {
        padding: 50px 0;
    }

    .contact-form {
        padding: 25px 20px;
    }

    .contact-form h3 {
        font-size: 20px;
    }

    .contact-info-card {
        padding: 18px;
        gap: 14px;
    }

    .contact-info-card .info-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    /* --- Admission Page --- */
    .admission-section {
        padding: 50px 0;
    }

    .admission-intro {
        margin-bottom: 30px;
    }

    .admission-intro p {
        font-size: 15px;
    }

    .admission-steps {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        margin-bottom: 40px;
    }

    .step-card {
        padding: 22px 16px;
    }

    .step-card h4 {
        font-size: 16px;
    }

    /* --- Footer --- */
    .footer-main {
        padding: 40px 0 25px;
    }

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

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

    .footer-logo {
        margin: 0 auto 15px;
        display: block;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-col h3 {
        font-size: 16px;
        margin-bottom: 14px;
    }

    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

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

    .contact-list li {
        justify-content: center;
        text-align: left;
    }

    .footer-col ul li a {
        font-size: 13px;
    }

    .footer-bottom {
        font-size: 12px;
        padding: 14px 0;
    }

    .footer-wave svg {
        height: 50px;
    }

    /* --- Admin --- */
    .admin-sidebar {
        display: none;
    }

    .admin-content {
        margin-left: 0;
    }

    .admin-stats {
        grid-template-columns: 1fr;
    }

    .admin-login-card {
        margin: 20px;
        padding: 35px 25px;
    }

    /* Lightbox */
    .lightbox {
        padding: 15px;
    }

    .lightbox img {
        max-width: 100%;
        max-height: 75vh;
    }

    .lightbox .close-lightbox {
        top: 10px;
        right: 15px;
        font-size: 28px;
    }

    .lightbox-caption {
        bottom: 15px;
    }

    .lightbox-caption h4 {
        font-size: 15px;
    }
}

/* ============================================
   RESPONSIVE - SMALL MOBILE (max-width: 480px)
   ============================================ */
@media (max-width: 480px) {

    .container {
        padding: 0 15px;
    }

    /* Hero */
    .hero-slider {
        height: 380px;
    }

    .slide-badge {
        font-size: 10px;
        padding: 5px 12px;
    }

    .slide-content h1 {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .slide-content p {
        font-size: 13px;
        margin-bottom: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 8px;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
        padding: 10px 18px;
        font-size: 13px;
    }

    .slider-arrow {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .slider-prev { left: 5px; }
    .slider-next { right: 5px; }

    .slider-dots {
        bottom: 12px;
    }

    .slider-dot {
        width: 8px;
        height: 8px;
    }

    /* Section headers */
    .section-header h2 {
        font-size: 24px;
    }

    .section-header p {
        font-size: 14px;
    }

    /* Programs */
    .programs-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .program-card {
        display: flex;
        flex-direction: row;
        text-align: left;
    }

    .program-card .program-icon {
        padding: 20px 15px;
        min-width: 100px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .program-card .program-icon.svg-icon {
        padding: 12px 10px;
        min-width: 100px;
    }

    .program-card .program-icon.svg-icon svg {
        max-width: 75px;
    }

    .program-card .program-info {
        padding: 16px 14px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .program-card h3 {
        font-size: 16px;
    }

    .program-card p {
        font-size: 13px;
    }

    /* Features */
    .feature-card {
        padding: 20px 16px;
    }

    .feature-card .icon {
        width: 55px;
        height: 55px;
        font-size: 22px;
    }

    .feature-card h3 {
        font-size: 16px;
    }

    .feature-card p {
        font-size: 13px;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-preview-large .gallery-item {
        min-height: 200px;
    }

    /* CTA */
    .cta-banner h2 {
        font-size: 22px;
    }

    .cta-banner p {
        font-size: 14px;
    }

    /* Events */
    .event-card .event-image {
        height: 150px;
    }

    .event-card .event-info {
        padding: 14px;
    }

    .event-card h3 {
        font-size: 16px;
    }

    .event-card .event-meta {
        font-size: 12px;
        flex-wrap: wrap;
        gap: 8px;
    }

    /* Notices */
    .notice-home-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .notice-home-date {
        flex-direction: row;
        min-width: auto;
        height: auto;
        padding: 6px 14px;
        gap: 6px;
    }

    .notice-day {
        font-size: 16px;
    }

    /* Admission */
    .admission-steps {
        grid-template-columns: 1fr;
    }

    /* Page Banner */
    .page-banner h1 {
        font-size: 26px;
    }

    /* About */
    .about-content h2 {
        font-size: 24px;
    }

    /* Contact */
    .contact-info-card {
        flex-direction: column;
        text-align: center;
        padding: 20px 16px;
    }

    /* Footer */
    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    /* Program Detail */
    .program-detail {
        padding: 20px 16px;
    }

    .program-detail .prog-icon {
        width: 70px;
        height: 70px;
        font-size: 30px;
    }

    .program-detail h3 {
        font-size: 18px;
    }
}
