
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Segoe UI', sans-serif;
    background:#f5f7fb;
    overflow-x:hidden;
}

/* NAVBAR */

.navbar{
    background:rgba(15,23,42,0.95);
    backdrop-filter:blur(10px);
    padding:15px 0;
}

.logo{
    font-size:28px;
    font-weight:800;
    color:#ffc107 !important;
    text-decoration:none;
}

.nav-link{
    color:white !important;
    margin-left:15px;
    font-weight:500;
    transition:0.3s;
}

.nav-link:hover{
    color:#ffc107 !important;
}

.btn-login{
    background:#ffc107;
    color:black;
    border-radius:30px;
    padding:10px 25px;
    font-weight:bold;
    transition:0.4s;
}

.btn-login:hover{
    transform:translateY(-3px);
    background:white;
}

/* HERO */

.hero{
    min-height:90vh;
    background:
    linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.75)),
    url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?q=80&w=1600&auto=format&fit=crop');
    background-size:cover;
    background-position:center;
    display:flex;
    align-items:center;
    color:white;
}

.hero h1{
    font-size:4rem;
    font-weight:800;
    line-height:1.2;
}

.hero p{
    font-size:1.2rem;
    margin-top:20px;
    color:#e2e8f0;
}

.hero-btn{
    margin-top:35px;
}

.btn-hero{
    background:#ffc107;
    color:black;
    padding:15px 35px;
    border-radius:50px;
    font-weight:bold;
    text-decoration:none;
    transition:0.4s;
}

.btn-hero:hover{
    background:white;
    transform:translateY(-5px);
}

/* STATS */

.stats{
    padding:80px 0;
}

.stat-card{
    background:white;
    border-radius:20px;
    padding:40px;
    text-align:center;
    transition:0.4s;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
}

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

.stat-card i{
    font-size:50px;
    color:#ffc107;
    margin-bottom:20px;
}

.stat-card h3{
    font-size:2.5rem;
    font-weight:800;
}

/* TITRE */

.section-title{
    font-size:2.2rem;
    font-weight:800;
    color:#0f172a;
}

.section-title::after{
    content:'';
    width:80px;
    height:4px;
    background:#ffc107;
    display:block;
    margin-top:15px;
}

/* SEARCH */

.search-box-mini{
    background:white;
    padding:20px;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
}

.custom-input{
    height:50px;
    border-radius:12px;
}

.btn-search{
    height:50px;
    background:#ffc107;
    border:none;
    border-radius:12px;
    font-weight:bold;
}

.btn-search:hover{
    background:#0f172a;
    color:white;
}

.btn-all{
    background:#0f172a;
    color:white;
    border-radius:12px;
    padding:12px;
    font-weight:bold;
}

.btn-all:hover{
    background:#ffc107;
    color:black;
}

/* COURSES */

.card-course{
    border:none;
    border-radius:20px;
    overflow:hidden;
    transition:0.4s;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
}

.card-course:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 40px rgba(0,0,0,0.15);
}

.course-img{
    width:100%;
    height:240px;
    object-fit:cover;
}

.course-category{
    background:#fff8e1;
    color:#ff9800;
    padding:6px 15px;
    border-radius:30px;
    font-size:14px;
    font-weight:600;
}

.badge-level{
    background:#0f172a;
    color:white;
    padding:6px 15px;
    border-radius:30px;
    font-size:14px;
}

.course-title{
    margin-top:20px;
    font-weight:700;
    color:#0f172a;
}

.course-price{
    color:#ff9800;
    font-size:28px;
    font-weight:800;
    margin-top:20px;
}

.btn-cart{
    background:#ffc107;
    color:black;
    border-radius:12px;
    padding:12px;
    font-weight:bold;
    transition:0.4s;
}

.btn-cart:hover{
    background:#0f172a;
    color:white;
}

/* FOOTER */

.footer-modern{
    background:#0f172a;
    color:white;
    padding:70px 0 20px;
    margin-top:80px;
    position:relative;
    overflow:hidden;
}

.footer-modern::before{
    content:'';
    position:absolute;
    top:-50px;
    right:-50px;
    width:200px;
    height:200px;
    background:rgba(255,193,7,0.08);
    border-radius:50%;
}

.footer-modern::after{
    content:'';
    position:absolute;
    bottom:-60px;
    left:-60px;
    width:250px;
    height:250px;
    background:rgba(255,193,7,0.05);
    border-radius:50%;
}

.footer-logo{
    color:#ffc107;
    font-weight:800;
    margin-bottom:20px;
}

.footer-text{
    color:#cbd5e1;
    line-height:1.8;
}

.footer-title{
    color:#ffc107;
    margin-bottom:20px;
    font-weight:700;
}

.footer-links{
    list-style:none;
    padding:0;
}

.footer-links li{
    margin-bottom:12px;
}

.footer-links a{
    color:#cbd5e1;
    text-decoration:none;
    transition:0.3s;
}

.footer-links a:hover{
    color:#ffc107;
    padding-left:5px;
}

.footer-contact{
    color:#cbd5e1;
    margin-bottom:15px;
}

.footer-contact i{
    color:#ffc107;
    margin-right:10px;
}

.social-icons{
    margin-top:25px;
}

.social-icons a{
    width:45px;
    height:45px;
    display:inline-flex;
    justify-content:center;
    align-items:center;
    background:rgba(255,255,255,0.08);
    border-radius:50%;
    color:white;
    margin-right:10px;
    transition:0.4s;
    text-decoration:none;
}

.social-icons a:hover{
    background:#ffc107;
    color:black;
    transform:translateY(-5px);
}

.footer-line{
    border-color:rgba(255,255,255,0.1);
    margin:40px 0 20px;
}

.footer-copy{
    color:#94a3b8;
}

/* RESPONSIVE */

@media(max-width:768px){

.hero h1{
    font-size:2.5rem;
}

.section-title{
    font-size:2rem;
}

}