/* GENERAL */

*{

margin:0;
padding:0;
box-sizing:border-box;

}


body{

font-family:'Nunito',sans-serif;
background:#f8faf9;
color:#1e293b;

}



/* LINKS */

a{

text-decoration:none;

}



/* DASHBOARD MAIN AREA */

.dashboard-main{

margin-left:360px;
padding:40px;
padding-top:130px;
min-height:100vh;

}



/* WELCOME SECTION */

.dashboard-header{

background:white;
padding:35px;
border-radius:25px;
margin-bottom:40px;
box-shadow:0 8px 20px rgba(0,0,0,0.08);

}


.dashboard-header h1{

font-family:'Poppins',sans-serif;
font-size:38px;
font-weight:700;
color:#166534;
margin-bottom:10px;

}


.dashboard-header p{

font-size:18px;
color:#475569;

}




/* CHAPTER SECTION */

.chapters-section h2{

font-family:'Poppins',sans-serif;
font-size:32px;
font-weight:700;
color:#166534;
margin-bottom:30px;

}




/* CHAPTER GRID */

.chapter-grid{

display:grid;
grid-template-columns:repeat(3,1fr);
gap:30px;

}





/* CHAPTER CARD */

.chapter-card{

background:white;
padding:30px;
border-radius:22px;
box-shadow:0 8px 20px rgba(0,0,0,0.08);
min-height:260px;

}





.chapter-card span{

display:inline-block;
background:#166534;
color:white;
padding:8px 18px;
border-radius:20px;
font-weight:700;

}





.chapter-card h3{

font-family:'Poppins',sans-serif;
font-size:23px;
font-weight:700;
color:#166534;
margin-top:20px;
margin-bottom:15px;

}





.chapter-card p{

font-size:16px;
line-height:1.7;
color:#475569;

}





.chapter-card button{

margin-top:20px;
background:#166534;
color:white;
border:none;
padding:12px 28px;
border-radius:25px;
font-weight:700;
cursor:pointer;

}





.chapter-card button:hover{

opacity:0.9;

}





/* RESPONSIVE */

@media(max-width:1000px){

.chapter-grid{

grid-template-columns:repeat(2,1fr);

}


.dashboard-main{

margin-left:250px;

}

}



@media(max-width:700px){

.chapter-grid{

grid-template-columns:1fr;

}


.dashboard-main{

margin-left:0;
padding:20px;

}

}