/* VCard Base – mobile-first, animated, theme colors in theme-1..10.css */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { overflow-x: hidden; -webkit-tap-highlight-color: transparent; }

.content-div {
  max-width: 100%;
  margin: 0 auto;
  padding: 12px 10px 85px;
  padding: max(12px, env(safe-area-inset-top)) max(10px, env(safe-area-inset-right)) 85px max(10px, env(safe-area-inset-left));
  background: #f5f5f5;
  min-height: 100vh;
  min-height: -webkit-fill-available;
}

.main-row-div { margin: 0; padding: 0; }
.div-center-align {
  padding: 0 8px 16px;
  margin: 0 auto;
  max-width: 100%;
}

/* Animations */
@keyframes vcardFadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.vcard-animate {
  animation: vcardFadeInUp 0.5s ease-out forwards;
  opacity: 0;
}
.vcard-animate-delay-0 { animation-delay: 0.05s; }
.vcard-animate-delay-1 { animation-delay: 0.12s; }
.vcard-animate-delay-2 { animation-delay: 0.2s; }
.vcard-animate-delay-3 { animation-delay: 0.28s; }
.vcard-animate-delay-4 { animation-delay: 0.36s; }
.vcard-animate-delay-5 { animation-delay: 0.44s; }
.vcard-animate-delay-6 { animation-delay: 0.52s; }
.vcard-animate-delay-7 { animation-delay: 0.6s; }
.vcard-animate-delay-8 { animation-delay: 0.68s; }
.vcard-animate-delay-9 { animation-delay: 0.76s; }

@media (prefers-reduced-motion: reduce) {
  .vcard-animate { animation: none; opacity: 1; }
}

