/* ========== RESET ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  font-family: "Poppins", sans-serif;
  background: #f9f9f9;
  color: #222;
  scroll-behavior: smooth;
}
img, video {
  max-width: 100%;
  border-radius: 12px;
}

/* ========== UTILITIES ========== */
.container {
  width: 95%;
  max-width: 1400px;
  margin: auto;
}
.section {
  padding: 10px 0;
  text-align: center;
}
h1, h2, h3, h4 {
  font-weight: 600;
}
h2 {
  margin-bottom: 40px;
  font-size: 2.2rem;
  position: relative;
}
h2::after {
  content: "";
  width: 60px;
  height: 4px;
  background: #ff5a5f;
  display: block;
  margin: 15px auto 0;
  border-radius: 4px;
}

/* ========== TOPBAR ========== */
.topbar {
  background: #ff5a5f;
  color: #fff;
  font-size: 14px;
  line-height: 40px;
  height: 40px;
  position: relative;      /* Not sticky */
  z-index: 1000;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ========== HEADER / NAVBAR ========== */
.site-header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  position: sticky;       /* Sticks for desktop */
  top: 0;
  z-index: 999;
}
.header-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
}
.brand {
  display: flex;
  align-items: center;
}
.brand-logo {
  width: 50px;
  margin-right: 2px;
}
.brand-name {
  font-size: 20px;
  font-weight: bold;
}
.brand-sub {
  font-size: 12px;
  color: #666;
}
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}
.main-nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: 0.3s;
}
.main-nav a:hover,
.main-nav a.active {
  color: #ff5a5f;
}
.cta {
  background: #ff5a5f;
  border: none;
  padding: 8px 15px;
  border-radius: 25px;
}
.cta a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.55);
}
.hero-inner {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
}
.hero-inner h1 {
  font-size: 2rem;
  line-height: 1.3;
  margin-bottom: 20px;
}
.hero-inner h1 span {
  color: #ffffff;
}
.hero-ctas { margin-top: 25px; }
.btn {
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}
.btn-primary { background: #ff5a5f; color: #fff; }
.btn-primary:hover { background: #e6484c; }
.btn-ghost {
  border: 2px solid #fff;
  color: #fff;
  margin-left: 15px;
}
.btn-ghost:hover {
  background: #fff;
  color: #222;
}

/* ========== AUTO-SCROLL ROWS ========== */
.scroll-row {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scrollbar-width: none;
}
.scroll-row::-webkit-scrollbar { display: none; }
.scroll-row img,
.scroll-row video,
.service-card {
  flex: 0 0 auto;
  width: 250px;
  height: 250px;
  object-fit: cover;
}

/* ========== SERVICE CARDS ========== */
.service-card {
  background: rgba(255,255,255,0.9);
  padding: 10px;
  border-radius: 15px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.1);
  text-align: center;
  transition: 0.3s;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}
.service-card h4 {
  margin-top: 5px;
  font-size: 1rem;
}

/* ========== STATS ========== */
.stats { color: #fff; }
.bg-dark { background: #1a1a1a; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.stat { text-align: center; }
.num {
  font-size: 2.5rem;
  font-weight: bold;
  color: #ff5a5f;
}
.label {
  margin-top: 10px;
  font-size: 1rem;
  color: #ccc;
}

/* ========== FOOTER ========== */
.site-footer {
  background: #111;
  color: #bbb;
  padding: 25px 0;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-links a {
  color: #bbb;
  margin-left: 15px;
  text-decoration: none;
}
.footer-links a:hover { color: #ff5a5f; }

/* ========== HORIZONTAL SCROLLS ========== */
.services-row,
.clients-row {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 0;
}
.services-row::-webkit-scrollbar,
.clients-row::-webkit-scrollbar { display: none; }
.services-row,
.clients-row { -ms-overflow-style: none; scrollbar-width: none; }

.services-row .service-card,
.clients-row .client-card {
  flex: 0 0 200px;
  position: relative;
  text-align: center;
  background: rgba(255,255,255,0.9);
  padding: 10px;
  border-radius: 15px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}
.services-row .service-card:hover,
.clients-row .client-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}
.services-row .service-card h4,
.clients-row .client-card h4 {
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 100%;
  text-align: center;
  background: rgba(0,0,0,0.5);
  color: #fff;
  padding: 5px 0;
  border-radius: 0 0 12px 12px;
  font-size: 1rem;
}

/* ========== INDUSTRY GRID ========== */
.industry-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding: 5px 0;
}
.industry-card {
  flex: 0 0 60px;
  height: 60px;
  position: relative;
  background: rgba(255,255,255,0.9);
  border-radius: 8px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.06);
  overflow: hidden;
  transition: transform 0.3s ease;
}
.industry-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 10px rgba(0,0,0,0.08);
}
.industry-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.industry-card h4 {
  position: absolute;
  bottom: 1px;
  left: 0;
  width: 100%;
  text-align: center;
  background: rgba(0,0,0,0.5);
  color: #fff;
  padding: 1px 0;
  font-size: 0.45rem;
  border-radius: 0 0 6px 6px;
}

/* ========== RESPONSIVE FIXES ========== */

/* Tablets */
@media (max-width: 1024px) {
  .hero { height: 70vh; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { flex-direction: column; text-align: center; gap: 15px; }
}

/* Mobiles */
@media (max-width: 768px) {
  /* Topbar stacks */
  .topbar {
    height: auto;
    line-height: normal;
    padding: 6px 0;
    font-size: 13px;
  }
  .topbar .container {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }

  /* Header layout */
  .header-grid {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .brand { flex-direction: column; gap: 5px; }
  .brand-logo { margin: 0 auto; }

  /* Nav menu vertical */
  .main-nav ul {
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
  }
  .cta { margin-top: 10px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-grid { flex-direction: column; text-align: center; gap: 10px; }

  /* 🟢 FIX: disable sticky header so it scrolls with page on mobile */
  .site-header {
    position: relative;
    top: auto;
  }
}

/* Small mobiles */
@media (max-width: 480px) {
  body { font-size: 14px; line-height: 1.4; }
  .hero { height: 60vh; }
  .hero-inner h1 { font-size: 1.3rem; }
  .hero-inner p { font-size: 0.85rem; }

  .btn, .cta { width: 100%; text-align: center; }

  .services-row .service-card,
  .clients-row .client-card { flex: 0 0 120px; }

  .industry-card { flex: 0 0 40px; height: 40px; }
  .industry-card h4 { font-size: 0.35rem; }

  .stats-grid { grid-template-columns: 1fr; }
}
/* ===== HERO / BANNER FONT ADJUSTMENTS ===== */

/* Tablet screens */
@media (max-width: 768px) {
  .hero-inner h1 {
    font-size: 1.3rem;      /* tablet ke liye chhota */
    line-height: 1.3;
  }

  .hero-inner p {
    font-size: 0.85rem;     /* tablet ke liye bhi chhota */
    line-height: 1.4;
  }

  .hero-ctas .btn {
    font-size: 0.85rem;
    padding: 8px 18px;
  }
}

/* Small mobiles */
@media (max-width: 480px) {
  .hero-inner h1 {
    font-size: 1rem;        /* mobile ke liye aur chhota */
    line-height: 1.2;
  }

  .hero-inner p {
    font-size: 0.75rem;     /* body text bhi chhota */
    line-height: 1.3;
  }

  .hero-ctas .btn {
    font-size: 0.8rem;
    padding: 6px 16px;
  }
}