body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: rgb(27, 117, 147);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

.navbar {
    background-color: rgba(254, 189, 89, 255);
    overflow: hidden;
    padding: 10px 20px;
    display: flex;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    max-width: 1200px;
    width: 100%;
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    border: none;
    background: none;
    cursor: pointer;
    padding: 10px;
}

.navbar-icon {
    width: 25px;
    height: 2px;
    background-color: black;
    margin: 4px 0;
}

.navbar-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.navbar-menu img {
    width: 100px;
    height: auto;
}

.nav-menu {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.nav-menu li {
    margin-right: 15px;
}

.nav-menu li a {
    display: block;
    color: black;
    text-align: center;
    padding: 10px 20px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-menu li a.active,
.nav-menu li a:hover {
    color: red;
}

.nav-buttons {
    display: flex;
    align-items: center;
}

.nav-buttons .login-link,
.nav-buttons .signup-link {
    color: black;
    text-decoration: none;
    padding: 10px 20px;
    transition: color 0.3s ease;
}

.nav-buttons .login-link:hover,
.nav-buttons .signup-link:hover {
    color: #007BFF;
}

.nav-buttons .signup-link {
    /* background-color: #007BFF; */
    background-color: red;
    color: white;
    border-radius: 5px;
    padding: 10px 20px;
    transition: background-color 0.3s ease;
}

.nav-buttons .signup-link:hover {
    background-color: #fa7405;
    color: white;
}

@media (max-width: 990px) {
    .footer-links a {
        flex: 1 1 40%;
        /* Each link takes up 50% of the width */
        margin: 10px 0;
        /* Margin for vertical spacing */
    }

    .navbar-menu {
        flex-direction: column;
        align-items: center;
        display: none;
    }

    .navbar-menu.active {
        display: flex;
    }

    .navbar-toggle {
        display: flex;
    }

    .nav-menu {
        flex-direction: column;
        width: 100%;
    }

    .nav-buttons {
        flex-direction: column;
        width: 100%;
    }

    .nav-buttons .login-link,
    .nav-buttons .signup-link {
        margin: 5px 0;
    }

    .nav-menu li {
        margin: 0px 0;
    }

    .banner {
        flex-direction: column;
    }

    .game-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .content {
        width: 100%;
        margin-bottom: 20px;
    }

    .carousel-inner img {
        width: 100%;
    }

    .contact-container {
        flex-direction: column;
    }

    .contact-details {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .map {
        height: 300px;
    }

    .content {
        flex-direction: column;
    }

    .info-section {
        text-align: center;
    }

    .circles {
        flex-direction: column;
    }

    .circle {
        text-align: center;
    }

    .circle:last-child {
        margin-bottom: 0;
    }

    .analytics-main {
        flex-direction: column;
    }

    .analytics-chart-container {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .text-section {
        padding: 10px;
    }

}

.banner-head {
    background-color: rgba(254, 210, 89, 255);
    border-radius: 15px;
    display: flex;
    align-items: center;
    padding: 20px;
    width: fit-content;
}

.banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    max-width: 1300px;
    width: 100%;
}

.banner video {
    width: 100%;
    max-width: 700px;
    height: 300px;
}

.see-button {
    background-color: rgba(254, 160, 89, 255);
    color: black;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-left: 10px;
    margin: 10px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.3s ease;
}

.see-button:hover {
    background-color: rgba(254, 140, 89, 255);
}

/* Banners */
/* Student Banner */
.game-banner {
    background-color: rgba(254, 180, 89, 255);
    border-radius: 15px;
    display: flex;
    align-items: center;
    padding: 20px;
    /* margin-left: 50px; */
    width: fit-content;
    margin-top: 10px;
    flex-direction: row;
    /* Default to row layout */
}

.carousel-inner img {
    height: auto;
}

.content {
    width: 50%;
}

.game-banner h1,
.game-banner p {
    color: black;
}



/* Educator Banner */
.educator-banner {
    background-color: rgba(254, 180, 89, 255);
    border-radius: 15px;
    display: flex;
    align-items: center;
    padding: 20px;
    width: fit-content;
    margin-top: 10px;
}

.educator-banner .container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.educator-banner h2,
.educator-banner p {
    color: black;
}

.create-materials-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ffe105;
    color: #000;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.3s ease;
}

.create-materials-btn:hover {
    background-color: #ffd700;
}

.see-wannabee-btn {
    background-color: white;
    color: rgb(27, 117, 147);
    border: none;
    padding: 10px 20px;
    border-radius: 15px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.3s ease;
    max-width: 150px;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.3s ease;
}

.see-wannabee-btn a {
    text-decoration: none;
}

.educator-form {
    width: 100%;
    max-width: 640px;
}


/* Parent Banner */
.parent-banner {
    /* background-color: #38e3c3; */
    background-color: rgba(254, 210, 89, 255);
    color: black;
    border-radius: 15px;
    display: flex;
    align-items: center;
    padding: 20px;
    /* margin-left: 50px; */
    width: fit-content;
    margin-top: 10px;
}

.parent-banner .container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.circles {
    display: flex;
    justify-content: space-between;
    /* margin-bottom: 20px; */
    align-items: center;
}

.circle {
    /* background-color: #ffcc00; */
    background-color: rgba(254, 170, 89, 255);
    border-radius: 50%;
    padding: 20px;
    width: 250px;
    height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-right: 5px;
}

.circle h2 {
    font-size: 1em;
    margin-bottom: 5px;
    color: black;
}

.circle p {
    font-size: 0.8em;
    color: black;
}

.description {
    margin-bottom: 20px;
}

.cta-button {
    display: inline-block;
    background-color: rgba(254, 170, 89, 255);
    color: #000;
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.3s ease;
}

.cta-button:hover {
    background-color: rgba(254, 150, 89, 255);
}

.parent-form {
    width: 100%;
    max-width: 640px;
}

/* footer */
.footer {
    background-color: rgba(254, 189, 89, 255);
    color: #000;
    position: relative;
    padding-top: 50px;
    margin-top: 50px;
    z-index: 1;
}

.footer::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: rgba(254, 189, 89, 255);
    transform: skewY(5deg);
    transform-origin: bottom left;
    z-index: -1;
}

.footer-content {
    padding: 5px;
    text-align: center;
}

.contact-information {
    margin-bottom: 20px;
}

.contact-btn {
    background-color: white;
    color: darkblue;
    border: none;
    padding: 10px 20px;
    border-radius: 15px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.3s ease;
}

.contact-btn a {
    text-decoration: none;
}

.contact-btn:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.footer-links {
    /* margin-bottom: 20px; */
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-links button {
    margin: 0 15px;
    color: #000;
    text-decoration: none;
    border: none;
    background-color: rgba(254, 189, 89, 255);
}

.footer-links button:hover {
    color: #007BFF;
    text-decoration: underline;
}

.copyright {
    background-color: rgba(254, 189, 89, 255);
    color: black;
    padding: 5px;
}

/* About.html */
.about-us-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    width: 100%;
}

.about-us-text {
    display: flex;
    align-items: center;
    flex-direction: column;
    max-width: 1200px;
    width: 103%;
    background-color: rgba(254, 200, 89, 255);
    color: #000;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-top: 80px;
}

canvas {
    width: 1000px;
    height: 200px;
}

.chart-container {
    margin-top: 40px;
    position: relative;
    height: 200px;
    margin-bottom: 40px;
    flex: 1;
    max-width: 1050px;
    width: 100%;
}

.chartjs-render-monitor {
    width: 100% !important;
    height: 100% !important;
}

.chart-label {
    position: absolute;
    transform: translate(-50%, 10px);
    background-color: rgba(254, 210, 89, 255);
    padding: 5px 10px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
    font-size: 12px;
    width: 100%;
    max-width: 100px;
    color: black;
}

#chartjs-tooltip {
    opacity: 0;
    transition: opacity 0.3s;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border-radius: 3px;
    pointer-events: none;
    -webkit-transition: all .1s ease;
    transition: all .1s ease;
    padding: 10px;
}

