/* ============================================
   Shree Krupa Medical — Advanced Stylesheet
   Pure HTML + CSS only — no JavaScript
   ============================================ */

:root {
  --dark-blue: #0A2A6A;
  --dark-blue-2: #123a8f;
  --green: #4CAF50;
  --light-green: #8BC34A;
  --white: #FFFFFF;
  --bg-light: #F5FAF8;
  --text-dark: #1E293B;
  --text-muted: #5C6B73;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 8px 24px rgba(10, 42, 106, 0.08);
  --shadow-hover: 0 16px 34px rgba(10, 42, 106, 0.16);
  --transition: all 0.3s ease;
}

/* ===== Reset ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  background: rgba(76, 175, 80, 0.12);
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.eyebrow.center { display: block; width: fit-content; margin: 0 auto 14px; }

.section-title {
  text-align: center;
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--dark-blue);
  margin-bottom: 44px;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--light-green));
  margin: 14px auto 0;
  border-radius: 4px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--green);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(76, 175, 80, 0.35);
}

.btn-primary:hover {
  background-color: var(--light-green);
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(76, 175, 80, 0.45);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  transform: translateY(-3px);
}

.btn-outline {
  display: block;
  text-align: center;
  border-color: var(--green);
  color: var(--green);
  background: transparent;
  margin-top: 16px;
}

.btn-outline:hover {
  background-color: var(--green);
  color: var(--white);
  transform: translateY(-2px);
}

/* ===== Offer Strip ===== */
.offer-strip {
  background: linear-gradient(90deg, var(--dark-blue), var(--dark-blue-2));
  color: var(--white);
  text-align: center;
  font-size: 0.85rem;
  padding: 8px 16px;
}

.offer-strip strong { color: var(--light-green); }

/* ===== Header ===== */
.site-header {
  background-color: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 12px rgba(10, 42, 106, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 110px;
  position: relative;
}

.logo { display: flex; align-items: center; gap: 10px; }
.logo img { width: 180px; height: 180px; object-fit: contain; }
.logo-text { font-size: 1.2rem; font-weight: 700; color: var(--dark-blue); }
.logo-text.light { color: var(--white); }
.logo-text em { font-style: normal; color: var(--green); }

.main-nav ul { display: flex; gap: 30px; }

.main-nav a {
  font-weight: 500;
  color: var(--text-dark);
  transition: var(--transition);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover { color: var(--green); border-bottom-color: var(--green); }

.nav-toggle { display: none; }

.nav-toggle-label {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 110;
}

.nav-toggle-label span {
  width: 26px;
  height: 3px;
  background-color: var(--dark-blue);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  background: linear-gradient(180deg, rgba(39, 39, 41, 0.55) 0%, rgba(28, 28, 29, 0.8) 100%), url('images/background.jpg');
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
  color: var(--white);
   min-height: 80vh;
  text-align: center;
  display: flex;
align-items: center;
justify-content: center;
box-sizing: border-box;
padding: 0;
  overflow: hidden;
}

.hero-shape {
  display: none;
  position: absolute;
  border-radius: 50%;
  filter: blur(6px);
  opacity: 0.25;
}

.shape-1 {
  width: 320px; height: 320px;
  background: var(--light-green);
  top: -120px; left: -100px;
  animation: float 8s ease-in-out infinite;
}

.shape-2 {
  width: 260px; height: 260px;
  background: var(--green);
  bottom: -100px; right: -80px;
  animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-24px) scale(1.05); }
}

.hero-inner { position: relative; z-index: 2; animation: fadeUp 0.9s ease both; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero h1 { font-size: 2.7rem; font-weight: 700; margin-bottom: 16px; }
.hero h1 span { color: var(--light-green); }

.hero-subheading {
  font-size: 1.2rem;
  font-weight: 400;
  color: #DCE6F5;
  margin-bottom: 34px;
}

.hero-actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 60px;
  flex-wrap: wrap;
}

.stat { display: flex; flex-direction: column; align-items: center; }
.stat-number { font-size: 1.9rem; font-weight: 700; color: var(--light-green); }
.stat-label { font-size: 0.85rem; color: #DCE6F5; margin-top: 4px; }

/* ===== About ===== */
.about { padding: 100px 0; }
.about { background-color: #f5f5f5; }

.about-content p {
  max-width: 780px;
  margin: 0 auto 50px;
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.about-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.point-card {
  background-color: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px 24px;
  text-align: center;
  transition: var(--transition);
}

.point-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }

.point-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--light-green));
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.point-card h3 { color: var(--dark-blue); margin-bottom: 8px; font-size: 1.1rem; }
.point-card p { color: var(--text-muted); font-size: 0.95rem; }

/* ===== Store Gallery ===== */
.store-gallery { padding: 100px 0; }

.gallery-title {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-style: italic;
  font-size: 2.6rem;
  color: var(--dark-blue);
  margin-bottom: 16px;
}

.gallery-subtitle {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 50px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 9fr);
  gap: 22px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  aspect-ratio: 4 / 6;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-6px);
}

.gallery-item:hover img { transform: scale(1.08); }

