/* =============================================
   BharatQ Conveyor Automation - Main Stylesheet
   Font: Poppins | Framework: Bootstrap 5
   ============================================= */

/* ---- CSS Variables ---- */
:root {
  --gold: #FFD700;
  --gold-dark: #FFAA00;
  --black: #1A1A1A;
  --dark-bg: #111111;
  --dark-card: #1E1E1E;
  --body-bg: #F5F7FF;
  --text-dark: #222222;
  --text-muted: #666666;
  --blue-light: #E0E7FF;
  --blue-mid: #C3D7FF;
  --white: #FFFFFF;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.10);
  --shadow-hover: 0 12px 36px rgba(0,0,0,0.18);
  --transition: all 0.32s cubic-bezier(.4,0,.2,1);
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  background: var(--body-bg);
  color: var(--text-dark);
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.25;
}

p { color: var(--text-muted); }

a { text-decoration: none; transition: var(--transition); }

img { max-width: 100%; height: auto; display: block; }

/* ---- Utility ---- */
.section-pad { padding: 80px 0; }
.section-pad-sm { padding: 50px 0; }

.section-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--black);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.section-title span { color: var(--gold-dark); }

.section-sub {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 40px;
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--black);
  font-weight: 700;
  font-size: 14px;
  padding: 13px 30px;
  border-radius: var(--radius);
  border: none;
  box-shadow: 0 6px 20px rgba(255,170,0,0.25);
  transition: var(--transition);
  cursor: pointer;
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-dark) 0%, #e09000 100%);
  color: var(--black);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(255,170,0,0.35);
}

.btn-dark-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
  padding: 12px 28px;
  border-radius: var(--radius);
  border: 2px solid rgba(255,255,255,0.4);
  transition: var(--transition);
}
.btn-dark-outline:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

/* ---- Top Bar ---- */
.top-bar {
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-dark) 100%);
  padding: 7px 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
  z-index: 1100;
}
.top-bar a { color: var(--black); font-weight: 600; }
.top-bar a:hover { opacity: 0.75; }
.top-bar .bi { margin-right: 5px; }

/* ---- Navbar ---- */
.navbar {
  background: rgba(255,255,255,0.97);
  padding: 10px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  z-index: 1050;
  transition: var(--transition);
}
.navbar.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,0.13);
  padding: 6px 0;
}
.navbar-brand img { height: 46px; width: auto; }

.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark) !important;
  padding: 8px 14px !important;
  border-radius: 8px;
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--black) !important;
}

.dropdown-menu {
  border: none;
  border-radius: var(--radius);
  box-shadow: 0 8px 30px rgba(0,0,0,0.13);
  padding: 8px;
  min-width: 220px;
}
.dropdown-item {
  font-size: 13.5px;
  font-weight: 500;
  padding: 9px 14px;
  border-radius: 8px;
  color: var(--text-dark);
  transition: var(--transition);
}
.dropdown-item:hover {
  background: var(--blue-light);
  color: var(--black);
}
.navbar-toggler {
  border: none;
  background: var(--gold);
  border-radius: 8px;
  padding: 7px 10px;
}
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler-icon { filter: invert(0); }

/* ---- Hero Slider ---- */
.hero-slider { position: relative; overflow: hidden; }
.hero-slider .carousel-item { height: 88vh; min-height: 480px; }
.hero-slider .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.25) 100%);
  z-index: 1;
}
.hero-caption {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0 6%;
  max-width: 750px;
}
.hero-caption .badge-eyebrow {
  background: var(--gold);
  color: var(--black);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
  display: inline-block;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.2s forwards;
}
.hero-caption h1 {
  font-size: clamp(1.8rem, 4.5vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.4);
  opacity: 0;
  animation: fadeUp 0.7s ease 0.4s forwards;
}
.hero-caption p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.88);
  margin-bottom: 30px;
  max-width: 500px;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.6s forwards;
}
.hero-caption .hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.8s forwards;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.carousel-control-prev, .carousel-control-next {
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  margin: 0 16px;
  border: 2px solid rgba(255,255,255,0.3);
  transition: var(--transition);
}
.carousel-control-prev:hover, .carousel-control-next:hover {
  background: var(--gold);
}
.carousel-indicators [data-bs-target] {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none;
}
.carousel-indicators .active { background: var(--gold); }

