/* ===========================
   Google Font
=========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Poppins',sans-serif;

    background:#f8fafc;

    color:#1e293b;

    line-height:1.6;

}

/* ===========================
Container
=========================== */

.container{

    width:90%;

    max-width:1200px;

    margin:auto;

}
/* ===========================
Navbar
=========================== */

header{
    position: sticky;
    top: 0;
    width: 100%;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 15px rgba(0,0,0,.08);
    z-index: 1000;
}

.navbar{
    height:75px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    position:relative;
}

.logo a{
    text-decoration:none;
    color:#2563eb;
    font-size:clamp(1.7rem,5vw,2rem);
    font-weight:700;
    letter-spacing:.5px;
}

nav ul{
    display:flex;
    list-style:none;
    gap:30px;
}

nav ul li a{

    text-decoration:none;
    color:#334155;
    font-weight:500;
    padding:8px 14px;
    border-radius:8px;
    transition:.3s;

}

nav ul li a:hover{

    background:#2563eb;
    color:white;

}
.hero{

padding:clamp(50px,8vw,90px) 0;

background:#f8fbff;

}

.hero-content{

display:grid;

align-items:center;

gap:70px;

}

.badge{

display:inline-block;

background:#dbeafe;

color:#2563eb;

padding:8px 18px;

border-radius:30px;

font-weight:600;

margin-bottom:25px;

}

.hero-left h1{

font-size:clamp(2.2rem,6vw,3.4rem);

line-height:1.2;

margin-bottom:20px;

}



.hero-left p{

font-size:clamp(1rem,2vw,1.125rem);

color:#64748b;

line-height:1.8;

margin-bottom:35px;

}

.hero-buttons{

display:flex;

gap:18px;

margin-bottom:35px;

}

.hero-features{

display:flex;

gap:30px;

flex-wrap:wrap;

font-weight:500;

color:#334155;

}

.hero-right img{

display:block;

width:100%;

border-radius:20px;

box-shadow:0 20px 40px rgba(0,0,0,.12);

}

@media(max-width:900px){

.hero-content{

grid-template-columns:1fr;

text-align:center;

}

.hero-buttons{

justify-content:center;

}

.hero-features{

justify-content:center;

}

}

.menu-toggle{

display:none;

font-size:30px;

cursor:pointer;

color:#2563eb;

}
/* ===========================
Buttons
=========================== */
.btn{

display:inline-block;

padding:.9rem 1.8rem;

min-width:150px;

text-align:center;

border-radius:10px;

text-decoration:none;

font-weight:600;

transition:.3s;

}

.btn-primary{

background:#2563eb;

color:white;

}

.btn-primary:hover{

background:#1d4ed8;

transform:translateY(-3px);

}

.btn-secondary{

border:2px solid #2563eb;

color:#2563eb;

background:white;

}

.btn-secondary:hover{

background:#2563eb;

color:white;

}
/* ===========================
Stats
=========================== */

.stats{

padding:70px 0;

background:white;

}

.stats-grid{

display:grid;

grid-template-columns:repeat(4,1fr);

gap:25px;

}

.stat-card{

background:#ffffff;

padding:35px;

border-radius:15px;

text-align:center;

box-shadow:0 10px 25px rgba(0,0,0,.08);

transition:.3s;

}

.stat-card:hover{

transform:translateY(-8px);

}

.stat-card h2{

font-size:42px;

color:#2563eb;

margin-bottom:10px;

}

.stat-card p{

color:#64748b;

font-size:17px;

}

@media(max-width:900px){

.stats-grid{

grid-template-columns:repeat(2,1fr);

}

}

@media(max-width:550px){

.stats-grid{

grid-template-columns:1fr;

}

}
/* ===========================
Section Title
=========================== */

.section-title{

text-align:center;

font-size:clamp(2rem,5vw,2.5rem);

margin-bottom:45px;

}

/* ===========================
Subjects
=========================== */

.subjects{

    padding:80px 0;

}

.subject-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:25px;

}

.subject-card{

    background:white;

    padding:30px;

    border-radius:10px;

    text-align:center;

    box-shadow:0 5px 15px rgba(0,0,0,.08);

    transition:.3s;

    cursor:pointer;

}