/* ===== Products ===== */
.products { padding: 100px 0; background-color: var(--white); }

/* Pure CSS filter tabs */
.tab-radio { display: none; }

.tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.tab-label {
  padding: 10px 26px;
  border-radius: 999px;
  border: 2px solid var(--bg-light);
  background: var(--bg-light);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.tab-label:hover { border-color: var(--light-green); color: var(--dark-blue); }

#tab-all:checked ~ .tabs label[for="tab-all"],
#tab-medicine:checked ~ .tabs label[for="tab-medicine"],
#tab-wellness:checked ~ .tabs label[for="tab-wellness"],
#tab-devices:checked ~ .tabs label[for="tab-devices"] {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

/* Show all by default; filter hides non-matching categories */
#tab-medicine:checked ~ .product-grid .product-card:not(.cat-medicine),
#tab-wellness:checked ~ .product-grid .product-card:not(.cat-wellness),
#tab-devices:checked ~ .product-grid .product-card:not(.cat-devices) {
  display: none;
}

.product-card {
  background-color: var(--bg-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  padding-bottom: 24px;
  text-align: center;
  transition: var(--transition);
  animation: fadeUp 0.6s ease both;
}

.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }

.product-image { position: relative; overflow: hidden; }

.product-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: var(--transition);
}

.product-card:hover .product-image img { transform: scale(1.06); }

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--dark-blue);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
}

.product-card h3 { color: var(--dark-blue); font-size: 1.05rem; margin: 16px 20px 6px; }
.product-card p { color: var(--text-muted); font-size: 0.9rem; padding: 0 20px; }

.rating { margin-top: 10px; color: var(--light-green); font-size: 0.9rem; }
.rating span { color: var(--text-muted); font-size: 0.8rem; }

.price { display: inline-block; margin-top: 10px; font-weight: 700; color: var(--green); font-size: 1.15rem; }

.product-card .btn-outline { margin-left: 20px; margin-right: 20px; }

/* ===== Testimonials (pure CSS carousel) ===== */
.testimonials { padding: 100px 0; }

.slide-radio { display: none; }

.slider { max-width: 680px; margin: 0 auto; text-align: center; }

.slides { position: relative; min-height: 170px; }

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

.slide p {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 18px;
  padding: 0 20px;
}

.slide h4 { color: var(--green); font-weight: 600; }

#slide-1:checked ~ .slider .slides .slide:nth-child(1),
#slide-2:checked ~ .slider .slides .slide:nth-child(2),
#slide-3:checked ~ .slider .slides .slide:nth-child(3) {
  opacity: 1;
  pointer-events: auto;
}

.slider-dots { display: flex; justify-content: center; gap: 10px; margin-top: 28px; }

.slider-dots label {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #D8E5DF;
  cursor: pointer;
  transition: var(--transition);
}

#slide-1:checked ~ .slider .slider-dots label:nth-child(1),
#slide-2:checked ~ .slider .slider-dots label:nth-child(2),
#slide-3:checked ~ .slider .slider-dots label:nth-child(3) {
  background: var(--green);
  transform: scale(1.2);
}

/* ===== FAQ ===== */
.faq { padding: 100px 0; background-color: var(--white); }

.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }

.faq-item {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 20px 26px;
  box-shadow: var(--shadow);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--dark-blue);
  list-style: none;
  position: relative;
  padding-right: 30px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.3rem;
  color: var(--green);
  transition: var(--transition);
}

.faq-item[open] summary::after { content: "\2212"; }

.faq-item p { margin-top: 14px; color: var(--text-muted); font-size: 0.95rem; }

/* ===== Contact ===== */
.contact { padding: 100px 0; }
.contact { background-color: #f5f5f5; 
}
.contact-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 30px;
  align-items: stretch;
}

.contact-info-card {
  background-color: var(--bg-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.info-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.info-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.icon-address { background: rgba(10, 42, 106, 0.1); }
.icon-phone { background: rgba(76, 175, 80, 0.15); }
.icon-email { background: rgba(139, 195, 74, 0.2); }
.icon-hours { background: rgba(10, 42, 106, 0.1); }

.info-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.info-text p {
  color: var(--text-dark);
  font-size: 1rem;
  font-weight: 500;
}

.contact-map{
    width: 100%;
    min-height: 380px;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    background: #fff;
}

.contact-map iframe{
    width: 100%;
    height: 380px;
    border: 0;
    display: block;
    border-radius: 0;
}

/* ===== Newsletter ===== */
.newsletter {
  background: linear-gradient(135deg, var(--green), var(--light-green));
  padding: 60px 0;
}

.newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  color: var(--white);
}

.newsletter h2 { font-size: 1.5rem; margin-bottom: 8px; }
.newsletter p { color: rgba(255,255,255,0.9); }

.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; }

.newsletter-form input {
  padding: 14px 20px;
  border-radius: 999px;
  border: none;
  min-width: 240px;
  font-family: inherit;
  font-size: 0.95rem;
}

.newsletter-form input:focus { outline: 3px solid var(--dark-blue); }

.newsletter-form .btn-primary {
  background-color: var(--dark-blue);
  box-shadow: none;
}

