:root {
      --primary:     #1e40af;
      --primary-light:#3b82f6;
      --primary-dark:#172554;
      --light-bg:    #f9fcff;
      --white:       #ffffff;
      --gray-100:    #f1f5f9;
      --gray-200:    #e2e8f0;
      --text:        #0f172a;
      --text-muted:  #475569;
    }

    body {
       font-family: "Nunito Sans", sans-serif;
      background: var(--light-bg);
      color: var(--text);
      line-height: 1.8;
      position: relative;
    }

    /* Subtle medical SVG background */
    body::before {
      content: '';
      position: fixed;
      inset: 0;
      background-image: url("data:image/svg+xml,%3Csvg width='140' height='140' viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%233b82f612' stroke-width='1.8'%3E%3Ccircle cx='70' cy='70' r='26'/%3E%3Ccircle cx='70' cy='70' r='44'/%3E%3Cpath d='M70 44 L70 96 M44 70 L96 70'/%3E%3C/g%3E%3C/svg%3E");
      background-size: 160px 160px;
      opacity: 0.05;
      pointer-events: none;
      z-index: -1;
    }

    /* Navbar – improved */
    .navbar {
      background: rgba(255,255,255,0.98);
      backdrop-filter: blur(16px);
      border-bottom: 1px solid rgba(30,64,175,0.1);
      padding: 1.2rem 0;
      transition: all 0.4s ease;
    }
    .navbar.scrolled {
      box-shadow: 0 6px 25px rgba(30,64,175,0.12);
      border-bottom-color: rgba(30,64,175,0.15);
    }
    .navbar-brand {
      font-weight: 800;
      color: var(--primary);
      font-size: 1.75rem;
      letter-spacing: -0.5px;
    }
    .nav-link {
      font-weight: 500;
      color: var(--text);
      padding: 0.75rem 1.4rem !important;
      border-radius: 8px;
      transition: all 0.25s ease;
    }
    .nav-link:hover, .nav-link.active {
      color: var(--primary-light);
      background: rgba(59,130,246,0.05);
    }
    .btn-contact {
      background: var(--primary);
      color: white !important;
      border-radius: 50px;
      padding: 0.75rem 2rem !important;
      font-weight: 600;
      transition: all 0.3s ease;
    }
    .btn-contact:hover {
      background: var(--primary-light);
      transform: translateY(-3px);
      box-shadow: 0 8px 25px rgba(59,130,246,0.3);
    }

    /* Hero – slightly bigger & bolder */
    #hero {
      padding: 13rem 0 9rem;
      background: linear-gradient(135deg, #f9fcff 0%, #e0f2fe 100%);
    }
    .hero-title {
      font-size: 4.8rem;
      font-weight: 800;
      color: var(--primary);
      line-height: 1.05;
      margin-bottom: 1.2rem;
    }
    .hero-subtitle {
      font-size: 1.9rem;
      color: var(--text-muted);
      max-width: 720px;
      margin-bottom: 2rem;
    }
    .hero-desc {
      font-size: 1.35rem;
      color: var(--text-muted);
      max-width: 660px;
    }
    .hero-img {
      border-radius: 24px;    width: 100%; height: 600px;
        transition: transform 0.6s 
ease;
    object-fit: cover;
    }
    .hero-img:hover {
      transform: scale(1.02);
    }

    /* Section Title – refined */
    .section-title {
      font-size: 3.2rem;
      font-weight: 800;
      color: var(--primary);
      position: relative;
      display: inline-block;
      margin-bottom: 1.4rem;
    }
    .section-title::after {
      content: '';
      position: absolute;
      bottom: -16px;
      left: 0;
      width: 120px;
      height: 6px;
      background: linear-gradient(90deg, var(--primary-light), #60a5fa);
      border-radius: 3px;
    }
    .section-lead {
      font-size: 1.3rem;
      color: var(--text-muted);
      max-width: 820px;
      margin: 0 auto 3.5rem;
    }

    /* Cards – better spacing & hover */
    .pro-card {
      background: white;
      border-radius: 18px;
      border: 1px solid rgba(30,64,175,0.08);
      box-shadow: 0 12px 40px rgba(0,0,0,0.06);
      transition: all 0.45s ease;
          padding: 1rem;
    }
    .pro-card:hover {
      transform: translateY(-12px);
      box-shadow: 0 24px 65px rgba(30,64,175,0.14);
      border-color: var(--primary-light);
    }
    .card-icon {
      font-size: 3.8rem;
      color: var(--primary-light);
      margin-bottom: 1rem;
    }

    /* Timeline Grid */
    .timeline-grid {
        display: grid
;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 1.8rem;
    }
    .timeline-item {
      position: relative;
      counter-increment: step;
    }
    .timeline-item::before {
      content: counter(step);
      position: absolute;
      top: -2rem;
      left: 50%;
      transform: translateX(-50%);
      width: 54px;
      height: 54px;
      background: var(--primary);
      color: white;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      font-size: 1.45rem;
      box-shadow: 0 6px 18px rgba(30,64,175,0.28);
      z-index: 1;
    }
    .timeline-item .pro-card {
      padding-top: 1.5rem;
      text-align: center;
    }
h4{    font-size: 22px;}
    /* Services – images on top like original */
    .service-card {
      background: white;
      border-radius: 18px;
      overflow: hidden;
      box-shadow: 0 12px 40px rgba(0,0,0,0.06);
      transition: all 0.45s ease;
    }
    .service-card:hover {
      transform: translateY(-12px);
      box-shadow: 0 24px 65px rgba(30,64,175,0.14);
    }
    .service-img {
      height: 260px;
      overflow: hidden;
    }
    .service-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.6s ease;
    }
    .service-card:hover .service-img img {
      transform: scale(1.12);
    }
    .service-content {
      padding: 2.2rem;
      text-align: center;
    }

    /* Contact */
    .contact-card {
      background: white;
      border-radius: 20px;
      border: 1px solid var(--gray-200);
      padding: 3.5rem;
      box-shadow: 0 14px 50px rgba(0,0,0,0.07);
    }

    .form-control {
      border-radius: 12px;
      padding: 0.9rem 1.5rem;
      border-color: var(--gray-200);
      font-size: 1.05rem;
    }
    .form-control:focus {
      border-color: var(--primary-light);
      box-shadow: 0 0 0 0.3rem rgba(59,130,246,0.15);
    }
    .btn-submit {
      background: var(--primary);
      border: none;
      border-radius: 50px;
      padding: 1rem 2.8rem;
      font-weight: 600;
      font-size: 1.1rem;
      color: white;
      transition: all 0.3s;
    }
    .btn-submit:hover {
      background: var(--primary-light);
      transform: translateY(-3px);
    }

    /* Footer – completely refreshed */
    .footer {
      background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
      color: #e2e8f0;
      padding: 7rem 0 3rem;
      position: relative;
    }
    .footer::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 4px;
      background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
    }
    .footer-brand {
      font-size: 2rem;
      font-weight: 800;
      color: white;
      margin-bottom: 1.2rem;
    }
    .footer-social a {
      color: #94a3b8;
      font-size: 1.8rem;
      margin-right: 1.6rem;
      transition: all 0.35s ease;
    }
    .footer-social a:hover {
      color: white;
      transform: translateY(-4px) scale(1.15);
    }
    .footer-links h5 {
      color: white;
      font-size: 1.3rem;
      margin-bottom: 1.5rem;
      font-weight: 700;
    }
    .footer-links a {
      color: #cbd5e1;
      font-size: 1.05rem;
      line-height: 2.1;
      transition: color 0.3s;
    }
    .footer-links a:hover {
      color: white;
    }
    .footer-bottom {
      margin-top: 5rem;
      padding-top: 2.5rem;
      border-top: 1px solid rgba(255,255,255,0.12);
      text-align: center;
      font-size: 1rem;
      color: #94a3b8;
    }

    @media (max-width: 992px) {
      .hero-title { font-size: 3.8rem; }
      .section-title { font-size: 2.7rem; }
      .timeline-grid { grid-template-columns: 1fr; }
    }

