/* =========================
   GLIT PREMIUM STYLE
========================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Poppins',sans-serif;
scroll-behavior:smooth;
}

body{
background:#f4f7f4;
color:#222;
overflow-x:hidden;
}

/* NAVBAR */

header{
position:fixed;
top:0;
left:0;
width:100%;
z-index:1000;
display:flex;
justify-content:space-between;
align-items:center;
padding:18px 8%;
background:#0b3d2e;
box-shadow:0 4px 15px rgba(0,0,0,.2);
}

.logo{
font-size:32px;
font-weight:800;
color:#fff;
letter-spacing:2px;
}

nav{
display:flex;
gap:25px;
}

nav a{
text-decoration:none;
color:white;
font-weight:500;
transition:.3s;
}

nav a:hover{
color:#7dffb3;
}

.menu-btn{
display:none;
font-size:28px;
color:white;
cursor:pointer;
}

/* HERO */

.hero{
height:120vh;
background-image:
linear-gradient(rgba(0,0,0,.6),rgba(0,0,0,.6)),
url('../images/hero.jpg');
background-size:cover;
background-position:center;
display:flex;
justify-content:center;
align-items:center;
text-align:center;
position:relative;
}

.hero-content{
position:relative;
z-index:2;
top:1px;
bottom:100px;
color:white;
padding:20px;
animation:fadeUp 1s ease;
}

.hero h1{
font-size:65px;
font-weight:800;
margin-bottom:20px;
}

.hero p{
font-size:22px;
margin-bottom:30px;
}

.hero-buttons{
display:flex;
justify-content:center;
gap:15px;
flex-wrap:wrap;
}

/* STATS */

.hero-stats{
position:absolute;
bottom:40px;
left:50%;
transform:translateX(-50%);

display:flex;
justify-content:center;
align-items:center;

background:rgba(255,255,255,0.12);
backdrop-filter:blur(10px);

border:1px solid rgb(255, 255, 255);
border-radius:20px;

padding:20px 10px;
width:80%;
max-width:700px;
z-index:10;
}

.hero-stat{
flex:1;
text-align:center;
color:white;
padding:0 20px;
border-right:1px solid rgba(255,255,255,0.3);
}

.hero-stat:last-child{
border-right:none;
}

@media(max-width:768px){

.hero-stats{
width:95%;
bottom:20px;
}

.hero-stat{
padding:0 10px;
}

.hero-stat h2{
font-size:19px;
}
}

/* BUTTONS */

.btn{
display:inline-block;
padding:14px 32px;
background:#00b060;
color:white;
text-decoration:none;
border-radius:50px;
font-weight:600;
transition:.3s;
}

.btn:hover{
transform:translateY(-3px);
box-shadow:0 10px 20px rgba(0,176,96,.4);
}

.btn-outline{
background:transparent;
border:2px solid white;
}

.btn-outline:hover{
background:white;
color:#0b3d2e;
}

/* SECTION TITLE */

.section-title{
text-align:center;
font-size:38px;
margin-bottom:50px;
color:#0b3d2e;
font-weight:700;
}

/* ABOUT */

.about-preview{
padding:100px 8%;
}

.container{
display:grid;
grid-template-columns:1fr 1fr;
gap:50px;
align-items:center;
}

.about-text h2{
font-size:42px;
color:#0b3d2e;
margin-bottom:20px;
}

.about-text p{
line-height:1.8;
margin-bottom:25px;
}

.about-image img{
width:100%;
border-radius:20px;
box-shadow:0 10px 25px rgba(0,0,0,.15);
}

/* FEATURES */

.features{
padding:100px 8%;
background:#eef7f1;
}

.feature-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:25px;
}

.feature-card{
background:white;
padding:35px;
border-radius:20px;
text-align:center;
transition:.4s;
box-shadow:0 5px 15px rgba(0,0,0,.08);
}

.feature-card:hover{
transform:translateY(-10px);
}

.feature-card i{
font-size:50px;
color:#00b060;
margin-bottom:15px;
}

.feature-card h3{
margin-bottom:10px;
}

/* COURSES */

.courses-home{
padding:100px 8%;
}

.course-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:25px;
}

.course-card{
background:white;
padding:35px;
border-radius:18px;
text-align:center;
transition:.4s;
border-left:5px solid #00b060;
box-shadow:0 5px 15px rgba(0,0,0,.08);
}

.course-card:hover{
transform:translateY(-10px);
}

.course-card h3{
color:#0b3d2e;
margin-bottom:10px;
}

/* TESTIMONIALS */

.testimonials{
padding:100px 8%;
background:#eef7f1;
}

.testimonial-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:25px;
}

.testimonial-card{
background:white;
padding:30px;
border-radius:20px;
box-shadow:0 5px 15px rgba(0,0,0,.08);
}

.testimonial-card p{
line-height:1.7;
margin-bottom:15px;
}

/* CONTACT */

