/* ============================================
   DIYA PHARMA — Homepage Styles
   ============================================ */

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #010120 0%, #030358 40%, #04047a 100%);
  overflow: hidden;
  padding: var(--space-16) 0;
}
.hero::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.03'%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");
}
.hero::after {
  content: '';
  position: absolute;
  right: -200px;
  top: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(248,162,23,0.15) 0%, transparent 70%);
}
.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}
.hero-text { color: var(--white); }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 8px 20px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--primary-200);
  margin-bottom: var(--space-6);
  backdrop-filter: blur(8px);
}
.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: var(--space-6);
}
.hero h1 span {
  background: linear-gradient(135deg, var(--primary-300), var(--accent-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.8);
  margin-bottom: var(--space-8);
  max-width: 500px;
  line-height: 1.7;
}
.hero-buttons {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-10);
}
.hero-stats {
  display: flex;
  gap: var(--space-10);
}
.stat-item {
  text-align: center;
}
.stat-number {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--white);
}
.stat-number span { color: var(--primary-300); }
.stat-label {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-image-container {
  position: relative;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255,255,255,0.1);
}
.hero-image-container::before {
  content: '';
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,0.1);
  animation: rotate 30s linear infinite;
}
@keyframes rotate { to { transform: rotate(360deg); } }
.hero-glow {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(3,3,88,0.4), rgba(248,162,23,0.3));
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 3s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
.hero-float-card {
  position: absolute;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 6px 14px;
  color: var(--white);
  font-size: var(--text-sm);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  animation: float 6s ease-in-out infinite;
  white-space: nowrap;
  width: fit-content;
}
.hero-float-card:nth-child(2) { top: 60px; right: -40px; animation-delay: -2s; }
.hero-float-card:nth-child(3) { bottom: 60px; left: -30px; animation-delay: -4s; }
.hero-float-card:nth-child(4) { bottom: 30px; right: -20px; animation-delay: -1s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ---------- Divisions Section ---------- */
.divisions-section { padding: var(--space-16) 0; background: var(--neutral-50); }
.divisions-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-10);
}
.divisions-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-8);
  justify-items: center;
}
.division-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.division-card:hover {
  transform: translateY(-8px) scale(1.05);
}
.division-icon-circle {
  position: relative;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffffff, #f0f0f0);
  border: 3px solid var(--neutral-200);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}
.division-card:hover .division-icon-circle {
  border-color: var(--primary-400);
  background: linear-gradient(145deg, var(--primary-50), #ffffff);
  box-shadow: 0 0 25px rgba(3,3,88,0.25), 0 0 50px rgba(248,162,23,0.15), 0 8px 30px rgba(0, 0, 0, 0.12);
}
.division-icon {
  font-size: 42px;
  z-index: 2;
  transition: all 0.4s ease;
  filter: grayscale(30%);
}
.division-card:hover .division-icon {
  transform: scale(1.2);
  filter: grayscale(0%) drop-shadow(0 0 8px rgba(3,3,88,0.4));
}
.division-logo-img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  z-index: 2;
  transition: all 0.4s ease;
  border-radius: 50%;
}
.division-card:hover .division-logo-img {
  transform: scale(1.15);
  filter: drop-shadow(0 0 10px rgba(248,162,23,0.4));
}
.division-glow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(3,3,88,0) 40%, rgba(3,3,88,0) 100%);
  transition: all 0.5s ease;
  z-index: 1;
}
.division-card:hover .division-glow {
  background: radial-gradient(circle, rgba(248,162,23,0.15) 0%, rgba(3,3,88,0) 70%);
  animation: glowPulse 1.5s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.7; }
}
.division-name {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--neutral-600);
  text-transform: uppercase;
  transition: all 0.3s ease;
}
.division-card:hover .division-name {
  color: var(--primary-600);
  text-shadow: 0 0 10px rgba(248,162,23,0.3);
}

@media (max-width: 1024px) {
  .divisions-grid { grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }
}
@media (max-width: 768px) {
  .divisions-grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
  .division-icon-circle { width: 90px; height: 90px; }
  .division-icon { font-size: 34px; }
}
@media (max-width: 480px) {
  .divisions-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
  .division-icon-circle { width: 80px; height: 80px; }
  .division-icon { font-size: 30px; }
}

/* ---------- Products Carousel Section ---------- */
.carousel-section { padding: var(--space-12) 0 var(--space-16); }
.carousel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-8);
}
.carousel-wrapper {
  position: relative;
}
.carousel-viewport {
  overflow: hidden;
}
.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--neutral-700);
  z-index: 10;
  transition: all var(--transition-base);
  cursor: pointer;
  border: none;
}
.carousel-btn:hover {
  background: var(--primary-600);
  color: var(--white);
}
.carousel-prev { left: -22px; }
.carousel-next { right: -22px; }

/* ---------- About Snippet ---------- */
.about-snippet {
  background: var(--neutral-50);
  padding: var(--space-20) 0;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}
.about-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 400px;
  background: linear-gradient(135deg, var(--primary-100), var(--primary-50));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
}
.about-text h2 { margin-bottom: var(--space-6); }
.about-text p {
  color: var(--neutral-600);
  margin-bottom: var(--space-6);
  line-height: 1.8;
}

