@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root{
  --brand:#4f46e5;
  --brand2:#7c3aed;
  --text:#0f172a;
  --muted:#64748b;
  --soft:#f6f7fb;
}

html{scroll-behavior:smooth}
body{font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:var(--text)}
.bg-soft{background:var(--soft)}
.navbar-brand img{border-radius:10px}

.hero{
  position:relative;
  background:radial-gradient(1200px 520px at 12% 12%, rgba(14,165,233,.26), transparent 62%),
             radial-gradient(900px 520px at 88% 18%, rgba(124,58,237,.22), transparent 58%),
             radial-gradient(900px 520px at 40% 85%, rgba(20,184,166,.16), transparent 60%),
             linear-gradient(135deg, #0b4a6f 0%, #1d4ed8 52%, #6d28d9 100%);
  color:#fff;
  overflow:hidden;
}
.hero::after{
  content:"";
  position:absolute;inset:-2px;
  background:radial-gradient(600px 220px at 50% 0%, rgba(255,255,255,.08), transparent 70%);
  pointer-events:none;
}
.hero .badge{
  background:rgba(255,255,255,.12)!important;
  border:1px solid rgba(255,255,255,.18);
}
.hero-card{
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.06);
  backdrop-filter:blur(8px);
  border-radius:20px;
}
.hero .row.g-3 > .col-md-4:nth-child(1) .hero-card{
  background:
    radial-gradient(900px 240px at 20% 0%, rgba(56,189,248,.42), transparent 58%),
    linear-gradient(135deg, rgba(2,132,199,.34), rgba(255,255,255,.06));
  border-color: rgba(56,189,248,.34);
}
.hero .row.g-3 > .col-md-4:nth-child(2) .hero-card{
  background:
    radial-gradient(900px 240px at 20% 0%, rgba(34,197,94,.40), transparent 58%),
    linear-gradient(135deg, rgba(22,163,74,.32), rgba(255,255,255,.06));
  border-color: rgba(34,197,94,.32);
}
.hero .row.g-3 > .col-md-4:nth-child(3) .hero-card{
  background:
    radial-gradient(900px 240px at 20% 0%, rgba(244,63,94,.40), transparent 58%),
    linear-gradient(135deg, rgba(225,29,72,.30), rgba(255,255,255,.06));
  border-color: rgba(244,63,94,.30);
}

.section-title{letter-spacing:.2px}
.section-sub{color:var(--muted)}

.feature-card{
  border:1px solid rgba(15,23,42,.08);
  border-radius:16px;
  transition:transform .2s ease, box-shadow .2s ease;
}
.feature-card:hover{transform:translateY(-3px);box-shadow:0 16px 40px rgba(2,6,23,.08)}
.icon-badge{
  width:44px;height:44px;border-radius:14px;
  display:inline-flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg, rgba(79,70,229,.15), rgba(124,58,237,.15));
  border:1px solid rgba(79,70,229,.18);
  color:var(--brand);
}

.team-card{
  border:1px solid rgba(15,23,42,.08);
  border-radius:18px;
  overflow:hidden;
  transition:transform .2s ease, box-shadow .2s ease;
}
.team-card:hover{transform:translateY(-3px);box-shadow:0 16px 40px rgba(2,6,23,.08)}
.avatar{
  width:72px;height:72px;border-radius:18px;
  display:flex;align-items:center;justify-content:center;
  color:#fff;font-weight:700;
  background:linear-gradient(135deg, var(--brand), var(--brand2));
}

.doc-card{
  border:1px solid rgba(15,23,42,.08);
  border-radius:18px;
  overflow:hidden;
  transition:transform .2s ease, box-shadow .2s ease;
  background:#fff;
}
.doc-card:hover{transform:translateY(-3px);box-shadow:0 16px 40px rgba(2,6,23,.08)}
.doc-card__cover{
  position:relative;
  width:100%;
  height: 220px;
  aspect-ratio: 16/10;
  overflow:hidden;
  background:linear-gradient(135deg, rgba(79,70,229,.18), rgba(124,58,237,.18));
}

@supports (aspect-ratio: 1) {
  .doc-card__cover{height:auto}
}

@media (min-width: 992px) {
  .doc-card__cover{height: 240px}
  @supports (aspect-ratio: 1) {
    .doc-card__cover{height:auto}
  }
}
.doc-card__cover img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.doc-card__cover .doc-card__badge{
  position:absolute;
  left:12px;
  top:12px;
  padding:.35rem .6rem;
  border-radius:999px;
  font-size:.78rem;
  background:rgba(255,255,255,.88);
  border:1px solid rgba(15,23,42,.10);
  color:var(--text);
}
.doc-thumbs img{
  width:58px;
  height:58px;
  border-radius:14px;
  object-fit:cover;
  border:1px solid rgba(15,23,42,.10);
}

.doc-slider{
  display:flex;
  gap:16px;
  overflow-x:auto;
  overflow-y:visible;
  -webkit-overflow-scrolling:touch;
  scroll-snap-type:x mandatory;
  scroll-behavior:smooth;
  scrollbar-width:none;
  padding-bottom:2px;
}
.doc-slider::-webkit-scrollbar{display:none}
.doc-slider__item{
  flex:0 0 100%;
  scroll-snap-align:start;
}
@media (min-width: 768px){
  .doc-slider__item{flex-basis:calc((100% - 16px) / 2)}
}
@media (min-width: 992px){
  .doc-slider__item{flex-basis:calc((100% - 32px) / 3)}
}

.timeline{
  position:relative;
  padding-left:20px;
}
.timeline::before{
  content:"";
  position:absolute;left:7px;top:0;bottom:0;
  width:2px;background:rgba(15,23,42,.12);
}
.timeline-item{
  position:relative;
  padding:0 0 18px 18px;
}
.timeline-item::before{
  content:"";
  position:absolute;left:-1px;top:6px;
  width:16px;height:16px;border-radius:50%;
  background:linear-gradient(135deg, var(--brand), var(--brand2));
}

.footer{
  background:#0b1020;
  color:rgba(255,255,255,.8);
}
.footer a{color:rgba(255,255,255,.85);text-decoration:none}
.footer a:hover{text-decoration:underline}
