/* ===========================
   ASCENT ZAMBIA ACADEMY STYLE
=========================== */


/* GLOBAL */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {

    font-family: 'Segoe UI', Arial, sans-serif;
    color: #222;
    background: #ffffff;
    line-height: 1.6;

}


html {
    scroll-behavior: smooth;
}



/* ===========================
   HEADER
=========================== */


header {

    background: #ffffff;
    padding: 15px 8%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);

}



nav {

    display: flex;
    justify-content: space-between;
    align-items: center;

}



.logo img {

    width: 150px;
}



nav ul {

    display: flex;
    list-style: none;
    gap: 35px;

}



nav ul li a {

    text-decoration: none;
    color: #1a1a1a;
    font-weight: 600;

}



nav ul li a:hover {

    color: #C99700;

}





/* ===========================
   HERO SECTION
=========================== */


.hero {

    min-height: 80vh;

    background:

    linear-gradient(
        rgba(0,0,0,0.65),
        rgba(0,0,0,0.65)
    ),

    url("images/academy-bg.jpg");


    background-size: cover;
    background-position: center;

    display:flex;
    align-items:center;

    padding: 0 10%;

    color:white;

}



.hero-content {

    max-width:700px;

}



.hero h1 {

    font-size: 55px;
    line-height:1.1;
    margin-bottom:25px;

}



.hero p {

    font-size:20px;
    margin-bottom:35px;

}




.btn {

    display:inline-block;

    background:#C99700;

    color:white;

    padding:14px 35px;

    border-radius:30px;

    text-decoration:none;

    font-weight:bold;

    transition:.3s;

}



.btn:hover {

    background:#9b7500;

    transform:translateY(-3px);

}






/* ===========================
   SECTIONS
=========================== */


section {

    padding:80px 10%;

}



section h2 {

    text-align:center;

    font-size:38px;

    margin-bottom:50px;

    color:#111;

}







/* ===========================
   CATEGORIES
=========================== */


.category-grid {


display:grid;

grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

gap:25px;


}



.category {


background:#f8f8f8;

padding:35px;

border-radius:15px;

text-align:center;

transition:.3s;


}



.category:hover {


transform:translateY(-8px);

box-shadow:0 10px 25px rgba(0,0,0,.1);


}



.category h3 {

margin-bottom:15px;

color:#1B5E20;

}






/* ===========================
   COURSES
=========================== */


.course-container {


display:grid;

grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

gap:30px;


}




.course-card {


background:white;

border-radius:18px;

padding:35px;

box-shadow:0 10px 30px rgba(0,0,0,.08);

position:relative;

border:1px solid #eee;

}



.course-card h3 {

font-size:24px;

margin:20px 0;

}



.course-card ul {

margin:20px 0;

padding-left:20px;

}




.badge {


position:absolute;

top:20px;

right:20px;

background:#1B5E20;

color:white;

padding:5px 15px;

border-radius:20px;

font-size:12px;

font-weight:bold;


}



.locked {


opacity:.65;

}



.locked .badge {


background:#777;


}



.locked button {


padding:12px 25px;

border:none;

border-radius:25px;

background:#ccc;

}





.active {

border-top:5px solid #C99700;

}







/* ===========================
   WHY ASCENT
=========================== */


.features {


display:grid;

grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

gap:30px;


}



.features div {


background:#1B5E20;

color:white;

padding:35px;

border-radius:15px;


}



.features h3 {


margin-bottom:15px;

color:#F2B705;


}







/* ===========================
   FOOTER
=========================== */


footer {


background:#111;

color:white;

text-align:center;

padding:40px;


}



footer img {


width:130px;

margin-bottom:20px;


}





/* ===========================
   MOBILE
=========================== */


@media(max-width:768px){


nav {

flex-direction:column;

gap:20px;

}



nav ul {

gap:15px;

}


.hero h1 {

font-size:38px;

}



.hero {

text-align:center;

}


section {

padding:60px 5%;

}



}