/* ============================================================ */
/* HOME PAGE EXCLUSIVE STYLES (.page-home Scoped)                */
/* ============================================================ */

/* ----- HERO CAROUSEL ----- */
.page-home .hero-carousel .carousel-item {
  border-radius: var(--radius);
  overflow: hidden;
  height: 400px;
  background: linear-gradient(145deg, #eef7f4, #dcece6);
}

.page-home .hero-carousel .carousel-item img {
  object-fit: cover;
  height: 100%;
  width: 100%;
  opacity: 0.85;
}

.page-home .hero-carousel .carousel-caption {
  background: rgba(11, 43, 38, 0.6);
  backdrop-filter: blur(4px);
  border-radius: var(--radius);
  padding: 30px 40px;
  max-width: 500px;
  left: 5%;
  right: auto;
  bottom: 20%;
  text-align: left;
}

.page-home .hero-carousel .carousel-caption h2 {
  font-weight: 700;
  font-size: 2rem;
  color: #fff;
}

.page-home .hero-carousel .carousel-caption p { 
  color: #e0f0ec; 
}

.page-home .hero-carousel .carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
}

.page-home .hero-carousel .carousel-indicators .active { 
  background: var(--primary); 
}

@media (max-width: 768px) {
  .page-home .hero-carousel .carousel-item { height: 280px; }
  .page-home .hero-carousel .carousel-caption {
    max-width: 85%;
    padding: 16px 20px;
    bottom: 10%;
    left: 5%;
  }
  .page-home .hero-carousel .carousel-caption h2 { font-size: 1.3rem; }
  .page-home .hero-carousel .carousel-caption p { font-size: 0.9rem; }
  .page-home .hero-carousel .carousel-caption .btn-accent { padding: 6px 20px; font-size: 0.85rem; }
}

/* ----- SERVICES GRID ----- */
.page-home .service-item {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px 10px;
  text-align: center;
  border: 1px solid #f0f5f4;
  transition: var(--transition);
  height: 100%;
}

.page-home .service-item:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.04);
}

.page-home .service-item i { font-size: 1.8rem; color: var(--accent); margin-bottom: 8px; }
.page-home .service-item h6 { font-weight: 600; font-size: 0.85rem; margin-bottom: 2px; }
.page-home .service-item p { font-size: 0.7rem; color: #5a6a6a; margin: 0; }

@media (max-width: 576px) {
  .page-home .service-item { padding: 15px 8px; }
  .page-home .service-item i { font-size: 1.5rem; }
  .page-home .service-item h6 { font-size: 0.75rem; }
}

/* ----- PRODUCT SLIDER - AUTO SCROLL ----- */
.page-home .product-slider-wrapper {
  position: relative;
  overflow: hidden;
  padding: 0 10px;
}

.page-home .product-slider {
  display: flex;
  overflow-x: auto;
  gap: 16px;
  padding: 8px 4px 20px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scrollbar-width: thin;
}

.page-home .product-slider::-webkit-scrollbar { height: 6px; }
.page-home .product-slider::-webkit-scrollbar-track { background: #f0f5f4; border-radius: 10px; }
.page-home .product-slider::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 10px; }

.page-home .product-slider .slider-item {
  flex: 0 0 auto;
  width: 220px;
  scroll-snap-align: start;
}

.page-home .product-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 18px 14px;
  border: 1px solid #f0f5f4;
  transition: var(--transition);
  text-align: center;
  height: 100%;
  position: relative;
}

.page-home .product-card:hover {
  border-color: var(--accent);
  box-shadow: 0 12px 28px rgba(0,0,0,0.05);
}

.page-home .product-card img {
  max-height: 120px;
  object-fit: contain;
  margin-bottom: 10px;
  width: 100%;
}

.page-home .product-card .price {
  font-weight: 700;
  font-size: 1.1rem;
  color: #0b1a1a;
}

.page-home .product-card .old-price {
  color: #8a9a9a;
  font-size: 0.8rem;
  text-decoration: line-through;
  margin-left: 6px;
}

.page-home .product-card .wishlist-btn {
  position: absolute;
  top: 10px;
  right: 12px;
  background: #fff;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  color: #8a9a9a;
  transition: var(--transition);
}

.page-home .product-card .wishlist-btn:hover { color: #e74c3c; background: #fff5f5; }

.page-home .product-card .add-btn {
  /* background: var(--accent); */
  border: none;
  border-radius: 40px;
  padding: 6px 16px;
  /* color: #fff; */
  color: #000000;
  font-weight: 500;
  font-size: 0.8rem;
  transition: var(--transition);
  width: 100%;
}

/* .page-home .product-card .add-btn:hover { background: var(--accent-hover); } */

/* Slider Navigation Buttons */
.page-home .slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.95);
  border: 1px solid #e0e8e7;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  font-size: 1rem;
  color: #1e2a2a;
}

