/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #444;
  background: #fff;
}

a {
  text-decoration: none;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 15px;
}

/* ================= TOP INFO BAR ================= */
.top-info-bar {
  background: #fff;
  border-bottom: 1px solid #eee;
  font-size: 13px;
}

.top-info-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
}


/* ================= STICKY NAVBAR ================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #fff;
}


.nav-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

/* LOGO */
.logo {
  font-size: 22px;
  font-weight: 600;
  color: #333;
}

.logo i {
  color: #a5c422;
  margin-right: 4px;
}

/* ================= DESKTOP MENU ================= */
.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
}

.nav-menu li a {
  font-size: 14px;
  color: #555;
  padding: 10px 14px;
  transition: color 0.3s ease;
}

.nav-menu li a:hover {
  color: #a5c422;
}

/* BUTTON */
.btn-appointment {
  background: #a5c422;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 500;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn-appointment:hover {
  background: #8eb91c;
  transform: translateY(-1px);
}

/* ================= HAMBURGER ================= */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  width: 26px;
  height: 2px;
  background: #333;
  display: block;
  margin: 6px 0;
  border-radius: 2px;
  transition:
    transform 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s ease;
}

/* Hamburger → X */
.menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
/* ================= MOBILE ================= */
@media (max-width: 768px) {

  /* Hide top info bar */
  .top-info-bar {
    display: none;
  }

  /* Show hamburger */
  .menu-toggle {
    display: block;
    padding: 6px;
  }

  .menu-toggle span {
    width: 22px;
    height: 2px;
    margin: 5px 0;
  }

  /* Reduce navbar height */
  .nav-flex {
    padding: 10px 14px;
  }

  /* Smaller logo */
  .logo {
    font-size: 18px;
  }

  .logo i {
    font-size: 18px;
  }

  /* MOBILE MENU */
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;

    flex-direction: column;
    align-items: flex-start;
    gap: 10px;

    padding: 0 14px;

    max-height: 0;
    overflow: hidden;

    opacity: 0;
    transform: translateY(-12px);

    pointer-events: none;

    transition:
      max-height 0.5s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.3s ease,
      transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);

    will-change: max-height, transform, opacity;
    box-shadow: 0 10px 24px rgba(0,0,0,0.12);
  }

  .nav-menu.active {
    max-height: 480px;
    padding: 16px 14px;

    opacity: 1;
    transform: translateY(0);

    pointer-events: auto;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-menu li a {
    display: block;
    width: 100%;
    font-size: 15px;
    padding: 10px 0;
  }

  /* Button adjustments */
  .btn-li {
    width: 100%;
    margin-top: 8px;
  }

  .btn-appointment {
    width: 100%;
    padding: 12px 14px;
    font-size: 14px;
    text-align: center;
  }
}








/* ================= FOOTER ================= */
.site-footer {
  background: transparent; /* uses body background */
  padding: 32px 0 28px;
  font-family: 'Poppins', sans-serif;
  border-top: 1px solid #eee;
}

/* ================= DIVIDER ================= */
.footer-divider {
  position: relative;
  height: 2px;
  background: #e2e2e2;
  margin-bottom: 26px;
}

/* ================= SCROLL TO TOP ================= */
.scroll-top {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);

  width: 42px;
  height: 42px;
  border-radius: 8px;

  background: #fff;
  border: 1px solid #d1d5db;
  color: #374151;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  outline: none;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.scroll-top svg {
  width: 18px;
  height: 18px;
}

.scroll-top:hover,
.scroll-top:focus-visible {
  transform: translate(-50%, -56%);
  box-shadow: 0 8px 18px rgba(0,0,0,0.14);

  background: #1e3a8a;  /* dark blue box */
  color: #ffffff;       /* white arrow */
}

/* ================= FOOTER CONTENT ================= */
.footer-content {
  text-align: center;
}

/* ================= COPYRIGHT ================= */
.footer-copy {
  font-size: 14.5px;
  color: #6b7280;
  margin-bottom: 16px;
  line-height: 1.6;
}

.footer-copy span {
  color: #374151;           /* neutral (no green) */
  font-weight: 500;
}

/* ================= FOOTER LINKS ================= */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;

  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
}

.footer-links li {
  font-size: 14px;
}

.footer-links a {
  color: #6b7280;
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #1e3a8a;           /* dark blue */
}

/* ================= DESKTOP ================= */
@media (min-width: 1024px) {
  .footer-divider {
    margin-left: 60px;
    margin-right: 60px;
  }

  .scroll-top {
    left: auto;
    right: 200px;
    transform: translateY(-50%);
  }

  .scroll-top:hover,
  .scroll-top:focus-visible {
    transform: translateY(-56%);
  }
}

