:root {
  --rab-navy: #071d4a;
  --rab-blue: #1f67a8;
  --rab-sky: #3b86c5;
  --rab-ink: #13213b;
  --rab-muted: #65728a;
  --rab-soft: #f3f7fb;
  --rab-line: #dbe5f0;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--rab-ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

.top-bar {
  background: var(--rab-navy);
  padding: 10px 0;
}

.top-bar a,
.top-bar span {
  color: rgba(255, 255, 255, 0.9);
}

.top-bar i {
  color: #7db7ea;
  margin-right: 6px;
}

.main-header {
  box-shadow: 0 8px 28px rgba(7, 29, 74, 0.08);
  z-index: 1020;
}

.navbar {
  min-height: 104px;
}

.navbar-brand img {
  width: 150px;
 
  object-fit: contain;
}

.navbar-nav {
  gap: 2px;
}

.navbar .nav-link {
  color: var(--rab-ink);
  font-size: 14px;
  font-weight: 700;
  padding: 12px 10px;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: var(--rab-blue);
}

.nav-cta {
  background: var(--rab-blue);
  border-radius: 6px;
  color: #fff !important;
  margin-left: 8px;
  padding-inline: 18px !important;
}

.nav-cta:hover,
.nav-cta:focus {
  background: var(--rab-navy);
}

.hero-section {
  color: #fff;
  overflow: hidden;
  position: relative;
}

.hero-slide {
  align-items: center;
  background-position: center;
  background-size: cover;
  display: flex;
  min-height: 680px;
  padding: 130px 0 105px;
  position: relative;
}

.hero-slide::before {
  background: linear-gradient(110deg, rgba(7, 29, 74, 0.95), rgba(31, 103, 168, 0.87));
  content: "";
  inset: 0;
  position: absolute;
}

.hero-slide > .container {
  position: relative;
  z-index: 2;
}

.inspection-slide {
  background-image: url("../assets/slider1.jpg");
}

.maintenance-slide {
  background-image: url("../assets/slider2.jpg");
}

.training-slide {
  background-image: url("../assets/slider3.jpg");
}

.hero-section h1 {
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 800;
  line-height: 1.05;
  margin: 16px 0 24px;
  max-width: 880px;
}

.hero-text {
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  margin-bottom: 34px;
  max-width: 760px;
}

.hero-panel {
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.22);
  color: var(--rab-ink);
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 34px;
}

.hero-panel img {
  max-width: 100%;
  width: 300px;
}

.hero-panel-title {
  color: var(--rab-navy);
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 6px;
}

.btn {
  border-radius: 6px;
  font-weight: 700;
  padding: 12px 22px;
}

.btn-primary {
  background: var(--rab-blue);
  border-color: var(--rab-blue);
}

.btn-primary:hover,
.btn-primary:focus {
  background: #144f88;
  border-color: #144f88;
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.7);
}

.section-padding {
  padding: 92px 0;
}

.bg-soft {
  background: var(--rab-soft);
}

.section-kicker {
  color: var(--rab-blue);
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.hero-section .section-kicker,
.promo-band .section-kicker {
  color: #b8dcfb;
}

h2 {
  color: var(--rab-navy);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.16;
  margin-bottom: 18px;
}

.section-title {
  margin: 0 auto 46px;
  max-width: 780px;
  text-align: center;
}

.section-title p,
.section-padding p {
  color: var(--rab-muted);
}

.about-image {
  align-items: flex-end;
  background:
    linear-gradient(160deg, rgba(7, 29, 74, 0.2), rgba(31, 103, 168, 0.45)),
    url("../assets/about.jpg") center/cover;
  border-radius: 8px;
  display: flex;
  min-height: 470px;
  overflow: hidden;
  padding: 24px;
}

.about-image-card {
  align-items: center;
  background: #fff;
  border-left: 5px solid var(--rab-blue);
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(7, 29, 74, 0.18);
  display: flex;
  gap: 14px;
  padding: 18px;
}

.about-image-card i {
  color: var(--rab-blue);
  font-size: 36px;
}

.about-image-card span {
  color: var(--rab-navy);
  font-weight: 800;
}

.fact-box {
  border: 1px solid var(--rab-line);
  border-radius: 8px;
  height: 100%;
  padding: 18px;
}

.fact-box strong,
.fact-box span {
  display: block;
}

.fact-box strong {
  color: var(--rab-navy);
  font-size: 18px;
}

.fact-box span {
  color: var(--rab-muted);
  margin-top: 3px;
}

.promo-band {
  background: linear-gradient(120deg, var(--rab-navy), var(--rab-blue));
  color: #fff;
  padding: 54px 0;
}

.promo-band.alt {
  background: linear-gradient(120deg, #0b2a60, #2f7dbb);
}

.promo-inner {
  align-items: center;
  display: flex;
  gap: 30px;
  justify-content: space-between;
}

.promo-inner h2 {
  color: #fff;
  font-size: clamp(28px, 4vw, 40px);
  margin: 0;
  max-width: 840px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--rab-line);
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(7, 29, 74, 0.06);
  height: 100%;
  padding: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
  border-color: rgba(31, 103, 168, 0.45);
  box-shadow: 0 22px 48px rgba(7, 29, 74, 0.1);
  transform: translateY(-4px);
}

.service-card i {
  align-items: center;
  background: rgba(31, 103, 168, 0.1);
  border-radius: 8px;
  color: var(--rab-blue);
  display: inline-flex;
  font-size: 30px;
  height: 58px;
  justify-content: center;
  margin-bottom: 22px;
  width: 58px;
}

.service-card h3 {
  color: var(--rab-navy);
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--rab-muted);
  margin-bottom: 0;
}

.service-card.compact h3 {
  font-size: 20px;
}

.feature-card {
  padding: 34px;
}

.footer {
  background: #fff;
  padding-top: 76px;
}

.footer-logo {
  height: auto;
  margin-bottom: 22px;
  max-width: 180px;
}

.footer h2 {
  font-size: 26px;
  margin-bottom: 14px;
}

.footer p {
  color: var(--rab-muted);
  max-width: 680px;
}

.contact-list {
  display: grid;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  align-items: flex-start;
  display: flex;
  gap: 14px;
}

.contact-list i {
  align-items: center;
  background: rgba(31, 103, 168, 0.1);
  border-radius: 8px;
  color: var(--rab-blue);
  display: inline-flex;
  flex: 0 0 42px;
  font-size: 20px;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.contact-list span,
.contact-list a {
  color: var(--rab-muted);
}

.contact-list a:hover {
  color: var(--rab-blue);
}

.footer-bottom {
  background: var(--rab-navy);
  color: rgba(255, 255, 255, 0.84);
  margin-top: 58px;
  padding: 18px 0;
}

@media (max-width: 1199.98px) {
  .navbar-collapse {
    border-top: 1px solid var(--rab-line);
    margin-top: 14px;
    padding: 12px 0 18px;
  }

  .nav-cta {
    display: inline-block;
    margin-left: 0;
    margin-top: 6px;
  }
}

@media (max-width: 991.98px) {
  .hero-slide {
    min-height: auto;
    padding: 88px 0 76px;
  }

  .promo-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 575.98px) {
  .navbar-brand img {
    width: 158px;
  }

  .section-padding {
    padding: 68px 0;
  }

  .hero-panel {
    padding: 24px;
  }

  .about-image {
    min-height: 360px;
  }

  .service-card,
  .feature-card {
    padding: 24px;
  }
}
