/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  max-width: 100%;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #fff;
  overflow-x: hidden;
}

/* COLORS */
:root {
  --primary: #ec4899;
  --dark: #831843;
  --soft: #fff1f2;
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 9999;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 15px 20px;

  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);

  width: 100%;
}

.logo {
  color: var(--primary);
}

.navbar nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  /* IMPORTANT */
}

.navbar nav a {
  position: relative;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: 0.3s;
}

/* COLOR CHANGE */
.navbar nav a:hover {
  color: #ec4899;
}

/* UNDERLINE ANIMATION */
.navbar nav a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  left: 0;
  bottom: -4px;
  background: #ec4899;
  transition: 0.3s;
}

.navbar nav a:hover::after {
  width: 100%;
}

.navbar nav a {
  margin-left: 25px;
  text-decoration: none;
  color: #333;
}

.nav-btn {
  background: #ec4899;
  color: white !important;
  padding: 8px 16px;
  border-radius: 8px;
  white-space: nowrap;
  /* IMPORTANT */
}

/* HERO */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 100px 20px;
  flex-wrap: wrap;
  background: linear-gradient(135deg, #fff1f2, #fdf2f8);
}

/* TEXT */
.hero-text {
  max-width: 500px;
  flex: 1 1 300px;
}

.hero-image {
  flex: 1 1 300px;
  text-align: center;
  perspective: 1000px;
}

.hero-image img {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

/* HOVER EFFECT */
.hero-image img:hover {
  transform: perspective(1000px) rotateY(-8deg) rotateX(5deg) scale(1.03);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.badge {
  background: #fce7f3;
  color: var(--primary);
  padding: 6px 12px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 15px;
}

.hero-text h1 {
  font-size: 52px;
  color: var(--dark);
  margin-bottom: 15px;
}

.subtext {
  color: #555;
  margin-bottom: 25px;
}

/* BUTTONS */
.btn {
  padding: 14px 26px;
  border-radius: 10px;
  text-decoration: none;
  margin-right: 10px;
  transition: 0.3s;
}

.primary {
  background: linear-gradient(135deg, #ec4899, #db2777);
  box-shadow: 0 10px 25px rgba(236, 72, 153, 0.4);
  color: white;
}

.primary:hover {
  transform: translateY(-3px);
}

.secondary {
  border: 1px solid var(--primary);
  color: var(--primary);
}

.secondary:hover {
  background: var(--primary);
  color: white;
}

/* IMAGE */
.hero-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 20px 60px rgba(236, 72, 153, 0.2);
}

.services {
  padding: 80px 20px;
  text-align: center;
  background: linear-gradient(135deg, #fff1f2, #fdf2f8);
}

.services h2 {
  font-size: 32px;
  color: #831843;
  margin-bottom: 10px;
}

.subtitle {
  color: #666;
  margin-bottom: 40px;
}

/* GRID */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  max-width: 1000px;
  margin: auto;
}

/* CARD */
.card {
  background: white;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(236, 72, 153, 0.1);
  transition: 0.3s;
}

/* HOVER */
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(236, 72, 153, 0.2);
}

/* ICON */
.icon {
  font-size: 30px;
  margin-bottom: 10px;
}

/* TEXT */
.card h3 {
  margin-bottom: 8px;
  color: #db2777;
}

.card p {
  color: #555;
}

.before-after {
  padding: 80px 20px;
  text-align: center;
  background: #fff;
}

.before-after h2 {
  font-size: 32px;
  color: #831843;
  margin-bottom: 10px;
}

.subtitle {
  color: #666;
  margin-bottom: 40px;
}

/* GRID */
.ba-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 900px;
  margin: auto;
}

/* CARD */
.ba-card {
  display: flex;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 15px 40px rgba(236, 72, 153, 0.1);
  transition: 0.3s;
}

/* HOVER */
.ba-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(236, 72, 153, 0.2);
}

/* DIVIDER */
.ba-card::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 100%;
  background: white;
  left: 50%;
}

/* IMAGE */
.img-box {
  width: 50%;
  position: relative;
}

.img-box img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* LABELS */
.label {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 5px;
  color: white;
}

.before {
  background: #ef4444;
}

.after {
  background: #22c55e;
}

/*TESTIMONIALS*/
.testimonials {
  padding: 80px 20px;
  text-align: center;
  background: linear-gradient(135deg, #fff1f2, #fdf2f8);
}

.testimonials h2 {
  font-size: 32px;
  color: #831843;
  margin-bottom: 10px;
}

.subtitle {
  color: #666;
  margin-bottom: 40px;
}

/* GRID */
.test-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  max-width: 900px;
  margin: auto;
}

/* CARD */
.test-card {
  background: white;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(236, 72, 153, 0.1);
  transition: 0.3s;
}

/* HOVER */
.test-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(236, 72, 153, 0.2);
}

/* STARS */
.stars {
  color: gold;
  margin-bottom: 10px;
}

/* TEXT */
.test-card p {
  font-style: italic;
  margin-bottom: 10px;
  color: #444;
}

