/* Colors / fonts ke tokens include.css ke :root mein hain (--brand, --brand-deep, --ink ...) */

/* =========================================
   HERO SLIDER
   ========================================= */
.hero-slider {
  /* topbar + navbar ~130px. svh = mobile browser bar ke saath sahi height */
  height: calc(100vh - 130px);
  height: calc(100svh - 130px);
  min-height: 560px;
  max-height: 820px;
  background-color: var(--ink);
}

/* Pehle ye global the (.carousel-item) aur doosre carousels ko bhi touch karte the */
.hero-slider .carousel-inner,
.hero-slider .carousel-item {
  height: 100%;
}

.slide-bg {
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

/* Left side dark (text readable), right side pe image khuli rehti hai */
.slide-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(var(--ink-rgb), 0.9) 0%,
    rgba(var(--ink-rgb), 0.72) 45%,
    rgba(var(--ink-rgb), 0.3) 100%
  );
}

/* Content: header ke .container ke saath same left edge */
.carousel-caption {
  top: 50%;
  transform: translateY(-50%);
  bottom: initial;
  text-align: left;
  left: 0;
  right: 0;
  padding: 0;
}

.carousel-caption h1,
.carousel-caption h2.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.2vw, 4.4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.01em;
  color: #ffffff;
  margin-bottom: 20px;
  max-width: 14em;
  opacity: 0;
}

.hero-accent {
  color: var(--brand);
}

.carousel-caption p {
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.55;
  color: var(--on-dark);
  margin-bottom: 30px;
  max-width: 38rem;
  opacity: 0;
}

/* Hero buttons */
.btn-primary-custom {
  background-color: var(--brand);
  color: var(--ink);
  padding: 13px 30px;
  border-radius: 30px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--brand);
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-primary-custom:hover {
  background-color: var(--ink);
  border-color: var(--brand);
  color: var(--brand);
  box-shadow: 0 6px 18px rgba(var(--brand-rgb), 0.28);
}

.btn-outline-custom {
  background-color: transparent;
  color: #ffffff;
  padding: 13px 30px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid #ffffff;
  transition: all 0.3s ease;
  margin-left: 15px;
  display: inline-block;
}

.btn-outline-custom:hover {
  background-color: #ffffff;
  color: var(--ink);
}

/* Entrance sirf hero caption mein (buttons ye classes doosri jagah use karein to hide na ho) */
.carousel-caption .btn-primary-custom,
.carousel-caption .btn-outline-custom {
  opacity: 0;
}

.carousel-item.active h1,
.carousel-item.active h2.hero-title {
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.3s;
}

.carousel-item.active .carousel-caption p {
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.6s;
}

.carousel-item.active .carousel-caption .btn-primary-custom {
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.9s;
}

.carousel-item.active .carousel-caption .btn-outline-custom {
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 1.1s;
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Hero arrows / indicators */
.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
  width: 8%;
  opacity: 1;
}
.hero-slider .carousel-control-prev-icon,
.hero-slider .carousel-control-next-icon {
  width: 46px;
  height: 46px;
  background-color: rgba(var(--ink-rgb), 0.5);
  background-size: 42%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  transition: all 0.25s ease;
}
.hero-slider .carousel-control-prev:hover .carousel-control-prev-icon,
.hero-slider .carousel-control-next:hover .carousel-control-next-icon {
  background-color: var(--ink);
  border-color: var(--brand);
}
.hero-slider .carousel-indicators {
  margin-bottom: 1.4rem;
}
.hero-slider .carousel-indicators [data-bs-target] {
  width: 28px;
  height: 4px;
  border: 0;
  background-color: #ffffff;
  opacity: 0.5;
  border-radius: 2px;
}
.hero-slider .carousel-indicators .active {
  background-color: var(--brand);
  opacity: 1;
}

@media (max-width: 991px) {
  .hero-slider {
    height: calc(100vh - 80px);
    height: calc(100svh - 80px);
    min-height: 520px;
  }
}