/* ================= MOBILE ================= */
@media (max-width: 480px) {
  .footer-copy {
    font-size: 13.5px;
  }

  .footer-links li {
    font-size: 13.5px;
  }

  .footer-links {
    gap: 10px 18px;
  }
}



/* Prevent hover sticking on touch devices */
@media (hover: none) {
  .scroll-top:hover {
    background: #fff;
    color: #374151;
    box-shadow: none;
    transform: translate(-50%, -50%);
  }
}

/* Explicit active state */
.scroll-top:active {
  background: #1e3a8a;
  color: #ffffff;
}

/* ================= FOOTER TOP INFO ================= */
.footer-top {
  padding: 24px 0 18px;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: flex-start;
}

.footer-box h4 {
  font-size: 16px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 10px;
}

.footer-box p {
  font-size: 14.5px;
  line-height: 1.7;
  color: #6b7280;
}

/* ================= TABLET ================= */
@media (max-width: 768px) {
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }
}

/* ================= MOBILE ================= */
@media (max-width: 480px) {
  .footer-box h4 {
    font-size: 15px;
  }

  .footer-box p {
    font-size: 14px;
  }
}




/* MAP SECTION */
.map-section {
  width: 100%;
}

/* Desktop – SMALLER HEIGHT */
.map-container {
  position: relative;
  width: 100%;
  padding-bottom: 28%; /* 🔽 reduced desktop height */
  height: 0;
  overflow: hidden;
}

.map-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Tablet */
@media (max-width: 1024px) {
  .map-container {
    padding-bottom: 45%;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .map-container {
    padding-bottom: 65%;
  }
}








.appointment-form {
  width: 100%;
  max-width: 520px;
  background: #ffffff;
  font-family: 'Poppins', sans-serif;
}

.appointment-form h2 {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 600;
  margin-bottom: 25px;
  color: #222;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full {
  margin-bottom: 18px;
}

.form-group label {
  font-size: 14px;
  color: #666;
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: #f7f7f7;
  border: none;
  padding: 14px 15px;
  font-size: 14px;
  border-radius: 4px;
  outline: none;
}

.form-group textarea {
  min-height: 120px;
  resize: none;
}

.submit-btn {
  width: 100%;
  padding: 15px;
  background: #9cc31c;
  border: none;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.submit-btn:hover {
  background: #88ad18;
}

/* Tablet */
@media (max-width: 992px) {
  .appointment-form {
    max-width: 100%;
  }
}
@media (max-width: 600px) {
  .appointment-form {
    margin: 25px auto;        /* center horizontally */
    padding: 0 14px;         /* safe space on left & right */
    max-width: calc(100% - 28px);
    transform: none;         /* remove edge-breaking scale */
  }
}
.appointment-form {
  width: 100%;
  max-width: 520px;
  background: #ffffff;
  font-family: 'Poppins', sans-serif;

  /* ADDED SPACING */
  margin: 80px auto;   /* top & bottom gap */
}

/* ===== SCROLL SLIDE-OUT ANIMATION ===== */
.appointment-form {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1s ease, transform 1s ease;
}

.appointment-form.show {
  opacity: 1;
  transform: translateY(0);
}















/* ================= SERVICES SECTION ================= */
.services-section {
  padding: 70px 0;
  background: #ffffff;
  font-family: 'Poppins', sans-serif;
}

/* ================= HEADER ================= */
.services-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px;
}

.services-header h2 {
  font-size: 34px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 14px;
}

.services-header p {
  font-size: 15.5px;
  color: #6b7280;
  line-height: 1.7;
}

/* ================= GRID ================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}

/* ================= SERVICE CARD ================= */
.service-card {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 28px;

  /* Animation initial state */
  opacity: 0;
  transform: translateY(40px);

  transition:
    opacity 0.6s ease,
    transform 0.6s ease,
    box-shadow 0.25s ease;
}

/* Animation active */
.service-card.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Hover */
.service-card:hover {
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

/* ================= STAGGER EFFECT ================= */
.service-card:nth-child(1) { transition-delay: 0.1s; }
.service-card:nth-child(2) { transition-delay: 0.2s; }
.service-card:nth-child(3) { transition-delay: 0.3s; }
.service-card:nth-child(4) { transition-delay: 0.4s; }

/* ================= ICON ================= */
.service-icon {
  font-size: 30px;
  display: inline-block;
  margin-bottom: 12px;
}

/* ================= TEXT ================= */
.service-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14.8px;
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 14px;
}

.service-card ul {
  padding-left: 18px;
  margin: 0;
}

.service-card ul li {
  font-size: 14.5px;
  color: #374151;
  margin-bottom: 6px;
}

/* ================= TABLET ================= */
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .services-section {
    padding: 60px 0;
  }
}

