/* =========================
   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:#0b3d2e;
    color:#fff;
    padding:70px 8% 20px;
    border-top:4px solid #00c853;
}

.footer-container{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:35px;
}

.footer-box h3{
    color:#ffffff;
    margin-bottom:20px;
    font-size:22px;
    position:relative;
}

.footer-box h3::after{
    content:'';
    width:45px;
    height:3px;
    background:#ffffff;
    position:absolute;
    left:0;
    bottom:-8px;
    border-radius:10px;
}

.footer-brand{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:10px;
}

.footer-logo{
    width:50px;
    height:50px;
    object-fit:contain;
}

.footer-brand h3{
    margin:0;
    color:#ffffff;
    font-size:32px;
}

.footer-brand h3::after{
    display:none;
}

.institute-name{
    color:#ffffff;
    font-size:15px;
    margin-bottom:15px;
    font-weight:500;
}

.footer-box p,
.footer-box li{
    color:#d6ece1;
    line-height:1.8;
    font-size:15px;
}

.footer-box ul{
    list-style:none;
    padding:0;
}

.footer-box ul li{
    margin:12px 0;
}

.footer-box ul li a{
    color:#d6ece1;
    text-decoration:none;
    transition:.3s;
}

.footer-box ul li a:hover{
    color:#00ff88;
    padding-left:8px;
}

.social-icons{
    display:flex;
    gap:12px;
    margin-top:20px;
    flex-wrap:wrap;
}

.social-icons a{
    width:45px;
    height:45px;
    border-radius:50%;
    background:#0d4234;
    display:flex;
    justify-content:center;
    align-items:center;
    color:#fff;
    text-decoration:none;
    transition:.35s;
    font-size:18px;
}

.social-icons a:hover{
    background:#00c853;
    transform:translateY(-5px);
    box-shadow:0 0 18px rgba(0,200,83,.45);
}

.footer-bottom{
    margin-top:50px;
    padding-top:20px;
    border-top:1px solid rgba(255,255,255,.12);
    text-align:center;
    color:#c8ddd4;
    font-size:14px;
    line-height:1.8;
}

.footer-bottom strong{
    color:#7CFFB2;
}

/* ================= TABLET ================= */

@media (max-width:992px){

.footer-container{
grid-template-columns:repeat(2,1fr);
gap:40px;
}

}

/* ================= MOBILE ================= */

@media (max-width:768px){

.footer{
    padding:55px 25px 20px;
    text-align:left;   /* center mat karo */
}

.footer-container{
    grid-template-columns:1fr;
}

.footer-brand{
    display:flex;
    align-items:center;
    justify-content:flex-start;  /* left me rakho */
    gap:12px;
}

.footer-logo{
    width:60px;
    height:60px;
    margin:0;
}

.footer-brand h3{
    margin:0;
    font-size:24px;
}

.institute-name,
.footer-box p{
    text-align:left;
}

.social-icons{
    justify-content:flex-start;
}

.footer-box h3::after{
    left:0;
    transform:none;
}

}
/* ================= SMALL MOBILE ================= */

@media(max-width:480px){

.footer{
padding:45px 18px 15px;
}

.footer-box h3{
font-size:20px;
}

.footer-box p,
.footer-box li{
font-size:14px;
}

.social-icons a{
width:40px;
height:40px;
font-size:16px;
}

.footer-bottom{
font-size:13px;
}

}

/* 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;
}

/* 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;
}