@media (max-width: 768px) {
  .carousel-caption p {
    font-size: 1rem;
  }
  .carousel-caption {
    text-align: center;
  }
  .carousel-caption h1,
  .carousel-caption h2.hero-title,
  .carousel-caption p {
    margin-left: auto;
    margin-right: auto;
  }
  .slide-bg::before {
    background: rgba(var(--ink-rgb), 0.74);
  }
  .btn-outline-custom {
    margin-left: 0;
    margin-top: 15px;
  }
  .hero-slider .carousel-control-prev,
  .hero-slider .carousel-control-next {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .carousel-caption h1,
  .carousel-caption h2.hero-title,
  .carousel-caption p,
  .carousel-caption .btn-primary-custom,
  .carousel-caption .btn-outline-custom {
    opacity: 1;
    animation: none !important;
  }
}

/* =========================================
   GENERAL SECTION STYLING
   ========================================= */
.section-padding {
  padding: 80px 0;
}

.section-eyebrow {
  display: block;
  color: var(--brand-deep);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 700;
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  line-height: 1.1;
  margin-bottom: 18px;
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: "";
  position: absolute;
  width: 56px;
  height: 4px;
  background-color: var(--brand);
  border-radius: 2px;
  bottom: -12px;
  left: 0;
}
/* Centered headings mein bar bhi center mein */
.text-center .section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

.text-muted-custom {
  color: var(--muted) !important;
  line-height: 1.7;
}

.bg-light-grey {
  background-color: var(--surface);
}

/* =========================================
   ABOUT SECTION
   ========================================= */
.about-img-wrapper {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(var(--ink-rgb), 0.12);
}
.about-img-wrapper img {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.about-img-wrapper:hover img {
  transform: scale(1.05);
}
/* Pehle bottom: -20px tha aur wrapper overflow:hidden hone se badge kat jata tha */
.about-experience {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--brand);
  color: var(--ink);
  padding: 16px 22px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(var(--ink-rgb), 0.25);
}
.about-experience h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.4rem;
  line-height: 1;
}
.about-experience p {
  font-weight: 600;
}

/* =========================================
   CATEGORIES / SERVICES
   ========================================= */
.service-card {
  border: none;
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(var(--ink-rgb), 0.06);
  border-bottom: 4px solid transparent;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  height: 100%;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(var(--ink-rgb), 0.12);
  border-bottom-color: var(--brand);
}
.service-img-container {
  height: 220px;
  overflow: hidden;
}
.service-img-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}
.service-card:hover .service-img-container img {
  transform: scale(1.06);
}
.service-title {
  color: var(--ink);
  font-weight: 700;
  font-size: 1.25rem;
}
.service-link {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s;
}
.service-link:hover {
  color: var(--brand-deep);
}
.btn-quote-outline {
  color: var(--brand-deep);
  border: 2px solid var(--brand-deep);
  border-radius: 20px;
  padding: 6px 20px;
  font-size: 0.9rem;
  font-weight: 700;
  transition: all 0.3s ease;
  text-decoration: none;
}
.btn-quote-outline:hover {
  background-color: var(--brand);
  border-color: var(--brand);
  color: var(--ink);
}

/* =========================================
   WHY CHOOSE US
   ========================================= */
.feature-box {
  text-align: center;
  padding: 30px 20px;
  transition: all 0.3s ease;
  border-radius: 10px;
}
.feature-box:hover {
  background-color: #ffffff;
  box-shadow: 0 10px 30px rgba(var(--ink-rgb), 0.08);
  transform: translateY(-5px);
}
.feature-icon {
  width: 70px;
  height: 70px;
  background-color: var(--brand-tint);
  color: var(--brand-deep);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}
.feature-box:hover .feature-icon {
  background-color: var(--brand);
  color: var(--ink);
}
.feature-title {
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 10px;
}

/* =========================================
   PRODUCT CARDS
   ========================================= */
.product-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(var(--ink-rgb), 0.05);
  transition: all 0.3s ease;
  position: relative;
}
.product-card:hover {
  box-shadow: 0 15px 35px rgba(var(--ink-rgb), 0.1);
  transform: translateY(-5px);
  border-color: var(--brand);
}
.product-img-wrapper {
  height: 250px;
  background-color: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.product-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}