/* ---- Stats Bar ---- */
.stats-bar {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  padding: 28px 0;
}
.stat-item { text-align: center; }
.stat-item .num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--black);
  line-height: 1;
}
.stat-item .lbl {
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(0,0,0,0.65);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.stat-divider {
  width: 1px;
  background: rgba(0,0,0,0.15);
  height: 48px;
  align-self: center;
}

/* ---- About Section (Home) ---- */
.about-home { background: var(--white); }
.about-img-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-hover);
}
.about-img-wrap img { width: 100%; height: 420px; object-fit: cover; border-radius: 20px; }
.about-badge-float {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--gold);
  color: var(--black);
  padding: 14px 20px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 13px;
  line-height: 1.3;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}
.about-badge-float span { display: block; font-size: 22px; font-weight: 800; }

.check-list { list-style: none; padding: 0; margin: 20px 0 28px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text-dark);
  margin-bottom: 12px;
  font-weight: 500;
}
.check-list li::before {
  content: '✓';
  background: var(--gold);
  color: var(--black);
  font-weight: 800;
  font-size: 11px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---- Products Section ---- */
.products-section {
  background: linear-gradient(135deg, var(--blue-light) 0%, var(--blue-mid) 100%);
}
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: block;
  color: var(--text-dark);
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  color: var(--text-dark);
}
.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: var(--transition);
}
.product-card:hover img { transform: scale(1.06); }
.product-card-body {
  padding: 16px 18px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.product-card-body h3 {
  font-size: 14.5px;
  font-weight: 700;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.product-card-body .arrow {
  width: 32px; height: 32px;
  background: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
  transition: var(--transition);
}
.product-card:hover .arrow { background: var(--black); color: var(--gold); }

/* ---- Industry Section ---- */
.industry-section {
  background: linear-gradient(135deg, var(--dark-bg) 0%, #1e1e2e 100%);
  overflow: hidden;
}
.industry-section .section-title { color: var(--white); }
.industry-section .section-sub { color: rgba(255,255,255,0.6); }

.marquee-track-wrap { overflow: hidden; width: 100%; margin: 10px 0; }
.marquee-inner {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: marqueeRoll 22s linear infinite;
}
.marquee-inner.reverse { animation-direction: reverse; }
.industry-pill {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--white);
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: var(--transition);
}
.industry-pill:hover { background: var(--gold); color: var(--black); border-color: var(--gold); }
@keyframes marqueeRoll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---- Process Section ---- */
.process-section { background: var(--white); }
.process-step {
  text-align: center;
  position: relative;
}
.process-icon {
  width: 88px; height: 88px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  font-size: 32px;
  box-shadow: 0 6px 24px rgba(255,170,0,0.3);
  transition: var(--transition);
}
.process-step:hover .process-icon {
  transform: translateY(-5px) scale(1.07);
  box-shadow: 0 12px 30px rgba(255,170,0,0.4);
}
.process-step h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.process-step p { font-size: 13.5px; color: var(--text-muted); }
.process-connector {
  position: absolute;
  top: 44px;
  right: -50%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-dark) 100%);
  z-index: 0;
}