.subject-card:hover{

    transform:translateY(-8px);

}

/* ===========================
Teachers
=========================== */

.teachers{

    padding:80px 0;

}

.teacher-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

}

.teacher-card{

    background:white;

    border-radius:10px;

    overflow:hidden;

    box-shadow:0 5px 15px rgba(0,0,0,.08);

    transition:.3s;

    text-align:center;

    padding-bottom:20px;

}

.teacher-card:hover{

    transform:translateY(-8px);

}

.teacher-card img{

    width:100%;

    height:250px;

    object-fit:cover;

}

@media(max-width:768px){

.teacher-card img{

height:220px;

}

}

.teacher-card h3{

    margin-top:20px;

}

.teacher-card span{

    color:orange;

    font-size:20px;

}

.teacher-card a{

    display:inline-block;

    margin-top:15px;

    color:#2563eb;

    text-decoration:none;

    font-weight:600;

}

/* ===========================
Why
=========================== */

.why{

    padding:80px 0;

    background:white;

}

.why-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:25px;

}

.why-box{

    text-align:center;

    padding:30px;

}

.why-box i{

    font-size:45px;

    color:#2563eb;

    margin-bottom:15px;

}

/* ===========================
CTA
=========================== */

.cta{

    background:#2563eb;

    color:white;

    text-align:center;

    padding:80px 0;

}

.cta h2{

    margin-bottom:30px;

    font-size:40px;

}

/* ===========================
Footer
=========================== */

footer{

    background:#1e293b;

    color:white;

    padding-top:50px;

}


.footer a{

    color:white;

    text-decoration:none;

    line-height:2;

}

.footer a:hover{

    color:#60a5fa;

}

.copyright{

    text-align:center;

    border-top:1px solid rgba(255,255,255,.1);

    padding:20px;

}

/* ===========================
Responsive
=========================== */

@media(max-width:900px){

.hero-content{

grid-template-columns:1fr;

}

.stats-grid{

    grid-template-columns:repeat(2,1fr);

}

.subject-grid{

    grid-template-columns:repeat(2,1fr);

}

.teacher-grid{

    grid-template-columns:1fr;

}

.why-grid{

    grid-template-columns:repeat(2,1fr);

}

.footer{

    grid-template-columns:1fr;

    text-align:center;

}

nav ul{

    gap:15px;

}

}

@media(max-width:600px){



.subject-grid{

    grid-template-columns:1fr;

}

.stats-grid{

    grid-template-columns:1fr;

}

.why-grid{

    grid-template-columns:1fr;

}

.hero{

    text-align:center;

}

.hero-buttons{

    display:flex;

    flex-direction:column;

    gap:15px;

}

.btn{

    margin:0;

}

}

/* ===========================
Search Box
=========================== */

.search-box{

    display:grid;

    grid-template-columns:2fr 1fr 1fr auto;

    gap:15px;

    margin:40px 0 60px;

}

.search-box input,
.search-box select{

    padding:15px;

    border:1px solid #d1d5db;

    border-radius:8px;

    font-size:16px;

    outline:none;

}

.search-box input:focus,
.search-box select:focus{

    border-color:#2563eb;

}

.search-box button{

    border:none;

}

@media(max-width:900px){

.search-box{

    grid-template-columns:1fr;

}

}
/* ===========================
Tutor Form
=========================== */

.form-section{

padding:80px 0;

}

.form-header{

text-align:center;

margin-bottom:50px;

}

.form-header h1{

font-size:42px;

margin-bottom:10px;

}

.form-header p{

color:#64748b;

}

.tutor-form{

background:white;

padding:40px;

border-radius:12px;

box-shadow:0 10px 25px rgba(0,0,0,.08);

}

.form-grid{

display:grid;

grid-template-columns:repeat(2,1fr);

gap:25px;

}

.form-group{

display:flex;

flex-direction:column;

}

.form-group label{

font-weight:600;

margin-bottom:8px;

}

