* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  padding: 0;
  
}

/* 🔥 HEADER OFFSET FIX */
section {
  scroll-margin-top: 110px;
}

/* section {
  min-height: 100vh;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 20px; /* space for header */
  /* box-sizing: border-box;
} */ 

body {
  background: #f9fafb;
  color: #222;
}

/* ================= HEADER ================= */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0px 40px;
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
/* ================= LOGO ================= */



.hero {
  text-align: center;
  align-items: center;
}

.services .cards {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}







/* ================= NAV ================= */
.nav {
  display: flex;
  gap: 0px;
  align-items: center;
  margin-left: auto;
  
}



/*  */
.nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  background: #00a884;
  left: 0;
  bottom: -5px;
  transition: 0.3s;
}

.nav a:hover,
.nav a.active {
  color: #00a884;
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

/* ================= HERO ================= */
.hero {
  padding: 44px 20px 15px;
  text-align: center;
  background: linear-gradient(to right, #e8f5e9, #ffffff);
}

.hero h1 {
  font-size: 34px;
}

.hero p {
  margin: 10px 0;
  color: #555;
}

.btn {
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  margin: 5px;
  display: inline-block;
  transition: 0.3s;
}

.btn:hover {
  transform: translateY(-2px);
}

.whatsapp {
  background: #25D366;
  
  border: 2px solid #25D366;
  color: white;

}

.outline {
  border: 2px solid #25D366;
  background: #25D366;
  color: white;
}

/* ================= SERVICES ================= */
.services {
  padding: 15px 20px;
  text-align: center;
  background: #fff;
}

.cards {
  display: flex;
  gap: 30px;
  justify-content: center;
  margin-top: 25px;
  flex-wrap: wrap;
}

.card {
  background: white;
  padding: 18px;
  width: 240px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

/* ================= STEPS ================= */
.steps {
  padding: 15px 38px;
  text-align: center;
  background: #f1f5f9;
}

.steps-grid {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

/* Desktop Line */
.steps-grid::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 2px;
  background: #ddd;
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
  background: #fff;
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 500;
  transition: 0.3s;
}

.step:hover {
  transform: translateY(-5px);
}

/* ================= FORM ================= */
.form-section {
  padding: 0px 60px 0px;
  text-align: center;
}

.form {
  max-width: 360px;
  margin: auto;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.form textarea {
  height: 100px; /* 🔥 control size */
  resize: none;  /* optional */
}

.form button {
  width: 100%;
  padding: 10px;
  background: #25D366;
  color: white;
  border: none;
  border-radius: 8px;
}

/* DATE */
.date-group {
  display: flex;
  gap: 8px;
}

.date-group div {
  width: 48%;
}


/*  */
/* ================= CONTACT ================= */
.contact {
  padding: 60px 20px;
  text-align: center;
}

.footer {
  background: #eee;
  padding: 12px;
  text-align: center;
}

/* ================= WHATSAPP ================= */
.floating-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  color: white;
  padding: 15px;
  border-radius: 50%;
}

/* ================= POPUP ================= */
.popup {
  position: fixed;
  top: 100px; /* 🔥 header ke niche clearly dikhe */
  left: 50%;
  transform: translateX(-50%);
  
  background: #25D366;
  color: white;
  padding: 15px 25px;
  border-radius: 8px;

  z-index: 9999; /* 🔥 sabse upar */
  
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}

.popup.show {
  opacity: 1;
  visibility: visible;
}
/* ================= MOBILE ================= */
@media (max-width: 768px) {

  .nav {
    position: absolute;
    top: 70px;
    right: 0;
    background: white;
    flex-direction: column;
    width: 200px;
    padding: 20px;
    display: none;
  }

.logo-box img {
    width: 120px;   /* mobile me clean size */
  }



  .nav.show {
    display: flex;
  }

 

  .cards {
    flex-direction: column;
    align-items: center;
  }

  .hero h1 {
    font-size: 24px;
  }

  /* 🔥 TIMELINE FIX */
  .steps-grid {
    flex-direction: column;
    align-items: center;
    position: relative;
  }

 .steps-grid::before {
  width: 2px;
  height: 70%;
  background: #ddd;
  top: 15%;
}


.hamburger {
    display: block; /* ✅ sirf mobile me */
  }

  .nav {
    display: none; /* menu hide */
  }

  .nav.show {
    display: flex; /* click pe show */
  }
}

  .step {
    margin: 15px 0;
    width: 70%;
    text-align: center;
  }

}

.phone-group {
  display: flex;
  align-items: center;
  width: 100%;

  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;

  height: 44px; /* 🔥 same height as input */
}

.country-code {
  padding: 0 12px; /* 🔥 vertical padding remove */
  display: flex;
  align-items: center;
  height: 100%;

  border-right: 1px solid #ddd;
  color: #555;
}

.phone-group input {
  flex: 1;
  border: none;
  height: 100%; /* 🔥 same height */
  padding: 0 12px; /* 🔥 match input padding */
  font-size: 14px;
  outline: none;
  background: transparent;
}

.date-group label {
  cursor: pointer;
}

.form button {
  cursor: pointer;
}

.card-btn {
  margin-top: 10px;
  padding: 8px 15px;
  border: none;
  background: #25D366;
  color: white;
  border-radius: 6px;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.step-number {
  width: 28px;
  height: 28px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  font-size: 14px;
}

.step {
  transition: 0.3s;
}

.step:hover {
  transform: scale(1.05);
}



.card-btn {
  transition: 0.3s;
}

.card-btn:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.card-btn:active {
  transform: scale(0.95);
  background: #1ebe5d;
}


.contact {
  background: white;
  padding: 1%;
  border-radius: 2px;
  max-width:2000px;
  margin: auto;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.contact a {
  text-decoration: none;
  color: #333;
}

.phone-group {
  display: flex;
  align-items: center;
  width: 100%;

  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;

  height: 48px; /* 🔥 same height as input */
  margin: 10px 0;
}

.country-code {
  background: #f5f5f5;
  padding: 0 12px;
  height: 100%;

  display: flex;
  align-items: center;
  justify-content: center;

  border-right: 1px solid #ddd;
  font-weight: 500;
}

.phone-group input {
  flex: 1;
  border: none;
  outline: none;
  padding: 0 8px;

  height: 100%;
  font-size: 14px;
}


.phone-group {
  background: #fff;
}


.trust-note {
  margin-top: 15px;
  color: #555;
  font-size: 14px;
}

.contact:hover {
  transform: translateY(-5px);
  transition: 0.3s;
}

.footer p {
  font-weight: 500;
  color: #444;
}

.footer {
  background: #f1f5f9;
  padding: 15px;
  text-align: center;
  margin-bottom: 30px;
}

.footer p {
  font-weight: 500;
  color: #333;
  font-size: 14px;
}

.form button {
  transition: 0.3s;
  cursor: pointer;
}

.form button:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.form button:active {
  transform: scale(0.95);
  background: #1ebe5d;
}

.floating-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;

  width: 55px;
  height: 55px;
  background: #25D366;
  color: white;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  font-size: 24px;

  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  z-index: 9999;

  transition: 0.3s;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  background: #1ebe5d;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.floating-whatsapp {
  animation: pulse 2s infinite;
  text-decoration: none;
}

.doctor-info-box {
  margin-top: 15px;
  background: #e8f5e9;
  padding: 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
}

.doctor-info-box span {
  font-size: 12px;
  color: #666;
}

.steps-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.contact {
  text-align: center;
}

/* section {
  scroll-snap-stop: always;
} */

/* .header {
  background: #e6c49f;
  padding: 10px;
  font-size: 18px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
} */



/* ================= SERVICES ================= */
.services {
  padding: 15px 20px;   /* updated */
  text-align: center;
  background: #fff;
}

/* Section Title */
.services h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
}

.services h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #25D366;
  margin: 10px auto 0;
  border-radius: 2px;
}

/* Cards */
.card {
  background: white;
  padding: 25px 20px;   /* updated */
  width: 280px;         /* updated */
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
  transition: 0.3s;
}

/* Card Title */
.card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

/* Card Text */
.card p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 15px;
}

