:root{
    --primary:#006b5b;
    --secondary:#00a88e;
    --dark:#102a43;
    --muted:#64748b;
    --light:#f5f7fb;
    --white:#ffffff;
    --border:#e5e7eb;
    --shadow:0 14px 35px rgba(15,23,42,.08);
}
*{box-sizing:border-box}
body{
    margin:0;
    font-family:'Hind Siliguri',Arial,sans-serif;
    background:var(--light);
    color:#172033;
}
a{text-decoration:none}
img{max-width:100%}
.top-header{
    background:#fff;
    box-shadow:0 2px 18px rgba(15,23,42,.06);
    position:sticky;
    top:0;
    z-index:999;
}
.navbar-brand{
    color:var(--primary)!important;
    font-weight:800;
    font-size:26px;
}
.nav-link{
    color:#334155!important;
    font-weight:600;
    margin:0 5px;
}
.nav-link:hover,.nav-link.active{color:var(--primary)!important}
.btn-brand{
    background:var(--primary);
    color:#fff;
    border-radius:10px;
    padding:10px 18px;
    font-weight:700;
    border:0;
}
.btn-brand:hover{background:#004f43;color:#fff}
.btn-soft{
    background:#e7fff8;
    color:var(--primary);
    border-radius:10px;
    padding:10px 18px;
    font-weight:700;
}
.hero{
    background:
    radial-gradient(circle at top right, rgba(0,168,142,.18), transparent 35%),
    linear-gradient(135deg,#effffb 0%,#ffffff 55%,#edf7ff 100%);
    padding:80px 0 70px;
}
.hero h1{
    color:#06443a;
    font-size:56px;
    font-weight:800;
    line-height:1.15;
    margin-bottom:22px;
}
.hero p{
    color:#475569;
    font-size:19px;
    line-height:1.8;
}
.hero-badge{
    display:inline-flex;
    align-items:center;
    gap:8px;
    background:#e0fff7;
    color:var(--primary);
    border:1px solid #b7f3e5;
    padding:9px 15px;
    border-radius:999px;
    font-weight:700;
    margin-bottom:18px;
}
.hero-panel{
    background:#fff;
    border-radius:28px;
    padding:28px;
    box-shadow:var(--shadow);
    border:1px solid #eef2f7;
}
.mini-stat{
    display:flex;
    justify-content:space-between;
    padding:16px 0;
    border-bottom:1px solid #eef2f7;
}
.mini-stat:last-child{border-bottom:0}
.mini-stat strong{
    font-size:28px;
    color:var(--primary);
}
.section{
    padding:70px 0;
}
.section-title{
    text-align:center;
    max-width:720px;
    margin:0 auto 38px;
}
.section-title h2{
    font-weight:800;
    color:#0f3f37;
    font-size:38px;
}
.section-title p{color:var(--muted);font-size:17px}
.category-card{
    background:#fff;
    border:1px solid #eef2f7;
    border-radius:22px;
    padding:26px;
    height:100%;
    box-shadow:0 8px 25px rgba(15,23,42,.05);
    transition:.25s;
}
.category-card:hover{
    transform:translateY(-6px);
    box-shadow:var(--shadow);
}
.cat-icon{
    width:56px;
    height:56px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:16px;
    background:#e7fff8;
    color:var(--primary);
    font-size:26px;
    margin-bottom:18px;
}
.course-card{
    background:#fff;
    border-radius:24px;
    border:1px solid #eef2f7;
    overflow:hidden;
    height:100%;
    box-shadow:0 10px 25px rgba(15,23,42,.06);
    transition:.25s;
}
.course-card:hover{
    transform:translateY(-6px);
    box-shadow:var(--shadow);
}
.course-thumb{
    height:190px;
    background:linear-gradient(135deg,#006b5b,#00a88e);
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:42px;
}
.course-body{padding:24px}
.course-cat{
    color:var(--secondary);
    font-weight:800;
    font-size:14px;
}
.course-title{
    color:#0f172a;
    font-weight:800;
    font-size:21px;
    margin:10px 0;
    line-height:1.35;
}
.course-meta{
    display:flex;
    justify-content:space-between;
    color:#64748b;
    margin:15px 0;
    font-size:14px;
}
.feature-box{
    background:#fff;
    border-radius:22px;
    padding:28px;
    border:1px solid #eef2f7;
    height:100%;
    box-shadow:0 8px 25px rgba(15,23,42,.05);
}
.feature-box i{color:var(--primary);font-size:32px;margin-bottom:14px}
.footer{
    background:#063b35;
    color:#cbd5e1;
    padding:40px 0;
}
.login-page{
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(135deg,#effffb,#f5f7fb);
    padding:20px;
}
.login-card{
    width:100%;
    max-width:460px;
    background:#fff;
    border-radius:24px;
    padding:34px;
    box-shadow:var(--shadow);
}
.form-control,.form-select{
    border-radius:12px;
    padding:12px 14px;
}
.alert{border-radius:12px}
.dashboard-wrap{display:flex;min-height:100vh;background:#f5f7fb}
.admin-sidebar{
    width:275px;
    background:#072f2b;
    color:#fff;
    position:fixed;
    min-height:100vh;
    padding:24px 18px;
}
.admin-sidebar .brand{
    font-size:24px;
    font-weight:800;
    margin-bottom:25px;
}
.admin-sidebar a{
    display:flex;
    align-items:center;
    gap:12px;
    color:#d7f8ef;
    padding:12px 14px;
    border-radius:12px;
    margin:5px 0;
    font-weight:600;
}
.admin-sidebar a:hover,.admin-sidebar a.active{
    background:#0f766e;
    color:#fff;
}
.admin-main{
    margin-left:275px;
    padding:28px;
    width:calc(100% - 275px);
}
.stat-card{
    background:#fff;
    border-radius:22px;
    padding:24px;
    box-shadow:0 8px 25px rgba(15,23,42,.05);
    border:1px solid #eef2f7;
}
.stat-card span{color:var(--muted);font-weight:700}
.stat-card h3{font-weight:800;color:#0f172a;font-size:34px;margin:8px 0 0}
.table-card{
    background:#fff;
    border-radius:22px;
    box-shadow:0 8px 25px rgba(15,23,42,.05);
    border:1px solid #eef2f7;
    overflow:hidden;
}
.table thead th{
    background:#effffb;
    color:#0f3f37;
    border-bottom:1px solid #d8f4ec;
}
.student-hero{
    background:linear-gradient(135deg,#006b5b,#00a88e);
    color:#fff;
    border-radius:26px;
    padding:32px;
    margin-bottom:28px;
}
.progress{height:10px;border-radius:50px}
@media(max-width:991px){
    .hero h1{font-size:38px}
    .admin-sidebar{position:relative;width:100%;min-height:auto}
    .dashboard-wrap{display:block}
    .admin-main{margin-left:0;width:100%}
}
