
/* ===== ROOT VARIABLES ===== */
:root {
  --green: #2f7d32;
  --white: #ffffff;
  --black: #111111;
  --gray: #555;
}

/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

/* ===== HEADER FIX ===== */
.header {
  background: var(--white);
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  gap: 100px;
}

/* ===== LOGO IMAGE FIX ===== */
.header-flex img {
  width: 45px;          /* LOGO SIZE CONTROL */
  height: auto;
  object-fit: contain;
}

/* FORCE LOGO + NAV CLOSE */



/* ===== LOGO TEXT FIX ===== */
.logo h1 {
  font-size: 18px;
  line-height: 1.1;     /* AYURVEDA–PHARMACY GAP FIX */
  margin: 0;
  color: var(--green);
}

.logo h1 span {
  display: block;       /* PHARMACY niche aaye */
  color: var(--black);
  font-size: 16px;
}


/* ===== NAV ===== */
.nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav a {
  text-decoration: none;
  color: var(--black);
  font-weight: 500;
}

/* ===== HAMBURGER ===== */
.hamburger {
  display: none;
  font-size: 26px;
  cursor: pointer;
}

/* ===== MOBILE FIX ===== */
@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 65px;
    right: 0;
    width: 100%;
    background: var(--white);
    border-top: 1px solid #eee;
    animation: slideDown 0.3s ease;
  }

  .nav.active {
    display: block;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}



/* ===== BUTTONS ===== */
.btn {
  background: var(--green);
  color: var(--white);
  padding: 10px 18px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 14px;
}

.btn:hover {
  opacity: 0.9;
}

.btn-outline {
  border: 2px solid var(--green);
  color: var(--green);
  padding: 10px 18px;
  text-decoration: none;
  border-radius: 5px;
}

/* ===== HERO ===== */
.hero {
  padding: 80px 0;
  text-align: center;
  background: #f6fff7;
}

.hero h2 {
  font-size: 36px;
  margin-bottom: 15px;
}

.hero p {
  color: var(--gray);
  margin-bottom: 30px;
}

.hero-btns {
  display: flex;
  justify-content: center;
  gap: 15px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav ul {
    display: none;
  }

  .hero h2 {
    font-size: 28px;
  }
}


/* ===== PRODUCTS ===== */
.products {
  padding: 80px 0;
  background: var(--white);
}

.section-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 50px;
  color: var(--black);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.product-card {
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.product-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--green);
}

.product-card p {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 10px;
}

.price {
  display: block;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}


/* ===== ABOUT ===== */
.about {
  padding: 80px 0;
  background: #f6fff7;
}

.about-flex {
  display: flex;
  align-items: center;
  gap: 40px;
}

.about-text h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: var(--black);
}

.about-text p {
  color: var(--gray);
  margin-bottom: 15px;
  font-size: 15px;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .about-flex {
    flex-direction: column;
  }
}


/* ===== WHY US ===== */
.why-us {
  padding: 80px 0;
  background: var(--light-green);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.why-card {
  padding: 25px;
  border: 1px solid #099d22;
  border-radius: 10px;
  text-align: center;
}

.why-card h3 {
  margin-bottom: 10px;
  color: var(--green);
  font-size: 18px;
}

.why-card p {
  font-size: 14px;
  color: var(--black);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}


/* ===== HAMBURGER ===== */
.hamburger {
  display: none;
  font-size: 26px;
  cursor: pointer;
}

/* ===== MOBILE NAV FINAL FIX ===== */
@media (max-width: 768px) {

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 220px;
    height: 100vh;
    background: var(--white);
    transition: right 0.3s ease;
    z-index: 999;
    padding-top: 70px;
  }

  .nav ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 0 20px;
  }

  .nav ul li {
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
  }

  .nav ul li a {
    font-size: 16px;
    color: var(--black);
  }

  .nav.active {
    right: 0;
  }

  .hamburger {
    display: block;
    font-size: 28px;
    cursor: pointer;
  }
}



/* ===== PRODUCTS HERO ===== */
.products-hero {
  background: #f6fff7;
  padding: 70px 0;
  text-align: center;
}