/* Button */
.card-btn {
  margin-top: 10px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
}

.services h2::after {
  display: none;
}

/* date input ko normal input jaisa dikhao */
input[type="date"] {
  color: #555;
}

/* empty hone pe placeholder jaisa look */
input[type="date"]:invalid {
  color: #999;
}

input[type="date"] {
  cursor: pointer;   /* 👈 hand cursor */
}

.input-group {
  position: relative;
  margin: 10px 0;
}

/* Input styling same as your form */
.input-group input {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 14px;
  background: white;
}

/* Label default (inside input) */
.input-group label {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  background: white;
  padding: 0 5px;
  color: #999;
  font-size: 14px;
  pointer-events: none;
  transition: 0.3s ease;
}

/* When input focused OR has value */
.input-group input:focus + label,
.input-group input:valid + label {
  top: -8px;
  font-size: 12px;
  color: #050505;
}

/* Focus effect (same as button theme) */
.input-group input:focus {
  outline: none;
  border-color: black;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

/* default text hide */
input[type="date"]::-webkit-datetime-edit {
  opacity: 0;
}

/* jab value select ho ya focus ho */
input[type="date"]:focus::-webkit-datetime-edit,
input[type="date"]:valid::-webkit-datetime-edit {
  opacity: 1;
}

.form-section {
  padding: 30px 60px 0px;  /* 🔥 bottom increase */
}

.cards {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.card {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* 🔥 important */
  height: 100%;
  min-height:270px; /* 🔥 same height */
}

.card p {
  flex-grow: 1; /* 🔥 text space fill karega */
}

body {
  user-select: none;
}

.logo-box img {
  height: 100px;   /* perfect header size */
  width: auto;
  display: block;
}

.nav-link {
  margin: 0 15px;
}

.hero {
  background: linear-gradient(135deg, #e8f5f0, #ffffff);
}


.map-section {
  text-align: center;
  padding: 50px 20px;
}

.map-section h2 {
  font-size: 28px;
  margin-bottom: 0px;
}

.map-section p {
  color: #555;
  margin-bottom: 25px;
}

.map-container img {
  width: 90%;
  max-width: 900px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.header {
  position: fixed;   /* 🔥 sticky → fixed */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}
body {
  padding-top: 30px; /* header height ke hisab se */
}
section {
  scroll-margin-top: 70px;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0px 0px;
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo-box {
  /* display: flex; */
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

/* logo image */
.logo-box img {
  height: 70px;
}

/* text styling */
.logo-text {
  font-size: 16px;
  font-weight: 600;
  color: #00a884;
}

@media (max-width: 768px) {
  .logo-text {
    font-size: 16px;
  }

  .logo-box img {
    height: 70px;
  }
}

.logo-box {
  display: flex;              /* 🔥 MUST */
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

/* logo image */
.logo-box img {
  height: 50px;
}

/* text */
.logo-text {
  font-size: 16px;
  font-weight: 600;
  color: #00a884;
}

@media (max-width: 768px) {

  .nav {
    position: absolute;
    top: 70px;
    right: 0;
    background: white;

    flex-direction: column;
    width: 220px;

    padding: 20px;

    display: none;

    align-items: flex-start;   /* 🔥 FIX */
    text-align: left;          /* 🔥 FIX */
  }

  .nav a {
    width: 100%;              /* 🔥 equal width */
    padding: 10px 0;
  }
}



/* BLOG SECTION */
.blog-section {
  padding: 70px 20px;
  background: #fff;
  text-align: center;
}

.blog-section h2 {
  font-size: 38px;
  margin-bottom: 10px;
}

.blog-sub {
  color: #666;
  margin-bottom: 40px;
}

.blog-container {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.blog-card {
  width: 330px;
  background: #f9fafb;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
  transition: 0.3s;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.blog-content {
  padding: 20px;
  text-align: left;
}

.blog-content h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.blog-content p {
  color: #555;
  font-size: 15px;
  line-height: 1.6;
}

.read-btn {
  display: inline-block;
  margin-top: 15px;
  background: #00a884;
  color: white;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
}

.read-btn:hover {
  background: #008f72;
}


/* BLOG SECTION */
.blog-section {
  padding: 70px 20px;
  background: #fff;
  text-align: center;
}

.blog-section h2 {
  font-size: 38px;
  margin-bottom: 10px;
}

.blog-sub {
  color: #666;
  margin-bottom: 40px;
}

.blog-container {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.blog-card {
  width: 330px;
  background: #f9fafb;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
  transition: 0.3s;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.blog-content {
  padding: 20px;
  text-align: left;
}

.blog-content h3 {
  font-size: 22px;
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-content p {
  color: #555;
  font-size: 15px;
  line-height: 1.6;
}

.read-btn {
  display: inline-block;
  margin-top: 15px;
  background: #00a884;
  color: white;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
}

.read-btn:hover {
  background: #008f72;
}

/* MOBILE */
@media(max-width:768px){

.blog-card{
  width:100%;
}

.blog-section h2{
  font-size:30px;
}

}


/* MOBILE DATE INPUT FIX */
@media(max-width:768px){

  input[type="date"]{
    height: 48px;
    min-height: 48px;

    font-size: 16px;

    padding: 0 12px;

    appearance: none;
    -webkit-appearance: none;

    background: white;
  }

  .input-group input{
    height: 48px;
  }

}

.input[type="date"]::-webkit-date-and-time-value{
  text-align: left;
}



/* MOBILE FORM FIX */
@media(max-width:768px){

  .form input,
  .phone-group,
  .input-group,
  .input-group input{
    width:100%;
    height:56px;
    min-height:56px;
    border-radius:14px;
  }

  .form input,
  .input-group input{
    padding:0 16px;
  }

  /* textarea same rahe */
  .form textarea{
    height:140px;
    border-radius:14px;
  }
  
  .input-group input[type="date"]:valid + label{
  display:none;
}

  /* date wrapper spacing fix */
  .input-group{
    display:flex;
    align-items:center;
  }

}



.input-group input:not([type="date"]):focus + label,
.input-group input:not([type="date"]):valid + label {
  top: -8px;
  font-size: 12px;
  color: #050505;
}

/* hide label when date selected */
.input-group input[type="date"]:valid + label{
  display:none;
}