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

body {
    background-color: #f8f8f8;
    font-family: Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Header */
header {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    width: 100%;
    position: relative;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    flex-wrap: wrap;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #222;
    text-decoration: none;
    margin-right: 20px;
}

/* Hide checkbox */
#menu-toggle {
    display: none;
}

/* Hamburger icon styling */
.menu-icon {
    display: none;
    cursor: pointer;
    padding: 10px;
    position: relative;
    z-index: 2;
}

.menu-icon span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #222;
    margin: 5px 0;
    transition: all 0.3s ease;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #444;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #000;
}

.register-btn {
    background-color: #FCCE32;
    color: #222;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease;
    display: inline-block;
}

.register-btn:hover {
    background-color: #FFD44D;
}

/* On desktop, keep the register button outside the nav-links */
nav>.register-btn {
    display: inline-block;
}

/* On desktop, hide the register button inside nav-links */
.nav-links .register-btn {
    display: none;
}

hr {
    border: none;
    border-top: 1px solid #eee;
    margin: 0;
}

/* Banner section */
.banner {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
}

.banner-content {
    width: 100%;
    max-width: 600px;
    margin-bottom: 40px;
}

.banner-content h2 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #222;
}

.banner-content p {
    font-size: 18px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 32px;
}

.banner-content form {
    display: flex;
    max-width: 420px;
    height: 56px;
    width: 100%;
}

.banner-content input {
    flex: 1;
    height: 100%;
    padding: 0 16px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-size: 16px;
    width: 70%;
}

.banner-content button {
    height: 100%;
    padding: 0 24px;
    background-color: #FCCE32;
    color: #222;
    font-weight: bold;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 30%;
    white-space: nowrap;
}

.banner-content button:hover {
    background-color: #FFD44D;
}

.banner-img {
    width: 100%;
    max-width: 500px;
    display: flex;
    justify-content: center;
}

.banner-img img {
    width: 100%;
    height: auto;
    max-width: 500px;
}

/* Student section */
.student {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.student-inroll {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 300px;
    width: 100%;
}

.student-inroll img {
    width: 100%;
    height: auto;
    max-width: 300px;
}

.student-pay {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    align-items: center;
    max-width: 800px;
    width: 100%;
}

.pay-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 120px;
    height: auto;
    padding: 10px;
}

.pay-icon img {
    max-width: 100%;
    height: auto;
}

.hr1 {
    border: none;
    border-top: 1px solid #ddd;
    margin: 0 auto;
    max-width: 1200px;
}

/* Learning banner */
.learning-banner {
    width: 100%;
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.learning-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 60px;
    gap: 30px;
}

.learning-content h2 {
    font-size: 40px;
    line-height: 1.2;
    color: #222;
    margin-bottom: 20px;
    max-width: 550px;
}

.learning-content p {
    font-size: 18px;
    line-height: 1.6;
    color: #666;
    max-width: 500px;
}

.learning-img {
    display: flex;
    /* flex-wrap: wrap; */
    justify-content: center;
    gap: 30px;
    width: 100%;
    /* border-radius: 20px; */
}

.learning-img img {
    width: 100%;
    max-width: 570px;
    height: auto;
    border-radius: 29px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    text-align: center;
    background-color: #fff;
    width: 100%;
}

.stats-heading {
    font-size: 36px;
    margin-bottom: 16px;
    color: #222;
    padding: 0 20px;
}

.stats-subheading {
    font-size: 18px;
    color: #666;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.world-map {
    max-width: 1000px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.world-map img {
    width: 100%;
    height: auto;
}

.stats-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.stat-item {
    flex: 1;
    min-width: 200px;
    padding: 0 10px;
}

.stat-item h3 {
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #222;
}

.stat-item p {
    font-size: 16px;
    color: #666;
}

/* Download Section */
.download-section {
    background-color: #FCCE32;
    padding: 80px 20px;
    text-align: center;
    width: 100%;
}

.download-section h2 {
    font-size: 36px;
    margin-bottom: 40px;
    color: #222;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.app-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.app-button {
    display: inline-block;
    transition: transform 0.3s ease;
}

.app-button:hover {
    transform: translateY(-5px);
}

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

/* Footer */
footer {
    background-color: #fff;
    padding: 80px 20px 30px;
    width: 100%;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 50px;
    gap: 40px;
}

.footer-brand {
    flex: 1;
    max-width: 350px;
    margin-bottom: 30px;
}

.footer-brand h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 14px;
    color: #666;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
}

