/* =========================
   VARIABLES & RESET
   ========================= */
:root{
  --primary:#1F3C88;
  --accent:#E91E63;
  --bg:#F7F9FC;
  --dark:#0F172A;
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:Arial, Inter, sans-serif;
}

html, body{
  max-width:100%;
  overflow-x:hidden;
}

body{
  color:var(--dark);
  line-height:1.6;
  background:#fff;
}

/* Hide scroll indicator on service pages */
body.service-page .scroll-indicator{
  display:none;
}

/* =========================
   HERO (BALANCED HEIGHT)
   ========================= */
.hero{
  background:linear-gradient(135deg,var(--primary),var(--accent));
  color:#fff;
  text-align:center;
  padding:72px 20px 56px; /* reduced vertical pressure */
  position:relative;
  overflow:hidden;
  width:100%;
}

.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(circle at top, rgba(255,255,255,0.10), transparent 60%);
  pointer-events:none;
}

.hero img{
  max-width:220px; /* reduced */
  width:100%;
  height:auto;
  margin-bottom:28px;
  background:rgba(255,255,255,0.12);
  padding:16px;
  border-radius:20px;
  position:relative;
  z-index:1;
}

.hero h1{
  font-size:40px;
  margin-bottom:14px;
  position:relative;
  z-index:1;
}

.hero p{
  max-width:720px;
  margin:0 auto 28px;
  font-size:17px;
  opacity:0.95;
  position:relative;
  z-index:1;
}

/* =========================
   BUTTONS
   ========================= */
.btn{
  display:inline-block;
  padding:14px 32px;
  border-radius:30px;
  text-decoration:none;
  font-weight:600;
  margin:8px;
  transition:all .3s ease;
  position:relative;
  z-index:1;
}

.btn-primary{
  background:#fff;
  color:var(--primary);
  box-shadow:0 10px 26px rgba(0,0,0,0.15);
}

.btn-primary:hover{
  transform:translateY(-2px);
  box-shadow:0 16px 36px rgba(0,0,0,0.22);
}

.btn-outline{
  border:2px solid rgba(255,255,255,0.85);
  color:#fff;
}

.btn-outline:hover{
  background:rgba(255,255,255,0.12);
}

/* =========================
   BREADCRUMB BAR
   ========================= */
.breadcrumb-bar{
  background:#f8fafc;
  border-bottom:1px solid rgba(15,23,42,0.06);
}

.breadcrumb-inner{
  max-width:1200px;
  margin:auto;
  padding:14px 20px;
  font-size:14px;
  color:#64748b;
}

.breadcrumb-inner a{
  color:var(--primary);
  text-decoration:none;
  font-weight:500;
}

.breadcrumb-inner a:hover{
  text-decoration:underline;
}

.breadcrumb-inner span{
  margin:0 6px;
}

.breadcrumb-inner .current{
  color:#334155;
  font-weight:600;
}

/* =========================
   SECTIONS
   ========================= */
section{
  padding:80px 20px;
  max-width:1200px;
  margin:auto;
}

h2{
  text-align:center;
  font-size:34px;
  margin-bottom:50px;
}

/* =========================
   SERVICES SECTION (NO OVERLAP)
   ========================= */
section#services{
  background:#f1f5f9;
  border-radius:40px;
  padding:90px 20px;
  margin-top:0; /* ❌ no negative margin */
}

.grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:30px;
}

.card{
  background:#ffffff;
  padding:34px;
  border-radius:22px;
  border:1px solid rgba(15,23,42,0.06);
  box-shadow:0 18px 40px rgba(15,23,42,0.08);
  transition:all .3s ease;
}

.card:hover{
  transform:translateY(-8px);
  box-shadow:0 28px 55px rgba(15,23,42,0.14);
}

.card h3{
  font-weight:700;
  margin-bottom:10px;
}

.service-link{
  display:inline-block;
  margin-top:14px;
  color:var(--primary);
  font-weight:600;
  text-decoration:none;
}

.service-link:hover{
  text-decoration:underline;
}

/* =========================
   SCROLL INDICATOR
   ========================= */
.scroll-indicator{
  position:absolute;
  bottom:16px; /* pulled up */
  left:50%;
  transform:translateX(-50%);
  width:26px;
  height:42px;
  border:2px solid rgba(255,255,255,0.7);
  border-radius:20px;
}

.scroll-indicator::after{
  content:"";
  position:absolute;
  top:8px;
  left:50%;
  width:6px;
  height:6px;
  background:#fff;
  border-radius:50%;
  transform:translateX(-50%);
  animation:scrollDot 1.5s infinite;
}

@keyframes scrollDot{
  from{opacity:1;transform:translate(-50%,0);}
  to{opacity:0;transform:translate(-50%,16px);}
}

/* =========================
   FOOTER
   ========================= */
footer{
  background:#0b1220;
  color:#aaa;
  text-align:center;
  padding:25px;
  font-size:14px;
}

/* =========================
   RESPONSIVE
   ========================= */

/* Tablet */
@media (max-width:1024px){
  .grid{
    grid-template-columns:repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width:768px){

  .hero{
    padding:64px 16px 48px;
  }

  .hero img{
    max-width:180px;
    padding:14px;
    margin-bottom:22px;
  }

  .hero h1{
    font-size:28px;
    line-height:1.25;
  }

  .hero p{
    font-size:16px;
    margin-bottom:22px;
  }

  .btn{
    display:block;
    width:100%;
    max-width:260px;
    margin:12px auto;
  }

  section#services{
    border-radius:28px;
    padding:70px 16px;
  }

  .grid{
    grid-template-columns:1fr;
    gap:22px;
  }

  .card{
    padding:26px;
  }

  h2{
    font-size:26px;
    margin-bottom:36px;
  }

  .scroll-indicator{
    bottom:10px;
    transform:translateX(-50%) scale(0.9);
  }
}
