/* theme.css */
:root {
  /* ─── BRAND COLOURS ───────────────────────── */
  --clr-primary-bg: #f3fdf6;   /* very‑light green from your mock‑ups   */
  --clr-secondary-bg: #ffffff; /* white cards / inner containers        */
  --clr-primary: #1b5e20;      /* deep green buttons & headings         */
  --clr-primary‑dark: #0d3d14; /* hover shade                           */
  --clr-border: #dadada;       /* subtle borders                        */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
/* layout.css */
body {
  background: var(--clr-primary-bg);  /* ✅ light green wash everywhere   */
  color: #222;
  font-family: system-ui, sans-serif;
  margin: 0;
}

  
  /* Navbar */
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 40px;
    background-color: #f0fdf4;
    border-bottom: 1px solid #d5f1d1;
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  
  /* Logo */
  .logo-container {
    display: flex;
    align-items: center;
  }
  
  .logo {
    width: 80px; height: 40px;
    margin-right: 10px;
  }
  
  .brand-name {
    font-size: 22px;
    font-weight: 700;
    color: #006400;
  }
  
  /* Nav links */
  .nav-links {
    display: flex;
    align-items: center;
  }
  
  .nav-links > a,
  .nav-links > .dropdown {
    margin-left: 20px;
  }
  
  .nav-links a {
    text-decoration: none;
    font-size: 16px;
    color: #000;
    transition: color 0.3s ease;
  }
  
  .nav-links a:hover {
    color: #007f33;
  }
  
  /* Dropdown */
  .dropdown {
    position: relative;
  }
  
  .dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #eaffea;
    border: 1px solid #b9e8b8;
    display: none;
    flex-direction: column;
    min-width: 200px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    z-index: 500;
  }
  
  .dropdown-content a {
    padding: 10px 15px;
    color: #000;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .dropdown-content a i {
    color: #007f33;
  }
  
  .dropdown-content a:hover {
    background-color: #c3f7c3;
    color: #007f33;
  }
  
  .dropdown:hover .dropdown-content {
    display: flex;
  }
  
  /* Hamburger */
  .hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
  }
  
  .hamburger span {
    height: 3px;
    width: 25px;
    background: #006400;
    border-radius: 2px;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .nav-links {
      position: absolute;
      top: 70px;
      right: 0;
      background-color: #f0fdf4;
      width: 100%;
      flex-direction: column;
      align-items: center;
      display: none;
    }
  
    .nav-links.show {
      display: flex;
      animation: mobileMenuSlide 0.4s ease-in-out forwards;
    }
  
    @keyframes mobileMenuSlide {
      from {
        opacity: 0;
        transform: translateY(-10px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
  
    .nav-links > a,
    .nav-links > .dropdown {
      width: 100%;
      text-align: center;
      padding: 12px 0;
      margin: 4px 0;
    }
  
    .dropdown-content {
      position: static;
      overflow: hidden;
      max-height: 0;
      transition: max-height 0.4s ease-in-out;
      background-color: #f0fdf4;
      border: none;
      box-shadow: none;
      width: 100%;
      flex-direction: column;
    }
  
    .dropdown.show .dropdown-content {
      max-height: 400px;
    }
  
    .dropdown-content a {
      padding: 12px 20px;
      border-top: 1px solid #d9f2d9;
    }
  
    .dropdown:hover .dropdown-content {
      display: none;
    }
  
    .hamburger {
      display: flex;
    }
  }
/*serch sectio start*/
.section--card {
  background: var(--clr-secondary-bg);  /* white card   */
  border: 1px solid var(--clr-border);
  border-radius: 14px;
  padding: 2rem 1rem;
  box-shadow: 0 3px 10px rgba(0,0,0,.05);
}

.strip {
  background: var(--bg-light);
  width: 100%;
  padding: 2.5rem 0;
  display: flex;
  justify-content: center;
  color: #031f02; 
}

/* ---------- search bar container ---------- */
.search-bar {
  display: flex;
  width: min(900px, 95%);
  background: var(--bar-dark);      /* <— DARK now */
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  color: #1d0505; 
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35); /* stronger because dark bg */
}

/* ---------- location + query boxes ---------- */
.location,
.query {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  flex-shrink: 0;
  border-right: 1px solid var(--border);
  color: #1d0505;                           /* text turns white */
}

.location input {
  border: none;
  font-weight: 600;
  width: 110px;
  background: transparent;
  color: #05660d;
  pointer-events: none;
}

.location .pin {
  font-size: 1rem;
  color: var(--green);
}

.query {
  flex: 1;
  border-right: none;
}

.query input {
  width: 100%;
  border: none;
  font-size: 0.95rem;
  background: transparent;
  color: #000000;                           /* input text white  */
}

.query input::placeholder {
  color: #000000;                        /* lighter placeholder */
}

.query input:focus,
.location input:focus {
  outline: none;
}

/* ---------- button ---------- */
.search-btn {
 
  color: #053d1159;
  font-weight: 600;
  border: none;
  padding: 0 2.5rem;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
}

.search-btn:hover {
  background: var(--green-dark);         /* darker green */
  transform: translateY(-2px) scale(1.03); /* subtle “lift” */
  box-shadow: 0 6px 14px #05c22e59;
}


/* Responsive for tablets and mobile */
@media (max-width: 768px) {
  .search-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .location,
  .query {
    border-right: none;
    border-bottom: 1px solid var(--border);
    width: 100%;
  }

  .search-btn {
    width: 100%;
    padding: 1rem;
    border-radius: 0 0 10px 10px;
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  body {
    padding: 1rem;
  }

  .strip {
    padding: 1.5rem 0.5rem;
  }

  .location,
  .query {
    padding: 0.6rem 0.8rem;
  }

  .search-btn {
    padding: 0.9rem;
    font-size: 1rem;
  }

  .query input {
    font-size: 0.95rem;
  }

  .location input {
    font-size: 0.95rem;
  }
}
/* ########## RESPONSIVE HERO SLIDER ########## */
/* ########## RESPONSIVE HERO SLIDER ########## */
.fs-slider-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9; /* maintain 16:9 ratio across all devices */
  max-width: 1200px;
  margin: auto;
  overflow: hidden;
  background: #000; /* fallback background */
}

.fs-slide {
  display: none;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.fs-slide.active {
  display: block;
  animation: fade 1s ease-in-out;
}

.fs-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* show full image without crop */
  object-position: center;
}

/* Fade animation */
@keyframes fade {
  from { opacity: 0.4; }
  to   { opacity: 1; }
}

/* Navigation Arrows */
.fs-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  border: none;
  font-size: 2.2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
  transition: background 0.25s;
}

.fs-nav-btn:hover {
  background: rgba(0, 0, 0, 0.7);
}

.fs-prev { left: 15px; }
.fs-next { right: 15px; }

/* Dots Navigation */
.fs-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.fs-dot {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

.fs-dot.active {
  background: #fff;
}

/* Optional Responsive Fine-tuning */
@media (max-width: 768px) {
  .fs-nav-btn {
    font-size: 1.8rem;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .fs-slider-wrapper {
    aspect-ratio: 16 / 9; /* still enforce 16:9 on small screens */
  }
}

/* Arrows */
.fs-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  color: #fff;
  border: none;
  font-size: 2.2rem;
  width: 48px; height: 48px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
  transition: background 0.25s;
}
.fs-nav-btn:hover { background: rgba(0,0,0,0.7); }

.fs-prev { left: 15px; }
.fs-next { right: 15px; }

/* Dots */
.fs-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}
.fs-dot {
  width: 10px; height: 10px;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}
.fs-dot.active { background: #fff; }

/* Mobile adjustments */
@media (max-width: 768px) {
  .fs-slider-wrapper {
    height: 40vh;
    max-height: 350px;
  }
  .fs-nav-btn {
    font-size: 1.8rem;
    width: 40px; height: 40px;
  }
}

@media (max-width: 480px) {
  .fs-slider-wrapper {
    height: 300px;
  }
}
/* ########## Popular Services ########## */
.ps-wrapper {
  background: #f3fdf6;
  padding: 2rem 1rem;
  text-align: center;
}

.ps-heading {
  color: #0c7d3f;
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.ps-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.ps-card {
  background: #ffffff;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  width: 280px;
  height: 160px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.ps-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.ps-card img {
  width: 40px;
  height: 40px;
  margin-bottom: 0.8rem;
}

.ps-card span {
  font-size: 0.95rem;
  color: #0c7d3f;
  font-weight: 500;
  text-align: center;
}

/* Responsive */
@media (max-width: 480px) {
  .ps-card {
    width: 45%;
    padding: 1rem;
  }
  .ps-heading {
    font-size: 1.3rem;
  }
}

.fd-wrapper {
  background: var(--fd-bg);
  padding: 3rem 1rem;
  text-align: center;
}

.fd-heading {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--fd-green);
  margin-bottom: 2rem;
}

.fd-form {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.fd-input {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--fd-border);
  border-radius: 8px;
  min-width: 220px;
  background: #fff;
  color: #1e1e1e;
  transition: border-color 0.2s;
}

.fd-input:focus {
  border-color: var(--fd-green);
  outline: none;
}

.fd-select {
  appearance: none;            /* remove default arrow */
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 10 6' fill='%230c7d3f' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%230c7d3f' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  background-size: 12px;
  cursor: pointer;
}

tn {
  background: 176d06;
  color: #176d06;
  font-weight: 600;
  border: none;
  padding: 0 2.5rem;
  border-radius: 8px;
  cursor: pointer;
 
}

/* Search Button (updated color from image) */
  .fm-btn {
  margin-top: auto;
  width: 100%;
  background: var(--fm-green);
  color: #fff;
  font-weight: 600;
  border: none;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
  text-decoration: none; /* 🔥 This removes the underline */
  display: inline-block; /* Ensures link behaves like a button */
}

.fd-btn:hover {
  background: #0d3d14; /* darker on hover */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}
/* ============ FEATURED MEDICINES ============ */

:root {
  --fm-green: #1b5e20;
  --fm-green-dark: #0d3d14;
  --fm-card-border: #ededed;
  --fm-bg: #f9fdfb;
}

.fm-wrapper {
  position: relative;              /* so arrows can be absolute */
  background: var(--fm-bg);
  padding: 3rem 1rem;
  text-align: center;
}

.fm-heading {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--fm-green);
  margin-bottom: 2rem;
}

/* ---------- DESKTOP / TABLET GRID ---------- */
.fm-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  scroll-behavior: smooth;         /* used by slider JS on mobile */
}

.fm-card {
  background: #fff;
  border: 1px solid var(--fm-card-border);
  border-radius: 14px;
  flex: 1 1 clamp(220px, 22%, 260px);
  max-width: 260px;
  padding: 1.5rem 1rem 2rem;
  box-shadow: 0 3px 10px rgba(0,0,0,.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform .25s, box-shadow .25s;
}

.fm-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
}

.fm-img {
  width: 80px; height: 80px;
  object-fit: contain;
  margin-bottom: 1.2rem;
}

.fm-name   { font: 600 1.05rem/1 var(--fm-green); margin: 0 0 .4rem; }
.fm-price  { font-size: .95rem; margin: 0 0 1.2rem; color: #444; }

.fm-btn {
  margin-top: auto;
  width: 100%;
  background: var(--fm-green);
  color: #fff;
  font-weight: 600;
  border: none;
  padding: .8rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background .25s, transform .25s, box-shadow .25s;
}
.fm-btn:hover {
  background: var(--fm-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
}

/* ---------- MOBILE SLIDER ---------- */
@media (max-width: 600px) {
  .fm-grid {
    flex-wrap: nowrap;             /* single row */
    overflow-x: auto;              /* scrollable */
    gap: 1rem;
    scroll-snap-type: x mandatory; /* snap to cards */
    padding-bottom: 1rem;
  }
  .fm-card {
    flex: 0 0 80%;                 /* show ~1 card, bit of next */
    scroll-snap-align: center;
    max-width: none;
  }

  /* Arrows only visible mobile */
  .fm-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,.4);
    color: #fff;
    border: none;
    font-size: 1.8rem;
    width: 42px; height: 42px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
  }
  .fm-prev { left: 6px; }
  .fm-next { right: 6px; }
}

/* Hide arrows on larger screens */
@media (min-width: 601px) {
  .fm-nav { display: none; }
}
/*lalst section*/


/* ---------- desktop / tablet ---------- */
.testimonial-card {
  background: var(--test-bg);
  display: flex;
  align-items: center;
  gap: 1.5rem;                  /* more breathing room   */
  padding: 2rem 2.5rem;         /* larger padding        */
  border-radius: 14px;
  max-width: 1000px;            /* stretch wider         */
  margin: 2rem auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.testimonial-icon {
  width: 68px;                  /* bigger icon           */
  height: 68px;
  flex-shrink: 0;
}

.testimonial-text {
  margin: 0;
  font-size: 1.15rem;           /* bigger text           */
  line-height: 1.6;
  color: var(--test-text);
}

.testimonial-user {
  display: inline-block;
  margin-top: 0.6rem;
  font-weight: 700;
}

/* ---------- mobile (≤ 600 px) ---------- */
@media (max-width: 600px) {
  .testimonial-card {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem 1.2rem;
    gap: 1rem;
  }

  .testimonial-icon {
    width: 60px;
    height: 60px;
  }

  .testimonial-text {
    font-size: 1.05rem;         /* slightly smaller for small screens */
  }
}
:root {
  --green: #0c7d3f;
  --green-dark: #07592b;
  --light-bg: #f3fbf5;
  --input-bg: #fff;
  --border: #ddd;
}

.newsletter-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 2rem 1.5rem;
  background: var(--light-bg);
  border-radius: 12px;
  max-width: 1000px;
  margin: 2rem auto;
}

.newsletter-heading {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 1rem;
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.newsletter-input {
  padding: 0.9rem 1.2rem;
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--input-bg);
  min-width: 250px;
  flex: 1;
}

.newsletter-button {
  background: var(--green);
  color: #fff;
  font-weight: 600;
  padding: 0.9rem 2rem;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s;
}

.newsletter-button:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
}

/* Mobile responsive */
@media (max-width: 600px) {
  .newsletter-wrapper {
    align-items: center;
    text-align: center;
  }

  .newsletter-form {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .newsletter-input,
  .newsletter-button {
    width: 100%;
  }
}
.footer {
  border-top: 2px solid #ff0000;
  padding: 40px 60px 20px;
  background: white;
  color: #333;
}

.footer-wrapper {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-left {
  max-width: 300px;
}

.logo {
  width: 50px;
  margin-bottom: 15px;
}

.footer-left p {
  font-size: 14px;
  margin-bottom: 15px;
  color: #ff0000;
}

.social-icons i {
  font-size: 16px;
  margin-right: 10px;
  color: #ff0000;
  cursor: pointer;
}

.app-buttons img {
  width: 135px;
  margin: 10px 10px 0 0;
}

.footer-right {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}

.footer-column h4 {
  font-size: 13px;
  color: #ff0000;
  margin-bottom: 10px;
}

.footer-column a {
  display: block;
  font-size: 13px;
  color: #777;
  text-decoration: none;
  margin-bottom: 6px;
}

.footer-column a:hover {
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  font-size: 13px;
  color: #999;
  flex-wrap: wrap;
}

.footer-bottom .links a {
  margin-right: 20px;
  color: #0d3d14;
  text-decoration: none;
}

.footer-bottom .links a:hover {
  text-decoration: underline;
}

.language {
  cursor: pointer;
}
.app-buttons img {
  width: 135px;
  margin: 10px 10px 0 0;
}