/* Analytics.html */
h1 {
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.analytics-main {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    padding: 10px;
    width: 100%;
}

.analytics-chart-container {
    flex: 1;
    max-width: 400px;
    /* margin-right: 10px; */
    width: 100%;
}

.text-section {
    flex: 1;
    padding: 20px;
    width: 100%;
}

.text-section p {
    color: #333;
    text-align: left;
    margin-bottom: 20px;
}

.analytics-btn {
    background-color: rgba(254, 140, 89, 255);
    color: white;
    padding: 15px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.3s ease;
}

.analytics-btn:hover {
    background-color: rgba(254, 120, 89, 255);
}


/* Contact-us.html */
.contact-header {
    padding: 30px;
    background-color: #f8f9fa;
    text-align: center;
}

.message-container {
    display: flex;
    align-items: flex-start;
    background-color: rgba(254, 180, 89, 255);
    color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    width: 100%;
    justify-content: center;
}

.contact-form {
    background-color: #f9f9f9;
    display: flex;
    justify-content: center;
}

#contactForm {
    flex: 1;
    margin-left: 10px;
}

.contact-form input,
.contact-form select,
.contact-form textarea,
.contact-form button {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.3s ease;
}

.contact-info {
    background-color: #f9f9f9;
    display: flex;
    justify-content: center;
}

