/* =====================================
   HOME PAGE STYLES
===================================== */

/* ---------- HERO SECTION ---------- */

.hero-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Base slide */
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  z-index: 1;
  transition: opacity 1s ease-in-out;
}

/* Active slide */
.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

/* Slide backgrounds */
.hero-slide-1 {
  background-image: url("../img/banner2.png");
}

.hero-slide-2 {
  background-image: url("../img/banner3.png");
}

.hero-slide-3 {
  background-image: url("../img/banner1.png");
}

/* Dark overlay */
.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.5) 100%
  );
  z-index: 0;
}

/* Accent overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 30% 50%,
    rgba(167, 34, 29, 0.18) 0%,
    transparent 55%
  );
  z-index: 1;
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 2;
}

.hero-label {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: #ffffff;
}

.hero-title {
  font-family: "Antonio", sans-serif;
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: #ffffff;
}

.brand-name {
  color: var(--primary-red);
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
  margin-top: 10rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ---------- CAROUSEL CONTROLS ---------- */

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--primary-red);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.carousel-control:hover {
  background-color: rgba(182, 86, 48, 0.966);
}

.carousel-control.prev {
  left: 30px;
}

.carousel-control.next {
  right: 30px;
}

/* ---------- INDICATORS ---------- */

.carousel-indicators-custom {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.indicator {
  width: 40px;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  width: 60px;
  background-color: var(--primary-red);
}

/* ---------- COMMITMENT SECTION ---------- */

.commitment-section {
  background-color: var(--dark-bg);
}

/* Card */
.feature-card {
  background: var(--dark-bg);
  padding: 2.6rem 2.2rem;
  border-radius: 16px;
  text-align: center;
  border: 1px solid rgba(167, 34, 29, 0.25);
  height: 100%;
  transition: all 0.4s ease;
  position: relative;
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-red);
  box-shadow: 0 20px 40px rgba(167, 34, 29, 0.35);
}

/* Icon Container (MATCHES ADVANTAGE & GROWTH UI) */
.feature-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(167, 34, 29, 0.25),
    rgba(138, 28, 24, 0.25)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.6rem;
  transition: all 0.35s ease;
}

/* Icon */
.feature-icon i {
  font-size: 1.6rem;
  color: var(--primary-red);
  transition: color 0.3s ease;
}

/* Hover icon effect */
.feature-card:hover .feature-icon {
  background: var(--primary-red);
  box-shadow: 0 0 0 6px rgba(167, 34, 29, 0.18);
}

.feature-card:hover .feature-icon i {
  color: #ffffff;
}

/* Title */
.feature-title {
  font-family: "Antonio", sans-serif;
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
  color: #ffffff;
}

