/* ================= General Reset ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  color: hsl(186, 49%, 59%);
  line-height: 1.6;
  background: #f5fffe;
}

/* ================= Header ================= */
header {
  background: #77bd8f;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  align-items: center;
  padding: 1rem 2rem;
  position: relative;
  height: 110px;
}

/* Logo */
.logo-link {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-70%, -50%);  /* perfect horizontal & vertical center */
  margin-left: 20px;
}

.logo-img {
  height: 130px;                   /* adjust as needed */
  width: auto;
}
.nav-slogan p {
    font-size: 1rem;
    font-style: italic;
    color: #f0fdf4;
    font-weight: 300;
    margin: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.3); /* Optional: adds a thin vertical line divider */
    padding-left: 1.2rem;
    white-space: nowrap;
    transform: translate(10%, 0%); 
}

/* Mobile: Hide the slogan if it gets too tight */
@media (max-width: 1024px) {
    .nav-slogan {
        display: none;
        
    }
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.2px;
  margin-left: auto;
  /* slight tilt effect */
}

.nav-links li a {
  text-decoration: none;
  color: #eeeeee;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 0.6rem 1.5rem;
  text-decoration: none;
  color: #004f44;
  font-weight: 500;
  text-transform: uppercase;
    padding: 0.45rem 0.85rem;
    font-size: 0.85rem;

  padding: 0.6rem 1.4rem;              /* space inside the box */
  border-radius: 999px;                /* pill shape */
  background: rgba(245, 255, 243, 0.35); /* light soft box */

  transition: background 0.3s ease,
              color 0.3s ease,
              transform 0.2s ease;
}

/* Hover effect */
.nav-links li a:hover {
  background: rgba(255, 255, 255, 0.6);
  color: #004f44;
  transform: translateY(-1px);
}y


.nav-links li a:hover {
  color: #537a53;
}

.menu-toggle {
  display: block;
  font-size: 1.8rem;
  cursor: pointer;
  color: #ffffff;
  margin-left: 1rem;
  z-index: 1100;
}

@media (max-width: 1068px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #71b387;
    flex-direction: column;
    width: 200px;
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  }

  .nav-links.active {
    display: flex;
  }
}

/* ================= Hero Section ================= */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: url('https://media.istockphoto.com/id/1020470826/photo/medicines.jpg?s=612x612&w=0&k=20&c=rVlgef0ZW1LBVFP2NGph7kxNgIOlugUnYWlSVLxHy5M=') center/cover no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(1, 7, 6, 0.6);
}

.hero-text {
  position: relative;
  color: #ffffff;
  padding: 2rem 3rem;
  border-radius: 10px;
  max-width: 700px;
  animation: fadeIn 1s ease-out forwards;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
}

.button {
  background: #71b387;
  padding: 1rem 2rem;
  border-radius: 8px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.3s, background 0.3s;
}

.button:hover {
  background: #004f44;
  transform: translateY(-3px);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px);}
  to { opacity: 1; transform: translateY(0);}
}

/* ================= Services Section ================= */
.services {
  padding: 10rem 10rem;
  text-align: center;
}

.services h2 {
  font-size: 2.2rem;
  color: #004f44;
  margin-bottom: 3rem;
}