.test-card h4 {
  color: #db2777;
}

/*DOCTOR PROFILE*/
.doctor {
  padding: 90px 20px;
  background: linear-gradient(135deg, #fff1f2, #fdf2f8);
  text-align: center;
}

.doc-title {
  font-size: 34px;
  color: #831843;
  margin-bottom: 50px;
}

/* CONTAINER */
.doctor-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  max-width: 1000px;
  margin: auto;
  flex-wrap: wrap;
}

/* IMAGE */
.doctor-image img {
  width: 300px;
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(236, 72, 153, 0.25);
  border: 4px solid rgba(255, 255, 255, 0.6);
  transition: 0.4s;
}

.doctor-image img:hover {
  transform: scale(1.05);
}

/* TEXT */
.doctor-text {
  max-width: 500px;
  line-height: 1.7;
  text-align: left;
}

.doctor-text h3 {
  font-size: 24px;
  color: #db2777;
  margin-bottom: 5px;
}

.role {
  color: #666;
  margin-bottom: 15px;
}

.desc {
  color: #444;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* LIST */
.doctor-points {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.doctor-points li {
  margin-bottom: 10px;
  color: #db2777;
}

/* BUTTON */
.doctor .primary {
  box-shadow: 0 12px 30px rgba(236, 72, 153, 0.5);
  transition: 0.3s;
}

.doctor .primary:hover {
  transform: translateY(-3px);
}

/*CTA SECTION*/
.cta {
  margin: 60px 20px;
  padding: 70px 20px;
  text-align: center;
  border-radius: 20px;

  background: linear-gradient(135deg, #ec4899, #db2777);
  color: white;
}

.cta h2 {
  font-size: 34px;
  margin-bottom: 10px;
}

.cta p {
  margin-bottom: 20px;
}

/* BUTTONS */
.cta-buttons {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  /* IMPORTANT */
}

.cta-buttons .btn {
  padding: 14px 20px;
  min-width: 160px;
  text-align: center;
}

.cta .primary {
  background: white;
  color: #db2777;
  font-weight: 600;
}

.cta .primary:hover {
  background: #fce7f3;
}

.cta .secondary {
  border: 1px solid white;
  color: white;
}

.cta .secondary:hover {
  background: white;
  color: #db2777;
}

/* SMALL TEXT */
.cta-small {
  margin-top: 15px;
  font-size: 13px;
  color: #ffe4e6;
}

/*CONTACT SECTION*/
.contact {
  padding: 80px 20px;
  text-align: center;
  background: #fff;
}

.contact-container {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  max-width: 900px;
  margin: auto;
  margin-top: 30px;
}

/* INFO */
.contact-info p {
  margin-bottom: 10px;
  color: #555;
}

/* ACTION */
.contact-action {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/*FOOTER SECTION*/
.footer {
  background: #831843;
  color: white;
  padding: 40px 20px;
  text-align: center;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  max-width: 900px;
  margin: auto;
}

.copy {
  margin-top: 20px;
  font-size: 14px;
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;

  width: 55px;
  height: 55px;

  background: #25D366;
  color: white;

  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 24px;
  text-decoration: none;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  z-index: 9999;

  transition: 0.3s;
}

/* HOVER */
.whatsapp-float:hover {
  transform: scale(1.1);
}

@media (max-width: 768px) {

  .navbar {
    flex-direction: column;
    padding: 20px;
  }

  .navbar nav {
    margin-top: 10px;
    justify-content: center;
  }

  .navbar nav a {
    margin: 5px 10px;
  }

  .nav-btn {
    margin-top: 10px;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    padding: 60px 20px;
  }

  .hero-image img {
    width: 100%;
    margin-top: 30px;
  }
}

/* WHY SECTION */
.why {
  padding: 80px 20px;
  text-align: center;
  background: #fff;
}

.why h2 {
  font-size: 32px;
  color: #831843;
  margin-bottom: 10px;
}

.subtitle {
  color: #666;
  margin-bottom: 40px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  max-width: 1000px;
  margin: auto;
}

.why-card {
  background: #fff1f2;
  padding: 25px;
  border-radius: 15px;
  transition: 0.3s;
}

.why-card:hover {
  transform: translateY(-6px);
}

/* ================= MOBILE RESPONSIVE ================= */

@media (max-width: 768px) {

  /* NAVBAR */
  .navbar {
    flex-direction: column;
    align-items: center;
    padding: 15px 20px;
  }

  .navbar nav {
    margin-top: 10px;
  }

  .navbar nav a {
    margin: 0 10px;
    font-size: 14px;
  }

  /* HERO */
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 60px 20px;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-text h1 {
    font-size: 32px;
  }

  .buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .btn {
    width: 100%;
  }

  .hero-image img {
    width: 100%;
    margin-top: 30px;
  }

  /* WHY SECTION */
  .why {
    padding: 60px 20px;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  /* SERVICES */
  .service-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 768px) {

  .doctor-text {
    text-align: center;
  }

}

@media (max-width: 768px) {

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 250px;
  }

}

@media (max-width: 768px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
}