/* Description */
.feature-description {
  color: var(--text-gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ---------- APPROACH SECTION ---------- */

.approach-section {
  background-color: var(--darker-bg);
}

.approach-description {
  color: var(--text-gray);
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.section-subtitle {
  color: var(--primary-red);
  font-weight: 600;
  font-size: 1.6rem;
}

.legacy-subtitle {
  color: var(--primary-red);
  text-transform: uppercase;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.legacy-title {
  font-family: "Antonio", sans-serif;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #fff;
}

.legacy-description {
  color: var(--text-gray);
  line-height: 1.8;
}

/* WHY CHOOSE – LIST ITEMS */

.why-choose-list {
  display: flex;
  flex-direction: column;
}

.why-choose-item {
  padding-bottom: 1.4rem;
  margin-bottom: 1.4rem;
  position: relative;
}

/* Divider line */
.why-choose-item::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    to right,
    rgba(167, 34, 29, 0),
    rgba(167, 34, 29, 0.6),
    rgba(167, 34, 29, 0)
  );
}

/* Remove line from last item */
.why-choose-item:last-child::after {
  display: none;
}

/* Typography (optional polish) */
.why-choose-item h4 {
  font-family: "Antonio", sans-serif;
  font-size: 1.25rem;
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.why-choose-item p {
  color: var(--text-gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ---------- POPULAR PRODUCTS ---------- */

.popular-products-section {
  background-color: var(--dark-bg);
}

/* Product Card */
.product-card {
  position: relative;
  background-color: #2a2a2a;
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.product-card:hover {
  transform: scale(1.03);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  border-color: rgba(167, 34, 29, 0.6);
}

.product-image {
  width: 100%;
  height: 230px;
  object-fit: contain;
  background-color: #ffffff;
  padding: 1.2rem;
  transition: transform 0.35s ease;
}

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

.product-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background-color: var(--primary-red);
  color: #ffff;
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 6px;
  letter-spacing: 0.5px;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.product-info {
  padding: 1.4rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-name {
  font-family: "Antonio", sans-serif;
  font-size: 1.25rem;
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.product-info p {
  font-size: 0.9rem;
  color: var(--text-gray);
  margin-bottom: 1.2rem;
}

.product-info .btn {
  align-self: flex-start;
  background-color: var(--primary-red);
  color: #ffffff;
  border-radius: 5px;
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  border: none;
  transition:
    transform 0.3s ease,
    background-color 0.3s ease;
}

.product-info .btn:hover {
  background-color: #e11d1d;
  transform: translateY(-2px);
}

/* ---------- PAN INDIA ---------- */

.pan-india-section {
  background: linear-gradient(
    135deg,
    rgba(167, 34, 29, 0.9),
    rgba(138, 28, 24, 0.9)
  );
  padding: 4rem 0;
}

.pan-india-title {
  font-family: "Antonio", sans-serif;
  font-size: 2.5rem;
  color: #fff;
}

.pan-india-description {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
}

/* PAN INDIA NETWORK */

.pan-india-network-section {
  background-color: #2b2b2b;
  padding: 5rem 0;
  color: #ffffff;
}

.pan-network-title {
  font-family: "Antonio", sans-serif;
  font-size: 2.6rem;
  margin-bottom: 0.3rem;
  color: var(--primary-red);
}

.pan-network-subtitle {
  font-size: 1rem;
  opacity: 0.85;
}

.pan-network-heading {
  font-family: "Antonio", sans-serif;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.pan-network-description {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #e0e0e0;
  margin-bottom: 2rem;
}

/* Stats Box */
.pan-stats-box {
  background: linear-gradient(145deg, #111, #1c1c1c);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.pan-stat-item {
  text-align: center;
}

.pan-stat-item h4 {
  font-size: 2.2rem;
  font-family: "Antonio", sans-serif;
  margin-bottom: 0.3rem;
}

.pan-stat-item span {
  font-size: 0.75rem;
  letter-spacing: 1px;
  opacity: 0.8;
}

/* Regions */
.pan-regions h5 {
  font-family: "Antonio", sans-serif;
  margin-bottom: 1rem;
}

.pan-regions ul {
  list-style: none;
  padding: 0;
}

.pan-regions li {
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
}

.pan-regions i {
  color: var(--primary-red);
  margin-right: 0.5rem;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 768px) {
  .pan-stats-box {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .pan-network-title {
    font-size: 2.1rem;
  }
}

@media (max-width: 991px) {
  .hero-title {
    font-size: 3rem;
  }

  .carousel-control {
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    height: 80vh;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .product-image {
    height: 200px;
  }

  .product-name {
    font-size: 1.15rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .carousel-control {
    width: 36px;
    height: 36px;
  }
  /* Reduce card width & height */
  .commitment-section .feature-card {
    max-width: 350px;
    margin: 0 auto;
    padding: 1.6rem 1.4rem;
  }

  /* Smaller icon circle */
  .commitment-section .feature-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 1rem;
  }

  /* Smaller icon */
  .commitment-section .feature-icon i {
    font-size: 1.2rem;
  }

  /* Slightly smaller text */
  .commitment-section .feature-title {
    font-size: 1.2rem;
  }

  .commitment-section .feature-description {
    font-size: 0.9rem;
    line-height: 1.45;
  }
}