/* ---- Testimonials ---- */
.testimonial-section {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
}
.testimonial-section .section-title { color: var(--black); }
.testimonial-card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow);
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 16px; left: 24px;
  font-size: 60px;
  color: var(--gold);
  line-height: 1;
  font-family: Georgia, serif;
}
.testimonial-card p {
  color: var(--text-dark);
  font-size: 14.5px;
  line-height: 1.75;
  padding-top: 20px;
  text-align: justify;
}
.testimonial-card .author {
  font-weight: 700;
  font-size: 13px;
  color: var(--black);
  margin-top: 18px;
}
.testimonial-card .role { font-size: 12px; color: var(--text-muted); }
.testi-nav button {
  background: rgba(0,0,0,0.12);
  border: none;
  width: 42px; height: 42px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.testi-nav button:hover { background: var(--black); color: var(--gold); }

/* ---- Contact Section ---- */
.contact-section { background: linear-gradient(135deg, var(--blue-light) 0%, var(--blue-mid) 100%); }
.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 22px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
}
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.contact-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin: 0 auto 16px;
}
.contact-card h5 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.contact-card p { font-size: 14px; color: var(--text-muted); margin: 0; }

/* ---- Contact Form ---- */
.form-control, .form-select {
  border-radius: 9px;
  border: 1.5px solid #D8DFEE;
  padding: 11px 15px;
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
  background: var(--white);
  transition: var(--transition);
}
.form-control:focus, .form-select:focus {
  border-color: var(--gold-dark);
  box-shadow: 0 0 0 3px rgba(255,170,0,0.18);
  outline: none;
}
.form-label { font-size: 13px; font-weight: 600; color: var(--text-dark); margin-bottom: 6px; }

/* ---- Clients Section ---- */
.clients-section { background: var(--white); }
.clients-marquee { overflow: hidden; }
.clients-inner {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: marqueeRoll 18s linear infinite;
}
.client-logo-box {
  width: 160px; height: 90px;
  background: var(--white);
  border: 1.5px solid #E8ECF5;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  padding: 14px;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: var(--transition);
}
.client-logo-box:hover { box-shadow: var(--shadow); transform: scale(1.05); }
.client-logo-box img { max-height: 56px; max-width: 120px; object-fit: contain; }

/* ---- CTA Banner ---- */
.cta-banner {
  background: linear-gradient(135deg, var(--dark-bg) 0%, #1a1a2e 100%);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,215,0,0.12) 0%, transparent 70%);
  border-radius: 50%;
}
.cta-banner .section-title { color: var(--white); }
.cta-banner p { color: rgba(255,255,255,0.65); }

/* ---- ISO Badge ---- */
.iso-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  margin-top: 12px;
}

/* ---- WhatsApp Button ---- */
.whatsapp-btn {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 999;
}
.whatsapp-btn a {
  width: 54px; height: 54px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 18px rgba(37,211,102,0.4);
  transition: var(--transition);
}
.whatsapp-btn a:hover { transform: translateY(-4px) scale(1.08); box-shadow: 0 8px 28px rgba(37,211,102,0.5); }
.whatsapp-btn img { width: 30px; height: 30px; }

/* ---- Footer ---- */
footer {
  background: linear-gradient(135deg, #111111 0%, #1a1a2e 100%);
  color: var(--white);
}
.footer-top { padding: 60px 0 40px; }
.footer-logo { height: 44px; width: auto; }
.footer-tagline { font-size: 13.5px; color: rgba(255,255,255,0.55); margin-top: 14px; max-width: 240px; line-height: 1.65; }
.footer-heading {
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(255,215,0,0.2);
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 13.5px; color: rgba(255,255,255,0.65); transition: var(--transition); }
.footer-links a:hover { color: var(--gold); padding-left: 6px; }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13.5px; color: rgba(255,255,255,0.65);
  margin-bottom: 12px;
}
.footer-contact-item .icon { color: var(--gold); font-size: 16px; margin-top: 2px; flex-shrink: 0; }
.footer-bottom {
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-dark) 100%);
  padding: 14px 0;
  text-align: center;
}
.footer-bottom p { margin: 0; font-size: 13px; font-weight: 600; color: var(--black); }
.social-links a {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  font-size: 16px;
  color: var(--white);
  margin: 0 4px;
  transition: var(--transition);
}
.social-links a:hover { background: var(--gold); color: var(--black); transform: translateY(-3px); }

