/* --- Base --- */
:root{
  --bg:#F3F7FB;
  --text:#344256;
  --muted:#718095;
  --brand:#2b6cb0;
  --brand-2:#6ea6ff;
  --card:#ffffff;
  --shadow:0 10px 30px rgba(20,28,38,.08);
  --radius:18px;
}
*{box-sizing:border-box}
html {
  scroll-behavior: smooth;
}
html,body{margin:0;padding:0}
body{
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:#eef3f8;
  line-height:1.6;
}
img{max-width:100%;height:auto;display:block}

/* Containers */
.container{width:min(1120px, 92%);margin:0 auto}
.section{padding:120px 0}
.section.pale{background:#f4f8fc}

.section-title{
  font-size:clamp(22px, 3.2vw, 36px);
  margin:0 0 18px;
  font-weight:800;
  letter-spacing:-.02em;
  position:relative;
}
.section-title::before{
  content:'';position:absolute;left:-14px;top: 2px;width:6px;height: 100%;background: linear-gradient(to bottom, #267FD9, #f0f6fc);border-radius:2px;
}
.section-title.center, .subtitle.center{padding-left:0;text-align:center}
.section-title.center::before{display:none}
.subtitle{color:var(--muted);margin:-6px 0 28px}

/* Header */
.site-header{
  background: rgba(255,255,255, 0.9);position:sticky;top:0;z-index:50;border-bottom:1px solid rgba(0,0,0,.04);height: 105px;
}
.header-inner{display:flex;justify-content:space-between;align-items:center;padding: 25px 0 0 0;}
.brand img{height:54px;display:block;position: relative;left: -4px;}
.btn{
  display:inline-block;padding:10px 20px;border-radius:40px;text-decoration:none;font-weight:600;
}
.btn.primary{background:#267FD9;color:#FFF;box-shadow:var(--shadow)}
.btn.primary:hover{filter:brightness(.90)}

/* Hero */
.hero{position:relative;overflow:hidden;background:#F4F9FC}
.hero-inner{display:grid;grid-template-columns:1.1fr .9fr;gap:40px;align-items:center;padding:36px 0 26px}
.hero-copy h1{
  font-size:clamp(36px, 6vw, 64px);
  line-height:1.05;margin:.2em 0 .3em;font-weight:800;letter-spacing:-.02em;
}
.hero-copy p{color:var(--muted);max-width:50ch}
.badge{
  display:inline-flex;align-items:center;gap:8px;background:#DDEDFD;color:#2981DA;border-radius:40px;
  padding:8px 12px;font-weight:600;font-size:14px;
}
.hero-figure{justify-self:end;box-shadow: 0 0 20px 20px rgba(38, 127, 217, 0.1); overflow: hidden; border-radius: 24px;}

.hero-figure img {
  border-radius: 24px;
  max-height: 70vh;
}
/* .hero-figure img{width:min(520px, 92vw);border-radius:24px;box-shadow:var(--shadow)} */
.hero-glow{
  position:absolute;inset:auto -25% -35% -25%;height:420px;background:radial-gradient(60% 60% at 50% 0%, rgba(58,119,255,.20), rgba(58,119,255,0) 70%);
  filter:blur(20px);pointer-events:none;
}

/* Cards */
.card{
  background:var(--card);border-radius:var(--radius);box-shadow:var(--shadow);padding:24px 28px;
}
.card .content p{margin:14px 0}

#contact{
  background: #F3F7FB;
}

.contact-icon{
  background-color: #f0f6fc;
  padding: 20px;
  border-radius: 20px;
}

.contact-icon i{
  color: #267FD9;
}

#specialties{
  background: #F4F8FB;
}

#about{
  background: #FAFCFD;
}

/* starting state */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
  will-change: opacity, transform;
}

/* final state when visible */
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* optional: slightly different motion for images/cards */
.hero-figure.reveal {
  transform: translateY(18px) scale(0.99);
}
.hero-figure.reveal.is-visible {
  transform: none;
}

/* accessibility: respect user preference */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    transition: none;
    transform: none;
    opacity: 1;
  }
}

@media (max-width: 1080px){
  .hero-copy h1{
    font-size: 45px;
  }
}

/* Pills grid */
.grid{display:grid;gap:25px}
.grid-3{grid-template-columns:repeat(3, 1fr)}
@media (max-width: 980px){ .grid-3{grid-template-columns:1fr 1fr} }
@media (max-width: 768px){ 
  .hero-copy h1{
    font-size: 35px;
  }
  .section {
      padding: 80px 0;
  }
}
@media (max-width: 640px){ 
  .grid-3{grid-template-columns:1fr} 
  .hero-copy h1{
    font-size: 25px;
  }
  .badge {
    font-size: 12px;
    margin-bottom: 10px;
  }
  .btn.primary {
    font-size: 14px;
  }
  .btn.primary i{
    font-size: 16px !important;
  }
  .brand img{
      height: 45px;
  }
  .header-inner {
    padding: 30px 0 0 0;
  }
}
@media (max-width: 450px){ 
  .hero-copy h1{
    font-size: 20px;
  }
  .badge {
    font-size: 10px;
    margin-bottom: 10px;
  }
  .hero-copy p {
      font-size: 14px;
      width: 100%;
  }
  .section-title {
      font-size: 20px;
      margin: 0 0 18px;
      font-weight: 800;
      letter-spacing: -.02em;
      position: relative;
  }
  .card .content p {
    font-size: 14px;
  }
  .btn.primary i {
    display: none;
  }
  .btn.primary{
    font-size: 12px;
    padding: 10px 15px;
  }
  .brand img {
    height: 38px;
  }
  .site-header {
    height: 95px;
  }
}

.pill{
  background:#fff;border-radius:16px;padding:18px 18px;box-shadow:var(--shadow);
  display:flex;align-items:center;gap:10px;font-weight:600;height: 100px;
}
.pill .dot{width:10px;height:10px;border-radius:100%;background:#267FD9;margin-top: 2px}

/* Contact */
.contact-grid{display:grid;grid-template-columns: 1fr 1.2fr;align-items:stretch;gap:26px}
@media (max-width: 900px){ .contact-grid{grid-template-columns:1fr} }
.contact-card .contact-row{display:flex;gap:16px;align-items:flex-start;padding:10px 0}
.contact-icon{font-size:28px;line-height:1}
.contact-label{font-weight:700;margin-bottom:4px}
.phone{font-size:20px;font-weight:800;color:#111;text-decoration:none}
.map-wrap{border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);background:#fff}
.map-wrap iframe{width:100%;height:420px;border:0}

/* Footer */
.site-footer{padding:30px 0;background:#F3F7FB;color:var(--muted);text-align:center;border-top:1.5px solid rgba(0,0,0,.04)}
