@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300..700&family=Montserrat:wght@100..900&display=swap');

:root {
    --primary: #00a8ff;
    --primary-dark: #0097e6;
    --secondary: #fbc531;
    --text-dark: #2f3640;
    --text-light: #7f8fa6;
    --white: #ffffff;
    --bg-light: #f0faff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--bg-light);
}

h1, h2, h3 {
    font-family: 'Fredoka', sans-serif;
}

header {
    padding: 20px 0;
    background: transparent;
}

.top-logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

#top-logo {
    height: clamp(50px, 10vw, 90px);
    width: auto;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

.header-nav {
    display: flex;
    justify-content: center;
    position: relative;
    padding: 0 20px;
}

.header-main-menu {
    display: flex;
    list-style: none;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 100px;
    padding: 8px 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.header-main-menu a {
    padding: 10px 25px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: all 0.3s ease;
    display: block;
    border-radius: 50px;
}

.header-main-menu a:hover {
    color: var(--primary);
    background: var(--white);
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1000;
    background: var(--white);
    padding: 10px;
    border-radius: 10px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.main-container {
    background: radial-gradient(circle at 10% 20%, #f0faff 0%, #e0f2fe 100%);
    min-height: 100vh;
    overflow: hidden;
    position: relative;
}

.section-1 {
    display: flex;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    padding: 60px 40px;
    min-height: 80vh;
}

.section-1-sub-sections {
    flex: 1;
    position: relative;
}

.kids-blob-container {
    position: relative;
    width: 100%;
    max-width: 550px;
    margin: 0 auto;
}

.blob-underlay {
    width: 100%;
    height: auto;
}

.smiling-kids-image {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    z-index: 2;
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 75%, transparent 95%);
    mask-image: linear-gradient(to bottom, black 0%, black 75%, transparent 95%);
}

.section-1-heading {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 25px;
    z-index: 5;
    position: relative;
}

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

.section-1-paragraph {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 40px;
    z-index: 5;
    position: relative;
}

.button-group {
    display: flex;
    flex: 1;
    gap: 20px;
    z-index: 5;
    position: relative;
}

.btn {
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    font-family: 'Fredoka', sans-serif;
}

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

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

#rocket-image {
    position: absolute;
    right: -5%;
    bottom: -10%;
    width: 250px;
    z-index: 10;
    animation: floating 4s ease-in-out infinite;
}

.star-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.star {
    position: absolute;
    width: 35px;
    z-index: 1;
    opacity: 0.5;
}

.star-s1 { top: 15%; left: 5%; animation: twinkle 3s infinite alternate; animation-delay: 0s; }
.star-s2 { top: 50%; left: 40%; width: 50px; animation: twinkle 4.5s infinite alternate; animation-delay: -1.2s; }
.star-s3 { bottom: 20%; right: 30%; animation: twinkle 2.5s infinite alternate; animation-delay: -0.8s; }

@keyframes floating {
    0%, 100% { transform: translateY(0) rotate(-10deg); }
    50% { transform: translateY(-30px) rotate(-2deg); }
}

@keyframes twinkle {
    from { opacity: 0.2; transform: scale(0.7); }
    to { opacity: 0.8; transform: scale(1.1); }
}

/* Metrics Section */
.metrics-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1300px;
    margin: 80px auto;
    padding: 0 40px;
    text-align: center;
}

.metric-card {
    background: var(--white);
    padding: 40px 20px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    border: 2px solid var(--bg-light);
}

.metric-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.metric-number {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 5px;
}

.metric-label {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 600;
}

.bottom-actions-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 30px;
    z-index: 5;
    position: relative;
}

/* Latest Notices Section */
.notice-board-container {
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    flex: 1;
    min-width: 280px;
    max-width: 100%;
    border: 2px solid var(--white);
    z-index: 10;
}

.notice-board-container h3 {
    color: var(--primary-dark);
    margin-bottom: 15px;
    border-bottom: 2px solid var(--bg-light);
    padding-bottom: 10px;
    font-size: 1.4rem;
}

.notice-list {
    list-style: none;
    margin-bottom: 15px;
}

.notice-list li {
    margin-bottom: 12px;
    font-size: 0.95rem;
    line-height: 1.4;
    border-bottom: 1px dashed #e0e0e0;
    padding-bottom: 10px;
}

.notice-list li:last-child {
    border-bottom: none;
}

.notice-list a {
    text-decoration: none;
    color: var(--text-dark);
    transition: color 0.3s ease;
    display: block;
}

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

.view-all-notices {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    margin-top: 5px;
    transition: transform 0.3s ease;
}

.view-all-notices:hover {
    transform: translateX(5px);
}

/* Gallery Section */
.gallery-section {
    max-width: 1300px;
    margin: 80px auto;
    padding: 0 40px 80px;
    text-align: center;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 40px;
    color: var(--text-dark);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.gallery-item {
    aspect-ratio: 4/3;
    border-radius: 20px;
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    font-family: 'Fredoka', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    cursor: pointer;
}

.gallery-item img{
    max-height: 100%;
    max-width: 100%;
    border-radius: 20px;
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

@media (max-width: 992px) {
    .section-1 { flex-direction: column; text-align: center; position: relative; }
    .section-1-sub-section-2 { display: contents; }
    .section-1-heading { order: 1; margin-top: 20px; }
    .section-1-paragraph { order: 2; margin-bottom: 20px; }
    .section-1-sub-section-1 { order: 3; width: 100%; margin-bottom: 20px; }
    .kids-blob-container {margin-top: 15px;}
    .bottom-actions-container { order: 4; flex-direction: column; align-items: center; justify-content: center; gap: 40px; margin-top: 20px; width: 100%; }
    .button-group { justify-content: center; width: 100%; }
    .notice-board-container { margin: 0; max-width: 100%; width: 100%; text-align: left; }
    .mobile-menu-toggle { display: flex; }
    .header-main-menu { position: absolute; top: calc(100% + 15px); left: 50%; transform: translateX(-50%); flex-direction: column; width: 90%; max-width: 350px; border-radius: 20px; padding: 20px; display: none; z-index: 1000; background: var(--white); box-shadow: 0 15px 40px rgba(0,0,0,0.15); }
    .header-main-menu.active { display: flex; }
    #rocket-image { width: 150px; }
}

/* Modern Footer */
.modern-footer {
    background: var(--text-dark);
    color: var(--bg-light);
    padding: 60px 40px 20px;
}

.footer-content {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-family: 'Fredoka', sans-serif;
    color: var(--secondary);
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.footer-logo {
    height: 60px;
    border-radius: 10px;
    margin-bottom: 15px;
    background: var(--white);
    padding: 5px;
}

.footer-col p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
    color: var(--text-light);
    font-size: 0.95rem;
}

.footer-col ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--text-light);
    font-size: 0.9rem;
}
