/* General Styles */
:root {
    --primary-color: #6A61EF; /* Purple */
    --accent-color: #FFB347; /* Orange */
    --green-color: #6BD290;
    --dark-text: #2C2C2C;
    --light-text: #5C5C5C;
    --white: #ffffff;
    --light-bg: #F8F8F8;
    --section-bg-light: #F4F4FF; /* Light purple for sections */
}

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

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

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

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

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

.btn-primary:hover {
    background-color: #5a52d4;
}

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

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

.btn-get-started {
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
}

.btn-get-started:hover {
    background-color: #e6a23e;
}

.btn-link {
    color: var(--primary-color);
    font-weight: 600;
    display: flex;
    align-items: center;
}

.btn-link i {
    margin-left: 8px;
    font-size: 0.9em;
}

h1, h2, h3, h4 {
    margin-bottom: 15px;
    font-weight: 700;
}

h1 {
    font-size: 3.5em;
    line-height: 1.2;
}

h2 {
    font-size: 2.5em;
    line-height: 1.3;
}

h3 {
    font-size: 1.8em;
}

h4 {
    font-size: 1.2em;
}

p {
    margin-bottom: 10px;
    color: var(--light-text);
}

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

/* Header */
.header {
    background-color: var(--white);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.logo img {
    height: 40px;
}

.nav ul {
    display: flex;
    gap: 30px;
}

.nav a {
    font-weight: 500;
    color: var(--dark-text);
    position: relative;
}

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

.nav .dropdown {
    position: relative;
}

.nav .dropdown .dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 8px;
    overflow: hidden;
    top: 100%; /* Position below the parent item */
    left: 0;
    margin-top: 10px;
}

.nav .dropdown .dropdown-content a {
    color: var(--dark-text);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.nav .dropdown .dropdown-content a:hover {
    background-color: var(--light-bg);
    color: var(--primary-color);
}

.nav .dropdown:hover .dropdown-content {
    display: block;
}

.nav .dropdown i {
    margin-left: 5px;
    font-size: 0.8em;
}

/* Hero Section */
.hero-section {
    background-color: var(--section-bg-light);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-section .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    text-align: left;
}

.hero-content p {
    font-size: 1.1em;
    margin-top: 20px;
    color: var(--light-text);
}

.hero-content .features {
    margin-top: 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-weight: 500;
    color: var(--light-text);
}

.hero-content .features span {
    display: flex;
    align-items: center;
}

.hero-content .features i {
    color: var(--green-color);
    margin-right: 8px;
    font-size: 1.1em;
}

.hero-content .btn {
    margin-top: 30px;
}

.hero-images {
    flex: 1;
    position: relative;
    min-height: 400px; /* Ensure enough space for images */
}

.hero-images img {
    position: absolute;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-image-top-left {
    top: 0;
    left: 0;
    width: 250px;
    height: auto;
    transform: rotate(-5deg);
    z-index: 1;
}

.hero-image-top-right {
    bottom: 0;
    right: 0;
    width: 280px;
    height: auto;
    transform: rotate(5deg);
    z-index: 1;
}

.dots-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: auto;
    opacity: 0.6;
    z-index: 0;
}

.yellow-blob {
    top: 10%;
    right: 5%;
    width: 150px;
    height: auto;
    transform: rotate(15deg);
    z-index: 0;
    opacity: 0.8;
}

.green-blob {
    bottom: 10%;
    left: 10%;
    width: 120px;
    height: auto;
    transform: rotate(-20deg);
    z-index: 0;
    opacity: 0.8;
}

/* Stats Section */
.stats-section {
    background-color: var(--white);
    padding: 80px 0;
}

.stats-section .container {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    text-align: center;
}

.stat-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-item h3 {
    font-size: 2.5em;
    color: var(--dark-text);
    margin-bottom: 5px;
}

.stat-item p {
    color: var(--light-text);
    font-size: 1.1em;
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    color: var(--white);
    font-size: 1.8em;
}

.icon-circle.primary-bg { background-color: var(--primary-color); }
.icon-circle.accent-bg { background-color: var(--accent-color); }
.icon-circle.green-bg { background-color: var(--green-color); }


/* Smart & Clever Kids Section */
.smart-clever-kids {
    background-color: var(--light-bg);
    padding: 100px 0;
}

.smart-clever-kids .content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
}