.service-list {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.service {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  width: 330px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeIn 0.8s ease forwards;
}

.service:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.service-icon {
  width: 70px;
  margin-bottom: 1rem;
}

.service h3 {
  color: #004f44;
  margin-bottom: 0.7rem;
  font-size: 1.3rem;
}

.service p {
  color: #006d5b;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.philosophy {
  padding: 5rem 2rem;
  background: #e8f5f1;
  text-align: center;
}

.philosophy-content {
  max-width: 900px;
  margin: 0 auto;
}

.philosophy h2 {
  color: #004f44;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.philosophy p {
  color: #006d5b;
  margin-bottom: 2rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

.philosophy-columns {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.philosophy-columns div {
  background: white;
  padding: 1.5rem;
  width: 260px;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.philosophy-columns h3 {
  color: #004f44;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.philosophy-columns p {
  font-size: 0.95rem;
}


/* ================= About Preview ================= */
.about {
  text-align: center;
  padding: 5rem 2rem;
}

.about-card {
  background: white;
  padding: 3rem 2.5rem;
  border-radius: 16px;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  animation: fadeIn 0.8s ease forwards;
}

.about-card h2 {
  color: #004f44;
  margin-bottom: 1rem;
}

.about-card p {
  color: #006d5b;
  margin-bottom: 2rem;
  font-size: 1rem;
}

/* ================= Contact Section ================= */
.contact {
  padding: 5rem 2rem;
  text-align: center;
}

.contact h2 {
  font-size: 2rem;
  margin-bottom: 2.5rem;
  color: #004f44;
}

.contact form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact input,
.contact textarea {
  width: 100%;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid #bcd8d3;
  font-family: inherit;
  font-size: 1rem;
}

.contact button {
  background: #71b387;
  padding: 1rem;
  color: white;
  border-radius: 8px;
  font-weight: 600;
  border: none;
  transition: 0.3s ease;
}

.contact button:hover {
  background: #004f44;
  transform: translateY(-3px);
}


/* ================= General Reset ================= */
* { margin:0; padding:0; box-sizing:border-box; }
body { font-family:'Inter', sans-serif; background:#f5fffe; color:#2a3332; line-height:1.6; }

/* Bio Box Styling */
.bio-box {
  background: #f3fffb; /* light greenish background */
  border-left: 5px solid #8caf98; /* accent border */
  padding: 1.5rem 2rem;
  margin: 2rem auto;
  max-width: 800px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  color: #07221e;
  animation:fadeInUp 1s ease forwards;
}
.bio-box p {
  margin-bottom: 1rem;
  line-height:1.8;
}


/* ================= Navbar ================= */
header { background:#75a886; position:fixed; width:100%; top:0; z-index:1000; }
.navbar { display:flex; align-items:center; padding:1rem 2rem; position:relative; }
.logo { position:absolute; left:50%; transform:translateX(-50%); font-weight:700; font-size:1.5rem; color:#fff; }
.nav-links { list-style:none; display:flex; gap:1.5rem; margin-left:auto; }
.nav-links li a { text-decoration:none; color:#eee; font-weight:500; transition:color 0.3s; }
.nav-links li a:hover { color:#2f6d48; }

/* ================= Hero Section ================= */
.about-hero {
  padding:8rem 2rem 4rem 2rem;
  text-align:center;
  background:url('https://media.istockphoto.com/id/1020470826/photo/medicines.jpg?s=612x612&w=0&k=20&c=rVlgef0ZW1LBVFP2NGph7kxNgIOlugUnYWlSVLxHy5M=') center/cover no-repeat;
  color:#fff;
  position:relative;
}
.about-hero::before { content:''; position:absolute; inset:0; background-color: rgba(6, 10, 10, 0.6); }
.about-hero h1 { font-size:2.8rem; margin-bottom:1rem; animation:fadeInUp 1s ease forwards; }
.about-hero p { font-size:1.2rem; margin-bottom:1.5rem; animation:fadeInUp 1.2s ease forwards; }
.about-hero .button { background:#648b71; color:#fff; padding:1rem 2rem; border-radius:8px; text-decoration:none; font-weight:600; transition:transform 0.3s, background 0.3s; animation:fadeInUp 1.4s ease forwards; }
.about-hero .button:hover { background:#3d6661; transform:translateY(-3px); }

/* ================= Doctor Section ================= */
.doctor-section { padding:4rem 2rem; text-align:center; }
.doctor-section h2, .doctor-section p { opacity:0; animation:fadeInUp 1s ease forwards; }
.doctor-section h2 { animation-delay:0.2s; }
.doctor-section p:nth-of-type(1) { animation-delay:0.4s; }
.doctor-section p:nth-of-type(2) { animation-delay:0.6s; }
.doctor-section {
  padding: 4rem 2rem;
  position: relative;
  background: linear-gradient(to right, #f5fffe 0%, #dbf7ed 100%);
}


.doctor-images {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.doctor-images img {
  width: 100%;
  max-width: 350px; /* increase from 250px to 350px */
  border-radius: 12px;
  transition: transform 0.4s, box-shadow 0.4s;
  opacity: 0;
  animation: fadeInUp 0.8s forwards;
}

.doctor-images img:nth-of-type(1) { animation-delay: 0.8s; }
.doctor-images img:nth-of-type(2) { animation-delay: 1s; }

.doctor-images img:hover {
  transform: scale(1.05) rotate(1deg);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Responsive */
@media(max-width: 900px) {
  .doctor-images img {
    max-width: 100%; /* fills container on smaller screens */
  }
}

/* ================= Conditions Cards ================= */
.conditions { margin-top:2rem; text-align:center; }
.conditions h3 { font-size:1.8rem; margin-bottom:1rem; }
.condition-cards { display:grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap:1.5rem; }
.card { background: transparent; width:100%; height:250px; perspective:1000px; }
.card-inner { position:relative; width:100%; height:100%; text-align:center; transition:transform 0.6s; transform-style: preserve-3d; cursor:pointer; }
.card:hover .card-inner { transform:rotateY(180deg); }
.card-front, .card-back {
  position:absolute; width:100%; height:100%; border-radius:12px; backface-visibility:hidden;
  display:flex; align-items:center; justify-content:center; padding:1rem; box-shadow:0 5px 15px rgba(0,0,0,0.1);
}
.card-front { background:#52725c; color:#fff; font-weight:600; font-size:1.2rem; }
.card-back { background:#f0fdf4; color:#344946; transform:rotateY(180deg); text-align:left; font-size:0.95rem; }

/* Before + After Side-by-Side Block */
.before-after-pair {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.ba-card {
  background: #ffffff;
  padding: 1rem;
  border-radius: 14px;
  width: 180px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.ba-card:hover {
  transform: translateY(-5px);
}

.ba-card img {
  width: 170px;
  border-radius: 12px;
  margin-bottom: 0.5rem;
}

.ba-card h5 {
  margin-top: 0.3rem;
  font-weight: 600;
  color: #004f44;
}

/* Make the entire testimonials container flex properly */
.testimonials-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}



/* WHY CHOOSE US */
.why-choose {
  text-align: center;
  margin-top: 4rem;
}

.why-choose h3 {
  font-size: 1.9rem;
  margin-bottom: 2rem;
  color: #004f44;
}

.features-list {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 14px;
  width: 450px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

.feature-card img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  margin-bottom: 1rem;
}

.feature-card h4 {
  font-size: 1.2rem;
  color: #004f44;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: #006d5b;
  font-size: 0.95rem;
}

/* TESTIMONIALS */
.testimonials-section {
  margin-top: 4rem;
  background: #71b387;
  padding: 3rem 1rem;
  color: #fff;
  text-align: center;
}

.testimonials-section h3 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

.testimonials-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.testimonial-card {
  background: #FFFFFF;
  color: #004f44;
  padding: 1.5rem;
  width: 400px;
  border-radius: 14px;
  font-style: italic;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.testimonial-card h5 {
  margin-top: 1rem;
  font-weight: 600;
  color: #003f35;
}

/* ================= Footer ================= */
footer { background:#71b387; color:#fff; text-align:center; padding:1rem; margin-top:4rem; }
/* Newsletter Section */
.newsletter {
  background: #e8f7f3;
  padding: 3rem 2rem;
  text-align: center;
  border-radius: 12px;
  max-width: 700px;
  margin: 3rem auto;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.newsletter h2 {
  color: #004f44;
  margin-bottom: 0.5rem;
  font-size: 2rem;
}

.newsletter p {
  color: #006d5b;
  margin-bottom: 1.5rem;
}

.newsletter-form {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.newsletter-form input {
  padding: 0.9rem 1.2rem;
  border-radius: 8px;
  border: 1px solid #b9dcd2;
  width: 260px;
}

.newsletter-form button {
  background: #71b387;
  border: none;
  padding: 0.9rem 1.5rem;
  border-radius: 8px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.newsletter-form button:hover {
  background: #004f44;
  transform: translateY(-3px);
}

.newsletter-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #007a6b;
}

/* ================= Animations ================= */
@keyframes fadeInUp { from { opacity:0; transform:translateY(20px);} to { opacity:1; transform:translateY(0);} }

/* ================= Contact Section ================= */
.contact {
  padding: 4rem 2rem;
  background: #f5fffe;
}

.contact h2 {
  text-align: center;
  color: #1d554f;
  font-size: 2rem;
  margin-bottom: 2rem;
}

.contact form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

.contact input,
.contact textarea {
  padding: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.contact input:focus,
.contact textarea:focus {
  border-color: #71b387;
  box-shadow: 0 0 5px rgba(188, 255, 210, 0.5);
}

.contact button {
  padding: 1rem;
  border-radius: 8px;
  background: #71b387;
  color: #fff;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.3s, background 0.3s;
}

.contact button:hover {
  background: #004f44;
  transform: translateY(-2px);
}
/* FAQ Hero */
.faq-hero {
  padding: 7rem 2rem 4rem;
  text-align: center;
  background: #e8f5f1;
  color: #004f44;
  margin-top: 4rem;
}

.faq-hero h1 {
  font-size: 2.3rem;
  margin-bottom: 0.6rem;
}

.faq-hero p {
  font-size: 1.1rem;
  color: #006d5b;
}

/* FAQ Box */
.faq-container {
  display: flex;
  justify-content: center;
  padding: 3rem 1rem 5rem;
}

.faq-box {
  background: white;
  padding: 2.5rem 3rem;
  border-radius: 18px;
  max-width: 800px;
  width: 100%;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.faq-box h3 {
  color: #004f44;
  margin-bottom: 0.3rem;
  margin-top: 1.5rem;
}

.faq-box p {
  color: #006d5b;
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* Contact Banner */
.contact-banner {
  background: linear-gradient(135deg, #a3ceb1, #8ec7a4);
  text-align: center;
  padding: 4rem 2rem;
  color: white;
  margin-top: 3rem;
}

.contact-banner h2 {
  font-size: 2rem;
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.contact-banner p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.banner-btn {
  background: white;
  color: #004f44;
  padding: 0.9rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease;
}

.banner-btn:hover {
  background: #004f44;
  color: white;
  transform: translateY(-3px);
}

/* Contact Section */
.contact {
  padding: 4rem 2rem;
  background: #e8f5f1;
  text-align: center;
}

.contact h2 {
  font-size: 2rem;
  color: #004f44;
  margin-bottom: 2rem;
}

#contact-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#contact-form input,
#contact-form textarea {
  width: 100%;
  padding: 1rem;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

#contact-form textarea {
  height: 140px;
  resize: none;
}

#contact-form button {
  background: #71b387;
  color: white;
  padding: 1rem;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s ease;
}

#contact-form button:hover {
  background: #004f44;
}

/* Success Message */
.success-message {
  display: none;
  background: #d7f5e8;
  color: #4f6b57;
  padding: 1rem;
  border-left: 6px solid #71b387;
  border-radius: 10px;
  margin-top: 1rem;
  font-weight: 600;
}
.socials {
  text-align: center;
  margin-top: 2rem;
}

.socials a {
  margin: 0 10px;
  color: #6c997f;
  text-decoration: none;
}


/* ================= Footer ================= */
footer {
  background: #71b387;
  color: #fff;
  text-align: center;
  padding: 1rem;
}

/* ================= Responsive ================= */
@media (max-width: 768px) {
  .hero-text h1 { font-size: 2rem; }
  .hero-text p { font-size: 1rem; }
  .service-list { grid-template-columns: 1fr; }
  .about-card { padding: 1.5rem; }
  .doctor-images { flex-direction: column; align-items: center; }
}

/* ================= Newsletter Section ================= */
/* Ensure Flodesk form displays */
.newsletter iframe {
  width: 100%;
  min-height: 200px;
  border: none;
}
.success-message {
  display: none;
  background: #ffffff;
  border: 2px solid #71b387;
  padding: 2rem;
  border-radius: 12px;
  color: #004f44;
  margin-top: 20px;
  text-align: center;
}

/* ================= General Reset ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  color: hsl(186, 49%, 59%);
  line-height: 1.6;
  background: #f5fffe;
}

/* ================= Header ================= */
header {
  background: #77bd8f;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  align-items: center;
  padding: 1rem 2rem;
  position: relative;
  height: 110px;
}

/* Logo */
.logo-link {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-70%, -50%);  /* perfect horizontal & vertical center */
}

.logo-img {
  height: 130px;                   /* adjust as needed */
  width: auto;
}
.nav-slogan p {
    font-size: 1rem;
    font-style: italic;
    color: #f0fdf4;
    font-weight: 300;
    margin: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.3); /* Optional: adds a thin vertical line divider */
    padding-left: 1.5rem;
    white-space: nowrap;
    transform: translate(10%, 0%); 
}

/* Mobile: Hide the slogan if it gets too tight */
@media (max-width: 1024px) {
    .nav-slogan {
        display: none;
    }
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin-left: auto;
}

.nav-links li a {
  text-decoration: none;
  color: #eeeeee;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 0.5rem 1.5rem;
  text-decoration: none;
  color: #004f44;
  font-weight: 500;
  font-size: 0.95rem;
  text-transform: uppercase;

  padding: 0.6rem 1.4rem;              /* space inside the box */
  border-radius: 999px;                /* pill shape */
  background: rgba(245, 255, 243, 0.35); /* light soft box */

  transition: background 0.3s ease,
              color 0.3s ease,
              transform 0.2s ease;
}

/* Hover effect */
.nav-links li a:hover {
  background: rgba(255, 255, 255, 0.6);
  color: #004f44;
  transform: translateY(-1px);
}y


.nav-links li a:hover {
  color: #537a53;
}

.menu-toggle {
  display: block;
  font-size: 1.8rem;
  cursor: pointer;
  color: #ffffff;
  margin-left: 1rem;
  z-index: 1100;
}

@media (max-width: 1068px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #71b387;
    flex-direction: column;
    width: 200px;
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  }

  .nav-links.active {
    display: flex;
  }
}

/* ================= Hero Section ================= */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: url('https://media.istockphoto.com/id/1020470826/photo/medicines.jpg?s=612x612&w=0&k=20&c=rVlgef0ZW1LBVFP2NGph7kxNgIOlugUnYWlSVLxHy5M=') center/cover no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(1, 7, 6, 0.6);
}

.hero-text {
  position: relative;
  color: #ffffff;
  padding: 2rem 3rem;
  border-radius: 10px;
  max-width: 700px;
  animation: fadeIn 1s ease-out forwards;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
}

.button {
  background: #71b387;
  padding: 1rem 2rem;
  border-radius: 8px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.3s, background 0.3s;
}

.button:hover {
  background: #004f44;
  transform: translateY(-3px);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px);}
  to { opacity: 1; transform: translateY(0);}
}

/* ================= Services Section ================= */
/* ================= Services ================= */
.services {
  padding: 4rem 1rem;
  text-align: center;
}

.service-list {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.service {
  background: #fff;
  padding: 3rem 2rem; /* increased padding for a more spacious box */
  width: 300px;       /* slightly wider box */
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 10px rgba(0,0,0,0.15);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
}

.service:hover,
.service:focus-within {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0,0,0,0.2);
}

.service-icon {
  width: 90px;  /* slightly larger icon */
  margin-bottom: 1.5rem;
}

.service h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.service p {
  font-size: 1rem;
  line-height: 1.6;
  color: hsl(185, 13%, 18%);
  margin-bottom: 1rem;
}

.service a {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1.2rem;
  background: #71b387;
  color: #fff;
  border-radius: 8px;
  font-weight: 500;
  transition: background 0.3s;
}

.service a:hover,
.service a:focus {
  background: #5d9470;
}


.philosophy {
  padding: 5rem 2rem;
  background: #e8f5f1;
  text-align: center;
}

.philosophy-content {
  max-width: 900px;
  margin: 0 auto;
}

.philosophy h2 {
  color: #004f44;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.philosophy p {
  color: #006d5b;
  margin-bottom: 2rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

.philosophy-columns {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.philosophy-columns div {
  background: white;
  padding: 1.5rem;
  width: 260px;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.philosophy-columns h3 {
  color: #004f44;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.philosophy-columns p {
  font-size: 0.95rem;
}


/* ================= About Preview ================= */
.about {
  text-align: center;
  padding: 5rem 2rem;
}

.about-card {
  background: white;
  padding: 3rem 2.5rem;
  border-radius: 16px;
  max-width: 820px;
  margin: 0 auto;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  animation: fadeIn 0.8s ease forwards;
}

.about-card h2 {
  color: #004f44;
  margin-bottom: 1rem;
}

.about-card p {
  color: #006d5b;
  margin-bottom: 2rem;
  font-size: 1rem;
}

/* ================= Contact Section ================= */
.contact {
  padding: 5rem 2rem;
  text-align: center;
}

.contact h2 {
  font-size: 2rem;
  margin-bottom: 2.5rem;
  color: #004f44;
}

.contact form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact input,
.contact textarea {
  width: 100%;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid #bcd8d3;
  font-family: inherit;
  font-size: 1rem;
}

.contact button {
  background: #71b387;
  padding: 1rem;
  color: white;
  border-radius: 8px;
  font-weight: 600;
  border: none;
  transition: 0.3s ease;
}

.contact button:hover {
  background: #004f44;
  transform: translateY(-3px);
}


/* ================= General Reset ================= */
* { margin:0; padding:0; box-sizing:border-box; }
body { font-family:'Inter', sans-serif; background:#f5fffe; color:#2a3332; line-height:1.6; }

/* Bio Box Styling */
.bio-box {
  background: #f3fffb; /* light greenish background */
  border-left: 5px solid #8caf98; /* accent border */
  padding: 1.5rem 2rem;
  margin: 2rem auto;
  max-width: 800px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  color: #07221e;
  animation:fadeInUp 1s ease forwards;
}
.bio-box p {
  margin-bottom: 1rem;
  line-height:1.8;
}


/* ================= Navbar ================= */
header { background:#75a886; position:fixed; width:100%; top:0; z-index:1000; }
.navbar { display:flex; align-items:center; padding:1rem 2rem; position:relative; }
.logo { position:absolute; left:50%; transform:translateX(-50%); font-weight:700; font-size:1.5rem; color:#fff; }
.nav-links { list-style:none; display:flex; gap:1.5rem; margin-left:auto; }
.nav-links li a { text-decoration:none; color:#eee; font-weight:500; transition:color 0.3s; }
.nav-links li a:hover { color:#2f6d48; }

/* ================= Hero Section ================= */
.about-hero {
  padding:8rem 2rem 4rem 2rem;
  text-align:center;
  background:url('https://media.istockphoto.com/id/1020470826/photo/medicines.jpg?s=612x612&w=0&k=20&c=rVlgef0ZW1LBVFP2NGph7kxNgIOlugUnYWlSVLxHy5M=') center/cover no-repeat;
  color:#fff;
  position:relative;
}
.about-hero::before { content:''; position:absolute; inset:0; background-color: rgba(6, 10, 10, 0.6); }
.about-hero h1 { font-size:2.8rem; margin-bottom:1rem; animation:fadeInUp 1s ease forwards; }
.about-hero p { font-size:1.2rem; margin-bottom:1.5rem; animation:fadeInUp 1.2s ease forwards; }
.about-hero .button { background:#648b71; color:#fff; padding:1rem 2rem; border-radius:8px; text-decoration:none; font-weight:600; transition:transform 0.3s, background 0.3s; animation:fadeInUp 1.4s ease forwards; }
.about-hero .button:hover { background:#3d6661; transform:translateY(-3px); }

/* ================= Doctor Section ================= */
.doctor-section { padding:4rem 2rem; text-align:center; }
.doctor-section h2, .doctor-section p { opacity:0; animation:fadeInUp 1s ease forwards; }
.doctor-section h2 { animation-delay:0.2s; }
.doctor-section p:nth-of-type(1) { animation-delay:0.4s; }
.doctor-section p:nth-of-type(2) { animation-delay:0.6s; }
.doctor-section {
  position: relative;
  padding: 4rem 2rem;
  text-align: center;
  overflow: visible;
}
.doctor-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  background: linear-gradient(
    to right,
    #fefffe 0%,
     #d4f5e9 100%
  );
  z-index: -1;
}


.doctor-images {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.doctor-images img {
  width: 100%;
  max-width: 350px; /* increase from 250px to 350px */
  border-radius: 12px;
  transition: transform 0.4s, box-shadow 0.4s;
  opacity: 0;
  animation: fadeInUp 0.8s forwards;
}

.doctor-images img:nth-of-type(1) { animation-delay: 0.8s; }
.doctor-images img:nth-of-type(2) { animation-delay: 1s; }

.doctor-images img:hover {
  transform: scale(1.05) rotate(1deg);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Responsive */
@media(max-width: 900px) {
  .doctor-images img {
    max-width: 100%; /* fills container on smaller screens */
  }
}

/* ================= Conditions Cards ================= */
.conditions { margin-top:2rem; text-align:center; }
.conditions h3 { font-size:1.8rem; margin-bottom:1rem; }
.condition-cards { display:grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap:1.5rem; }
.card { background: transparent; width:100%; height:250px; perspective:1000px; }
.card-inner { position:relative; width:100%; height:100%; text-align:center; transition:transform 0.6s; transform-style: preserve-3d; cursor:pointer; }
.card:hover .card-inner { transform:rotateY(180deg); }
.card-front, .card-back {
  position:absolute; width:100%; height:100%; border-radius:12px; backface-visibility:hidden;
  display:flex; align-items:center; justify-content:center; padding:1rem; box-shadow:0 5px 15px rgba(0,0,0,0.1);
}
.card-front { background:#52725c; color:#fff; font-weight:600; font-size:1.2rem; }
.card-back { background:#f0fdf4; color:#344946; transform:rotateY(180deg); text-align:left; font-size:0.95rem; }

/* Before + After Side-by-Side Block */
.before-after-pair {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.ba-card {
  background: #ffffff;
  padding: 1rem;
  border-radius: 14px;
  width: 180px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.ba-card:hover {
  transform: translateY(-5px);
}

.ba-card img {
  width: 170px;
  border-radius: 12px;
  margin-bottom: 0.5rem;
}

.ba-card h5 {
  margin-top: 0.3rem;
  font-weight: 600;
  color: #004f44;
}

/* Make the entire testimonials container flex properly */
.testimonials-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}



/* WHY CHOOSE US */
.why-choose {
  text-align: center;
  margin-top: 4rem;
}

.why-choose h3 {
  font-size: 1.9rem;
  margin-bottom: 2rem;
  color: #004f44;
}

.features-list {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 14px;
  width: 450px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

.feature-card img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  margin-bottom: 1rem;
}

.feature-card h4 {
  font-size: 1.2rem;
  color: #004f44;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: #006d5b;
  font-size: 0.95rem;
}

/* TESTIMONIALS */
.testimonials-section {
  margin-top: 4rem;
  background: #71b387;
  padding: 3rem 1rem;
  color: #fff;
  text-align: center;
}

.testimonials-section h3 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

.testimonials-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.testimonial-card {
  background: #FFFFFF;
  color: #004f44;
  padding: 1.5rem;
  width: 400px;
  border-radius: 14px;
  font-style: italic;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.testimonial-card h5 {
  margin-top: 1rem;
  font-weight: 600;
  color: #003f35;
}

/* ================= Footer ================= */
footer { background:#71b387; color:#fff; text-align:center; padding:1rem; margin-top:4rem; }
/* Newsletter Section */
.newsletter {
  background: #e8f7f3;
  padding: 3rem 2rem;
  text-align: center;
  border-radius: 12px;
  max-width: 700px;
  margin: 3rem auto;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.newsletter h2 {
  color: #004f44;
  margin-bottom: 0.5rem;
  font-size: 2rem;
}

.newsletter p {
  color: #006d5b;
  margin-bottom: 1.5rem;
}

.newsletter-form {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.newsletter-form input {
  padding: 0.9rem 1.2rem;
  border-radius: 8px;
  border: 1px solid #b9dcd2;
  width: 260px;
}

.newsletter-form button {
  background: #71b387;
  border: none;
  padding: 0.9rem 1.5rem;
  border-radius: 8px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.newsletter-form button:hover {
  background: #004f44;
  transform: translateY(-3px);
}

.newsletter-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #007a6b;
}

/* ================= Animations ================= */
@keyframes fadeInUp { from { opacity:0; transform:translateY(20px);} to { opacity:1; transform:translateY(0);} }

/* ================= Contact Section ================= */
.contact {
  padding: 4rem 2rem;
  background: #f5fffe;
}

.contact h2 {
  text-align: center;
  color: #1d554f;
  font-size: 2rem;
  margin-bottom: 2rem;
}

.contact form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

.contact input,
.contact textarea {
  padding: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.contact input:focus,
.contact textarea:focus {
  border-color: #71b387;
  box-shadow: 0 0 5px rgba(188, 255, 210, 0.5);
}

.contact button {
  padding: 1rem;
  border-radius: 8px;
  background: #71b387;
  color: #fff;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.3s, background 0.3s;
}

.contact button:hover {
  background: #004f44;
  transform: translateY(-2px);
}
/* FAQ Hero */
.faq-hero {
  padding: 7rem 2rem 4rem;
  text-align: center;
  background: #e8f5f1;
  color: #004f44;
  margin-top: 4rem;
}

.faq-hero h1 {
  font-size: 2.3rem;
  margin-bottom: 0.6rem;
}

.faq-hero p {
  font-size: 1.1rem;
  color: #006d5b;
}

/* FAQ Box */
.faq-container {
  display: flex;
  justify-content: center;
  padding: 3rem 1rem 5rem;
}

.faq-box {
  background: white;
  padding: 2.5rem 3rem;
  border-radius: 18px;
  max-width: 800px;
  width: 100%;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.faq-box h3 {
  color: #004f44;
  margin-bottom: 0.3rem;
  margin-top: 1.5rem;
}

.faq-box p {
  color: #006d5b;
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* Contact Banner */
.contact-banner {
  background: linear-gradient(135deg, #a3ceb1, #8ec7a4);
  text-align: center;
  padding: 4rem 2rem;
  color: white;
  margin-top: 3rem;
}

.contact-banner h2 {
  font-size: 2rem;
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.contact-banner p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.banner-btn {
  background: white;
  color: #004f44;
  padding: 0.9rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease;
}

.banner-btn:hover {
  background: #004f44;
  color: white;
  transform: translateY(-3px);
}

/* Contact Section */
.contact {
  padding: 4rem 2rem;
  background: #e8f5f1;
  text-align: center;
}

.contact h2 {
  font-size: 2rem;
  color: #004f44;
  margin-bottom: 2rem;
}

#contact-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#contact-form input,
#contact-form textarea {
  width: 100%;
  padding: 1rem;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

#contact-form textarea {
  height: 140px;
  resize: none;
}

#contact-form button {
  background: #71b387;
  color: white;
  padding: 1rem;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s ease;
}

#contact-form button:hover {
  background: #004f44;
}

/* Success Message */
.success-message {
  display: none;
  background: #d7f5e8;
  color: #4f6b57;
  padding: 1rem;
  border-left: 6px solid #71b387;
  border-radius: 10px;
  margin-top: 1rem;
  font-weight: 600;
}
.socials {
  text-align: center;
  margin-top: 2rem;
}

.socials a {
  margin: 0 10px;
  color: #6c997f;
  text-decoration: none;
}


/* ================= Footer ================= */
footer {
  background: #71b387;
  color: #fff;
  text-align: center;
  padding: 1rem;
}

/* ================= Responsive ================= */
@media (max-width: 768px) {
  .hero-text h1 { font-size: 2rem; }
  .hero-text p { font-size: 1rem; }
  .service-list { grid-template-columns: 1fr; }
  .about-card { padding: 1.5rem; }
  .doctor-images { flex-direction: column; align-items: center; }
}

/* ================= Newsletter Section ================= */
/* Ensure Flodesk form displays */
.newsletter iframe {
  width: 100%;
  min-height: 200px;
  border: none;
}
.success-message {
  display: none;
  background: #ffffff;
  border: 2px solid #71b387;
  padding: 2rem;
  border-radius: 12px;
  color: #004f44;
  margin-top: 20px;
  text-align: center;
}

/* ================= Responsive ================= */
@media screen and (max-width: 1068px) {
  .nav-slogan {
    display: none;
  }

  .logo-link {
   position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

/* Keep navbar layout */
  .navbar {
    justify-content: space-between;
  }

  /* Logo ALWAYS left */
  .logo-link {
    position: inline-flex;
    padding: 0;
    transform: translate(-40%, -30%);
    transition: all 0.2s ease-in-out;
    position: relative;
  }

  .logo-img {
    height: 120px; /* same as desktop */
  }

  /* Toggle ALWAYS right */
  .menu-toggle {
    display: block;
    padding: 0;
    margin: 0;
  }


  .nav-links {
    flex-direction: column;
    position: absolute;
    top: 105px;
    right: 0;
    background: #71b387;
    width: 200px;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    padding: 1rem;
    border-radius: 0 0 0 10px;
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .nav-links li {
    margin-bottom: 1rem;
  }
}

@media screen and (max-width: 1068px) {
  .about-hero h1, .doctor-section h2, .conditions h3, .why-choose h3, .services h1 {
    font-size: 2rem;
  }

  .features-list, .condition-cards, .testimonials-container, .service-list, .philosophy-columns {
    flex-direction: column;
    align-items: center;
  }

  .card, .feature-card, .testimonial-card, .service, .philosophy-columns > div {
    width: 100%;
  }

  .before-after-pair {
    flex-direction: column;
    align-items: center;
  }

  .ba-card img {
    width: 200px;
  }
}

/* ================= Accessibility ================= */
:focus {
  outline: 3px solid #80b190;
  outline-offset: 2px;
}

/* ===== Desktop Nav Link Spacing Fix ===== */
@media screen and (min-width: 1069px) {
  .nav-links {
    gap: 6px; 
  }

  .nav-links li a {
    padding: 1rem 1.4rem; /* controls pill size */
    font-size: 0.9rem;
  }
}

.navbar .nav-slogan {
  margin-left: -19px;

}

/* Desktop defaults */
.book-btn {
  display: inline-flex;
  align-items: center;
}

.menu-toggle {
  display: none;
}
@media (max-width: 1068px) {
  .book-btn {
    display: inline-flex;
  }
  


  .menu-toggle {
    display: block;
    font-size: 2rem;
    cursor: pointer;
  }
}
@media (max-width: 1068px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 1rem;
    background: #7a9680;
    border-radius: 12px;
    padding: 1rem;
  }

  .nav-links.active {
    display: flex;
  }
}
/* Desktop bubble button (need later) */
.book-btn {
  display: inline-block;
  padding: 0.6rem 1.5rem;     
  background-color: #465c46; 
  color: #fff;               
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 999px;      
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease-in-out;
}

/* Hover effect */
.book-btn:hover {
  background-color: #586943;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}


/* Desktop slogan */
.nav-slogan p {
    font-size: 0.9rem; /* smaller than before, adjust to taste */
}

.nav-slogan p {
    padding-left: 0.5rem;  
    margin-left: 0;         
}


.about-hero .button {
    position: relative; 
    z-index: 10;        
}

@media (max-width: 1000px) {

  .doctor-images {
    display: flex;
    flex-direction: row;   
    align-items: center;
    gap: 1rem;
  }

  .doctor-images img {
    width: 85%;               
    max-width: 150px;         
    height: 200px;
    border-radius: 12px;      
  }

}

.doctor-section {
  padding: 4rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.doctor-section h2 {
  text-align: center;
  margin-bottom: 2.5rem;
  font-size: 2rem;
  color: #004f44;
}

/* Bio container */
.bio-box {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
  font-size: 1rem;
  color: #1f2933;
}

.bio-box .doctor-images {
  float: left;
  max-width: 320px;
  margin: 0 0 1.5rem 2rem;
}


.bio-box .doctor-images img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.bio-box p {
  margin-bottom: 1.25rem;
}



@media (max-width: 1000px) {

  .doctor-section {
    padding: 3rem 1.25rem;
  }

  .doctor-section h2 {
    font-size: 1.6rem;
  }

  .bio-box {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .bio-box .doctor-images {
    float: left;
    max-width: 260px;
    margin: 0 auto 1.5rem;
  }

  .bio-box .doctor-images img {
    border-radius: 16px;
  }
}


  /* Testimonials Section */
.testimonials-section {
  padding: 4rem 2rem;
  background-color: #7fa089;
  text-align: center;
}

.testimonials-section h3 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

/* Container for all testimonial cards */
.testimonials-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

/* Individual testimonial card */
.testimonial-card {
  background-color: #bac9c4;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  width: 350px; /* Desktop default width */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.testimonial-card p {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.testimonial-card h5 {
  font-weight: 100;
  font-size: 0.9rem;
  color: #555;
  margin-top: 0.5rem;
}

/* Before-After pair styling */
.before-after-pair {
  display: flex;      /* side by side on desktop */
  gap: 20px;          /* spacing between the images */
  margin-top: 20px;
}

.ba-card {
  flex: 1; 
  width: auto;/* make each image take equal space */
  text-align: center;
}

.ba-card img {
  width: 100%;        /* scale images to their container */
  height: auto;
  border-radius: 10px;
}


/* Mobile responsiveness */
@media screen and (max-width: 1068px) {
  .testimonials-container {
    flex-direction: column;
    gap: 20px;
  }

  .testimonial-card {
    width: 85%; /* Fit mobile width */
    padding: 20px;
  }

  .testimonial-card p {
    font-size: 0.95rem;
  }

  .testimonial-card h5 {
    font-size: 0.85rem;
  }

  .before-after-pair {
    flex-direction: column;
    gap: 15px;
  }

.ba-card {
  flex: 1; 
  width: 200px;/* make each image take equal space */
  text-align: center;
  }
}

@media (max-width: 1068px) {
  .book-btn {
    display: flex;
  }

.book-btn {
  display: inline-block;
  padding: 0.6rem 1.5rem;     
  background-color: #465c46; 
  color: #fff;               
  font-family: 'Inter', sans-serif; 
  font-weight: 600;
  font-size: 1rem;
  border-radius: 999px;     
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease-in-out;
  position: absolute;
  left: 10px;
}
/* Hover effect */
.book-btn:hover {
  background-color: #252c1b;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

  }
  
@media (max-width: 1000px) {

  .conditions h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
  }

  .condition-cards {
    gap: 1rem;
  }

  .card {
    height: 150px;            /* shorter cards */
  }

  .card-front {
    font-size: 1rem;          /* smaller title */
    padding: 0.75rem;
  }

  .card-back {
    font-size: 0.85rem;       /* smaller text */
    padding: 0.75rem;
  }
}

  