:root {
  --brand: #0d6efd;
  --dark: #0f172a;
  --muted: #64748b;
  --surface: #ffffff;
  --soft: #f8fafc;
}

* {
  box-sizing: border-box;
  max-width: 100%;
}

html {
  overflow-x: hidden;
}

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--dark);
  background: var(--surface);
  overflow-x: hidden;
  width: 100%;
}

.top-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1040;
  background: linear-gradient(90deg, #0d6efd 0%, #2563eb 100%);
}

.top-tagline {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  opacity: 0.90;
  margin-top: 2px;
  line-height: 1.4;
}

.navbar {
  top: 37px;
  z-index: 1030;
  transition: box-shadow 0.25s ease;
}

.navbar.nav-scrolled {
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.hero-section {
  padding-top: calc(7rem + 56px);
  padding-bottom: 4rem;
  background: radial-gradient(circle at 90% 20%, #dbeafe 0%, transparent 35%),
              radial-gradient(circle at 10% 80%, #e0e7ff 0%, transparent 30%),
              #fff;
}

.hero-card,
.about-card,
.contact-form,
.metric-box,
.feature-card {
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.07);
}

.metric-box {
  border: 1px solid #dbeafe;
  background: linear-gradient(135deg, #eff6ff 0%, #fff 100%) !important;
}

.feature-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card {
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.11);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.11);
}

.about-card {
  border: 1px solid #e2e8f0;
}

.about-points li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--dark);
  margin-bottom: 0.55rem;
}

.about-points li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand);
  font-weight: 700;
}

/* Vision / Mission / Values */
.vmv-card {
  border-radius: 1rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.vmv-card--accent {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.vmv-card--accent p,
.vmv-card--accent h5 {
  color: #fff;
}

.vmv-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(13, 110, 253, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
}

.vmv-card--accent .vmv-icon {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* Process steps */
.process-list {
  display: grid;
  gap: 1.1rem;
}

.process-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 0.9rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.05);
}

.process-num {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand);
  min-width: 36px;
  line-height: 1.2;
}

/* Testimonials */
.testimonial-card {
  border-radius: 1rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.11);
}

.stars {
  color: #f59e0b;
  letter-spacing: 2px;
  font-size: 1rem;
}

.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0d6efd, #2563eb);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.industry-card {
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.11);
}

.contact-form .form-control {
  border-radius: 0.75rem;
  border-color: #d1d5db;
  padding: 0.75rem 0.875rem;
}

.contact-form .form-control:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

.contact-details {
  display: grid;
  gap: 0.9rem;
}

.contact-detail-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-radius: 0.9rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
  color: inherit;
}

.contact-detail-card small {
  display: block;
  color: var(--muted);
  line-height: 1.1;
}

.contact-detail-card strong {
  display: block;
  color: var(--dark);
}

.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  background: rgba(13, 110, 253, 0.12);
  flex: 0 0 auto;
}

.floating-enquire {
  position: fixed;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1050;
  padding: 0.65rem 1rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.2);
  transform: rotate(-90deg);
}

.floating-call {
  position: fixed;
  right: 16px;
  bottom: 50px;;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #16a34a;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 1050;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.22);
}

.floating-call:hover {
  color: #fff;
  background: #15803d;
}

.enquire-modal {
  border-radius: 1rem;
  border: none;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.2);
}

.enquire-modal .form-control {
  border-radius: 0.7rem;
  border-color: #d1d5db;
}

.enquire-modal .form-control:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

.map-wrapper {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.07);
  padding: 1.25rem;
  background: #fff;
}

.map-header {
  font-size: 0.95rem;
  color: var(--dark);
}

.contact-map {
  width: 100%;
  height: 340px;
  border: 0;
  border-radius: 0.75rem;
  display: block;
}

/* Identity cards — About Us */
.identity-card {
  border-radius: 1rem;
  background: #fff;
  border: 1px solid #dbeafe;
  box-shadow: 0 8px 22px rgba(13, 110, 253, 0.08);
}

.identity-card--lead {
  background: linear-gradient(135deg, #eff6ff 0%, #fff 100%);
  border-color: #bfdbfe;
}

.identity-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(13, 110, 253, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  flex-shrink: 0;
}

.identity-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0d6efd, #2563eb);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Maintenance & Quality cards — About Us */
.mq-card {
  border-radius: 1rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.mq-card--maintenance {
  border-top: 3px solid #0d6efd;
}

.mq-card--quality {
  border-top: 3px solid #f59e0b;
}

.mq-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(13, 110, 253, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  flex-shrink: 0;
}

.mq-icon--quality {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

@media (max-width: 991.98px) {
  .top-banner {
    font-size: 0.8rem;
  }

  .navbar {
    top: 33px;
  }

  .hero-section {
    padding-top: calc(6.5rem + 52px);
  }
}

@media (max-width: 575.98px) {
  .top-banner {
    font-size: 0.75rem;
  }

  .navbar {
    top: 32px;
  }

  .hero-section {
    padding-top: calc(6rem + 48px);
    padding-bottom: 3rem;
  }

  .floating-enquire {
    right: -40px;
    border-radius: 0.55rem;
  }

  .floating-call {
    right: 10px;
    bottom: 50px;
  }

  h1.display-5 {
    font-size: 2rem;
  }
}

@media (max-width: 413px) {

  .navbar {
    top: 48px;
  }
}

/* ========== CERTIFICATES GALLERY ========== */
.cert-card {
  cursor: pointer;
  text-align: center;
  outline: none;
}

.cert-card:focus .cert-img-wrap {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.cert-img-wrap {
  position: relative;
  border-radius: 0.85rem;
  overflow: hidden;
  background: #f1f5f9;
  border: 1.5px solid #e2e8f0;
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.cert-card:hover .cert-img-wrap,
.cert-card:focus .cert-img-wrap {
  box-shadow: 0 8px 24px rgba(13, 110, 253, 0.18);
  transform: translateY(-4px);
}

.cert-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cert-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
}

.cert-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 110, 253, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.22s ease;
  border-radius: 0.85rem;
}

.cert-overlay span {
  color: #fff;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
}

.cert-card:hover .cert-overlay,
.cert-card:focus .cert-overlay {
  opacity: 1;
}

.cert-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--dark);
  margin-top: 0.55rem;
  margin-bottom: 0;
  line-height: 1.3;
}

.cert-modal-content {
  border-radius: 1rem;
  overflow: hidden;
  border: none;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.18);
}

.cert-modal-img {
  max-height: 80vh;
  border-radius: 0.5rem;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.1);
}
/* ========== END CERTIFICATES GALLERY ========== */