.smart-clever-kids .text-content h2 {
    font-size: 3em;
    max-width: 600px;
    margin: 0;
}

.smart-clever-kids .image-text-content {
    text-align: right;
}

.smart-clever-kids .image-text-content p {
    font-size: 1.1em;
    color: var(--light-text);
    margin-bottom: 20px;
}

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

.grid-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

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

.grid-item .overlay-text {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: var(--white);
    font-size: 1.8em;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
}

/* Shaping the Future Section */
.shaping-future {
    padding: 100px 0;
    text-align: center;
    background-color: var(--white);
}

.shaping-future .intro-text {
    font-size: 1.1em;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 10px;
}

.shaping-future h2 {
    font-size: 3em;
    margin-bottom: 60px;
}

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

.activity-item {
    background-color: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

.activity-item:hover {
    transform: translateY(-10px);
}

.activity-item img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 20px;
}

.activity-item h4 {
    color: var(--dark-text);
    margin-bottom: 5px;
}

.activity-item p {
    color: var(--light-text);
    font-size: 0.95em;
}

/* Confidence & Helping Kids Section */
.confidence-helping-kids {
    background-color: var(--section-bg-light);
    padding: 100px 0;
}

.confidence-helping-kids .container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.card {
    flex: 1;
    display: flex;
    background-color: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative; /* For the image overlap */
}

.card img {
    width: 250px; /* Adjust based on desired overlap */
    height: auto;
    object-fit: cover;
    display: block;
}

.card-left img {
    margin-left: -50px; /* Overlap left card image */
    z-index: 1;
    position: relative;
}

.card-right img {
    margin-right: -50px; /* Overlap right card image */
    z-index: 1;
    position: relative;
    order: 2; /* To place image on right visually */
}

.card-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2; /* Ensure text is above overlapping image */
}

.card-right .card-content {
    order: 1; /* To place content on left for right card */
}

.card-content h3 {
    font-size: 1.8em;
    line-height: 1.3;
}

.card-content p {
    margin-bottom: 25px;
}

/* Empower Kids Section */
.empower-kids {
    padding: 100px 0;
    background-color: var(--white);
}

.empower-kids .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

.empower-text-content {
    flex: 1;
}

.empower-text-content .section-tag {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 10px;
}

.empower-text-content h2 {
    font-size: 3em;
    max-width: 500px;
}

.empower-text-content p {
    font-size: 1.1em;
    margin-bottom: 30px;
}

.empower-image-content {
    flex: 1;
    position: relative;
}

.empower-image-content img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.stats-overlay {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--white);
    padding: 30px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    gap: 40px;
    text-align: center;
}

.stat-box i {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-box h4 {
    font-size: 1.8em;
    margin-bottom: 5px;
    color: var(--dark-text);
}

.stat-box p {
    font-size: 0.95em;
    color: var(--light-text);
}


/* Upcoming Event Section */
.upcoming-event {
    background-color: var(--section-bg-light);
    padding: 120px 0 80px 0; /* Adjust top padding for overlay */
}

.upcoming-event .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.event-details {
    flex: 1;
}

.event-tag {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 10px;
}

.event-details h2 {
    font-size: 3em;
    line-height: 1.2;
}

.event-details p {
    font-size: 1.1em;
    margin-bottom: 15px;
}

.event-details p i {
    margin-right: 10px;
    color: var(--primary-color);
}

.event-image {
    flex: 1;
    text-align: right;
}

.event-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
    background-color: var(--dark-text);
    color: var(--white);
    padding: 60px 0 20px 0;
}

.footer .container {
    display: flex;
    flex-direction: column;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
    gap: 30px;
}

.footer-column {
    flex: 1;
    min-width: 150px;
}

