:root {
  --bg: #f9f8f2;
  --accent: #3b7d42;
  --text: #1e293b;
  --muted: #64748b;
  --card: #ffffff;
}




/* Header */
/* ===== MOBILE ONLY FIXES (NO DESKTOP IMPACT) ===== */
@media (max-width: 768px) {

  /* Show hamburger only on mobile */
  .menu-toggle {
    display: block;
    font-size: 26px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
  }

  /* Hide menu initially */
  header nav {
    display: none;
    flex-direction: column;
    margin-top: 10px;
  }

  /* Show menu on click */
  header nav.show {
    display: flex;
  }

  header nav a {
    padding: 12px 0;
    border-top: 1px solid rgba(255,255,255,0.2);
  }

  /* Stack hero section */
  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .dr-photo {
    max-width: 200px;
    margin: 0 auto;
  }

  h1 {
    font-size: 20px;
  }

  h2 {
    font-size: 22px;
  }
}
.menu-toggle {
  display: none;
}

@media (max-width: 768px) {

  header {
    flex-wrap: wrap;
    padding: 10px 20px;
  }

  .menu-toggle {
    display: block;
    font-size: 26px;
    background: none;
    border: none;
    color: #2e7d32;
  }

  #nav-menu {
    width: 100%;
    display: none;
    flex-direction: column;
    margin-top: 10px;
  }

  #nav-menu.show {
    display: flex;
  }

  #nav-menu a {
    padding: 12px;
    border-bottom: 1px solid #ddd;
    text-align: center;
  }
}


header {
  background: linear-gradient(90deg, #dff2e1, #f6fff8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 40px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
}

nav a {
  text-decoration: none;
  color: var(--text);
  margin: 0 12px;
  font-weight: 600;
  transition: color 0.3s;
}

nav a:hover {
  color: var(--accent);
}

/* Intro Section */
.intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 60px 10%;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.intro-text {
  flex: 1;
  max-width: 600px;
}

.intro-text h2 {
  font-size: 28px;
  color: var(--accent);
}

.intro-text p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}

.doctor-profile {
  text-align: center;
}

