/* =========================================
   HALOEDU PLATFORM
   Main Stylesheet v1.0
========================================= */


/* =========================================
   GLOBAL
========================================= */

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


body{

    font-family:'Poppins',sans-serif;

    background:#f8fafc;

    color:#1f2937;

}


a{

    text-decoration:none;

}


.haloedu-wrapper{

    overflow:hidden;

}



/* =========================================
   NAVBAR
========================================= */


.navbar{
    width:100%;
    background:white;
    position:relative;
    z-index:10;
}


.nav-container{
    max-width:1400px;
    margin:auto;
    padding:25px 40px;

    display:flex;
    justify-content:space-between;
    align-items:center;
}


.logo{
    font-size:32px;
    white-space:nowrap;
    font-weight:800;
    color:#2e7d32;
    text-decoration:none;
    line-height:1;
}


.logo span{
    color:#f9a825;
}


.logo small{
    display:block;
    font-size:14px;
    color:#777;
    margin-top:8px;
}


.menu{
    display:flex;
    align-items:center;
    gap:35px;
}

.hamburger{

    display:none;

    background:none;

    border:none;

    font-size:30px;

    cursor:pointer;

    color:#2e7d32;

}


.menu a{
    text-decoration:none;
    color:#263238;
    font-size:18px;
}


.login-btn{
    border:1px solid #2e7d32;
    padding:14px 35px;
    border-radius:16px;
}


.join-btn{
    background:#2e7d32;
    color:white!important;
    padding:15px 35px;
    border-radius:16px;
}
/* =========================================
   HERO
========================================= */


.hero{

    padding:100px 20px;

    background:
    linear-gradient(
        135deg,
        #f0fdf4,
        #ffffff
    );

}


.hero-container{

    max-width:1200px;

    margin:auto;

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:70px;

    align-items:center;

}


.hero-label{

    display:inline-block;

    background:#dcfce7;

    color:#166534;

    padding:10px 20px;

    border-radius:50px;

    font-weight:600;

    margin-bottom:25px;

}


.hero h1{

    font-size:56px;

    line-height:1.1;

    font-weight:800;

    color:#1f2937;

}


.hero p{

    margin-top:25px;

    font-size:18px;

    line-height:1.8;

    color:#64748b;

}


.hero-actions{

    margin-top:35px;

    display:flex;

    gap:20px;

}


.primary-btn{

    background:#2E7D32;

    color:white!important;

    padding:15px 30px;

    border-radius:14px;

    font-weight:600;

}


.secondary-btn{

    border:2px solid #2E7D32;

    color:#2E7D32!important;

    padding:15px 30px;

    border-radius:14px;

    font-weight:600;

}


.hero-visual{

    display:flex;

    flex-direction:column;

    gap:25px;

}


.hero-box{

    background:white;

    padding:35px;

    border-radius:25px;

    box-shadow:
    0 20px 50px rgba(0,0,0,.08);

}


.hero-box i{

    font-size:40px;

    color:#2E7D32;

}


.hero-box h3{

    margin-top:20px;

}



/* =========================================
   ABOUT
========================================= */


.about{

    padding:100px 20px;

    background:white;

}


.about-container{

    max-width:1200px;

    margin:auto;

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:80px;

    align-items:center;

}


.about-title span{

    color:#2E7D32;

    font-weight:700;

    letter-spacing:1px;

}


.about-title h2{

    margin-top:20px;

    font-size:42px;

    line-height:1.2;

    font-weight:800;

}


.about-content p{

    font-size:18px;

    line-height:1.8;

    color:#64748b;

    margin-bottom:25px;

}



/* =========================================
   TOPICS
========================================= */


.topics{

    padding:100px 20px;

    background:#f8fafc;

}


.topics-container{

    max-width:1200px;

    margin:auto;

}


.section-header{

    text-align:center;

    max-width:700px;

    margin:auto;

}


.section-header span{

    color:#2E7D32;

    font-weight:700;

}


.section-header h2{

    margin-top:20px;

    font-size:42px;

    line-height:1.2;

    font-weight:800;

}


.section-header p{

    margin-top:20px;

    color:#64748b;

    font-size:18px;

}


.topic-grid{

    margin-top:60px;

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:25px;

}


.topic-card{

    background:white;

    padding:35px;

    border-radius:20px;

    box-shadow:
    0 10px 30px rgba(0,0,0,.05);

    transition:.3s;

}


.topic-card:hover{

    transform:translateY(-5px);

}


.topic-icon{

    font-size:40px;

    color:#2E7D32;

}


.topic-card h3{

    margin-top:20px;

    font-size:22px;

}


.topic-card p{

    margin-top:15px;

    color:#64748b;

    line-height:1.7;

}



/* =========================================
   FOOTER
========================================= */