.footer-column.logo-column {
    flex: 1.5;
}

.footer-column img {
    filter: brightness(0) invert(1); /* Makes logo white */
    height: 35px;
}

.footer-column h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.1em;
}

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

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95em;
    transition: color 0.3s ease;
}

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

.footer-column.social-column i {
    margin-right: 10px;
    font-size: 1.2em;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.footer-bottom-left {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.footer-bottom-left img {
    filter: brightness(0) invert(1);
    height: 30px;
}

.footer-bottom-left a {
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95em;
}

.footer-bottom-left a i {
    font-size: 1.1em;
    color: var(--primary-color);
}

.footer-bottom-right p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.footer-meta {
    text-align: center;
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.5);
}

.footer-meta p {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-meta a {
    color: inherit;
}

.footer-meta a:hover {
    color: var(--primary-color);
}


/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2.8em;
    }
    h2 {
        font-size: 2em;
    }

    .hero-section .container {
        flex-direction: column;
        text-align: center;
    }
    .hero-content {
        order: 2;
    }
    .hero-images {
        order: 1;
        margin-bottom: 50px;
        min-height: 300px;
        width: 100%;
        max-width: 600px;
    }
    .hero-images img {
        position: static;
        transform: none;
        margin: 10px auto;
        display: block;
        box-shadow: none;
        max-width: 250px;
    }
    .hero-image-top-left, .hero-image-top-right {
        position: relative;
        left: auto;
        top: auto;
        right: auto;
        bottom: auto;
    }
    .dots-bg, .yellow-blob, .green-blob {
        display: none; /* Hide background decorative elements on smaller screens */
    }

    .stats-section .container {
        flex-wrap: wrap;
    }
    .stat-item {
        flex-basis: 45%;
    }

    .smart-clever-kids .content-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .smart-clever-kids .text-content h2 {
        margin-bottom: 20px;
        max-width: 100%;
    }
    .smart-clever-kids .image-text-content {
        text-align: center;
    }

    .confidence-helping-kids .container {
        flex-direction: column;
    }
    .card {
        flex-direction: column;
        text-align: center;
    }
    .card img {
        width: 100%;
        height: 200px;
        margin: 0;
        position: static;
        border-radius: 20px 20px 0 0;
    }
    .card-right img {
        order: 1;
        border-radius: 20px 20px 0 0;
    }
    .card-content {
        padding: 20px;
        text-align: center;
    }
    .card-right .card-content {
        order: 2;
    }

    .empower-kids .container {
        flex-direction: column;
        text-align: center;
    }
    .empower-text-content h2 {
        max-width: 100%;
    }
    .empower-image-content {
        margin-top: 80px; /* Space for the overlay */
    }
    .stats-overlay {
        flex-direction: column;
        bottom: -80px;
        width: 90%;
        gap: 20px;
    }

    .upcoming-event .container {
        flex-direction: column;
        text-align: center;
    }
    .event-image {
        order: 1;
        margin-bottom: 30px;
    }
    .event-details {
        order: 2;
    }

    .footer-top {
        flex-direction: column;
        align-items: flex-start;
    }
    .footer-column.logo-column {
        margin-bottom: 20px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .footer-bottom-left {
        justify-content: center;
        margin-bottom: 20px;
    }
    .footer-meta p {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.2em;
    }
    h2 {
        font-size: 1.8em;
    }
    .header .container {
        flex-direction: column;
        gap: 15px;
    }
    .nav ul {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .btn-get-started {
        margin-top: 10px;
    }

    .hero-content .features {
        justify-content: center;
    }

    .stats-section .container {
        flex-direction: column;
    }
    .stat-item {
        flex-basis: 100%;
    }

    .image-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    h1 {
        font-size: 1.8em;
    }
    h2 {
        font-size: 1.5em;
    }
    .btn {
        padding: 10px 20px;
    }
    .hero-content .features {
        flex-direction: column;
        align-items: flex-start;
    }
    .stats-overlay {
        padding: 20px;
        bottom: -100px;
    }
}