.contact-home{
padding:100px 8%;
text-align:center;
background:white;
}

.contact-home h2{
font-size:40px;
color:#0b3d2e;
margin-bottom:30px;
}

.contact-home p{
margin:12px 0;
font-size:18px;
}

.contact-home i{
color:#00b060;
margin-right:10px;
}

/* FOOTER */

footer{
background:#06251c;
color:white;
padding:50px 20px;
text-align:center;
}

.footer-content h3{
font-size:35px;
margin-bottom:10px;
}

.footer-content p{
margin:8px 0;
}

.social{
margin-top:20px;
}

.social a{
color:white;
font-size:22px;
margin:0 12px;
transition:.3s;
}

.social a:hover{
color:#00ff95;
}

.copyright{
margin-top:25px;
font-size:14px;
opacity:.8;
}

/* ANIMATION */

@keyframes fadeUp{

from{
opacity:0;
transform:translateY(40px);
}

to{
opacity:1;
transform:translateY(0);
}

}

/* MOBILE */

@media(max-width:900px){

.container{
grid-template-columns:1fr;
}

.hero h1{
font-size:42px;
}

.hero p{
font-size:18px;
}

nav{
position:absolute;
top:80px;
left:0;
width:100%;
background:#0b3d2e;
flex-direction:column;
padding:20px;
display:none;
}

nav.active{
display:flex;
}

.menu-btn{
display:block;
}

}

@media(max-width:600px){

.hero h1{
font-size:34px;
}

.section-title{
font-size:30px;
}

.about-text h2{
font-size:32px;
}

.contact-home h2{
font-size:32px;
}

.btn{
padding:12px 25px;
}

}

.logo{
display:flex;
align-items:center;
gap:10px;
font-size:32px;
font-weight:800;
color:white;
}

.logo img{
height:55px;
width:auto;
border-radius:8px;
}

.home-btn{
position:fixed;
top:100px;
left:20px;
background:#00b060;
color:white;
text-decoration:none;
padding:12px 20px;
border-radius:50px;
font-weight:600;
z-index:999;
box-shadow:0 5px 15px rgba(0,0,0,.2);
transition:.3s;
}

.home-btn:hover{
background:#0b3d2e;
transform:translateY(-3px);
}

/* OUR CENTERS */

.centers-page{
padding:130px 8% 80px;
}

.search-box{
width:100%;
max-width:500px;
display:block;
margin:0 auto 40px;
padding:15px 20px;
border-radius:50px;
border:2px solid #0b3d2e;
font-size:16px;
}

.centers-grid{
display:grid;
grid-template-columns:
repeat(auto-fit,minmax(320px,1fr));
gap:25px;
}

.center-card{
background:white;
border-radius:20px;
overflow:hidden;
box-shadow:0 5px 15px rgba(0,0,0,.1);
transition:.3s;
}

.center-card:hover{
transform:translateY(-10px);
}

.center-card img{
width:100%;
height:220px;
object-fit:cover;
}

.center-card h3{
padding:15px;
color:#0b3d2e;
}

.center-card p{
padding:0 15px 15px;
}

/* For Course pages */

/* COURSES PAGE */

.courses-page1{
padding:130px 8% 80px;
}

.courses-grid1{
display:grid;
grid-template-columns:
repeat(auto-fit,minmax(320px,1fr));
gap:25px;
}

.course-box1{
background:white;
border-radius:20px;
overflow:hidden;
box-shadow:0 5px 15px rgba(0,0,0,.1);
transition:.3s;
}

.course-box1:hover{
transform:translateY(-10px);
}

.course-box1 img{
width:100%;
height:220px;
object-fit:cover;
}

.course-box1 h3{
padding:15px;
color:#0b3d2e;
}

.course-box1 p{
padding:0 15px 20px;
line-height:1.7;
}

.apply-btn1{
display:inline-block;
margin:0 15px 20px;
padding:12px 25px;
background:#00b060;
color:white;
text-decoration:none;
border-radius:30px;
font-weight:600;
}

.apply-btn1:hover{
background:#0b3d2e;
}

/* SLIDER SECTION */

.slider{
    width:100%;
    height:300px;
    overflow:hidden;
    margin-top:0;
}

.slides{
    display:flex;
    width:300%;
    height:100%;
    animation: slide 12s infinite;
}

.slides img{
    width:100%;
    height:100%;
    object-fit:cover;
}


/* 4 second per slide */
@keyframes slide{

0%{
    transform:translateX(0);
}

33%{
    transform:translateX(0);
}

40%{
    transform:translateX(-33.33%);
}

66%{
    transform:translateX(-33.33%);
}

73%{
    transform:translateX(-66.66%);
}

100%{
    transform:translateX(-66.66%);
}

}

/* CERTIFICATE PAGE */
.box{
    width: 80%;
    margin:80px auto;
    background:white;
    padding:25px;
    border-radius:10px;
    box-shadow:0 0 15px #ccc;
}