.product-card:hover .product-img-wrapper img {
  transform: scale(1.08);
}
.product-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--brand);
  color: var(--ink);
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 20px;
  z-index: 2;
}
.product-title {
  color: var(--ink);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 10px;
  transition: color 0.3s;
}
a:hover > .product-title {
  color: var(--brand-deep);
}
.view-details-link {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.3s;
}
.view-details-link:hover {
  color: var(--brand-deep);
}
.btn-call {
  border: 2px solid var(--brand-deep);
  color: var(--brand-deep);
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.btn-call:hover {
  background-color: var(--brand);
  border-color: var(--brand);
  color: var(--ink);
}
.btn-quote-full {
  --bs-btn-color: #ffffff;
  --bs-btn-bg: var(--ink);
  --bs-btn-border-color: var(--ink);
  --bs-btn-hover-color: var(--ink);
  --bs-btn-hover-bg: var(--brand);
  --bs-btn-hover-border-color: var(--brand);
  --bs-btn-active-color: var(--ink);
  --bs-btn-active-bg: var(--brand);
  --bs-btn-active-border-color: var(--brand);
  font-weight: 700;
  border-width: 2px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

/* =========================================
   BRANDS
   ========================================= */
.brands-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 40px 0;
  background-color: #ffffff;
}
.brand-logo {
  opacity: 0.5;
  transition: all 0.3s ease;
  filter: grayscale(100%);
  max-height: 60px;
  margin: 0 auto;
  display: block;
}
.brand-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.05);
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(var(--ink-rgb), 0.08) !important;
}
.blog-card:hover .blog-img-wrapper img {
  transform: scale(1.1);
}
.blog-card:hover .blog-title a {
  color: var(--brand-deep) !important;
}
.blog-card:hover .btn-read-more i {
  transform: translateX(5px);
}

/* =========================================
   INFINITE BRAND LOGO SLIDER
   Track ab content ke hisaab se apni width leta hai, aur -50% pe loop hota hai
   (PHP logos ko even number of copies mein repeat karta hai).
   Pehle 14 slides hard-coded the, isliye 7 se kam/zyada brands pe loop toot jata tha.
   ========================================= */
.brands-slider-section {
  overflow: hidden;
  position: relative;
  background: var(--surface);
  padding: 60px 0;
}

.brands-title {
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-slider-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
  mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}

.brand-slide-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: scrollMarquee 35s linear infinite;
}

.brand-slide-track:hover {
  animation-play-state: paused;
}
.brand-slide-track.is-static {
  animation: none;
  width: 100%;
  justify-content: center;
}

.brand-slide {
  flex: 0 0 250px;
  width: 250px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px;
}

.brand-slide img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.4s ease;
}

.brand-slide img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}

@keyframes scrollMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .brand-slide-track {
    animation: none;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
  }
  .brand-slide-track [aria-hidden="true"] {
    display: none;
  }
}

/* =========================================
   TESTIMONIALS
   ========================================= */
.testimonial-card {
  border: 1px solid var(--line);
  transition: all 0.4s ease;
}
.transition-up:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(var(--ink-rgb), 0.08) !important;
  border-color: var(--brand);
}
.testimonial-quote-icon {
  font-size: 5rem;
  color: rgba(var(--brand-rgb), 0.28);
  top: -10px;
  right: 20px;
  z-index: 0;
}
.testimonial-role {
  color: var(--brand-deep);
}
.stars {
  color: #f4b400;
  font-size: 0.9rem;
}

/* =========================================
   FORMS
   ========================================= */
.custom-input {
  background-color: var(--surface);
  border: 1px solid var(--line);
  padding: 12px 15px;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}
.custom-input:focus {
  background-color: #ffffff;
  border-color: var(--brand-deep);
  box-shadow: 0 0 0 0.25rem rgba(var(--brand-rgb), 0.3);
  outline: none;
}
.contact-info-list span {
  font-family: Arial, sans-serif;
}

.premium-input {
  background-color: #fcfcfc;
  border: 1.5px solid #e0e0e0;
  border-radius: 10px;
  transition: all 0.3s ease;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.02);
}
.premium-input:focus {
  background-color: #ffffff;
  border-color: var(--brand-deep);
  box-shadow: 0 0 0 4px rgba(var(--brand-rgb), 0.25);
  outline: none;
}

