/* Reset and Base Styles */
/* * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
} */

/* body {
    font-family: 'Comic Neue', sans-serif;
    line-height: 1.6;
    color: #333;
} */

.font-nunito {
   font-family: "Comic Neue", cursive;;
}

/* Color Variables */
:root {
    --orange: #FF9B04;
    --teal: #1391a9;
    --light-bg: #f4f3f3;
    --blue: #268ea2;
    --white: #ffffff;
    --gray-100: #f7fafc;
    --gray-600: #718096;
    --gray-700: #4a5568;
    --gray-800: #2d3748;
}

/* Utility Classes */
.text-orange {
    color: var(--orange);
}

.text-teal {
    color: var(--teal);
}

.hidden {
    display: none !important;
}

/* Container */
/* .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
} */

.main-container {
    background-color: var(--white);
    overflow: hidden;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding-top: 40px;
    padding-bottom: 48px;
    overflow: hidden;
    background-size: cover;
    background-position: left;
    background-repeat: no-repeat;
    background-image: url('/assets/img/online-elementary-school/WhatsApp Image 2025-09-24 at 15.08.23_28096600.jpg');
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.hero-left {
    width: 100%;
    text-align: center;
}

.hero-title {
    font-family: 'Nunito', sans-serif;
    font-size: 25px;
    font-weight: 800;
    color: var(--gray-800);
    line-height: 1.2;
    margin-bottom: 16px;
}

.title-line {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.hero-description {
    margin-top: 16px;
    color: var(--gray-700);
    max-width: 512px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    margin-top: 24px;
    margin-bottom: 50px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.hero-dot {
    width: 16px;
    height: 16px;
    background-color: var(--teal);
    border-radius: 50%;
}

.hero-right {
    width: 100%;
    margin-top: 32px;
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-image {
    margin: 0 auto;
    width: 75%;
    max-width: 384px;
    position: relative;
    z-index: 10;
}

/* Buttons */
.btn-primary {
    background-color: var(--orange);
    color: var(--white);
    font-weight: bold;
    padding: 12px 32px;
    border-radius: 9999px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    transform: scale(1);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #E88A00;
    transform: scale(1.05);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--orange);
    font-weight: bold;
    padding: 12px 32px;
    border-radius: 9999px;
    border: 2px solid var(--orange);
    transition: all 0.3s;
    transform: scale(1);
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: #FFFBF5;
    transform: scale(1.05);
}

/* Wave Shapes */
.wave-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: translateY(1px);
}

.wave-top {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: translateY(1px);
}

.wave-svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 128px;
}

.wave-path {
    fill: var(--white);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-title {
    font-family: 'Nunito', sans-serif;
    font-size: 48px;
    font-weight: 900;
    color: var(--gray-800);
}

.section-subtitle {
    color: var(--gray-600);
    margin-top: 8px;
    font-weight: bold;
}

.decorative-image {
    display: flex;
    justify-content: center;
    margin-top: 16px;
}

.decorative-image img {
    width: 76px;
    height: auto;
}

/* Course Section */
.course-section {
    padding: 80px 0;
    background-color: var(--white);
}

.grade-buttons-container {
    margin-bottom: 48px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.grade-buttons-container::-webkit-scrollbar {
    display: none;
}

.grade-buttons-wrapper {
    display: flex;
    justify-content: center;
    gap: 12px;
    min-width: max-content;
    padding: 0 24px;
}

.grade-button {
    padding: 16px 40px;
    font-size: 20px;
    font-weight: bold;
    border-radius: 9999px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
}

.active-grade {
    background-color: var(--teal);
    color: var(--white);
}

.grade-button:not(.active-grade) {
    background-color: #e5e7eb;
    color: #374151;
}

.grade-button:not(.active-grade):hover {
    background-color: #d1d5db;
}

.courses-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.course-card {
    background-color: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--teal);
    padding: 16px;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s;
}

.course-card:hover {
    transform: translateY(-4px);
}

.course-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
}

.course-content {
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.course-title {
    font-family: 'Nunito', sans-serif;
    font-size: 20px;
    font-weight: 900;
    color: var(--gray-800);
}

.course-description {
    margin-top: 8px;
    color: var(--gray-600);
    font-size: 14px;
    flex-grow: 1;
}

.course-button {
    margin-top: 16px;
    width: 100%;
    background-color: var(--teal);
    color: var(--white);
    font-family: "Comic Neue", cursive;
    font-weight: bold;
    padding: 10px 16px;
    border-radius: 8px;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
}

.course-button:hover {
    background-color: #107a8e;
}

/* Why Choose Us Section */
.why-choose-section {
    position: relative;
    padding-top: 80px;
    padding-bottom: 224px;
    background-color: var(--light-bg);
    overflow: hidden;
}

.decorative-star {
    position: absolute;
    bottom: 160px;
    left: 32px;
    z-index: 0;
}

.decorative-star img {
    width: 88px;
    height: auto;
    opacity: 1;
    transform: rotate(-12deg);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 1024px;
    margin: 0 auto;
}

.feature-card {
    background-color: var(--white);
    padding-top: 20px;
    border-radius: 16px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: 1px solid #f3f4f6;
    display: flex;
    align-items: center;
    gap: 24px;
    transition: all 0.3s;
    transform: translateY(0);
}

.feature-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.feature-icon {
    padding: 16px;
    border-radius: 50%;
    flex-shrink: 0;
}

.feature-icon img {
    width: 50px;
    height: 50px;
    margin-top: -20px;
}

.feature-text {
    flex: 1;
}

.feature-title {
    font-family: 'Nunito', sans-serif;
    font-size: 18px;
    font-weight: bold;
    color: var(--gray-800);
}

.feature-description {
    color: var(--gray-600);
    margin-top: 4px;
}

/* Audience Section */
.audience-section {
    padding: 40px 0;
    background-color: var(--white);
}

.audience-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.audience-card {
    background-color: var(--white);
    padding: 10px;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #f3f4f6;
    text-align: center;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.audience-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.audience-icon {
    padding: 10px;
    border-radius: 50%;

    display: inline-block;
}

.audience-icon img {
    width: 64px;
    height: 64px;
}

.audience-title {
    font-size: 18px;
    font-weight: bold;
    color: var(--gray-800);
}

.audience-description {
    color: var(--gray-600);
    font-size: 14px;
    margin-top: 4px;
}

/* How It Works Section */
.how-it-works-section {
    position: relative;
    background-color: var(--blue);
    color: var(--white);
    padding-top: 48px;
    padding-bottom: 160px;
    overflow: hidden;
}

.decorative-dots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.dot {
    position: absolute;
    border-radius: 50%;
}

.dot-1 {
    width: 24px;
    height: 24px;
    background-color: rgba(0, 0, 0, 0.2);
    top: 32px;
    left: 40px;
}

.dot-2 {
    width: 16px;
    height: 16px;
    background-color: rgba(255, 255, 255, 0.2);
    top: 33.33%;
    right: 64px;
}

.text-outline {
    text-shadow: 3px 0 #fff, -3px 0 #fff, 0 3px 0 #fff, 0 -3px 0 #fff, 2px 2px #fff, -2px -2px 0 #fff, 2px -2px 0 #fff, -2px 2px 0 #fff;
    color: var(--orange);
}

.steps-container {
    position: relative;
}

.steps-line {
    display: none;
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

.step-item {
    text-align: center;
    position: relative;
    z-index: 10;
}

.step-number {
    width: 56px;
    height: 56px;
    background-color: var(--orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid var(--white);
    margin: 0 auto 16px;
}

.step-number span {
    font-size: 20px;
    font-weight: 900;
    color: var(--white);
}

.step-title {
    color: var(--white);
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 4px;
}

.step-description {
    color: var(--white);
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background-color: var(--white);
}

.cta-container {
    position: relative;
    background-color: var(--orange);
    border-radius: 24px;
    padding: 64px 24px;
    text-align: center;
    overflow: hidden;
    max-width: 1280px;
    margin: 0 auto;
}

.cta-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.8;
}

.cta-circle-1 {
    width: 160px;
    height: 160px;
    background-color: #ffad47;
    top: -64px;
    left: -64px;
}

.cta-circle-2 {
    width: 192px;
    height: 192px;
    background-color: #ffad47;
    bottom: -64px;
    right: -64px;
}

.cta-content {
    position: relative;
    z-index: 10;
}

.cta-title {
    font-size: 48px;
    font-weight: 900;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.cta-btn-primary {
    font-family: 'Nunito', sans-serif;
    background-color: var(--white);
    color: var(--orange);
    font-weight: bold;
    padding: 12px 32px;
    border-radius: 9999px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    transform: scale(1);
    border: none;
    cursor: pointer;
}

.cta-btn-primary:hover {
    background-color: #f9fafb;
    transform: scale(1.05);
}

.cta-btn-secondary {
    font-family: 'Nunito', sans-serif;
    background-color: transparent;
    color: var(--white);
    font-weight: bold;
    padding: 12px 32px;
    border-radius: 9999px;
    border: 2px solid var(--white);
    transition: all 0.3s;
    transform: scale(1);
    cursor: pointer;
}

.cta-btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

/* Mobile Responsive */
@media (max-width: 640px) {
    .hero-title {
        font-size: 24px;
    }

    .section-title {
        font-size: 32px;
    }

    .grade-buttons-container {
        padding: 0;
    }

    .grade-buttons-wrapper {
        justify-content: flex-start;
        padding: 0 24px;
    }

    .grade-button {
        padding: 12px 24px;
        font-size: 16px;
    }

    .feature-card {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .cta-title {
        font-size: 32px;
    }

    .cta-container {
        padding: 48px 16px;
    }
}

/* Tablet Responsive */
@media (min-width: 768px) {
    .hero-section {
        padding-top: 56px;
        padding-bottom: 64px;
    }

    .hero-content {
        flex-direction: row;
    }

    .hero-left {
        width: 58.33%;
        text-align: left;
    }

    .title-line {
        justify-content: flex-start;
    }

    .hero-description {
        margin-left: 0;
        margin-right: 0;
    }

    .hero-buttons {
        justify-content: flex-start;
    }

    .hero-right {
        width: 41.67%;
        margin-top: 8px;
    }

    .hero-image {
        width: 90%;
    }

    .wave-svg {
        height: 160px;
    }

    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .audience-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-line {
        display: block;
        position: absolute;
        top: 32px;
        left: 0;
        width: 100%;
        height: 1px;
        background-color: rgba(255, 255, 255, 0.8);
        transform: translateY(-50%);
    }

    .steps-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 32px;
    }
}

/* Desktop Responsive */
@media (min-width: 1024px) {
    .hero-section {
        padding-top: 64px;
        padding-bottom: 80px;
    }

    .hero-title {
        font-size: 48px;
    }

    .section-title {
        font-size: 60px;
    }

    .courses-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .audience-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .cta-container {
        padding: 64px 24px;
    }

    .cta-title {
        font-size: 60px;
    }
}