footer{

    background:#111827;

    color:white;

    padding:50px 20px;

}


.footer-container{

    max-width:1200px;

    margin:auto;

}



/* =========================================
   RESPONSIVE
========================================= */


@media(max-width:1000px){


.hero-container,
.about-container{

    grid-template-columns:1fr;

}


.topic-grid{

    grid-template-columns:repeat(2,1fr);

}


.hero h1{

    font-size:42px;

}


}



@media(max-width:768px){

.nav-container{

    padding:18px 20px;

}

.hamburger{

    display:block;

    z-index:10001;

}

.menu{

    position:fixed;

    top:0;

    right:-100%;

    width:280px;

    height:100vh;

    background:white;

    display:flex;

    flex-direction:column;

    align-items:flex-start;

    gap:22px;

    padding:90px 30px;

    transition:.3s;

    box-shadow:-5px 0 25px rgba(0,0,0,.15);

    z-index:10000;

}

.menu.show{

    right:0;

}

.menu a{

    width:100%;

    font-size:18px;

}

.login-btn,
.join-btn{

    width:100%;

    text-align:center;

}

.hero-actions{

    flex-direction:column;

}

.topic-grid{

    grid-template-columns:1fr;

}

.about-title h2,
.section-header h2{

    font-size:32px;

}

}

/* =========================================
   CLASSES SECTION
========================================= */


.classes{

    padding:100px 20px;

    background:white;

}


.classes-container{

    max-width:1200px;

    margin:auto;

}



.class-empty{

    margin-top:60px;

    max-width:650px;

    margin-left:auto;

    margin-right:auto;

    text-align:center;

    background:#f8fafc;

    padding:60px 40px;

    border-radius:30px;

}


.class-icon{

    width:80px;

    height:80px;

    display:flex;

    align-items:center;

    justify-content:center;

    margin:auto;

    background:#dcfce7;

    border-radius:50%;

}


.class-icon i{

    font-size:40px;

    color:#2E7D32;

}


.class-empty h3{

    margin-top:30px;

    font-size:28px;

    font-weight:700;

}


.class-empty p{

    margin:20px 0 35px;

    color:#64748b;

    line-height:1.8;

}

/* =========================================
   HOW IT WORKS
========================================= */


.how-it-works{

    padding:100px 20px;

    background:#f8fafc;

}


.how-container{

    max-width:1200px;

    margin:auto;

}


.steps-grid{

    margin-top:60px;

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:25px;

}


.step-card{

    background:white;

    padding:35px;

    border-radius:20px;

    box-shadow:
    0 10px 30px rgba(0,0,0,.05);

}


.step-number{

    width:50px;

    height:50px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

    background:#2E7D32;

    color:white;

    font-size:22px;

    font-weight:700;

}


.step-card h3{

    margin-top:25px;

    font-size:22px;

}


.step-card p{

    margin-top:15px;

    color:#64748b;

    line-height:1.7;

}



@media(max-width:1000px){

    .steps-grid{

        grid-template-columns:repeat(2,1fr);

    }

}


@media(max-width:600px){

    .steps-grid{

        grid-template-columns:1fr;

    }

}

/* =========================================
   FAQ
========================================= */


.faq{

    padding:100px 20px;

    background:white;

}


.faq-container{

    max-width:900px;

    margin:auto;

}


.faq-list{

    margin-top:60px;

    display:flex;

    flex-direction:column;

    gap:20px;

}


.faq-item{

    background:#f8fafc;

    padding:30px;

    border-radius:20px;

}


.faq-item h3{

    font-size:22px;

    font-weight:700;

    color:#1f2937;

}


.faq-item p{

    margin-top:15px;

    color:#64748b;

    line-height:1.8;

}

/* =========================================
   CTA SECTION
========================================= */


.cta{

    padding:100px 20px;

    background:
    linear-gradient(
        135deg,
        #2E7D32,
        #166534
    );

    color:white;

    text-align:center;

}


.cta-container{
    max-width:800px;
    margin:auto;
    width:100%;
    box-sizing:border-box;
}


.cta h2{
    font-size: clamp(2rem, 7vw, 42px);
    font-weight:800;
    line-height:1.2;
    word-break: break-word;
}


.cta p{

    margin:25px 0 40px;

    font-size:18px;

    line-height:1.8;

    opacity:.9;

}


.cta .primary-btn{

    background:white;

    color:#2E7D32!important;

}


@media (max-width:1100px){

    .nav-container{
        padding:20px 25px;
    }


    .logo{
        font-size:32px;
    }


    .menu{
        gap:20px;
    }


    .menu a{
        font-size:16px;
    }


    .login-btn,
    .join-btn{
        padding:12px 20px;
    }

}




html {
    scroll-behavior: smooth;
}