/* ---------- Why Choose Us ---------- */
.why-section { padding: var(--space-20) 0; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-10);
}
.why-card {
  background: var(--white);
  border: 1px solid var(--neutral-100);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-align: center;
  transition: all var(--transition-base);
}
.why-card:hover {
  border-color: var(--primary-400);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.why-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-5);
  border-radius: var(--radius-lg);
  background: var(--primary-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--primary-700);
  transition: all var(--transition-base);
}
.why-card:hover .why-icon {
  background: var(--primary-700);
  color: var(--accent-400);
  transform: scale(1.1);
}
.why-card h4 {
  margin-bottom: var(--space-3);
  font-size: var(--text-lg);
}
.why-card p {
  font-size: var(--text-sm);
  color: var(--neutral-500);
  line-height: 1.6;
}

/* ---------- Testimonials ---------- */
.testimonials-section {
  background: var(--neutral-50);
  padding: var(--space-20) 0;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  border: 1px solid var(--neutral-100);
}
.testimonial-stars {
  color: var(--accent-500);
  font-size: 18px;
  margin-bottom: var(--space-4);
  letter-spacing: 2px;
}
.testimonial-text {
  font-size: var(--text-base);
  color: var(--neutral-600);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: var(--space-6);
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary-600);
  font-size: var(--text-sm);
}
.testimonial-name {
  font-weight: 600;
  font-size: var(--text-sm);
}
.testimonial-company {
  font-size: var(--text-xs);
  color: var(--neutral-400);
}

/* ---------- Trust Badges ---------- */
.trust-section {
  background: linear-gradient(135deg, #030358, #04047a);
  padding: var(--space-12) 0;
}
.trust-grid {
  display: flex;
  justify-content: center;
  gap: var(--space-16);
}
.trust-item {
  text-align: center;
  color: var(--white);
}
.trust-icon {
  font-size: 36px;
  margin-bottom: var(--space-3);
  color: var(--accent-400);
  display: flex;
  align-items: center;
  justify-content: center;
}
.trust-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-lg);
}
.trust-sub {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.7);
}

/* ---------- CTA Section ---------- */
.cta-section {
  background: linear-gradient(135deg, #010120, #030358);
  padding: var(--space-20) 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  right: -100px;
  bottom: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(248,162,23,0.08);
}
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}
.cta-text { color: var(--white); position: relative; z-index: 2; }
.cta-text h2 { color: var(--white); margin-bottom: var(--space-4); }
.cta-text p { color: rgba(255,255,255,0.8); font-size: var(--text-lg); }
.cta-form {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  position: relative;
  z-index: 2;
}
.cta-form .form-input {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  color: var(--white);
}
.cta-form .form-input::placeholder { color: rgba(255,255,255,0.5); }
.cta-form .form-input:focus { border-color: var(--primary-400); }
.cta-form .form-label { color: rgba(255,255,255,0.8); }

/* ============================================
   DIAPER CARD — Clean Medical Style (Homepage)
   ============================================ */
.diaper-home-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
  border: 1px solid rgba(0,0,0,0.04);
}
.diaper-home-card:hover {
  box-shadow: 0 12px 40px rgba(0,31,91,0.15);
  transform: translateY(-8px);
  border-color: rgba(0,31,91,0.12);
}

/* Image Container */
.diaper-home-card .dhc-img {
  width: 100%;
  height: 220px;
  background: linear-gradient(180deg, #f8f9fc 0%, #eef1f6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.diaper-home-card .dhc-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.08));
}
.diaper-home-card:hover .dhc-img img {
  transform: scale(1.12) rotate(-2deg);
}
.diaper-home-card .dhc-img .dhc-emoji {
  font-size: 70px;
  opacity: 0.25;
  transition: all 0.4s ease;
}
.diaper-home-card:hover .dhc-img .dhc-emoji {
  opacity: 0.4;
  transform: scale(1.15);
}

/* Brand Badge */
.diaper-home-card .dhc-brand-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: #030358;
  color: var(--white);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Card Body */
.diaper-home-card .dhc-body {
  padding: 16px 20px 20px;
}
.diaper-home-card .dhc-title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--neutral-900);
  line-height: 1.3;
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.diaper-home-card .dhc-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}
.diaper-home-card .dhc-sizes {
  display: flex;
  gap: 3px;
}
.diaper-home-card .dhc-size {
  padding: 2px 6px;
  border-radius: 4px;
  background: #eeeefc;
  font-size: 9px;
  font-weight: 600;
  color: #030358;
  border: 1px solid #d8d8f5;
}

/* Pricing Row */
.diaper-home-card .dhc-pricing {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
}
.diaper-home-card .dhc-sale {
  font-size: 18px;
  font-weight: 800;
  color: #030358;
}
.diaper-home-card .dhc-mrp {
  font-size: 13px;
  color: var(--neutral-400);
  text-decoration: line-through;
}
.diaper-home-card .dhc-off {
  font-size: 11px;
  font-weight: 700;
  color: #e53e3e;
  background: #fff1f1;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

/* View Button */
.diaper-home-card .dhc-btn {
  width: 100%;
  padding: 10px;
  background: linear-gradient(135deg, #030358, #04047a);
  color: var(--white);
  border: none;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all var(--transition-base);
  text-transform: uppercase;
}
.diaper-home-card .dhc-btn:hover {
  background: linear-gradient(135deg, #04047a, #0606a0);
  letter-spacing: 1.5px;
  box-shadow: 0 4px 12px rgba(3,3,88,0.30);
}
