/* VedaCare Global - Main Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
  --primary-red: #C62828;
  --primary-red-dark: #B71C1C;
  --primary-red-light: #EF5350;
  --forest-green: #2E7D32;
  --forest-green-dark: #1B5E20;
  --accent-green: #8BC34A;
  --accent-green-light: #AED581;
  --dark: #1a1a2e;
  --dark-soft: #2d2d44;
  --text: #333333;
  --text-muted: #6c757d;
  --white: #ffffff;
  --light-bg: #f8faf9;
  --glass-bg: rgba(255, 255, 255, 0.12);
  --glass-border: rgba(255, 255, 255, 0.25);
  --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 15px 50px rgba(0, 0, 0, 0.15);
  --gradient-primary: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
  --gradient-green: linear-gradient(135deg, var(--forest-green) 0%, #388E3C 100%);
  --gradient-hero: linear-gradient(160deg, #1B5E20 0%, #2E7D32 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.05) 100%);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Inter', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-secondary);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.3;
  color: var(--dark);
}

a { text-decoration: none; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }

/* Preloader */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--forest-green-dark);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.5s, visibility 0.5s;
}
#preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-logo {
  width: 100px;
  height: 100px;
  animation: pulse 1.5s ease-in-out infinite;
}
.preloader-spinner {
  width: 50px; height: 50px;
  border: 3px solid rgba(255,255,255,0.3);
  border-top-color: var(--accent-green);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-top: 24px;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Typography */
.section-padding { padding: 80px 0; }
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 12px;
  position: relative;
}
.section-subtitle {
  color: var(--forest-green);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.875rem;
  margin-bottom: 8px;
  display: block;
}
.section-subtitle.light { color: rgba(255, 255, 255, 0.85); }
.section-subtitle.accent { color: var(--primary-red); }
.section-desc {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
}

/* Buttons */
.btn-vcg-primary {
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-family: var(--font-primary);
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(198, 40, 40, 0.35);
}
.btn-vcg-primary:hover {
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(198, 40, 40, 0.45);
}
.btn-vcg-green {
  background: var(--gradient-green);
  color: var(--white);
  border: none;
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-family: var(--font-primary);
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(46, 125, 50, 0.35);
}
.btn-vcg-green:hover {
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(46, 125, 50, 0.45);
}
.btn-vcg-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  padding: 10px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-family: var(--font-primary);
  transition: var(--transition);
}
.btn-vcg-outline:hover {
  background: var(--white);
  color: var(--forest-green);
}
.btn-outline-success {
  border-color: var(--forest-green);
  color: var(--forest-green);
  border-radius: 50px;
  font-weight: 600;
  padding: 12px 32px;
}
.btn-outline-success:hover {
  background: var(--forest-green);
  border-color: var(--forest-green);
  color: var(--white);
}

/* Glass Cards */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 30px;
  transition: var(--transition);
}
.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* Premium Cards */
.premium-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.05);
  height: 100%;
}
.premium-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}
.premium-card .icon-box {
  width: 70px; height: 70px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 20px;
}
.icon-box.red { background: rgba(46,125,50,0.08); color: var(--forest-green); }
.icon-box.green { background: rgba(46,125,50,0.1); color: var(--forest-green); }
.icon-box.accent { background: rgba(46,125,50,0.12); color: var(--forest-green); }