/* ================= SCROLL BUTTON ================= */
.scroll-top-btn{
  position:fixed;
  right:25px;
  bottom:25px;
  width:52px;
  height:52px;
  border-radius:50%;
  background:var(--primary);
  color:#fff;
  border:none;
  display:none;
}
.scroll-top-btn.show{
  display:flex;
  align-items:center;
  justify-content:center;
}

/* ================= RESPONSIVE ================= */

/* ================= LUXURY FOOTER ================= */
.luxury-footer{
  background:#fff;
  box-shadow: 7px 8px 10px 4px #8080805e;
      padding: 60px 0 20px;
  color:var(--muted);
  position:relative;
  overflow:hidden;
}

/* subtle medical background */
.luxury-footer::before{
  content:'\f0f8  \f481';
  font-family:"Font Awesome 6 Free";
  font-weight:900;
  position:absolute;
  top:20%;
  right:5%;
  font-size:180px;
  color:rgba(255,255,255,.02);
  white-space:pre;
}

.footer-grid{
  display:grid;
  grid-template-columns:2.2fr 1.2fr 1.2fr;
  gap:80px;
  position:relative;
  z-index:2;
}

.footer-logo{
  font-size:2.6rem;
  font-weight:800;
  color:#515151;
  margin-bottom:25px;
}
.footer-logo i{
  color:var(--primary);
  margin-right:10px;
}

