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

:root {
    --primary-blue: #0066cc;
    --dark-blue: #003d99;
    --light-blue: #e6f2ff;
    --white: #ffffff;
    --gray-900: #111827;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-100: #f3f4f6;
    --gray-50: #f9fafb;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
}

/* Header & Navigation */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-blue);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray-700);
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: var(--white);
        padding: 1rem;
        gap: 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

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

    .nav-menu li {
        padding: 1rem 0;
        border-bottom: 1px solid var(--gray-100);
    }

    .navbar {
        padding: 1rem;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0066cc 0%, #003d99 100%);
    color: var(--white);
    padding: 4rem 2rem;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    width: 100%;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
    opacity: 0.9;
}

.cta-button {
    background-color: var(--white);
    color: var(--primary-blue);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    background-color: var(--gray-100);
    transform: translateY(-2px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.hero-image {
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.2));
}

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

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero {
        min-height: auto;
        padding: 2rem 1rem;
    }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* Courses Section */
.courses {
    padding: 4rem 2rem;
    background-color: var(--gray-50);
    max-width: 1280px;
    margin: 0 auto;
}

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

.course-card {
    background-color: var(--white);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.course-card:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.course-header {
    padding: 2rem;
    color: var(--white);
}

.course-header.school {
    background: linear-gradient(135deg, #0066cc, #0052a3);
}

.course-header.tech {
    background: linear-gradient(135deg, #003d99, #002966);
}

.course-header.kids {
    background: linear-gradient(135deg, #003d99, #001f4d);
}

.course-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.course-board {
    font-size: 0.95rem;
    opacity: 0.9;
}

.course-body {
    padding: 2rem;
}

.course-body p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--gray-700);
}

.subjects {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.subject-tag {
    background-color: var(--light-blue);
    color: var(--primary-blue);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
}

.lab-section {
    background: linear-gradient(135deg, #0066cc, #003d99);
    color: var(--white);
    border-radius: 0.75rem;
    padding: 2.5rem;
    text-align: center;
    margin-top: 2rem;
}

.lab-section h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.lab-section p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Achievers Section */
.achievers {
    padding: 4rem 2rem;
    background-color: var(--white);
    max-width: 1280px;
    margin: 0 auto;
}

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

.achiever-card {
    background-color: var(--white);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.achiever-card:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(-8px);
}

.achiever-image {
    height: 200px;
    width: 100%;
    background-size: cover;
    background-position: center;
}

.achiever-score {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    font-size: 1.3rem;
    font-weight: 700;
    display: inline-block;
    margin: -1.5rem 0 0 0;
    position: relative;
    z-index: 1;
}

.achiever-info {
    padding: 1.5rem;
}

.achiever-info h3 {
    font-size: 1.3rem;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.achiever-info p {
    color: var(--gray-600);
    margin-bottom: 0.3rem;
}

.achiever-info p.board {
    color: var(--primary-blue);
    font-weight: 600;
}

/* Notices Section */
.notices {
    padding: 4rem 2rem;
    background-color: var(--gray-50);
    max-width: 1280px;
    margin: 0 auto;
}

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

.notice-card {
    background-color: var(--white);
    border-left: 5px solid;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.notice-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.notice-card.important {
    border-left-color: #dc2626;
    background-color: #fef2f2;
}

.notice-card.event {
    border-left-color: #16a34a;
    background-color: #f0fdf4;
}

.notice-card.info {
    border-left-color: var(--primary-blue);
    background-color: var(--light-blue);
}

.notice-card h3 {
    font-size: 1.2rem;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.notice-date {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.notice-card p {
    color: var(--gray-700);
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 4rem 2rem;
    background-color: var(--white);
    max-width: 1280px;
    margin: 0 auto;
}

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

.contact-info h3 {
    font-size: 1.8rem;
    color: var(--gray-900);
    margin-bottom: 2rem;
}

.info-box {
    margin-bottom: 2rem;
}

.info-box h4 {
    font-size: 1.1rem;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.info-box p {
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.office-hours {
    background: linear-gradient(135deg, #0066cc, #003d99);
    color: var(--white);
    padding: 1.5rem;
    border-radius: 0.75rem;
    margin-top: 2rem;
}

.office-hours h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.office-hours p {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0.5rem;
}

/* Contact Form */
.contact-form {
    background-color: var(--gray-50);
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.contact-form h3 {
    font-size: 1.5rem;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.submit-button {
    width: 100%;
    background: linear-gradient(135deg, #0066cc, #003d99);
    color: var(--white);
    border: none;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 102, 204, 0.3);
}

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

/* Footer */
.footer {
    background-color: var(--gray-900);
    color: rgba(255, 255, 255, 0.9);
    padding: 3rem 2rem 1.5rem;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 1rem;
    background-color: var(--white);
    padding: 0.5rem;
    border-radius: 0.25rem;
}

.footer-section p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    opacity: 0.9;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-blue);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.social-icon:hover {
    background-color: var(--dark-blue);
    transform: translateY(-3px);
}

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

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

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

    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .nav-menu {
        gap: 0;
    }

    .courses-grid,
    .achievers-grid,
    .notices-grid {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 1.75rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }
}
