:root{
  --brand: #1f6fd6;
  --brand-2: #0f5cc2;
  --soft: #eef6ff;
  --text: #0b1b2b;
  --muted: #5b6b7a;
  --card: #ffffff;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(10, 30, 60, 0.12);
  --container: 1120px;
}

/* Keep MkDocs content width consistent */
.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.center{ text-align: center; }

.section{
  padding: 64px 0;
}

.section-soft{
  background: var(--soft);
}

.kicker{
  margin: 0 0 8px;
  color: var(--brand);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.lead{
  max-width: 760px;
  margin: 16px auto 24px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* HERO */
.home-hero{
  position: relative;
  height: 420px;
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(8,40,80,0.65), rgba(8,40,80,0.15)),
    url("../assets/hero.jpg");
  background-size: cover;
  background-position: center;
}

.home-hero__overlay{
  height: 100%;
  display: flex;
  align-items: center;
}

.home-hero h1{
  color: #fff;
  max-width: 720px;
  margin: 0;
  font-weight: 700;
  line-height: 1.15;
}

.hero-dots{
  margin-top: 18px;
  display: flex;
  gap: 8px;
}
.dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.5);
}
.dot.is-active{
  background: #fff;
}

/* Buttons */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
}

.btn-primary{
  background: var(--brand);
  color: #fff;
}
.btn-primary:hover{
  background: var(--brand-2);
}

.btn-outline{
  background: transparent;
  border-color: rgba(31,111,214,0.35);
  color: var(--brand);
}
.btn-outline:hover{
  border-color: rgba(31,111,214,0.65);
  background: rgba(31,111,214,0.06);
}

/* Pills */
.pill-row{
  margin: 18px auto 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.pill{
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(31,111,214,0.30);
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
  background: #fff;
}
.pill:hover{
  border-color: rgba(31,111,214,0.60);
}

/* Video */
.media-card{
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  max-width: 860px;
  margin: 0 auto;
}
.video-wrap{
  position: relative;
  padding-top: 56.25%;
  border-radius: 12px;
  overflow: hidden;
}
.video-wrap iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Image */
.full-image{
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Features */
.feature-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature{
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 22px;
  text-align: center;
}
.icon-circle{
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: rgba(31,111,214,0.10);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 14px;
}
.feature p{
  color: var(--muted);
  margin: 10px 0 18px;
}

/* Cards (News) */
.section-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}
.card-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card{
  display: block;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
}
.card img{
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.card-body{
  padding: 16px 16px 18px;
}
.meta{
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0 0 8px;
}
.card h4{
  margin: 0 0 8px;
}

/* Responsive */
@media (max-width: 980px){
  .feature-grid, .card-grid{
    grid-template-columns: 1fr;
  }
  .section-head{
    flex-direction: column;
    align-items: flex-start;
  }
  .home-hero{
    height: 340px;
  }
}