.form-floating label {
  color: #7a7f75;
  font-size: 0.95rem;
}
.premium-input:focus ~ label,
.premium-input:not(:placeholder-shown) ~ label {
  color: var(--brand-deep);
  font-weight: 600;
}

/* Contact page pe .btn-maroon-glow use hota hai, isliye alias rakha hai */
.btn-brand-glow,
.btn-maroon-glow {
  background: var(--brand);
  color: var(--ink);
  font-weight: 700;
  border: none;
  border-radius: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(var(--brand-rgb), 0.35);
}
.btn-brand-glow:hover,
.btn-maroon-glow:hover {
  background: var(--brand-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(var(--brand-rgb), 0.45);
  color: var(--ink);
}

.tracking-wide {
  letter-spacing: 1px;
}

/* =========================================
   INQUIRY SECTION (dark card + map)
   ========================================= */
.custom-inquiry-section {
  background-color: #ffffff;
  padding: 80px 0;
}
.inquiry-eyebrow {
  display: block;
  color: var(--brand-deep);
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 0.875rem;
  text-transform: uppercase;
}
.inquiry-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  line-height: 1.1;
  color: var(--ink);
}
.inquiry-rule {
  width: 56px;
  height: 4px;
  background-color: var(--brand);
  border-radius: 2px;
  margin: 18px auto 0;
}
.custom-dark-card {
  background-color: var(--ink-soft);
  border-radius: 0 8px 8px 0;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.custom-dark-card::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 170px;
  height: 170px;
  background: rgba(var(--brand-rgb), 0.07);
  border-radius: 50%;
  pointer-events: none;
}
.custom-dark-card > * {
  position: relative;
}
.custom-dark-input {
  background-color: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #fff !important;
  padding: 12px 15px;
  border-radius: 4px;
  font-size: 0.95rem;
}
.custom-dark-input::placeholder {
  color: rgba(255, 255, 255, 0.55) !important;
}
.custom-dark-input:focus {
  border-color: var(--brand) !important;
  box-shadow: 0 0 0 3px rgba(var(--brand-rgb), 0.25) !important;
  outline: none;
}
/* Chrome autofill white/yellow nahi hona chahiye */
.custom-dark-input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px var(--ink-soft) inset !important;
  -webkit-text-fill-color: #ffffff !important;
  caret-color: #ffffff;
}
.map-wrapper {
  height: 100%;
  min-height: 450px;
  border-radius: 8px 0 0 8px;
  overflow: hidden;
}
/* .btn-golden purane naam ke liye alias hai (doosre pages pe use ho sakta hai) */
.btn-brand,
.btn-golden {
  background-color: var(--brand);
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.5px;
  border: none;
  transition: all 0.3s ease;
}
.btn-brand:hover,
.btn-golden:hover {
  background-color: var(--brand-hover);
  color: var(--ink);
}
@media (max-width: 991px) {
  .map-wrapper {
    border-radius: 8px 8px 0 0;
    min-height: 350px;
  }
  .custom-dark-card {
    border-radius: 0 0 8px 8px;
  }
}

/* =========================================
   FAQ ACCORDION
   ========================================= */
.faq-accordion {
  --bs-accordion-border-color: var(--line);
  --bs-accordion-border-radius: 10px;
  --bs-accordion-inner-border-radius: 9px;
  --bs-accordion-btn-padding-y: 1.1rem;
  --bs-accordion-btn-padding-x: 1.25rem;
  --bs-accordion-active-color: var(--ink);
  --bs-accordion-active-bg: var(--brand-tint);
  --bs-accordion-btn-focus-border-color: var(--brand-deep);
  --bs-accordion-btn-focus-box-shadow: 0 0 0 0.2rem rgba(var(--brand-rgb), 0.4);
  --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%234a7c10'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.faq-accordion .accordion-item {
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
}
.faq-accordion .accordion-button {
  font-weight: 600;
  color: var(--ink);
  background-color: #ffffff;
}
.faq-accordion .accordion-button:not(.collapsed) {
  background-color: var(--brand-tint);
  color: var(--ink);
}
.faq-accordion .accordion-body {
  color: var(--muted);
  line-height: 1.7;
}