/* Add here all your CSS customizations */

/* Banner dimensions – 1920×700 site-wide (ensures consistency on all pages) */
.headerbg,
.headerceprobg,
.header360bg,
.headervip-dome-omnibg,
.headerspooferbg,
.headertrishulbg,
.headerceplrobg,
.contact-page-banner.headerbg,
.career-page-banner.headerbg,
section.container.headerceprobg,
section.container.headerceplrobg {
  padding: 0 !important;
  min-height: 200px;
  aspect-ratio: 1920 / 700;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

/* KAMET page banner: show full image so text is not cut off */
section.headerkailashbg {
  padding: 0 !important;
  min-height: 0;
  aspect-ratio: auto;
  overflow: visible;
}

.page-header.page-header-background,
.page-header.page-header-background-md {
  min-height: 200px;
  aspect-ratio: 1920 / 700;
  background-size: cover !important;
  background-position: center center !important;
}

section.headerkailashbg img[src*="BANNER"],
section.headerkailashbg img[src*="banner"] {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
  object-position: center top;
}

/* Footer Quick Link – vertical column (menu style) */
#footer .col-md-4 ul.footer-quick-links,
#footer ul.list.footer-quick-links {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 0.5rem 0 !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

#footer .col-md-4 ul.footer-quick-links li,
#footer ul.list.footer-quick-links li {
  display: flex !important;
  align-items: center !important;
  margin: 0 !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
}

#footer ul.footer-quick-links li > [class*="fa-"]:first-child {
  position: static !important;
  margin-right: 0.25rem;
}

#footer ul.footer-quick-links li a {
  white-space: nowrap;
}

@media (max-width: 767px) {
  #footer ul.footer-quick-links {
    gap: 0.75rem 1.5rem;
  }
}

/* ========== Clients page – modern UI ========== */
.clients-page .clients-section {
  padding: 3.5rem 0 4rem;
  background: #fff;
}

.clients-header {
  margin-bottom: 2.5rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.clients-title {
  font-size: 2rem;
  font-weight: 700;
  color: #2b3036;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.clients-subtitle {
  font-size: 1.0625rem;
  color: #6c757d;
  margin: 0;
  line-height: 1.5;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

@media (min-width: 768px) {
  .clients-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }
}

@media (min-width: 992px) {
  .clients-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 1200px) {
  .clients-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.client-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}

.client-card:hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
  border-color: rgba(108, 150, 137, 0.25);
}

.client-card-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  padding: 1.75rem 1.25rem;
}

@media (min-width: 768px) {
  .client-card-inner {
    min-height: 160px;
    padding: 2rem 1.5rem;
  }
}

.client-logo {
  max-width: 100%;
  height: auto;
  max-height: 80px;
  width: auto;
  object-fit: contain;
  filter: grayscale(0.15);
  transition: filter 0.25s ease;
}

.client-card:hover .client-logo {
  filter: grayscale(0);
}

@media (max-width: 767px) {
  .clients-page .clients-section {
    padding: 2rem 0 2.5rem;
  }
  .clients-header {
    margin-bottom: 1.75rem;
  }
  .clients-title {
    font-size: 1.5rem;
  }
  .clients-subtitle {
    font-size: 0.9375rem;
  }
}

/* Zebu Seal page – balanced bottom space (no excessive gap above footer) */
.zebu-seal-page .zebu-seal-content {
  padding-top: 2.5rem !important;
  padding-bottom: 2.5rem !important;
}
.zebu-seal-page .zebu-seal-content .container {
  padding-bottom: 0 !important;
}

@media (max-width: 767px) {
  .zebu-seal-page .zebu-seal-content {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }
}

/* Video Gallery page – extra space top and bottom */
.video-gallery-page .headerbg {
  margin-bottom: 0;
}
.video-gallery-page .video-gallery-content {
  padding-top: 2.5rem !important;
  padding-bottom: 3rem !important;
}

@media (max-width: 767px) {
  .video-gallery-page .video-gallery-content {
    padding-top: 1.5rem !important;
    padding-bottom: 2rem !important;
  }
}

/* Mobile – prevent horizontal scroll on all pages */
@media (max-width: 767px) {
  html, body, .body {
    overflow-x: hidden !important;
    max-width: 100% !important;
  }

  .container, .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
    max-width: 100%;
  }

  img {
    max-width: 100%;
    height: auto;
  }
}