.doctor-img {
  width: 240px;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Degrees */
.degrees {
  background: var(--card);
  margin: 0 auto 60px;
  padding: 30px;
  max-width: 800px;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.degrees h3 {
  color: var(--accent);
  margin-bottom: 10px;
}

.degrees ul {
  list-style: none;
  padding-left: 0;
}

.degrees li {
  padding: 8px 0;
  color: var(--muted);
}

/* Footer */
footer {
  background: #eaf6ec;
  text-align: center;
  padding: 14px;
  color: var(--muted);
}
/* ===== Appointment Page Styling Upgrade ===== */
 
    body {
      font-family: "Poppins", sans-serif;
      background: linear-gradient(135deg, #d4f0d7, #a8e6cf);
      margin: 0;
      display: flex;
      flex-direction: column;
      min-height: 100vh;
    }

    header {
      background-color: #2e7d32;
      color: white;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 10px 40px;
    }

    .logo-title {
      display: flex;
      align-items: center;
    }

    .logo {
      height: 50px;
      margin-right: 10px;
    }

    nav a {
      color: white;
      text-decoration: none;
      margin-left: 20px;
      font-weight: 500;
    }

    nav a.active {
      text-decoration: underline;
      font-weight: bold;
    }

    main {
      flex-grow: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
      padding: 40px 20px;
    }

    h2 {
      color: #1b5e20;
      margin-bottom: 20px;
      text-align: center;
    }

    form {
      background: white;
      padding: 30px 40px;
      border-radius: 16px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
      width: 90%;
      max-width: 500px;
    }

    label {
      font-weight: 500;
      color: #333;
      margin-top: 10px;
      display: block;
    }

    input, textarea {
      width: 100%;
      padding: 10px;
      border-radius: 8px;
      border: 1px solid #ccc;
      margin-top: 5px;
      outline: none;
      transition: 0.3s;
    }

    input:focus, textarea:focus {
      border-color: #2e7d32;
    }

    .btn {
      background-color: #2e7d32;
      color: white;
      border: none;
      padding: 12px;
      border-radius: 8px;
      width: 100%;
      margin-top: 20px;
      font-weight: 600;
      cursor: pointer;
      transition: 0.3s;
    }

    .btn:hover {
      background-color: #1b5e20;
    }

    /* Payment Section */
    .payment-section {
      display: none;
      background: white;
      padding: 30px 40px;
      border-radius: 16px;
      margin-top: 30px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
      width: 90%;
      max-width: 500px;
      text-align: center;
    }

    .payment-options {
      display: flex;
      justify-content: space-around;
      flex-wrap: wrap;
      margin-top: 10px;
    }

    .payment-method {
      text-align: center;
      margin: 10px;
      cursor: pointer;
      transition: 0.3s;
    }

    .payment-method:hover {
      transform: scale(1.05);
    }

    .payment-method img {
      width: 70px;
      height: 70px;
      object-fit: contain;
      border-radius: 8px;
    }

    .hidden {
      display: none;
    }

    .card-form, .bank-logos {
      margin-top: 20px;
      text-align: left;
    }

    .bank-logos img {
      width: 90px;
      margin: 8px;
      border-radius: 10px;
      cursor: pointer;
      transition: 0.3s;
    }

    .bank-logos img:hover {
      transform: scale(1.1);
    }

    /* Modal */
    .modal {
      display: none;
      position: fixed;
      z-index: 999;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5);
      justify-content: center;
      align-items: center;
    }

    .modal-content {
      background: white;
      padding: 30px;
      border-radius: 16px;
      text-align: center;
      width: 320px;
      position: relative;
    }

    .modal-content img {
      width: 180px;
      margin-top: 10px;
    }

    .close-btn {
      position: absolute;
      top: 10px;
      right: 15px;
      font-size: 20px;
      cursor: pointer;
    }

    footer {
      background-color: #2e7d32;
      color: white;
      text-align: center;
      padding: 10px;
      font-size: 14px;
    }
  
.appointment-page {
  max-width: 750px;
  margin: 60px auto;
  background: rgba(255, 255, 255, 0.88); /* transparent white card */
  backdrop-filter: blur(6px);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  font-family: "Poppins", sans-serif;
}

.page-title {
  text-align: center;
  color: #246b4a;
  font-size: 2em;
  font-weight: 700;
  margin-bottom: 25px;
  letter-spacing: 0.5px;
}

/* Form fields */
.appointment-form .form-group {
  margin-bottom: 18px;
}

.appointment-form label {
  font-weight: 600;
  color: #2f855a;
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
}

.appointment-form input,
.appointment-form textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  padding: 12px 14px;
  font-size: 15px;
  outline: none;
  transition: border-color 0.3s ease;
  font-family: "Poppins", sans-serif;
}

.appointment-form input:focus,
.appointment-form textarea:focus {
  border-color: #2f855a;
  box-shadow: 0 0 5px rgba(47, 133, 90, 0.3);
}

.btn {
  background: linear-gradient(135deg, #2f855a, #276749);
  color: white;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  padding: 12px 20px;
  font-size: 16px;
  letter-spacing: 0.4px;
  width: 100%;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.3s ease;
}

.btn:hover {
  transform: scale(1.03);
  background: linear-gradient(135deg, #276749, #22543d);
}




.payment-section {
  margin-top: 30px;
  text-align: center;
  animation: fadeIn 0.8s ease;
}

.payment-options {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
  margin: 30px 0;
}

.payment-method {
  background-color: #f8fff8;
  border: 2px solid #a2c579;
  border-radius: 12px;
  padding: 15px 25px;
  width: 200px;
  text-align: center;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.payment-method img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 10px;
}

.payment-method:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
/* Payment Modal for QR */
.modal {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

.modal-content {
  background: #ffffff;
  border-radius: 16px;
  padding: 25px;
  width: 320px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  position: relative;
}

.modal-content h3 {
  margin-top: 0;
  color: #2f855a;
}

.qr-image {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin: 15px 0;
  border: 2px solid #a2c579;
  border-radius: 12px;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: #666;
}

.close-btn:hover {
  color: #000;
}
.hidden {
  display: none;
}

.card-form, .bank-logos {
  background: #fff;
  border: 1px solid #dcdcdc;
  padding: 20px;
  border-radius: 10px;
  margin-top: 20px;
  animation: fadeIn 0.3s ease;
}

.card-form input {
  display: block;
  width: 100%;
  padding: 10px;
  margin-bottom: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.card-form .row {
  display: flex;
  gap: 10px;
}

.banks {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;
}

.banks img {
  width: 90px;
  height: 45px;
  object-fit: contain;
  cursor: pointer;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 4px;
  background: #fff;
  transition: transform 0.2s, box-shadow 0.2s;
}

.banks img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.success-page {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  padding: 80px 20px;
}

.success-container {
  background: #ffffffdd;
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  animation: fadeIn 0.5s ease;
}

.success-icon {
  width: 120px;
  height: 120px;
  margin-bottom: 20px;
}

.success-container h2 {
  color: #2b7a2b;
  margin-bottom: 10px;
}

.success-container p {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.success-container .btn {
  background: #2b7a2b;
  color: white;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  margin-top: 20px;
  transition: background 0.3s;
}

.success-container .btn:hover {
  background: #3f9b3f;
}
/* General reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  color: #1a202c;
  background: url("images/bg-aayurveda") no-repeat center center fixed;
  background-size: cover;
  min-height: 100vh;
  backdrop-filter: brightness(0.95);
}

header {
  background: rgba(255, 255, 255, 0.85);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 40px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.logo-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  height: 60px;
  width: 60px;
}

nav a {
  text-decoration: none;
  color: #2f855a;
  margin-left: 20px;
  font-weight: 600;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #276749;
}

.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
}

.hero-content {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  max-width: 1000px;
  padding: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.dr-info {
  text-align: center;
}

.dr-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #2f855a;
}

.subtitle {
  color: #4a5568;
  font-size: 1rem;
}

.about-details summary {
  font-size: 1.1rem;
  color: #2f855a;
  font-weight: 600;
  cursor: pointer;
  margin-top: 12px;
}

.about-box {
  background: #f0fdf4;
  border-left: 4px solid #2f855a;
  margin-top: 10px;
  padding: 12px;
  border-radius: 8px;
}

.about-box ul {
  margin-top: 8px;
  padding-left: 18px;
  color: #374151;
}

.intro {
  text-align: center;
  margin-top: 30px;
}

.intro h3 {
  color: #276749;
}

.intro p {
  color: #2d3748;
  line-height: 1.6;
  margin-top: 10px;
}

/* Thoughts Section */
.thoughts-section {
  background: rgba(255, 255, 255, 0.95);
  margin: 40px auto;
  max-width: 900px;
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.thoughts-section h2 {
  color: #2f855a;
  margin-bottom: 20px;
}

.thoughts-container {
  font-size: 1.1rem;
  color: #2d3748;
  line-height: 1.6;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.8);
  color: #4a5568;
  font-size: 0.9rem;
}
/* SERVICES PAGE */
.services-page {
  padding: 60px 20px;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.service-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card img {
  width: 100%;
  height: 180px;
  border-radius: 10px;
  object-fit: cover;
  margin-bottom: 15px;
}

.service-card h3 {
  color: #2f855a;
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.service-card p {
  color: #374151;
  font-size: 1rem;
  line-height: 1.5;
}

/* style.css - shared styles */
:root{
  --accent:#2f855a;
  --dark:#164a35;
  --muted:#51606a;
  --card:#ffffff;
  --glass: rgba(255,255,255,0.9);
  --max:1100px;
  --radius:12px;
}

*{box-sizing:border-box}
body{
  font-family: "Poppins", sans-serif;
  margin:0;
  background: url('images/bg-aayurveda') center/cover fixed;
  color:#0f172a;
  -webkit-font-smoothing:antialiased;
}

.container{max-width:var(--max);margin:28px auto;padding:18px;background:var(--glass);border-radius:16px;box-shadow:0 8px 30px rgba(0,0,0,0.06)}
.header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 0}
.brand{display:flex;align-items:center;gap:12px}
.brand img.logo{width:56px;height:56px;border-radius:10px}
nav a{color:var(--muted);text-decoration:none;margin-left:12px;font-weight:600}
nav a.active{color:var(--accent)}

h1,h2,h3{color:var(--dark)}
p.lead{color:var(--muted)}

.btn{background:var(--accent);color:#fff;padding:10px 14px;border-radius:10px;border:none;cursor:pointer;font-weight:700}
.btn.ghost{background:transparent;color:var(--accent);border:1px solid rgba(47,133,90,0.12)}

/* Products page */
.product-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px}
.product-card{background:var(--card);padding:14px;border-radius:12px;box-shadow:0 8px 24px rgba(0,0,0,0.06);display:flex;flex-direction:column;align-items:center;gap:8px}
.product-card img{width:100%;height:160px;object-fit:cover;border-radius:10px}
.product-card h4{margin:6px 0;color:var(--accent)}
.price{font-weight:800;color:#1f7a45}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 15px;
}

@media (max-width: 480px) {
  .product-card img {
    height: 140px;
    object-fit: cover;
  }
}


/* category list */
.categories{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.category-btn{padding:10px 14px;border-radius:10px;border:1px solid rgba(47,133,90,0.12);cursor:pointer;background:rgba(255,255,255,0.8)}
.category-btn.active{background:linear-gradient(135deg,var(--accent),#276749);color:white;border:none}

/* cart */
.cart-list{display:flex;flex-direction:column;gap:12px}
.cart-item{display:flex;gap:12px;align-items:center;padding:10px;background:#fff;border-radius:10px}
.cart-item img{width:84px;height:70px;object-fit:cover;border-radius:8px}
.qty{width:56px}
.cart-item {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.cart-item img {
  width: 80px;
  height: 80px;
}

@media (max-width: 480px) {
  .cart-item {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* modal */
.modal{display:none;position:fixed;inset:0;background:rgba(0,0,0,0.55);z-index:999;align-items:center;justify-content:center}
.modal .modal-card{background:#fff;padding:20px;border-radius:14px;width:92%;max-width:480px;box-shadow:0 8px 30px rgba(0,0,0,0.15)}

/* payment page */
.payment-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px}
.qr-code{width:200px;height:200px;border-radius:12px;display:block;margin:10px auto;border:3px solid var(--accent)}
.bank-logos{display:flex;flex-wrap:wrap;gap:12px;justify-content:center}
.bank-logos img{width:110px;height:48px;object-fit:contain;cursor:pointer;border-radius:8px}
@media (max-width: 480px) {
  .card {
    padding: 20px;
    border-radius: 14px;
  }

  .qr img {
    width: 180px;
  }
}

/* forms */
label{display:block;margin:6px 0;font-weight:600;color:var(--dark)}
input,textarea,select{width:100%;padding:10px;border-radius:10px;border:1px solid #e6eaeb;font-size:15px}
textarea{min-height:90px;resize:vertical}
.small{font-size:0.9rem;color:var(--muted)}

footer{text-align:center;padding:18px;color:var(--muted)}

@media (max-width:720px){
  .header{flex-direction:column;align-items:flex-start}
}
@media (max-width: 600px) {
  form {
    padding: 20px;
    width: 100%;
  }

  input, textarea, button {
    font-size: 16px; /* zoom issue fix */
  }
}
/* ================= HEADER FINAL FIX ================= */

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand .logo {
  width: 55px;
  height: 55px;
  border-radius: 10px;
}

.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  color: #2f855a;
}

/* DESKTOP NAV */
#nav-menu {
  display: flex;
  gap: 18px;
}

#nav-menu a {
  text-decoration: none;
  font-weight: 600;
  color: #2f855a;
}

#nav-menu a.active {
  color: #164a35;
  text-decoration: underline;
}

/* MOBILE */
@media (max-width: 768px) {

  .menu-toggle {
    display: block;
  }

  header {
    flex-wrap: wrap;
  }

  #nav-menu {
    width: 100%;
    display: none;
    flex-direction: column;
    margin-top: 12px;
    background: rgba(255,255,255,0.98);
    border-radius: 12px;
    overflow: hidden;
  }

  #nav-menu.show {
    display: flex;
  }

  #nav-menu a {
    padding: 14px;
    border-top: 1px solid #e5e7eb;
    text-align: center;
  }
}

/* ================= END HEADER FIX ================= */