/* ================= MOBILE ================= */
@media (max-width: 480px) {
  .services-header h2 {
    font-size: 28px;
  }

  .services-header p {
    font-size: 14.5px;
  }

  .service-card {
    padding: 22px;
  }

  .service-card h3 {
    font-size: 17px;
  }
}

/* ================= REDUCE MOTION SUPPORT ================= */
@media (prefers-reduced-motion: reduce) {
  .service-card {
    transition: none;
    opacity: 1;
    transform: none;
  }
}




















/* ================= ABOUT SECTION ================= */
.about-section {
  padding: 90px 20px;
  background: #f9fafb;
  font-family: 'Poppins', sans-serif;
}

.about-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* ================= IMAGE AREA ================= */
.about-image {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transform: translateX(-60px);
  transition: all 1s ease;
  z-index: 2;
}

.about-image.animate {
  opacity: 1;
  transform: translateX(0);
}

/* Decorative Background Shape */
.image-bg {
  position: absolute;
  top: -12px;                  /* PUSH BG UP */
  left: 50%;
  width: 260px;                /* REDUCED SIZE */
  height: 320px;
  background: linear-gradient(135deg, #7ab317, #a8e063);
  border-radius: 36px 110px 36px 110px;
  transform: translateX(-50%);
  z-index: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.about-image.animate .image-bg {
  opacity: 1;
}

/* Doctor Image */
.about-image img {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 240px;
  height: auto;
  margin-bottom: 26px;          /* GAP FROM BG */
}

/* ================= DOCTOR NAME ================= */
.doctor-name {
  margin-top: 62px;             /* CLEAN GAP */
  padding-top: 6px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: #1a242f;
  line-height: 1.4;
}

.doctor-name span {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  color: #666;
  margin-top: 25px;
}

/* ================= CONTENT AREA ================= */
.about-content > * {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s ease;
}

.about-content.animate > * {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animation */
.about-content.animate .about-tag { transition-delay: 0.1s; }
.about-content.animate h2 { transition-delay: 0.25s; }
.about-content.animate p { transition-delay: 0.4s; }
.about-content.animate .about-points { transition-delay: 0.55s; }
.about-content.animate .about-btn { transition-delay: 0.7s; }

/* ================= TEXT STYLES ================= */
.about-tag {
  display: inline-block;
  background: rgba(122, 179, 23, 0.12);
  color: #7ab317;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
}

.about-content h2 {
  font-size: 36px;
  color: #1a242f;
  line-height: 1.3;
  margin-bottom: 18px;
}

.about-content p {
  color: #555;
  font-size: 15.5px;
  line-height: 1.8;
  margin-bottom: 22px;
}

/* ================= POINTS ================= */
.about-points {
  list-style: none;
  padding: 0;
  margin-bottom: 28px;
}

.about-points li {
  font-size: 14.5px;
  color: #333;
  margin-bottom: 10px;
}

/* ================= BUTTON ================= */
.about-btn {
  display: inline-block;
  padding: 13px 28px;
  background: #7ab317;
  color: #fff;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.about-btn:hover {
  background: #618e12;
  transform: translateY(-2px);
}
/* ================= DESKTOP (LARGE SCREENS) ================= */
@media (min-width: 993px) {

  /* Increase background shape */
  .image-bg {
    width: 360px;          /* BIGGER BACKGROUND */
    height: 380px;
    top: -20px;            /* ALIGN WITH IMAGE */
    border-radius: 40px 130px 40px 130px;
  }

  /* Increase doctor image */
  .about-image img {
    max-width: 300px;      /* BIGGER IMAGE */
    margin-bottom: 30px;
  }

  /* Adjust name spacing */
  .doctor-name {
    margin-top: 70px;      /* MAINTAIN GAP */
    font-size: 16px;
  }

  .doctor-name span {
    font-size: 13.5px;
    margin-top: 6px;
  }
}

/* ================= TABLET ================= */
@media (max-width: 992px) {
  .about-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-image {
    transform: translateY(40px);
  }

  .about-image.animate {
    transform: translateY(0);
  }

  .image-bg {
    width: 340px;
    height: 400px;
  }

  .about-image img {
    max-width: 320px;
  }

  .about-content h2 {
    font-size: 30px;
  }
    .doctor-name {
    font-size: 20.5px;
    margin-top: 60px;
  }
}

/* ================= SMALL MOBILE ================= */
@media (max-width: 480px) {
  .image-bg {
    width: 280px;
    height: 280px;
  }

  .about-image img {
    max-width: 250px;
    margin-bottom: 22px;
  }

  .doctor-name {
    font-size: 18.5px;
    margin-top: 60px;
  }
}
