
:root{
  --bg:#f5f7fb;
  --surface:#ffffff;
  --ink:#111827;
  --ink2:#374151;
  --muted:#6b7280;
  --line:#e5e7eb;
  --blue:#2563eb;
  --blue2:#1d4ed8;
  --cyan:#06b6d4;
  --dark:#0f172a;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:"Segoe UI",Roboto,Arial,sans-serif;
  font-size:16px;
  line-height:1.6;
  letter-spacing:0;
}
.nav-main{
  background:rgba(255,255,255,.96)!important;
  backdrop-filter:blur(18px);
  border-bottom:1px solid rgba(15,23,42,.08);
  box-shadow:0 10px 35px rgba(15,23,42,.06);
  min-height:72px;
}
.nav-main .navbar-brand{
  color:var(--ink)!important;
  font-weight:900;
  font-size:1.35rem;
}
.nav-main .nav-link{
  color:#1f2937!important;
  font-weight:600;
  font-size:.98rem;
  padding-left:.85rem!important;
  padding-right:.85rem!important;
}
.nav-main .nav-link:hover{color:var(--blue)!important}
.brand-logo{
  width:42px;
  height:42px;
  object-fit:contain;
  border-radius:12px;
  background:#fff;
  padding:3px;
  box-shadow:0 8px 24px rgba(15,23,42,.08);
}
.fw-black{font-weight:900!important}

.hero{
  position:relative;
  overflow:hidden;
  min-height:720px;
  padding:150px 0 95px;
  color:var(--ink)!important;
  background:
    radial-gradient(circle at 12% 15%, rgba(37,99,235,.16), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(6,182,212,.16), transparent 33%),
    linear-gradient(180deg,#ffffff 0%,#eef4ff 100%)!important;
}
.hero:after{
  content:"";
  position:absolute;
  width:600px;
  height:600px;
  border-radius:50%;
  right:-220px;
  bottom:-240px;
  background:linear-gradient(135deg,rgba(37,99,235,.12),rgba(6,182,212,.10));
}
.hero .container{position:relative;z-index:2}
.hero .badge{
  background:#eaf1ff!important;
  color:#1e40af!important;
  border:1px solid #c7d2fe;
  font-weight:800;
  box-shadow:none;
}
.hero .display-3{
  color:var(--ink)!important;
  font-weight:900!important;
  font-size:clamp(2.8rem,5.4vw,5.2rem);
  line-height:1.02;
  letter-spacing:-.045em;
}
.hero .lead{
  color:var(--ink2)!important;
  font-size:1.23rem;
  max-width:720px;
}
.hero-panel{
  background:rgba(255,255,255,.94)!important;
  color:var(--ink)!important;
  border:1px solid rgba(15,23,42,.08)!important;
  border-radius:34px;
  backdrop-filter:blur(18px);
  box-shadow:0 28px 80px rgba(15,23,42,.12);
}
.hero-panel h3{color:var(--ink)!important}
.hero-panel b{color:var(--ink)!important}
.hero-panel span,
.hero-panel .text-white-50{
  color:var(--muted)!important;
}
.icon{
  width:56px;
  height:56px;
  min-width:56px;
  border-radius:18px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,#eff6ff,#ecfeff);
  border:1px solid #dbeafe;
  color:var(--blue);
  font-size:25px;
}

.btn-main{
  background:linear-gradient(135deg,var(--blue),var(--cyan))!important;
  color:#fff!important;
  border:0!important;
  border-radius:999px;
  padding:12px 25px;
  font-weight:800;
  box-shadow:0 12px 28px rgba(37,99,235,.26);
}
.btn-main:hover{filter:brightness(.96);color:#fff!important}
.btn-outline-light{
  color:var(--ink)!important;
  background:#fff!important;
  border:1px solid #d1d5db!important;
  font-weight:800;
  box-shadow:0 8px 24px rgba(15,23,42,.06);
}
.btn-outline-light:hover{
  background:#f9fafb!important;
  color:var(--blue)!important;
}

.section{padding:86px 0}
.section-sm{padding:130px 0 80px}
.title-line{
  width:72px;
  height:5px;
  background:linear-gradient(90deg,var(--blue),var(--cyan));
  border-radius:99px;
  margin:12px 0 30px;
}
.cardx{
  background:var(--surface);
  border:1px solid rgba(15,23,42,.07);
  border-radius:28px;
  box-shadow:0 18px 55px rgba(15,23,42,.08);
  overflow:hidden;
  height:100%;
  transition:.2s ease;
}
.cardx:hover{
  transform:translateY(-3px);
  box-shadow:0 28px 80px rgba(15,23,42,.12);
}
.thumb{
  width:100%;
  height:230px;
  object-fit:cover;
  background:#e5e7eb;
}
.badge-cat{
  background:#eef2ff;
  color:#1e40af;
  border:1px solid #c7d2fe;
  border-radius:999px;
  padding:7px 13px;
  font-size:12px;
  font-weight:800;
  text-transform:capitalize;
}
.meta{color:var(--muted);font-size:14px}
.sidebar-box{
  background:#fff;
  border:1px solid rgba(15,23,42,.07);
  border-radius:28px;
  box-shadow:0 18px 55px rgba(15,23,42,.08);
  padding:26px;
}
.footer{
  background:var(--dark);
  color:#fff;
}
.footer a{
  display:block;
  color:#cbd5e1;
  text-decoration:none;
  margin:7px 0;
}
.footer a:hover{color:#fff}
.form-control,.form-select{
  border-radius:14px;
  padding:12px;
  border-color:#d1d5db;
}
.form-control:focus,.form-select:focus{
  border-color:var(--blue);
  box-shadow:0 0 0 .2rem rgba(37,99,235,.15);
}
.table td,.table th{vertical-align:middle}

.admin-layout{padding-top:84px}
.admin-card{
  background:#fff;
  border:1px solid rgba(15,23,42,.07);
  border-radius:24px;
  box-shadow:0 16px 50px rgba(15,23,42,.08);
  padding:24px;
}
.admin-menu a{
  display:block;
  padding:11px 12px;
  color:#111827;
  text-decoration:none;
  border-radius:12px;
  font-weight:700;
}
.admin-menu a:hover{background:#eff6ff;color:var(--blue)}
.navbar-toggler{
  border-color:#d1d5db!important;
  filter:invert(1);
}

@media(max-width:768px){
  .hero{
    min-height:auto;
    padding:125px 0 70px;
  }
  .hero .display-3{
    font-size:2.65rem;
  }
  .hero-panel{
    border-radius:26px;
  }
}
