*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Inter',sans-serif;
}

body{
background:#f5f5f5;
overflow-x:hidden;
}

/* TOP BAR */

.top-bar{
background:#1D1B50;
color:white;
padding:8px 6%;
display:flex;
justify-content:space-between;
align-items:center;
font-size:14px;
}

.top-left{
display:flex;
gap:20px;
align-items:center;
}

.top-right{
display:flex;
align-items:center;
gap:18px;
color:white;
}

.top-right span{
color:white;
}

.top-right{
display:flex;
align-items:center;
gap:18px;
}

.top-right span{
color:white;
}

.top-right a{
width:20px;
height:20px;

display:flex;
align-items:center;
justify-content:center;

text-decoration:none;

color:white ;
}

.top-right a:visited{
color:white ;
}

.top-right a i{
font-size:15px ;
color:white ;
transition:0.3s;
}

.top-right a:hover i{
color:#F8AE46 ;
}

/* NAVBAR */

.navbar{
background:white;
padding:18px 6%;
display:flex;
justify-content:space-between;
align-items:center;
position:sticky;
top:0;
z-index:1000;
box-shadow:0 2px 10px rgba(0,0,0,0.08);
}

.logo-section{
display:flex;
align-items:center;
gap:12px;
}

.logo-section img{
width:70px;
}

.logo-section h2{
font-size:24px;
color:#1D1B50;
font-weight:800;
line-height:1.1;
}

.logo-section p{
color:#F8AE46;
font-size:18px;
font-weight:700;
}

nav{
display:flex;
gap:35px;
}

nav a{
text-decoration:none;
color:black;
font-weight:700;
position:relative;
}

nav a::after{
content:'';
width:0%;
height:3px;
background:#F8AE46;
position:absolute;
left:0;
bottom:-8px;
transition:0.4s;
}

nav a:hover::after,
nav a.active::after{
width:100%;
}

.enroll-btn{
background:#F8AE46;
border:none;
padding:18px 38px;
border-radius:50px;
font-size:20px;
font-weight:700;
cursor:pointer;
transition:0.4s ease;
position:relative;
overflow:hidden;
box-shadow:0 5px 15px rgba(248,174,70,0.4);
line-height:1;
}

.enroll-btn:hover{
transform:translateY(-5px) scale(1.05);
box-shadow:0 10px 25px rgba(248,174,70,0.5);
}

.enroll-btn:active{
transform:scale(0.96);
}

.enroll-btn::before{
content:'';
position:absolute;
top:0;
left:-100%;
width:100%;
height:100%;
background:rgba(255,255,255,0.3);
transform:skewX(-25deg);
transition:0.6s;
}

.enroll-btn:hover::before{
left:120%;
}

.menu-btn{
display:none;
font-size:28px;
cursor:pointer;
}

/* HERO */

.teacher-hero{
background:#1D1B50;
padding:80px 6%;
display:grid;
grid-template-columns:1.2fr 1fr;
align-items:center;
gap:40px;
}

.hero-left h3{
color:white;
font-size:42px;
margin-bottom:20px;
}

.hero-left h1{
color:#F8AE46;
font-size:64px;
line-height:1.1;
margin-bottom:25px;
font-weight:700;
}

.hero-left p{
color:white;
font-size:24px;
line-height:1.7;
}


/* TEACHERS */

/* TEACHERS */

.teachers-section{
width:95%;
margin:80px auto;
}

.section-title{
text-align:center;
margin-bottom:60px;
}

.section-title h2{
font-size:52px;
color:#1D1B50;
margin-bottom:12px;
font-weight:800;
}

.line{
width:140px;
height:5px;
background:#F8AE46;
margin:auto;
border-radius:10px;
}

/* TEACHERS */

.teachers-section{
width:95%;
margin:80px auto;
position:relative;
}

/* TITLE */

.section-title{
text-align:center;
margin-bottom:40px;
}

.section-title h2{
font-size:50px;
color:#1D1B50;
margin-bottom:10px;
font-weight:800;
}

.line{
width:140px;
height:5px;
background:#F8AE46;
margin:auto;
border-radius:10px;
}

/* BUTTONS */

.teacher-slider-buttons{
display:flex;
justify-content:flex-end;
gap:15px;
margin-bottom:25px;
}

.teacher-slider-buttons button{
width:55px;
height:55px;
border:none;
border-radius:50%;
background:#1D1B50;
color:white;
font-size:28px;
cursor:pointer;
transition:0.3s;
}

.teacher-slider-buttons button:hover{
background:#F8AE46;
color:black;
transform:scale(1.08);
}

/* CONTAINER */

.teachers-container{
display:flex;
gap:35px;
overflow-x:auto;
scroll-behavior:smooth;
padding:10px;
scrollbar-width:none;
}

.teachers-container::-webkit-scrollbar{
display:none;
}

/* CARD */

.teacher-card{
min-width:360px;
max-width:360px;
background:white;
border-radius:25px;
overflow:hidden;
box-shadow:0 8px 30px rgba(0,0,0,0.12);
transition:0.4s ease;
flex-shrink:0;
}

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

/* IMAGE */

.teacher-image{
height:320px;
overflow:hidden;
}

.teacher-image img{
width:100%;
height:100%;
object-fit:cover;
display:block;
transition:0.5s;
}

.teacher-card:hover img{
transform:scale(1.08);
}

/* CONTENT */

.teacher-content{
padding:25px;
text-align:center;
}

.teacher-content h3{
font-size:34px;
color:#1D1B50;
margin-bottom:10px;
font-weight:800;
}

.teacher-content p{
font-size:22px;
color:#1D1B50;
font-weight:600;
}

/* CTA */

.cta{
width:90%;
margin:60px auto;
display:grid;
grid-template-columns:1fr 1fr;
border-radius:20px;
overflow:hidden;
}

.stats{
background:#1D1B50;
color:white;
display:grid;
grid-template-columns:repeat(5,1fr);
padding:35px 25px;
text-align:center;
}

.stats h3{
font-size:30px;
margin-bottom:10px;
}

.cta-right{
background:#F8AE46;
display:flex;
align-items:center;
justify-content:space-between;
gap:20px;
padding:30px;
}

.cta-right img{
width:85px;
height:85px;
object-fit:contain;
}

.cta-right div{
flex:1;
}

.cta-right h2{
font-size:28px;
margin-bottom:10px;
font-weight:700;
color:black;
}

.cta-right p{
font-size:15px;
line-height:1.6;
}

.cta-right button{
background:#1D1B50;
color:white;
border:none;
padding:14px 24px;
border-radius:10px;
cursor:pointer;
font-size:16px;
font-weight:600;
transition:0.4s;
}

.cta-right button:hover{
transform:translateY(-4px);
}

/* ANIMATION */

.fade-up{
opacity:0;
transform:translateY(40px);
transition:0.8s;
}

.show{
opacity:1;
transform:translateY(0);
}

@keyframes float{

0%{
transform:translateY(0px);
}

50%{
transform:translateY(-15px);
}

100%{
transform:translateY(0px);
}

}

/* RESPONSIVE */

@media(max-width:1200px){

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

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

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

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

}

@media(max-width:768px){

nav{
position:absolute;
top:100%;
left:-100%;
width:100%;
background:white;
flex-direction:column;
padding:30px;
transition:0.4s;
}

nav.show{
left:0;
}

.menu-btn{
display:block;
}

.top-bar{
display:none;
}

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

.hero-left h3{
font-size:28px;
}

.hero-left p{
font-size:18px;
}

.teachers-container{
grid-template-columns:1fr;
}

}