.contact-container {
    display: flex;
    align-items: flex-start;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    max-width: 1000px;
    width: 100%;
}

.contact-details {
    flex: 1;
    margin-right: 20px;
}

.contact-details p {
    margin: 5px 0;
    display: flex;
    align-items: center;
}

.contact-details h3 {
    margin: 5px 30px;
    display: flex;
    align-items: center;
}

.contact-details p::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 10px;
}

.map {
    flex: 1;
    background-color: #e0e0e0;
    text-align: center;
    line-height: 400px;
    color: #333;
    border: 1px solid #ccc;
}

.map iframe {
    display: flex;
    height: 300px;
    width: 100%;
    max-width: 500px;
    background-color: #e0e0e0;
    text-align: center;
    line-height: 400px;
    color: #333;
    border: 1px solid #ccc;
}

#checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

#checkbox input[type="checkbox"] {
    margin-right: 10px;
}

/* subjects.html */
.timeline {
    width: 90%;
    margin: auto;
    position: relative;
    padding: 20px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    /* Adjust the gap between items as needed */
}

.timeline-event {
    flex: 1 1 calc(50% - 20px);
    /* Adjust the percentage to fit your design */
    display: flex;
    justify-content: flex-start;
    margin-bottom: 20px;
    position: relative;
}

.timeline-event::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #d4d4d4;
}

.timeline-event::after {
    content: '';
    position: absolute;
    left: 25px;
    top: 30px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #f9c851;
    border: 2px solid #fff;
}

.timeline-content {
    display: flex;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-left: 50px;
    width: 100%;

}

.subject-break {
    width: 20px;
    text-align: right;
    padding-right: 20px;
    border-right: 3px solid #d4d4d4;
}

.subject-details {
    /* padding-left: 20px;
    flex: 1; */
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 20px;
    flex: 1;
}

.subject-description {
    margin: 0 0 10px 0;
    color: #555;
}

.subject-details img {
    width: 250px;
    height: auto;
    border-radius: 10px;
}


/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
    padding-top: 60px;
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 10px;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal .close {
    float: right;
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
}


/* Privacy Policy */
.terms-condition {
    align-self: flex-start;
    text-align: left;
}

.terms-condition h1 {
    align-self: flex-start;
    text-align: left;
    text-decoration: underline;
}

.terms-condition p {
    margin-bottom: 15px;
}

.terms-link {
    color: red;
    text-decoration: none;
}

.terms-link:hover {
    text-decoration: underline;
}