.products-hero h2 {
  font-size: 34px;
  margin-bottom: 10px;
}

/* ===== PRODUCT CARD UPGRADE ===== */
.product-card {
  position: relative;
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.product-card .icon {
  width: 45px;
  margin-bottom: 10px;
}

/* ===== SIMPLE FADE ANIMATION ===== */
.animate {
  animation: fadeUp 0.8s ease forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== FOOTER ===== */
.footer {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 30px 0;
  font-size: 14px;
}

/* ===== ACTIVE LINK ===== */
.active-link {
  color: var(--green);
  font-weight: bold;
}



* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Poppins, sans-serif;
  background: #fff;
  color: #000;
}

.header {
  display: flex;
  justify-content: space-between;
  padding: 15px 40px;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.logo { font-weight: 700; color: #2e7d32; }

.nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #000;
}

.about-hero {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(#e8f5e9, #fff);
}

.section {
  padding: 60px 40px;
  max-width: 1100px;
  margin: auto;
}

.founder {
  display: flex;
  gap: 30px;
  align-items: center;
}

.founder img {
  border-radius: 20px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 20px;
}

.trust-box {
  background: #e8f5e9;
  padding: 20px;
  border-radius: 16px;
  text-align: center;
  transition: 0.3s;
}

.trust-box:hover {
  transform: translateY(-8px);
}

.cta {
  text-align: center;
  padding: 50px;
  background: #f1f8f4;
}

.btn {
  padding: 14px 30px;
  background: #2e7d32;
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  margin: 10px;
  display: inline-block;
}

.btn-dark {
  background: #000;
}

.footer {
  text-align: center;
  padding: 20px;
  background: #000;
  color: #fff;
}

@media (max-width: 768px) {
  footer {
    padding: 16px 10px;
  }
}

/* ===== GLOBAL ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #ffffff;
  color: #000;
  line-height: 1.7;
}

/* ===== HEADER ===== */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  background: #fff;
  border-bottom: 1px solid #eaeaea;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 22px;
  font-weight: 700;
  color: #2e7d32;
}

.nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #000;
  font-weight: 500;
}

.nav a:hover,
.nav a.active {
  color: #2e7d32;
}

/* ===== HERO ===== */
.about-hero {
  padding: 90px 20px;
  text-align: center;
  background: linear-gradient(135deg, #e8f5e9, #ffffff);
}

.about-hero h1 {
  font-size: 42px;
  margin-bottom: 10px;
}

.about-hero p {
  font-size: 18px;
  color: #444;
}

/* ===== SECTIONS ===== */
.section {
  max-width: 1100px;
  margin: auto;
  padding: 70px 20px;
}

.section h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #2e7d32;
}

.section p {
  margin-bottom: 15px;
  color: #333;
}

/* ===== FOUNDER ===== */
.founder {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
}

.founder img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.founder blockquote {
  margin-top: 15px;
  font-style: italic;
  color: #555;
  border-left: 4px solid #2e7d32;
  padding-left: 15px;
}

/* ===== TRUST ===== */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.trust-box {
  background: #e8f5e9;
  padding: 25px;
  border-radius: 18px;
  text-align: center;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: 0.3s ease;
}

.trust-box:hover {
  transform: translateY(-10px);
}

/* ===== PROCESS ===== */
.process {
  padding-left: 20px;
}

.process li {
  margin-bottom: 12px;
  font-weight: 500;
}

/* ===== BENEFITS ===== */
.benefits li {
  margin-bottom: 10px;
  font-weight: 500;
}

/* ===== VISION ===== */
.vision p {
  font-size: 17px;
  margin-bottom: 10px;
}

/* ===== CTA ===== */
.cta {
  text-align: center;
  padding: 60px 20px;
  background: #f1f8f4;
}

.btn {
  display: inline-block;
  margin: 10px;
  padding: 14px 32px;
  border-radius: 30px;
  text-decoration: none;
  background: #2e7d32;
  color: #fff;
  font-weight: 600;
  transition: 0.3s;
}

.btn:hover {
  transform: scale(1.05);
}

.btn-dark {
  background: #000;
}

/* ===== FOOTER ===== */
.footer {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 20px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .founder {
    flex-direction: column;
    text-align: center;
  }

  .about-hero h1 {
    font-size: 32px;
  }
}
/* ===== FORCE APPLY FIX ===== */
.about-hero {
  background: linear-gradient(135deg, #e8f5e9, #ffffff) !important;
}

.trust-box {
  background: #e8f5e9 !important;
  transform: none;
}


/* ===== ORDER FORM PAGE ===== */

form {
  max-width: 500px;
  margin: auto;
  background: #ffffff;
  padding: 35px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

form input,
form textarea,
form select {
  width: 100%;
  padding: 14px;
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 15px;
}

form textarea {
  resize: none;
  height: 100px;
}

form input:focus,
form textarea:focus,
form select:focus {
  outline: none;
  border-color: #2e7d32;
}

form button {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 30px;
  background: #2e7d32;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

form button:hover {
  background: #1b5e20;
  transform: scale(1.03);
}

/* Mobile page spacing fix */
@media (max-width: 768px) {
  .container,
  .content,
  .about-section {
    padding: 20px 16px;
  }
}
@media (max-width: 768px) {
  h1, h2 {
    margin-bottom: 14px;
    line-height: 1.3;
  }
}
@media (max-width: 768px) {
  p {
    margin-bottom: 16px;
    line-height: 1.7;
    font-size: 15.5px;
  }
}
@media (max-width: 768px) {
  .about-section h1 {
    margin-top: 10px;
  }

  .about-section p {
    text-align: left;
  }
}

/* ===== FOOTER ===== */
.site-footer {
  background: #0f3d2e;
  color: #eaf5ef;
  padding: 50px 0 20px;
  font-family: 'Poppins', sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.footer-box h3,
.footer-box h4 {
  color: #9be15d;
  margin-bottom: 15px;
}

.footer-box p {
  font-size: 14.5px;
  line-height: 1.7;
}

.footer-box ul {
  list-style: none;
  padding: 0;
}

.footer-box ul li {
  margin-bottom: 10px;
}

.footer-box ul li a {
  color: #eaf5ef;
  text-decoration: none;
  transition: 0.3s;
}

.footer-box ul li a:hover {
  color: #9be15d;
  padding-left: 5px;
}

/* Contact Icons */
.footer-box i {
  margin-right: 8px;
  color: #9be15d;
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 12px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 18px;
  transition: 0.3s ease;
}

.social-icons a:hover {
  transform: translateY(-4px) scale(1.05);
}

/* Individual Colors */
.instagram { background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af); }
.facebook { background: #1877f2; }
.youtube { background: #ff0000; }
.whatsapp { background: #25d366; }

/* Bottom Bar */
.footer-bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 15px;
  font-size: 14px;
}

/* Mobile Optimization */
@media (max-width: 768px) {
  .site-footer {
    text-align: left;
  }
}

/* ===== HEADER LOGO FIX (MOBILE FRIENDLY) ===== */
.header-flex {
  display: flex;
  align-items: center;
  gap: 12px; /* logo aur text ke beech gap */
}

.header-flex img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

/* Logo Text */
.logo h1 {
  font-size: 16px;
  line-height: 1.2;
  margin: 0;
}

/* Mobile fine-tuning */
@media (max-width: 768px) {
  .header-flex {
    padding: 12px 0;
  }

  .logo h1 {
    font-size: 15px;
  }
}


/* ===== HERO SECTION ===== */
.hero {
  background: linear-gradient(
    135deg,
    #f2fbf5,
    #e8f5ee
  );
  padding: 60px 20px;
}

.hero-box {
  max-width: 700px;
  margin: auto;
  padding: 40px 25px;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 18px;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.08),
    inset 0 0 0 1px rgba(15, 61, 46, 0.08);
  backdrop-filter: blur(6px);
}

/* Heading */
.hero-box h2 {
  font-size: 28px;
  line-height: 1.3;
  margin-bottom: 16px;
  color: #0f3d2e;
}

.hero-box h2 span {
  color: #4caf50;
  font-weight: 800;
}

/* Subtitle */
.hero-box p {
  font-size: 15.5px;
  line-height: 1.8;
  color: #2f4f3f;
}

/* Mobile optimization */
@media (max-width: 768px) {
  .hero-box h2 {
    font-size: 24px;
  }

  .hero {
    padding: 40px 15px;
  }
}


.order-section {
  max-width: 420px;
  margin: 60px auto;
  padding: 30px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.order-section h2 {
  text-align: center;
  margin-bottom: 8px;
}

.order-section p {
  text-align: center;
  font-size: 14px;
  margin-bottom: 20px;
  color: #444;
}

.order-section input,
.order-section textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 14px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 14px;
}

.order-section textarea {
  resize: none;
  height: 80px;
}

.order-section button {
  width: 100%;
  padding: 12px;
  background: #2e7d32;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  cursor: pointer;
}

#successMsg {
  margin-top: 15px;
  color: green;
  font-size: 14px;
  text-align: center;
}


/* ===== BUY FORM – UNIVERSAL CSS ===== */

.form-wrapper {
  
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background: linear-gradient(180deg, #f6fff8, #ffffff);
}

.form-card {
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  padding: 28px 22px;
  border-radius: 18px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.form-card h2 {
  text-align: center;
  font-size: 22px;
  margin-bottom: 6px;
  color: #2e7d32;
}

.form-subtext {
  text-align: center;
  font-size: 14px;
  color: #555;
  margin-bottom: 22px;
}

/* 🔁 THIS IS THE MAGIC (future proof) */
.smart-form input,
.smart-form textarea,
.smart-form select {
  width: 100%;
  padding: 13px 14px;
  margin-bottom: 14px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 14px;
  font-family: inherit;
}

.smart-form textarea {
  resize: none;
  min-height: 90px;
}

.smart-form button {
  width: 100%;
  padding: 13px;
  border-radius: 10px;
  border: none;
  background: #2e7d32;
  color: #fff;
  font-size: 15px;
  cursor: pointer;
}

.smart-form button:hover {
  background: #256428;
}

/* ===== BACK BUTTON ===== */
.back-btn {
  position: absolute;
  top: 18px;
  left: 18px;
  font-size: 14px;
  text-decoration: none;
  color: #2e7d32;
  background: #ffffff;
  padding: 8px 12px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* ===== MOBILE OPTIMIZATION ===== */
@media (max-width: 480px) {
  .form-card {
    padding: 24px 18px;
  }

  .form-card h2 {
    font-size: 20px;
  }
}

/* ===== BUY PAGE – MOBILE FIRST (FIXED) ===== */

.form-page {
  padding: 20px 14px 40px;
  background: linear-gradient(180deg, #f6fff8, #ffffff);
}

/* Header with back button */
.form-header {
  margin-bottom: 14px;
}

.back-btn {
  display: inline-block;
  font-size: 14px;
  text-decoration: none;
  color: #2e7d32;
  background: #ffffff;
  padding: 8px 14px;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

/* Card */
.form-card {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  background: #ffffff;
  padding: 22px 18px;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.form-card h2 {
  text-align: center;
  font-size: 20px;
  margin-bottom: 6px;
  color: #2e7d32;
}

.form-subtext {
  text-align: center;
  font-size: 14px;
  color: #555;
  margin-bottom: 18px;
}

/* 🔁 FUTURE-PROOF FORM INPUTS */
.smart-form input,
.smart-form textarea,
.smart-form select {
  width: 100%;
  padding: 12px 13px;
  margin-bottom: 14px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 14px;
  box-sizing: border-box;
}

.smart-form textarea {
  resize: none;
  min-height: 90px;
}

.smart-form button {
  width: 100%;
  padding: 13px;
  border-radius: 10px;
  border: none;
  background: #2e7d32;
  color: #ffffff;
  font-size: 15px;
  cursor: pointer;
}

/* Desktop polish */
@media (min-width: 768px) {
  .form-page {
    padding-top: 40px;
  }
}


/* ===== GLOBAL ICON STYLE ===== */
.icon-circle {
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #2e7d32, #4caf50);
  color: #fff;
  font-size: 22px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* ===== GLOBAL SMOOTH ANIMATION ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.6s ease;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile safe (no jump) */
@media (max-width: 768px) {
  .fade-up {
    transform: translateY(20px);
  }
}

/* ===== HERO ANIMATION POLISH ===== */
.hero.show,
.hero-box.show {
  transition-delay: 0.15s;
}


/* ===== SECTION TITLE – MOBILE POLISH ===== */
@media (max-width: 768px) {
  .section-title {
    font-size: 24px;        /* pehle 32px tha – ab balanced */
    line-height: 1.25;
    text-align: left;      /* mobile me zyada professional */
    padding-left: 14px;
    margin-bottom: 30px;
  }
}


/* ===== PRODUCTS SECTION BACKGROUND UPGRADE ===== */
.products {
  position: relative;
  background: linear-gradient(
    180deg,
    #347542 0%,
    #68cb47 100%
  );
}


.product-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr); /* mobile = 2 */
  gap:16px;
}

@media (min-width:768px){
  .product-grid{
    grid-template-columns:repeat(3,1fr);
  }
}
@media (min-width:1100px){
  .product-grid{
    grid-template-columns:repeat(4,1fr);
  }
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* mobile me 2 product ek row */
  gap: 12px;
  padding: 10px;
}
.product-card {
  background: #fff;
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.product-card img {
  width: 100%;
  height: 140px;        /* FIXED but small */
  object-fit: contain; /* image cut nahi hogi */
  margin-bottom: 8px;
}
.product-card h3 {
  font-size: 14px;
  line-height: 1.3;
  margin: 4px 0;
  height: 36px;        /* 2 lines max */
  overflow: hidden;
}

.product-card p {
  font-size: 12px;
  margin: 4px 0;
}
.product-card button,
.product-card .btn {
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 8px;
}
.product-card * {
  max-width: 100%;
}

.header {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav ul {
  display: flex;
  gap: 25px;
  list-style: none;
}

.nav ul li a {
  text-decoration: none;
  font-weight: 500;
  color: #222;
  transition: 0.3s;
}

.nav ul li a:hover {
  color: #2e7d32;
}


/* ===== ROTATING IMAGE SECTION ===== */
.rotating-section {
  padding: 40px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f9f9f9;
}

/* Wrapper */
.rotate-wrapper {
  width: 260px;
  height: 260px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Image */
.rotate-wrapper img {
  width: 100%;
  height: auto;
  animation: rotateCircle 20s linear infinite;
}

/* Rotation Animation */
@keyframes rotateCircle {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Mobile Responsive */
@media (max-width: 600px) {
  .rotate-wrapper {
    width: 200px;
    height: 200px;
  }
}

/* ===== MOBILE PERFECT ROTATING IMAGE ===== */

.rotate-section{
    width:100%;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:30px 0;
}

.rotate-img{
    width:70%;              /* mobile ke hisaab se */
    max-width:280px;        /* bada na ho */
    animation:spin 18s linear infinite;
}

/* Rotation animation */
@keyframes spin{
    0%{ transform:rotate(0deg); }
    100%{ transform:rotate(360deg); }
}

/* Extra small mobile */
@media(max-width:480px){
    .rotate-img{
        width:75%;
        max-width:220px;
    }
}

/* ===== AYURVEDA IMAGE + TEXT SECTION ===== */

.ayurveda-section{
  padding:40px 15px;
  background:#f8f8f8;
}

.ayurveda-container{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:20px;
  max-width:1000px;
  margin:auto;
}

/* Image */
.ayurveda-image img{
  width:160px;
  animation:spin 20s linear infinite;
}

/* Text */
.ayurveda-text h2{
  font-size:20px;
  margin-bottom:8px;
  color:#2f7d32;
}

.ayurveda-text p{
  font-size:14px;
  color:#444;
  line-height:1.5;
}

/* Rotation Animation */
@keyframes spin{
  from{transform:rotate(0deg);}
  to{transform:rotate(360deg);}
}

/* ===== MOBILE FIX ===== */
@media(max-width:768px){

  .ayurveda-container{
    flex-direction:column;   /* mobile me upar neeche */
    text-align:center;
  }

  .ayurveda-image img{
    width:180px;
  }

}

/* ===== MOBILE PERFECT TOP SLIDER ===== */

.top-slider{
  width:100%;
  position:relative;
  overflow:hidden;
}

.slider-wrapper{
  position:relative;
  width:100%;
  aspect-ratio: 16 / 9;   /* Perfect banner ratio */
}

/* Slide */
.top-slider .slide{
  position:absolute;
  inset:0;
  opacity:0;
  transition:opacity 1s ease-in-out;
}

.top-slider .slide.active{
  opacity:1;
}

/* Image Fix */
.top-slider .slide img{
  width:100%;
  height:100%;
  object-fit:cover;      /* Proper fill */
  object-position:center; /* Always center */
  display:block;
}

/* Desktop height control */
@media(min-width:768px){
  .slider-wrapper{
    aspect-ratio: 16 / 6;
  }
}

/* ===== MODERN HERO ===== */

.hero-modern{
  padding:50px 20px;   /* height control */
  text-align:center;

  background: linear-gradient(135deg, #2f7d32, #66bb6a, #a5d6a7);
}

/* Content Glass Box */
.hero-content{
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  padding:30px 20px;
  border-radius:20px;
  max-width:500px;
  animation:fadeUp 1.2s ease;
}

/* Heading */
.hero-content h2{
  font-family:'Playfair Display', serif;
  font-size:28px;
  color:#fff;
  margin-bottom:15px;
}

/* Highlight 100% */
.hero-content h2 span{
  color:#ffeb3b;
  font-size:34px;
}

/* Paragraph */
.hero-content p{
  font-family:'Poppins', sans-serif;
  color:#f5f5f5;
  font-size:15px;
  margin-bottom:20px;
  line-height:1.6;
}

/* Button */
.hero-btn{
  display:inline-block;
  padding:12px 28px;
  background:#ffffff;
  color:#2f7d32;
  font-weight:600;
  border-radius:30px;
  text-decoration:none;
  transition:0.3s;
}

.hero-btn:hover{
  background:#2f7d32;
  color:#fff;
}

/* Animation */
@keyframes fadeUp{
  from{
    opacity:0;
    transform:translateY(40px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

/* ===== MOBILE FIX ===== */
@media(max-width:600px){

  .hero-content h2{
    font-size:22px;
  }

  .hero-content h2 span{
    font-size:28px;
  }

}
@media(max-width:400px){
  .hero-modern{
    padding:35px 15px;
  }
}
/* ===== MOBILE NAV FIX ===== */

.nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav ul li {
  border-bottom: 1px solid #eee;
}

/* Important part */
.nav ul li a {
  display: block;        /* pura area clickable */
  width: 100%;
  padding: 14px 20px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

/* Hover effect */
.nav ul li a:hover {
  background: #f2f2f2;
}

/* ===== DOCTOR SECTION ===== */

.doctor-section{
  padding:50px 20px;
  display:flex;
  justify-content:center;
  background:#f9faf9;
}

.doctor-card{
  max-width:350px;
  text-align:center;
  background:#ffffff;
  padding:30px 20px;
  border-radius:20px;
  box-shadow:0 15px 40px rgba(0,0,0,0.08);
  transition:0.4s ease;
}

.doctor-card:hover{
  transform:translateY(-6px);
}

/* Circular Image */
.doctor-image{
  width:160px;
  height:160px;
  margin:0 auto 20px;
  border-radius:50%;
  padding:6px;
  background:linear-gradient(135deg,#2f7d32,#66bb6a);
}

.doctor-image img{
  width:100%;
  height:100%;
  border-radius:50%;
  object-fit:cover;
}

/* Name */
.doctor-card h3{
  font-size:20px;
  margin-bottom:5px;
  color:#222;
}

/* Title */
.doctor-title{
  display:block;
  font-size:14px;
  color:#2f7d32;
  margin-bottom:15px;
  font-weight:500;
}

/* Quote */
.doctor-quote{
  font-size:14px;
  color:#555;
  line-height:1.6;
  font-style:italic;
  position:relative;
  padding:0 10px;
}