/* ---- About Page ---- */
.page-hero {
  background: linear-gradient(135deg, var(--dark-bg) 0%, #1a1a2e 100%);
  padding: 100px 0 70px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 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='%23FFD700' fill-opacity='0.04'%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");
}
.page-hero h1 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.8rem); }
.page-hero .breadcrumb-item, .page-hero .breadcrumb-item a { color: rgba(255,255,255,0.65); font-size: 14px; }
.page-hero .breadcrumb-item.active { color: var(--gold); }
.page-hero .breadcrumb-divider { color: rgba(255,255,255,0.4); }

.value-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-top: 3px solid transparent;
  height: 100%;
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-top-color: var(--gold); }
.value-card .icon {
  font-size: 30px;
  margin-bottom: 14px;
  display: block;
}
.value-card h4 { font-size: 16px; margin-bottom: 10px; }
.value-card p { font-size: 13.5px; color: var(--text-muted); }

/* ---- Team Page ---- */
.team-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.team-card-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center top;
}
.team-card-body { padding: 22px 18px 24px; }
.team-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.team-card .designation {
  font-size: 13px;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 10px;
}
.team-card p { font-size: 13px; color: var(--text-muted); }
.team-social a {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 32px; height: 32px;
  background: var(--blue-light);
  border-radius: 50%;
  font-size: 14px;
  color: var(--text-dark);
  margin: 0 3px;
  transition: var(--transition);
}
.team-social a:hover { background: var(--gold); color: var(--black); }

/* ---- Contact Page ---- */
.map-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 440px;
}
.map-wrapper iframe { width: 100%; height: 100%; border: none; }
.contact-form-wrapper {
  background: var(--white);
  border-radius: 16px;
  padding: 36px 32px;
  box-shadow: var(--shadow);
}
.contact-form-wrapper h3 { font-size: 1.4rem; margin-bottom: 6px; }
.contact-form-wrapper .sub { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; }

/* ---- Popup Modal ---- */
.popup-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(3px);
}
.popup-content {
  background: var(--white);
  border-radius: 16px;
  padding: 28px;
  max-width: 480px;
  width: 90%;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  animation: popIn 0.4s cubic-bezier(.4,0,.2,1);
}
.popup-close {
  position: absolute; top: 12px; right: 16px;
  font-size: 22px; cursor: pointer; color: var(--text-muted);
  background: none; border: none;
  transition: var(--transition);
}
.popup-close:hover { color: var(--black); transform: rotate(90deg); }
@keyframes popIn {
  from { opacity: 0; transform: scale(0.85); }
  to   { opacity: 1; transform: scale(1); }
}

/* ---- Scroll To Top ---- */
.scroll-top {
  position: fixed;
  bottom: 88px; right: 24px;
  width: 42px; height: 42px;
  background: var(--black);
  color: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 998;
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--gold); color: var(--black); transform: translateY(-3px); }

/* ---- Animations ---- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.in-view { opacity: 1; transform: translateY(0); }

/* ---- Responsive ---- */
@media (max-width: 991px) {
  .hero-slider .carousel-item { height: 65vh; }
  .hero-caption h1 { font-size: 1.9rem; }
  .stat-divider { display: none; }
  .process-connector { display: none; }
}
@media (max-width: 767px) {
  .section-pad { padding: 55px 0; }
  .hero-slider .carousel-item { height: 55vh; min-height: 340px; }
  .hero-caption { padding: 0 5%; }
  .hero-caption h1 { font-size: 1.5rem; }
  .hero-caption p { font-size: 0.88rem; }
  .section-title { font-size: 1.55rem; }
  .about-img-wrap img { height: 300px; }
  .product-card img { height: 180px; }
  .contact-form-wrapper { padding: 24px 18px; }
}
@media (max-width: 480px) {
  .hero-slider .carousel-item { height: 50vh; min-height: 300px; }
  .hero-caption h1 { font-size: 1.25rem; }
  .stat-item .num { font-size: 1.6rem; }
}