.footer-desc{
  max-width:420px;
  line-height:1.8;color: #515151;
  margin-bottom:35px; font-size: 16px; font-weight: 400;
}

/* Social */
.footer-social{
  display:flex;
  gap:16px;
}
.footer-social a{
  width:48px;
  height:48px;
  border-radius:50%;
  background:rgba(255,255,255,.08);
  display:flex;
  align-items:center;
  justify-content:center;
  color:#515151;
  font-size:1.1rem;
  transition:.35s ease; text-decoration: none;
}
.footer-social a:hover{
  background:var(--primary);
  color:#fff;
  transform:translateY(-6px);
  box-shadow:0 20px 40px rgba(34,211,238,.4);
}

/* Links */
.footer-links h5{
  color:#515151;
  font-size:1.4rem;
  margin-bottom:30px;
}
.footer-links h5 i{
  color:var(--primary);
  margin-right:8px;
}
.footer-links ul{
  list-style:none;
  padding:0;
  margin:0;
}
.footer-links li{
    margin-bottom: 5px;
}
.footer-links a{
  color:var(--muted);
  text-decoration:none;
  transition:.3s;
}
.footer-links a:hover{
  color:#515151;
  padding-left:6px;
}

/* Contact */
.footer-contact li{
  display:flex;
  align-items:center;
  gap:12px;
}
.footer-contact i{
  color:var(--primary);
}

/* Bottom */
.footer-bottom {
    margin-top: 10px;
    padding-top: 30px;
    border-top: 1px solid rgb(73 72 72 / 34%);
    text-align: center;
    font-size: .95rem;
    /* opacity: .7; */
    color: #4c4c4c;
}

/* ================= RESPONSIVE ================= */
@media(max-width:992px){
  .footer-grid{
    grid-template-columns:1fr;
    text-align:center;
    gap:60px;
  }
  .footer-social{
    justify-content:center;
  }
  .top90{    position: relative;
    top: 100px;}
     .top90 h1{font-size: 3rem;}
     .section-title {
    font-size: 2.2rem;
}
.footer-links ul {
    display: grid;
    justify-content: center;
}
.navbar {
    background: rgb(201 208 211 / 52%);}

.nav-link {
    color: #ffffff;}
.navbar-brand {
    font-size: 20px;}
}