*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Poppins,sans-serif;
}
p{
	color:black;
}
body{
background:#f7f9fc;
color:#333;
}

.container{
width:90%;
max-width:1200px;
margin:auto;
}

nav{
background:#fff;
padding:18px 0;
box-shadow:0 5px 20px rgba(0,0,0,.08);
position:sticky;
top:0;
z-index:100;
}

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

.logo{
font-size:30px;
font-weight:700;
}

.logo span{
color:#2563eb;
}

nav ul{
display:flex;
gap:35px;
list-style:none;
}

nav a{
text-decoration:none;
color:#333;
font-weight:500;
}

.btn{
background:#2563eb;
color:#fff;
padding:13px 28px;
border-radius:30px;
text-decoration:none;
transition:.3s;
}

.btn:hover{
background:#1d4ed8;
}

.hero{
padding:45px 0;
}

.hero-grid{
    display: grid;
    gap: 15px;
    align-items: center;
    justify-content: center;
    grid-template-rows: auto;
    grid-auto-flow: column;
    align-content: space-between;
}

.hero img{
width:100%;
border-radius:20px;
box-shadow:0 20px 40px rgba(0,0,0,.15);
}

.badge{
display:inline-block;
padding:8px 18px;
background:#dbeafe;
color:#2563eb;
border-radius:30px;
margin-bottom:20px;
}

.hero h1{
font-size:58px;
line-height:1.1;
margin-bottom:25px;
}

.hero h1 span{
color:#2563eb;
}

.hero p{
font-size:18px;
line-height:1.8;
margin-bottom:35px;
}

.hero-buttons{
display:flex;
gap:20px;
}

.btn-outline{
padding:13px 28px;
border-radius:30px;
border:2px solid #2563eb;
color:#2563eb;
text-decoration:none;
}

.about{
padding:10px 0;
text-align:center;
}

.about h2{
font-size:42px;
margin-bottom:20px;
}

.about p{
max-width:850px;
margin:auto;
line-height:1.9;
font-size:18px;
color:black;
}

.stats{
padding:40px 0;
}

.stats-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:25px;
}
.stats-grid:before , .stats-grid:after{
	display:none;
}
.card{
background:#fff;
padding:40px;
border-radius:20px;
text-align:center;
box-shadow:0 10px 30px rgba(0,0,0,.08);
transition:.3s;
}

.card:hover{
transform:translateY(-8px);
}

.card h2{
font-size:42px;
color:#2563eb;
}
.section-title{
text-align:center;
font-size:42px;
margin-bottom:50px;
}

.features,
.courses,
.testimonials{
padding:45px 0;
}

.feature-grid,
.course-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:30px;
}

.feature-card{
background:#fff;
padding:40px;
text-align:center;
border-radius:20px;
box-shadow:0 15px 35px rgba(0,0,0,.08);
transition:.4s;
height:auto !important;
}

.feature-card:hover{
transform:translateY(-10px);
}

.feature-card i{
font-size:45px;
color:#2563eb;
margin-bottom:20px;
}

.course-card{
background:#fff;
overflow:hidden;
border-radius:20px;
box-shadow:0 15px 35px rgba(0,0,0,.08);
transition:.4s;
}

.course-card:hover{
transform:translateY(-10px);
}

.course-card img{
width:100%;
height:230px;
object-fit:cover;
}

.course-content{
padding:25px;
}
.course-content h3{
	margin-top:15px;
}
.category{
background:#2563eb;
color:#fff;
padding:6px 15px;
border-radius:20px;
font-size:13px;
}

.rating{
margin:15px 0;
color:#f6b400;
}

.course-footer{
display:flex;
justify-content:space-between;
align-items:center;
margin-top:20px;
}

.price{
font-size:24px;
font-weight:700;
color:#2563eb;
}

.btn-small{
background:#2563eb;
padding:10px 22px;
border-radius:30px;
color:#fff;
text-decoration:none;
}

.testimonial-slider{
max-width:700px;
margin:auto;
text-align:center;
}

.testimonial{
display:none;
}

.testimonial.active{
display:block;
animation:fade .6s;
}

.testimonial img{
width:100px;
height:100px;
border-radius:50%;
object-fit:cover;
margin-bottom:20px;
}

@keyframes fade{
from{opacity:0}
to{opacity:1}
}

@media(max-width:900px){

.feature-grid,
.course-grid{
grid-template-columns:1fr;
}

}
@media(max-width:900px){

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

.stats-grid{
grid-template-columns:repeat(2,1fr);
}

nav ul{
display:none;
}

.hero h1{
font-size:42px;
}

}

@media(max-width:600px){

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

.hero-buttons{
flex-direction:column;
}

.hero h1{
font-size:34px;
}

}