/* Hero Slider */
.hero-section {
  position: relative;
  overflow: hidden;
  padding-top: 70px;
  background: var(--gradient-hero);
}
.hero-swiper { width: 100%; height: calc(100vh - 70px); min-height: 560px; }
.hero-swiper .swiper-slide {
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}
.hero-swiper .swiper-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-slide-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 40px 0 80px;
}
.hero-content { color: var(--white); }
.hero-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  color: var(--white);
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.2;
}
.hero-title .highlight { color: #fff; border-bottom: 3px solid var(--primary-red); padding-bottom: 2px; }
.hero-text { font-size: 1.05rem; opacity: 0.92; margin-bottom: 28px; max-width: 520px; line-height: 1.8; }
.hero-stats {
  display: flex;
  gap: 28px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.hero-stat-item h3 { color: var(--white); font-size: 1.75rem; margin-bottom: 4px; font-weight: 700; }
.hero-stat-item p { color: rgba(255,255,255,0.75); font-size: 0.85rem; margin: 0; }
.hero-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-img-wrap img {
  max-width: 420px;
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
}
.hero-pagination {
  bottom: 28px !important;
  z-index: 10;
}
.hero-pagination .swiper-pagination-bullet {
  width: 10px; height: 10px;
  background: rgba(255,255,255,0.4);
  opacity: 1;
  transition: var(--transition);
}
.hero-pagination .swiper-pagination-bullet-active {
  width: 28px;
  border-radius: 10px;
  background: var(--white) !important;
}
.hero-swiper .swiper-button-prev,
.hero-swiper .swiper-button-next {
  color: var(--white) !important;
  background: rgba(255,255,255,0.12);
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
}
.hero-swiper .swiper-button-prev::after,
.hero-swiper .swiper-button-next::after { font-size: 1rem; font-weight: 700; }
.hero-swiper .swiper-button-prev:hover,
.hero-swiper .swiper-button-next:hover { background: rgba(255,255,255,0.22); }

/* Page Banner */
.page-banner {
  background: var(--gradient-hero);
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-banner h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 12px; }
.page-banner .breadcrumb { justify-content: center; margin: 0; }
.page-banner .breadcrumb-item a { color: rgba(255,255,255,0.8); }
.page-banner .breadcrumb-item.active { color: rgba(255,255,255,0.95); }
.page-banner .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.5); }

/* Counter Section */
.counter-section {
  background: var(--forest-green-dark);
  padding: 60px 0;
}
.counter-item { text-align: center; color: var(--white); }
.counter-item .counter-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  font-family: var(--font-primary);
  color: var(--white);
}
.counter-item p { opacity: 0.85; margin: 0; font-size: 0.95rem; }

/* Business Section - clean white */
.section-business {
  background: var(--white);
  border-top: 1px solid rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.section-business .feature-mini {
  text-align: center;
  padding: 20px 12px;
  border-radius: var(--radius-sm);
  background: var(--light-bg);
  height: 100%;
  transition: var(--transition);
}
.section-business .feature-mini:hover {
  background: rgba(46,125,50,0.06);
  transform: translateY(-3px);
}
.section-business .feature-mini i {
  font-size: 1.75rem;
  color: var(--forest-green);
  margin-bottom: 12px;
}
.section-business .check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--text-muted);
}
.section-business .check-list i {
  color: var(--forest-green);
  margin-top: 4px;
  flex-shrink: 0;
}

/* CTA Section */
.cta-section {
  background: var(--light-bg);
  padding: 80px 0;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.cta-section h2 { color: var(--dark); margin-bottom: 16px; }
.cta-section p { color: var(--text-muted); margin-bottom: 30px; }

/* Testimonials */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.testimonial-card .quote-icon {
  font-size: 2rem;
  color: var(--forest-green);
  opacity: 0.25;
  margin-bottom: 16px;
}
.testimonial-card .stars { color: #ffc107; margin-bottom: 16px; }
.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
}
.testimonial-card .author img {
  width: 50px; height: 50px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial-card .author h5 { margin: 0; font-size: 1rem; }
.testimonial-card .author span { color: var(--text-muted); font-size: 0.85rem; }

/* Product Cards */
.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.product-card .product-img {
  position: relative;
  overflow: hidden;
  height: 250px;
  background: var(--light-bg);
}
.product-card .product-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: var(--transition);
}
.product-card:hover .product-img img { transform: scale(1.08); }
.product-card .product-badge {
  position: absolute;
  top: 15px; left: 15px;
  background: var(--primary-red);
  color: var(--white);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}
.product-card .product-body { padding: 24px; }
.product-card .product-price {
  color: var(--forest-green);
  font-weight: 700;
  font-size: 1.25rem;
  font-family: var(--font-primary);
}
.product-card .product-rating { color: #ffc107; font-size: 0.85rem; }

/* Timeline */
.timeline { position: relative; padding: 20px 0; }
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  background: var(--gradient-green);
}
.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding: 20px 0;
  width: 50%;
  position: relative;
}
.timeline-item:nth-child(even) {
  align-self: flex-end;
  justify-content: flex-start;
  margin-left: 50%;
}
.timeline-item .timeline-content {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  width: 90%;
  position: relative;
}
.timeline-item .timeline-dot {
  position: absolute;
  width: 20px; height: 20px;
  background: var(--primary-red);
  border: 4px solid var(--white);
  border-radius: 50%;
  top: 30px;
  box-shadow: var(--shadow-sm);
}
.timeline-item:nth-child(odd) .timeline-dot { right: -10px; transform: translateX(50%); }
.timeline-item:nth-child(even) .timeline-dot { left: -10px; transform: translateX(-50%); }
.timeline-item .year {
  color: var(--primary-red);
  font-weight: 700;
  font-family: var(--font-primary);
  font-size: 1.25rem;
}

