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

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
  color: #2d3748;
  background: #ffffff;
  overflow-x: hidden;
}

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

/* Subtle Background Elements */
.bg-decoration {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: radial-gradient(
      circle at 20% 80%,
      rgba(99, 102, 241, 0.03) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(168, 85, 247, 0.03) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 40% 40%,
      rgba(59, 130, 246, 0.02) 0%,
      transparent 50%
    );
}

/* Sophisticated Header */
.header {
  background: rgba(255, 255, 255, 0.95);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
  padding: 1.5rem 0;
  text-align: center;
  border-bottom: 2px solid #e0e0e0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.header-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.header h1 {
  color: #1a202c;
  letter-spacing: -1px;
  position: relative;
  font-size: 2rem;
  font-weight: 700;
  color: #166534; /* deep green */
}

.header .gujarati {
  font-weight: 600;
  color: #d97706; /* golden accent */
}

.header h1::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #4f46e5, #7c3aed);
  border-radius: 2px;
}

.header p {
  font-size: 16px;
  color: #4b5563;
  font-weight: 500;
  max-width: 500px;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}


/* Elegant Hero Section */
.hero {
  position: relative;
  background: url("img/leaf-bg.jpg") center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 5rem 1rem;
  border-radius: 0 0 2rem 2rem;
  overflow: hidden;
}

.hero .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(22,101,52,0.7), rgba(21,128,61,0.7));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: auto;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  animation: fadeInDown 1s ease;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  animation: fadeInUp 1.2s ease;
}

.hero-btn {
  background: #facc15; /* golden button */
  color: #1e293b;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.hero-btn:hover {
  background: #eab308;
  transform: scale(1.05);
}

/* Animations */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

.hero:first-of-type {
  background: linear-gradient(135deg, #fafbfc 0%, #f7fafc 100%);
  padding: 120px 0;
}

.hero p b {
  color: #2d3748;
  font-weight: 700;
}

/* Refined Customer Celebration */
.customer-celebration {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.customer-celebration::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="25" cy="25" r="1.5" fill="white" opacity="0.1"/><circle cx="75" cy="45" r="1" fill="white" opacity="0.1"/><circle cx="45" cy="75" r="1.2" fill="white" opacity="0.1"/></svg>');
  animation: float 15s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.customer-celebration h2 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -1px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.customer-celebration p {
  font-size: 18px;
  opacity: 0.95;
  font-weight: 500;
}

/* Professional Doctor Section */
.doctor-section {
  background: #ffffff;
  padding: 120px 0;
  position: relative;
}

.doctor-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.doctor-text {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 40px;
  position: relative;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.doctor-text:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
}

.doctor-text p {
  font-size: 18px;
  line-height: 1.8;
  color: #4a5568;
  margin: 0;
}

.certificate-container {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  background: #ffffff;
}

.certificate-container:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 64px rgba(0, 0, 0, 0.12);
}

.hero-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.certificate-container:hover .hero-img {
  transform: scale(1.02);
}

.certificate-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: white;
  padding: 10px 16px;
  border-radius: 25px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.3);
}

/* Elegant Products Section */
.products-section {
  padding: 120px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  position: relative;
}

.products-section h2 {
  font-size: 48px;
  font-weight: 800;
  text-align: center;
  color: #1a202c;
  margin-bottom: 80px;
  letter-spacing: -2px;
}

.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.product-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 40px;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(79, 70, 229, 0.02),
    rgba(124, 58, 237, 0.02)
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

.product-card:hover::before {
  opacity: 1;
}

.product-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 64px rgba(0, 0, 0, 0.1);
  border-color: rgba(79, 70, 229, 0.2);
}

.product-card img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 28px;
  transition: transform 0.3s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

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

.product-card h3 {
  font-size: 24px;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
}

.product-card p {
  font-size: 16px;
  color: #64748b;
  margin-bottom: 28px;
  position: relative;
  z-index: 2;
  line-height: 1.6;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  color: white;
  text-decoration: none;
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.3);
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.6s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.4);
  background: linear-gradient(135deg, #3730a3 0%, #6b21a8 100%);
}

.btn i {
  transition: transform 0.3s ease;
}

.btn:hover i {
  transform: translateX(3px);
}

/* Clean Footer */
.footer {
  background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  padding: 50px 0;
  border-top: 1px solid #4a5568;
}

.footer p {
  font-size: 16px;
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .doctor-content {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }

  .hero h2 {
    font-size: 42px;
  }

  .customer-celebration h2 {
    font-size: 36px;
  }

  .products-section h2 {
    font-size: 38px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .hero h2 {
    font-size: 32px;
  }

  .hero p {
    font-size: 18px;
  }

  .customer-celebration h2 {
    font-size: 28px;
  }

  .products {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .product-card {
    padding: 32px;
  }

  .doctor-text {
    padding: 32px;
  }

  .doctor-text p {
    font-size: 16px;
  }

  .header h1 {
    font-size: 26px;
  }

  .header p {
    font-size: 14px;
  }

  .products-section h2 {
    font-size: 28px;
  }
}

/* Smooth animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Focus states for accessibility */
.btn:focus,
.product-card:focus {
  outline: 2px solid #4f46e5;
  outline-offset: 2px;
}

/* Ripple effect for buttons */
.btn {
  position: relative;
  overflow: hidden;
}

.btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  animation: ripple 0.6s linear;
  transform: scale(0);
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}