.footer-column {
    min-width: 140px;
}

.footer-column h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #222;
}

.footer-column a {
    display: block;
    margin-bottom: 12px;
    text-decoration: none;
    color: #666;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #FCCE32;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #eee;
    font-size: 14px;
    color: #999;
}

/* Enhanced responsive styles for all screen sizes */
@media (max-width: 1200px) {
    .student-pay {
        justify-content: center;
    }

    .learning-content {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 1024px) {
    .banner {
        flex-direction: column;
        align-items: center;
    }

    .banner-content,
    .banner-img {
        max-width: 100%;
        text-align: center;
    }

    .banner-content form {
        margin: 0 auto;
    }

    .banner-content h2 {
        font-size: 36px;
    }

    .student {
        flex-direction: column;
    }

    .learning-img {
        flex-direction: column;
        align-items: center;
    }

    .stats-container {
        gap: 40px;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-brand {
        margin-bottom: 40px;
        max-width: 100%;
    }
}

@media (max-width: 768px) {


    .menu-icon {
        display: block;
    }

    nav>.register-btn {
        display: none;
    }

    nav {
        padding: 0px;
    }

    .nav-links .register-btn {
        display: inline-block;
        margin-top: 10px;
        width: 80%;
        text-align: center;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease;
        order: 3;
        background: white;
        padding: 0;
        margin-top: 10px;
    }


    #menu-toggle:checked~.nav-links {
        max-height: 425px;

        padding: 10px 0;
    }


    #menu-toggle:checked~.menu-icon span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    #menu-toggle:checked~.menu-icon span:nth-child(2) {
        opacity: 0;
    }

    #menu-toggle:checked~.menu-icon span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .nav-links a {
        padding: 12px 0;
        width: 100%;
        text-align: center;
    }

    .banner-content h2 {
        font-size: 32px;
    }

    .banner-content form {
        flex-direction: column;
        height: auto;
        gap: 10px;
        height: 100px;
    }

    .banner-content input,
    .banner-content button {
        width: 100%;
        border-radius: 4px;
        height: 50px;
    }

    .learning-content h2 {
        font-size: 32px;
    }

    .learning-content p {
        font-size: 16px;
    }

    .stats-heading {
        font-size: 30px;
    }

    .download-section h2 {
        font-size: 28px;
    }

    .footer-links {
        gap: 30px;
        justify-content: space-around;
        width: 100%;
    }

    .student-pay {
        gap: 20px;
    }

    .pay-icon {
        width: 100px;
    }
}

@media (max-width: 576px) {
    .banner-content h2 {
        font-size: 28px;
    }

    .banner-content p {
        font-size: 16px;
    }

    .learning-content h2 {
        font-size: 28px;
    }

    .stat-item {
        min-width: 100%;
        margin-bottom: 30px;
    }

    .app-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .footer-links {
        flex-direction: column;
        gap: 40px;
    }

    .footer-column {
        width: 100%;
        text-align: center;
    }

    .footer-brand {
        text-align: center;
    }

    .stats-heading {
        font-size: 26px;
    }

    .stats-subheading {
        font-size: 16px;
    }

    .download-section h2 {
        font-size: 24px;
    }
}

/* Small mobile devices */
@media (max-width: 425px) {
    .logo {
        font-size: 20px;
    }

    .banner-content h2 {
        font-size: 30px;
    }

    nav {
        padding: 0px;

    }

    .banner-content p {
        font-size: 14px;
    }

    .student-pay {
        gap: 15px;
    }

    .pay-icon {
        width: 80px;
    }

    .stat-item h3 {
        font-size: 32px;
    }

    .stat-item p {
        font-size: 14px;
    }
}