/* FAQ Accordion Override */
.accordion-vcg .accordion-item {
  border: none;
  margin-bottom: 12px;
  border-radius: var(--radius-sm) !important;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.accordion-vcg .accordion-button {
  font-family: var(--font-primary);
  font-weight: 600;
  padding: 20px 24px;
  background: var(--white);
}
.accordion-vcg .accordion-button:not(.collapsed) {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: none;
}
.accordion-vcg .accordion-button:focus { box-shadow: none; }
.accordion-vcg .accordion-body { padding: 20px 24px; color: var(--text-muted); }

/* Forms */
.form-vcg .form-control, .form-vcg .form-select {
  border: 2px solid #e9ecef;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  transition: var(--transition);
}
.form-vcg .form-control:focus, .form-vcg .form-select:focus {
  border-color: var(--forest-green);
  box-shadow: 0 0 0 3px rgba(46,125,50,0.15);
}
.form-vcg label { font-weight: 500; margin-bottom: 6px; color: var(--dark); }

/* Auth Pages */
.auth-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  padding: 100px 20px 40px;
}
.auth-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
}
.auth-card .auth-logo {
  width: 90px;
  height: 90px;
  margin: 0 auto 20px;
  border: 3px solid rgba(46, 125, 50, 0.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 5px;
  background: var(--white);
}
.auth-card h2 { text-align: center; margin-bottom: 8px; }
.auth-card .auth-subtitle { text-align: center; color: var(--text-muted); margin-bottom: 30px; }
.auth-divider {
  text-align: center;
  margin: 24px 0;
  position: relative;
}
.auth-divider::before {
  content: '';
  position: absolute;
  top: 50%; left: 0; right: 0;
  height: 1px;
  background: #e9ecef;
}
.auth-divider span {
  background: var(--white);
  padding: 0 16px;
  position: relative;
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Gallery */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: var(--transition);
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item .gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(46,125,50,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item .gallery-overlay i { color: var(--white); font-size: 2rem; }

/* Rank Cards */
.rank-card {
  text-align: center;
  padding: 30px 20px;
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-top: 4px solid transparent;
}
.rank-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.rank-card.bronze { border-top-color: #cd7f32; }
.rank-card.silver { border-top-color: #c0c0c0; }
.rank-card.gold { border-top-color: #ffd700; }
.rank-card.platinum { border-top-color: #e5e4e2; }
.rank-card.diamond { border-top-color: #b9f2ff; }
.rank-card .rank-icon { font-size: 3rem; margin-bottom: 16px; }

/* Calculator */
.calculator-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.calculator-result {
  background: var(--gradient-green);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 30px;
  text-align: center;
}
.calculator-result .result-amount {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  font-family: var(--font-primary);
}

/* Chart Container */
.chart-container {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px; height: 60px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 999;
  transition: var(--transition);
}
.whatsapp-float:hover { color: var(--white); transform: scale(1.1); }

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 45px; height: 45px;
  background: var(--primary-red);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 998;
  cursor: pointer;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--primary-red-dark); color: var(--white); }

/* Legal Content */
.legal-content { padding: 60px 0; }
.legal-content h2 { font-size: 1.5rem; margin: 30px 0 15px; color: var(--forest-green); }
.legal-content h3 { font-size: 1.2rem; margin: 20px 0 10px; }
.legal-content p, .legal-content li { color: var(--text-muted); margin-bottom: 12px; }
.legal-content ul { padding-left: 24px; }

/* Responsive */
@media (max-width: 991.98px) {
  .section-padding { padding: 60px 0; }
  .timeline::before { left: 20px; }
  .timeline-item, .timeline-item:nth-child(even) {
    width: 100%;
    margin-left: 0;
    justify-content: flex-start;
    padding-left: 50px;
  }
  .timeline-item .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot {
    left: 11px;
    transform: none;
  }
}
@media (max-width: 767.98px) {
  .hero-swiper { min-height: auto; height: auto; }
  .hero-slide-inner { padding: 30px 0 70px; }
  .hero-stats { gap: 16px; }
  .hero-swiper .swiper-button-prev,
  .hero-swiper .swiper-button-next { display: none; }
  .auth-card { padding: 30px 20px; }
}