.form-group input,
.form-group select,
.form-group textarea{

padding:14px;

border:1px solid #d1d5db;

border-radius:8px;

font-size:16px;

font-family:Poppins,sans-serif;

outline:none;

width:100%;

}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus{

border-color:#2563eb;

}

.full{

grid-column:1/3;

}

textarea{

resize:vertical;

}

button{

border:none;

cursor:pointer;

}

@media(max-width:768px){

.form-grid{

grid-template-columns:1fr;

}

.full{

grid-column:1;

}

.tutor-form{

padding:20px;

}

}

/* ===========================
About
=========================== */

.about-section{

padding:80px 0;

}

.about-text{

max-width:850px;

margin:0 auto 50px;

text-align:center;

font-size:18px;

color:#64748b;

line-height:1.8;

}

.about-grid{

display:grid;

grid-template-columns:repeat(3,1fr);

gap:25px;

}

.about-card{

background:white;

padding:35px;

border-radius:12px;

box-shadow:0 8px 20px rgba(0,0,0,.08);

transition:.3s;

}

.about-card:hover{

transform:translateY(-8px);

}

.about-card h3{

margin-bottom:15px;

color:#2563eb;

}

@media(max-width:900px){

.about-grid{

grid-template-columns:1fr;

}

}
/* ===========================
Contact
=========================== */

.contact-section{

padding:80px 0;

}

.contact-subtitle{

text-align:center;

margin-bottom:50px;

color:#64748b;

}

.contact-grid{

display:grid;

grid-template-columns:1fr 1fr;

gap:50px;

}

.contact-info{

background:white;

padding:40px;

border-radius:12px;

box-shadow:0 8px 20px rgba(0,0,0,.08);

}

.contact-info h2{

margin-bottom:25px;

color:#2563eb;

}

.contact-info p{

margin-bottom:20px;

line-height:1.8;

}

.contact-form{

background:white;

padding:40px;

border-radius:12px;

box-shadow:0 8px 20px rgba(0,0,0,.08);

}

@media(max-width:768px){

.contact-form{

padding:20px;

}

.contact-info{

padding:20px;

}

}

.contact-form form{

display:flex;

flex-direction:column;

gap:20px;

}

.contact-form input,
.contact-form textarea{

padding:15px;

border:1px solid #d1d5db;

border-radius:8px;

font-size:16px;

font-family:Poppins,sans-serif;

outline:none;

}

.contact-form input:focus,
.contact-form textarea:focus{

border-color:#2563eb;

}

.contact-form button{

border:none;

}

@media(max-width:900px){

.contact-grid{

grid-template-columns:1fr;

}

}
/* ===========================
404 Page
=========================== */

.error-page{

height:100vh;

display:flex;

justify-content:center;

align-items:center;

text-align:center;

background:#f8fafc;

}

.error-page h1{

font-size:140px;

color:#2563eb;

}

.error-page h2{

font-size:40px;

margin-bottom:20px;

}

.error-page p{

color:#64748b;

margin-bottom:30px;

font-size:18px;

}
/* ===========================
Policy
=========================== */

.policy{

padding:80px 0;

}

.policy h1{

margin-bottom:30px;

}

.policy h2{

margin-top:35px;

margin-bottom:15px;

color:#2563eb;

}

.policy p{

line-height:1.9;

color:#475569;

}
.active{

background:#2563eb;

color:white !important;

}
.footer{

display:grid;

grid-template-columns:2fr 1fr 1fr 1fr;

gap:40px;

padding:60px 0;

}

.footer h4{

margin-bottom:18px;

}

.footer a{

display:inline-block;

margin-bottom:10px;

}

.footer p{

line-height:1.8;

}

@media(max-width:900px){

.footer{

grid-template-columns:1fr;

text-align:center;

}

}

@media(max-width:768px){

.menu-toggle{

display:block;

}

nav{

position:absolute;

top:75px;

left:0;

width:100%;

background:white;

display:none;

box-shadow:0 8px 20px rgba(0,0,0,.08);

}

nav.active{

display:block;

}

nav ul{

flex-direction:column;

gap:0;

}

nav ul li{

text-align:center;

border-bottom:1px solid #eee;

}

nav ul li a{

display:block;

padding:18px;

}

}