/* ===== GLOBAL ===== */

*{
margin:0;
padding:0;
box-sizing:border-box;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body{
background:#f5f7fb;
color:#333;
line-height:1.6;
}
html{
scroll-behavior:smooth;
}

/* ===== HEADER ===== */

header{
display:flex;
justify-content:space-between;
align-items:center;
padding:15px 40px;
background:#0d6efd;
color:white;
}

.logo{
display:flex;
align-items:center;
font-size:22px;
font-weight:bold;
}

.logo img{
height:40px;
margin-right:10px;
}

nav a{
color:white;
margin-left:20px;
text-decoration:none;
font-weight:500;
}

nav a:hover{
text-decoration:underline;
}

nav a.active{
border-bottom:2px solid white;
padding-bottom:3px;
}


/* ===== HERO SECTION ===== */

.hero{
background:linear-gradient(to right,#0d6efd,#4e9cff);
color:white;
text-align:center;
padding:80px 20px;
}

.hero h1{
font-size:40px;
margin-bottom:15px;
}

.hero p{
font-size:18px;
margin-bottom:25px;
}


/* ===== BUTTON ===== */

.btn-join{
background:white;
color:#0d6efd;
padding:12px 25px;
border-radius:6px;
text-decoration:none;
font-weight:bold;
transition:0.3s;
display:inline-block;
}

.btn-join:hover{
background:#e8f0ff;
}


/* ===== SECTION ===== */

.section{
padding:60px 20px;
text-align:center;
}

.section h2{
margin-bottom:20px;
font-size:30px;
}


/* ===== FEATURES ===== */

.features{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
gap:25px;
max-width:1000px;
margin:auto;
}

.feature-card{
background:white;
padding:25px;
border-radius:8px;
box-shadow:0 4px 10px rgba(0,0,0,0.1);
}

.feature-card i{
margin-bottom:10px;
color:#0d6efd;
}


/* ===== COURSE GRID ===== */

.course-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:25px;
max-width:1000px;
margin:auto;
}

.course-card{
background:white;
padding:25px;
border-radius:8px;
text-decoration:none;
color:#333;
box-shadow:0 4px 10px rgba(0,0,0,0.1);
transition:0.3s;
}

.course-card:hover{
transform:translateY(-5px);
box-shadow:0 6px 14px rgba(0,0,0,0.15);
}

.course-card h3{
margin-bottom:10px;
}

.course-card ul{
list-style:none;
}

.course-card ul li{
padding:4px 0;
}


/* ===== STATS ===== */

.stats{
display:flex;
justify-content:center;
gap:50px;
flex-wrap:wrap;
}

.stat{
background:white;
padding:25px;
border-radius:8px;
width:160px;
box-shadow:0 4px 10px rgba(0,0,0,0.1);
}

.stat h3{
color:#0d6efd;
font-size:28px;
}


/* ===== TESTIMONIALS ===== */

.testimonial-slider{
display:flex;
gap:20px;
justify-content:center;
flex-wrap:wrap;
max-width:1000px;
margin:auto;
}

.testimonial{
background:white;
padding:20px;
border-radius:8px;
max-width:300px;
box-shadow:0 4px 10px rgba(0,0,0,0.1);
}

.testimonial span{
display:block;
margin-top:10px;
font-weight:bold;
}


/* ===== JOIN FORM ===== */

.join-form{
max-width:500px;
margin:auto;
display:flex;
flex-direction:column;
gap:15px;
margin-top:20px;
}

.join-form input,
.join-form select{
width:100%;
padding:12px;
font-size:16px;
border:1px solid #ccc;
border-radius:6px;
box-sizing:border-box;
}

.join-form button{
padding:12px;
font-size:16px;
background:#0d6efd;
color:white;
border:none;
border-radius:6px;
cursor:pointer;
transition:0.3s;
}

.join-form button:hover{
background:#084298;
}


/* ===== CONTACT FORM ===== */

.contact-form{
max-width:500px;
margin:auto;
display:flex;
flex-direction:column;
gap:15px;
}

.contact-form input,
.contact-form textarea{
padding:12px;
border:1px solid #ccc;
border-radius:6px;
}

.contact-form button{
padding:12px;
background:#0d6efd;
color:white;
border:none;
border-radius:6px;
cursor:pointer;
}


/* ===== FOOTER ===== */

footer{
background:#0d6efd;
color:white;
text-align:center;
padding:20px;
margin-top:40px;
}

.footer-container{
display:flex;
justify-content:center;
gap:60px;
flex-wrap:wrap;
margin-bottom:20px;
}

.footer-column{
display:flex;
flex-direction:column;
}

.footer-column a{
color:white;
text-decoration:none;
margin:5px 0;
}

.footer-column a:hover{
text-decoration:underline;
}

.social-icons img{
width:25px;
margin:5px;
}


/* ===== MOBILE ===== */

@media(max-width:768px){

header{
flex-direction:column;
gap:10px;
}

.hero h1{
font-size:30px;
}

.stats{
gap:20px;
}

}

img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {

    header {
        flex-direction: column;
        text-align: center;
    }

    nav a {
        display: block;
        margin: 8px 0;
    }

    .course-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 24px;
    }

    .section {
        padding: 40px 15px;
    }

}