.newsletter-form .btn-primary:hover { background-color: var(--dark-blue-2); }

/* ===== Footer ===== */
.site-footer { background-color: var(--dark-blue); color: var(--white); padding-top: 60px; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.footer-tagline { color: #B9C7E0; margin-top: 10px; font-size: 0.9rem; max-width: 320px; }

.footer-col h4 { margin-bottom: 16px; font-size: 1rem; color: var(--light-green); }

.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #DCE6F5; transition: var(--transition); font-size: 0.92rem; }
.footer-col ul li a:hover { color: var(--light-green); }

.footer-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--light-green);
  margin-bottom: 4px;
}

.footer-col p { color: #DCE6F5; font-size: 0.9rem; margin-bottom: 16px; }
.social-links { display: flex; gap: 12px; }

.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: var(--transition);
}

.social-links a:hover { background: var(--green); transform: translateY(-3px); }

.footer-bottom { text-align: center; padding: 20px 0; font-size: 0.85rem; color: #B9C7E0; }

.footer-bottom p { margin: 4px 0; }

.footer-credit a {
  color: var(--light-green);
  font-weight: 600;
  transition: var(--transition);
}

.footer-credit a:hover { color: var(--white); text-decoration: underline; }

/* ===== Back to top ===== */
.back-to-top {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-hover);
  transition: var(--transition);
  z-index: 90;
}

.back-to-top:hover { background: var(--light-green); transform: translateY(-4px); }

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 980px) {
  .about-points { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-map { min-height: 320px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 2.2rem; }
}

@media (max-width: 768px) {
  .about-points { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .contact-info-card { padding: 28px 24px; }
  .hero-stats { gap: 40px; }

  .offer-strip, .about, .store-gallery, .products,
  .testimonials, .faq, .contact { padding-top: 64px; padding-bottom: 64px; }

  .about { padding-top: 64px; padding-bottom: 64px; }
  .newsletter { padding: 44px 0; }

  .tab-label { padding: 8px 20px; font-size: 0.85rem; }
  .tabs { gap: 8px; margin-bottom: 32px; }

  .slides { min-height: 210px; }
}

@media (max-width: 640px) {
  .nav-toggle-label { display: flex; }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 8px 16px rgba(10, 42, 106, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    gap: 18px;
  }

  .nav-toggle:checked ~ .main-nav { max-height: 360px; }

  .hero { padding: 60px 0; }
  .hero h1 { font-size: 1.8rem; }
  .hero-stats { gap: 30px; }

  .logo img { width: 120px; height: 170px; }
  .header-inner { height: 120px; }
  .logo-text { font-size: 0.98rem; }

  .about-points,
  .product-grid,
  .gallery-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .gallery-title { font-size: 1.9rem; }
  .gallery-item { aspect-ratio: 4 / 5; }

  .contact-info-card { padding: 26px 22px; gap: 22px; }
  .contact-map { min-height: 260px; }

  .section-title { font-size: 1.6rem; margin-bottom: 32px; }

  .about, .store-gallery, .products,
  .testimonials, .faq, .contact { padding-top: 48px; padding-bottom: 48px; }

  .slide { position: relative; inset: auto; display: none; opacity: 1 !important; }
  .slides { min-height: 0; }
  #slide-1:checked ~ .slider .slides .slide:nth-child(1),
  #slide-2:checked ~ .slider .slides .slide:nth-child(2),
  #slide-3:checked ~ .slider .slides .slide:nth-child(3) {
    display: block;
  }
  .slide p { font-size: 1rem; }

  .newsletter-inner { flex-direction: column; text-align: center; }
  .newsletter-form { justify-content: center; }

  .back-to-top { width: 40px; height: 40px; font-size: 1rem; bottom: 18px; right: 18px; }
  .newsletter-form input { min-width: 0; width: 100%; }
  .newsletter-form .btn-primary { width: 100%; text-align: center; }

  .hero-actions { flex-direction: column; align-items: center; }

  .faq-item { padding: 16px 18px; }
  .faq-item summary { font-size: 0.95rem; }

  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-col { display: flex; flex-direction: column; align-items: center; }
  .social-links { justify-content: center; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 1.3rem; }
  .hero-subheading { font-size: 0.9rem; }
  .stat-number { font-size: 1.4rem; }
  .stat-label { font-size: 0.75rem; }
  .btn { padding: 12px 24px; font-size: 0.85rem; }
  .product-card h3 { font-size: 0.95rem; }
  .section-title { font-size: 1.35rem; }

  .container { padding: 0 14px; }
  .logo img { width: 120px; height: 120px; }
  .header-inner { height: 120px; }
  .logo-text { font-size: 0.85rem; }

  .gallery-title { font-size: 1.5rem; }
  .gallery-subtitle { font-size: 0.92rem; }

  .point-card, .contact-card, .faq-item { padding: 20px 16px; }
  .contact-info-card { padding: 20px 16px; }

  .tab-label { padding: 7px 16px; font-size: 0.8rem; }

  .offer-strip p { font-size: 0.75rem; }

  .about, .store-gallery, .products,
  .testimonials, .faq, .contact { padding-top: 40px; padding-bottom: 40px; }
}
