*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Arial;
}

body{
background:#fff;
color:#333;
}


/* NAVBAR */

header{
background:#0f7fa8;
padding:15px 50px;
}

.navbar{
display:flex;
justify-content:space-between;
align-items:center;
}

.logo{
display:flex;
align-items:center;
gap:10px;
color:white;
font-size:24px;
font-weight:bold;
}

.logo img{
height:40px;
width:auto;
}


.nav-links{
display:flex;
list-style:none;
}

.nav-links li{
margin-left:25px;
}

.nav-links a{
color:white;
text-decoration:none;
font-weight:bold;
}



/* HERO */

.hero{
position:relative;
height:90vh;
overflow:hidden;
display:flex;
align-items:center;
justify-content:center;
text-align:center;
color:white;
}

/* slider container */

.slider{
position:absolute;
width:100%;
height:100%;
top:0;
left:0;
}

/* slides */

.slide{
position:absolute;
width:100%;
height:100%;
opacity:0;
transition:opacity 1s ease-in-out;
}

.slide img{
width:100%;
height:100%;
object-fit:cover;
}

/* active slide */

.slide.active{
opacity:1;
}

/* dark overlay */

.hero::after{
content:"";
position:absolute;
width:100%;
height:100%;
background:rgba(0,0,0,0.4);
top:0;
left:0;
}

/* hero text */

.hero-content{
position:relative;
z-index:2;
max-width:800px;
padding:20px;
}

.hero h1{
font-size:60px;
margin-bottom:20px;
line-height:1.2;
}

.hero p{
font-size:20px;
margin-bottom:25px;
}

/* button */

.btn{
background:#0f7fa8;
padding:12px 30px;
color:white;
text-decoration:none;
border-radius:6px;
}




/* ABOUT */

.about{
padding:80px 20px;
text-align:center;
}

.about h2{
color:#0f7fa8;
margin-bottom:20px;
}



/* CLASSES */

.classes{
padding:80px 20px;
background:#f3fbff;
text-align:center;
}

.class-container{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:30px;
margin-top:40px;
}

.class-card{
background:white;
padding:20px;
border-radius:10px;
box-shadow:0 5px 20px rgba(0,0,0,0.1);
}

.class-card img{
width:100%;
height:200px;
object-fit:cover;
border-radius:10px;
margin-bottom:15px;
}



/* COURSES */

.courses{
padding:80px 20px;
text-align:center;
}

.course-container{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:30px;
margin-top:40px;
}

.course-card{
background:#0f7fa8;
color:white;
padding:30px;
border-radius:10px;
}



/* GALLERY */

/* GALLERY */

.gallery{
padding:80px 20px;
background:#f3fbff;
text-align:center;
overflow:hidden;
}

.gallery h2{
margin-bottom:30px;
font-size:32px;
color:#0f7fa8;
}

.gallery-slider{
width:100%;
overflow:hidden;
position:relative;
}

.gallery-track{
display:flex;
gap:20px;
width:max-content;
animation:scrollGallery 45s linear infinite;
}

/* pause animation when hover */

.gallery-slider:hover .gallery-track{
animation-play-state:paused;
}

.gallery-track img,
.gallery-track video{
height:230px;
width:330px;
object-fit:cover;
border-radius:12px;
flex-shrink:0;
transition:transform 0.4s ease;
}

/* zoom effect */

.gallery-track img:hover,
.gallery-track video:hover{
transform:scale(1.08);
}

/* smooth scrolling animation */

@keyframes scrollGallery{

0%{
transform:translateX(0);
}

100%{
transform:translateX(-50%);
}

}



/* CONTACT */

.contact{
padding:80px 20px;
text-align:center;
}

.contact-container{
display:grid;
grid-template-columns:1fr 1fr;
gap:40px;
margin-top:40px;
}

.map iframe{
width:100%;
height:300px;
border:0;
}



/* FOOTER */

footer{
background:#0f7fa8;
color:white;
text-align:center;
padding:20px;
margin-top:40px;
}