.page-home .slider-nav:hover {
  background: var(--accent);
  color: 000000;
  border-color: var(--accent);
}

.page-home .slider-nav.prev { left: -6px; }
.page-home .slider-nav.next { right: -6px; }

@media (max-width: 576px) {
  .page-home .product-slider .slider-item { width: 170px; }
  .page-home .product-card { padding: 14px 10px; }
  .page-home .product-card img { max-height: 90px; }
  .page-home .product-card .price { font-size: 0.95rem; }
  .page-home .product-card h6 { font-size: 0.85rem; }
  .page-home .slider-nav { width: 32px; height: 32px; font-size: 0.8rem; }
  .page-home .slider-nav.prev { left: -4px; }
  .page-home .slider-nav.next { right: -4px; }
}

/* ----- STORE CARDS ----- */
.page-home .store-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid #f0f5f4;
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.page-home .store-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--accent);
  opacity: 0;
  transition: var(--transition);
}

.page-home .store-card:hover::before { opacity: 1; }
.page-home .store-card:hover {
  border-color: var(--accent);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}

.page-home .store-card .store-rating { color: #f5b342; font-size: 0.9rem; }
.page-home .store-card .store-location {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #5a6a6a;
  font-size: 0.85rem;
  margin: 8px 0;
}
.page-home .store-card .store-location i { color: var(--accent); }

/* ----- TESTIMONIAL ----- */
.page-home .testimonial-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid #f0f5f4;
  height: 100%;
  transition: var(--transition);
}

.page-home .testimonial-card:hover { border-color: var(--accent); box-shadow: var(--card-shadow); }
.page-home .testimonial-card i { color: var(--accent); font-size: 1.6rem; opacity: 0.6; }

/* ----- BRAND STRIP ----- */
.page-home .brand-strip {
  background: #f5f5f5;
  padding: 24px 0;
  border-top: 1px solid #eef3f2;
  border-bottom: 1px solid #eef3f2;
}

.page-home .brand-strip .brand-item {
  display: flex;
  align-items: center;
  justify-content: center;
  /* padding: 8px 16px; */
  padding: 17px 31px;
  background: var(--bg-light);
  border-radius: 12px;
  transition: var(--transition);
  min-width: 100px;
}

.page-home .brand-strip .brand-item:hover {
  background: var(--accent);
  transform: scale(1.05);
}

.page-home .brand-strip .brand-item:hover span { color: #fff !important; }
.page-home .brand-strip .brand-item span {
  font-weight: 600;
  font-size: 0.9rem;
  color: #4a5a5a;
  transition: var(--transition);
}

/* ----- DASHBOARD CARDS ----- */
.page-home .dashboard-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid #f0f5f4;
  transition: var(--transition);
  text-align: center;
}

.page-home .dashboard-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--card-shadow);
}

.page-home .dashboard-card i { font-size: 2rem; color: var(--accent); margin-bottom: 10px; }
.page-home .dashboard-card .count { font-size: 1.8rem; font-weight: 700; color: var(--primary); }

/* ----- FAQ ACCORDION ----- */
.page-home .accordion-item {
  border: 1px solid #f0f5f4;
  border-radius: var(--radius) !important;
  margin-bottom: 12px;
  overflow: hidden;
}

.page-home .accordion-item:last-child { margin-bottom: 0; }
.page-home .accordion-button {
  font-weight: 600;
  padding: 16px 24px;
  background: #fff;
  border: none;
  border-radius: var(--radius) !important;
}

.page-home .accordion-button:not(.collapsed) {
  background: var(--bg-light);
  color: var(--accent);
  box-shadow: none;
}

.page-home .accordion-button:focus {
  box-shadow: none;
  border-color: var(--accent);
}

.page-home .accordion-body {
  padding: 16px 24px 24px;
  background: #fff;
}

.page-home .brand-strip {
  background: #ffffff;
  border-top: 1px solid #eef3f2;
  border-bottom: 1px solid #eef3f2;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.page-home .brand-slider-track {
  display: flex;
  align-items: center;
  gap: 20px;
  width: max-content; /* Saare items ko ek lambi line me rakhta hai */
  animation: slideBrands 20s linear infinite;
}

/* HAR BRAND ITEM PAR YE WALE PROPERTIES LAGAON */
.page-home .brand-item {
  flex-shrink: 0; /* IMP: Card ko squeeze/chhota nahi hone dega */
  padding: 10px 28px;
  background: var(--bg-light);
  border-radius: 12px;
  border: 1px solid #eef3f2;
  transition: all 0.3s ease;
  cursor: pointer;
}

.page-home .brand-item span {
  font-weight: 600;
  font-size: 0.95rem;
  color: #4a5a5a;
  transition: color 0.3s ease;
}

.page-home .brand-item:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.page-home .brand-item:hover span {
  color: #ffffff;
}

/* KEYFRAMES */
@keyframes slideBrands {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%); /* EXACT AADHA SHIFT */
  }
}