/* Hero – touch-friendly */
.home-div {
  margin-bottom: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
.home-div-white-div {
  padding: clamp(20px, 5vw, 28px) 16px;
  text-align: center;
  min-height: 160px;
}
.home-div-white-div .logo {
  max-width: 100px;
  max-height: 80px;
  object-fit: contain;
  margin-bottom: 8px;
}
.business-name {
  font-size: clamp(1.2rem, 4.5vw, 1.45rem);
  font-weight: 700;
  margin: 8px 0 4px;
  line-height: 1.3;
  word-break: break-word;
}
.home-name-designation {
  font-size: clamp(0.875rem, 3vw, 1rem);
  font-weight: 500;
  margin: 0 0 12px;
  opacity: 0.9;
}
.home-name-designation span { display: block; }
.ratings-ul {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  display: flex;
  justify-content: center;
  gap: 2px;
}
.ratings-ul li { color: #f5a623; }
.ratings-ul i { font-size: 14px; }

/* CTA buttons – min 44px touch target */
.home-cta-btns-ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.home-cta-btns-ul a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  min-width: 44px;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: clamp(0.85rem, 2.5vw, 0.95rem);
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.home-cta-btns-ul a:active { transform: scale(0.98); }
.home-div-content-div { padding: clamp(16px, 4vw, 22px); background: #fff; }
.section-label {
  font-size: clamp(0.95rem, 2.5vw, 1.05rem);
  font-weight: 600;
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eee;
}
.contact-points-ul { list-style: none; padding: 0; margin: 0 0 16px; }
.contact-points-ul li { margin-bottom: 10px; }
.contact-points-ul a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 6px 0;
  text-decoration: none;
  color: #333;
  font-size: clamp(0.9rem, 2.5vw, 1rem);
}
.contact-points-ul a:hover { opacity: 0.85; }
.icon-box {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.home-add-li span { word-break: break-word; }
.home-2-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.home-2-btns .btn {
  min-height: 44px;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 600;
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s;
}
.home-2-btns .btn:active { transform: scale(0.98); }
.theme-share-option .dropdown-menu { border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.social-ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.social-ul a {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.2rem;
  transition: transform 0.2s;
}
.social-ul a:active { transform: scale(0.95); }

/* Sections – mobile spacing */
.section {
  padding: clamp(20px, 5vw, 28px) clamp(16px, 4vw, 22px);
  margin-top: 14px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 2px 14px rgba(0,0,0,0.06);
}
.section h2 {
  font-size: clamp(1.05rem, 3vw, 1.2rem);
  font-weight: 700;
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section h2 i { opacity: 0.9; }
.about-div .about-content {
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  line-height: 1.65;
  color: #444;
}
.about-p { margin: 8px 0 0; }
.about-gst { font-size: 0.9rem; }

/* Products section – card grid, proper layout */
.vcard-products-section h2 { margin-bottom: 18px; }
.vcard-products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 4px;
}
.vcard-product-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #eee;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  padding: 0;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.vcard-product-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
.vcard-product-card:active { transform: scale(0.99); }
.vcard-product-image-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #f8f8f8;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vcard-product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.vcard-product-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  font-size: 2.5rem;
}
.vcard-product-body {
  padding: 14px 16px 16px;
}
.vcard-product-title {
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  font-weight: 600;
  margin: 0 0 12px;
  line-height: 1.35;
  color: #222;
  word-break: break-word;
}
.vcard-product-card .prod-btns { margin-top: 0; margin-bottom: 0; }
.vcard-product-card .prod-ind-btn {
  width: 100%;
  justify-content: center;
  min-height: 44px;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.2s, opacity 0.2s;
}
.vcard-product-card .prod-ind-btn:active { transform: scale(0.98); }
.vcard-product-card .prod-ind-btn:hover { opacity: 0.95; }

@media (min-width: 380px) {
  .vcard-products-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .vcard-product-body { padding: 12px 14px 14px; }
}
@media (min-width: 520px) {
  .vcard-products-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}

/* Legacy single-prod-serv-div (if used elsewhere) */
.single-prod-serv-div { border-bottom: none; }
.single-prod-serv-div:last-child { border-bottom: 0; }
.single-prod-serv-div h3 { font-size: clamp(1rem, 2.5vw, 1.08rem); font-weight: 600; margin: 0 0 10px; }
.single-prod-serv-div img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 10px;
  max-height: 200px;
  object-fit: cover;
}
.prod-btns { margin-top: 10px; }
.prod-ind-btn {
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.2s;
}
.prod-ind-btn:active { transform: scale(0.98); }

#lightgallery li { margin-bottom: 12px; }
#lightgallery img { width: 100%; height: 100px; object-fit: cover; border-radius: 10px; }
.single-video { margin-bottom: 16px; border-radius: 10px; overflow: hidden; }
.single-video video { display: block; border-radius: 10px; max-width: 100%; }

.payment-table { font-size: clamp(0.85rem, 2vw, 0.95rem); }
.payment-table th { width: 40px; text-align: center; vertical-align: middle; }
.review-name { font-weight: 600; margin: 0 0 4px; font-size: 0.95rem; }
.review-star { color: #f5a623; font-size: 12px; }
.review-form .form-prefix { border-radius: 10px 0 0 10px; }
.review-form .form-control { border-radius: 0 10px 10px 0; font-size: 16px; }
.review-form .form-submit {
  margin-top: 12px;
  min-height: 44px;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.2s;
}
.review-form .form-submit:active { transform: scale(0.98); }
.form-submit {
  min-height: 44px;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s;
}
.form-submit:active { transform: scale(0.98); }
.input-group-text.form-prefix {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-right: 0;
  color: #64748b;
}
.review-form .input-group .form-control,
.vcard-contact-form .form-control {
  background: #fff;
  border: 1px solid #e2e8f0;
}
.review-form .input-group .form-control { border-left: 0; }
.vcard-contact-form .vcard-form-input { background: #fff; border: 1px solid #e2e8f0; }
.form-control { font-size: 16px; background: #fff; }
.gmap { border-radius: 10px; width: 100%; height: 260px; }

/* Bottom nav – safe area for notches */
.navigation-div {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: 0 -2px 20px rgba(0,0,0,0.1);
  z-index: 100;
  padding: 8px 0;
  padding-bottom: max(8px, env(safe-area-inset-bottom));
}
.navigation-div ul {
  list-style: none;
  padding: 0 6px;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px;
  max-height: 56px;
  overflow-y: auto;
}
.navigation-div a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 6px 8px;
  font-size: 0.65rem;
  text-decoration: none;
  color: #555;
  transition: color 0.2s;
}
.navigation-div a i { font-size: 1.05rem; margin-bottom: 2px; }
.navigation-div a:hover { color: #333; }
.navigation-div a:active { opacity: 0.8; }

.btn-vcard-primary { background: #2563eb; color: #fff !important; }
.btn-vcard-primary:hover { background: #1d4ed8; color: #fff !important; }
.btn-vcard-secondary { background: #64748b; color: #fff !important; }
.btn-vcard-secondary:hover { background: #475569; color: #fff !important; }

/* Doctor theme hero badge (medical cross) */
.vcard-hero-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  z-index: 1;
}
.vcard-theme-hero { position: relative; }
.vcard-medical-badge {
  background: rgba(255,255,255,0.25);
  color: #fff;
  border: 2px solid rgba(255,255,255,0.6);
}

/* Reviews carousel – auto-slide, small dots, smooth */
.vcard-reviews-carousel {
  margin-bottom: 20px;
  border-radius: 12px;
  overflow: visible;
  background: #fff;
  position: relative;
  padding-bottom: 32px;
  border: 1px solid #e2e8f0;
}
.vcard-reviews-carousel .carousel-inner {
  border-radius: 12px;
  overflow: hidden;
}
.vcard-reviews-carousel .carousel-item {
  transition: transform 0.5s ease-in-out;
}
.vcard-review-slide {
  padding: 20px 16px 16px;
  text-align: center;
  min-height: 100px;
}
.vcard-review-slide .review-name {
  margin: 0 0 6px;
  font-size: 0.95rem;
}
.vcard-review-slide .ratings-ul {
  margin: 0 0 10px;
  justify-content: center;
}
.vcard-review-text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #444;
  padding: 0 8px;
  word-break: break-word;
}
.vcard-reviews-carousel .carousel-control-prev,
.vcard-reviews-carousel .carousel-control-next {
  width: 36px;
  height: 36px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  background: rgba(0,0,0,0.15);
  opacity: 0.9;
}
.vcard-reviews-carousel .carousel-control-prev { left: 8px; }
.vcard-reviews-carousel .carousel-control-next { right: 8px; }

/* Small circular dots – like Success Stories */
.vcard-reviews-carousel .carousel-indicators {
  bottom: 8px;
  margin-bottom: 0;
  margin-left: 0;
  margin-right: 0;
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.vcard-reviews-carousel .carousel-indicators li {
  width: 6px;
  height: 6px;
  min-width: 6px;
  min-height: 6px;
  max-width: 6px;
  max-height: 6px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #d1d5db;
  cursor: pointer;
  text-indent: 0;
  box-sizing: border-box;
  transition: background 0.25s ease;
}
.vcard-reviews-carousel .carousel-indicators li.active {
  background: #7c2d12;
  transform: none;
}
.vcard-reviews-carousel .carousel-indicators li:hover:not(.active) {
  background: #9ca3af;
}

/* Contact form – advanced */
.vcard-contact-wrap .vcard-contact-card { background: #fff; border-radius: 14px; padding: 20px; border: 1px solid #e2e8f0; }
.vcard-contact-form .vcard-form-label { font-size: 0.9rem; font-weight: 600; color: #475569; margin-bottom: 6px; display: block; }
.vcard-contact-form .vcard-form-label i { margin-right: 6px; opacity: 0.8; }
.vcard-form-input { border-radius: 10px; border: 1px solid #e2e8f0; padding: 12px 14px; font-size: 16px; }
.vcard-form-input:focus { border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15); outline: 0; }
.vcard-form-textarea { resize: vertical; min-height: 90px; }
.vcard-contact-submit { width: 100%; justify-content: center; margin-top: 8px; padding: 14px; border-radius: 12px; font-size: 1rem; }

@media (min-width: 576px) {
  .div-center-align { padding: 0 12px 20px; }
  .content-div { padding: 16px 12px 80px; }
}

@media (min-width: 768px) {
  .home-cta-btns-ul a:hover { transform: translateY(-2px); }
  .social-ul a:hover { transform: scale(1.08); }
}
