:root {
  --navbar-height: 90px;
}

body {
  padding-top: var(--navbar-height);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

/* ================================
   CSS VARIABLES
================================ */
:root {
  --navbar-height: 90px;
  --navbar-height-mobile: 70px;
  --brand-blue: #003b6f;
  --brand-blue-dark: #002a4a;
}

body {
  color: #222;
  padding-top: var(--navbar-height); /* FIX: offset for fixed navbar */
}

/* ================================
   NAVBAR
================================ */
.navbar {
  background: white;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 50px;
  width: auto;
}

.logo-text {
  font-family: "Anton", sans-serif;
  font-size: 40px;
  color: var(--brand-blue);
  white-space: nowrap;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.logo-link:hover {
  opacity: 0.9;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links li {
  text-align: center;
  padding: 10px 15px;
}

.nav-links a {
  color: var(--brand-blue);
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
}

.nav-links a.quote-btn {
  display: inline-block;
  padding: 8px 14px;
  background: var(--brand-blue);
  font-weight: bold;
  font-size: 16px;
  color: white;
  border-radius: 5px;
  transition: background 0.2s ease;
}

.nav-links a.quote-btn:hover {
  background: var(--brand-blue-dark);
}

/* ================================
   HAMBURGER MENU
================================ */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 1000;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: var(--brand-blue);
  border-radius: 2px;
  transition: 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ================================
   SERVICE HERO
================================ */
.service-hero {
  padding: 60px 40px 50px;
  background: #f5f7fa;
  text-align: center;
}

.service-hero h1 {
  font-size: 42px;
  color: var(--brand-blue);
  margin-bottom: 10px;
}

.service-hero p {
  font-size: 20px;
  color: #555;
  max-width: 700px;
  margin: 0 auto 30px;
}

/* FIX: Smaller, responsive hero image */
.service-hero-image {
  max-width: 700px;       /* caps the width so it's not full-bleed */
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.service-hero-image img {
  width: 100%;
  height: auto;           /* maintains aspect ratio */
  max-height: 420px;      /* prevents it from being too tall on wide screens */
  object-fit: cover;
  display: block;
}

/* ================================
   SERVICE CONTENT
================================ */
.service-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 50px 40px;
}

.service-content p {
  font-size: 18px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 20px;
}

.service-list {
  margin-top: 30px;
  padding-left: 0;
  list-style: none;
}

.service-list li {
  font-size: 17px;
  padding-left: 28px;
  margin-bottom: 14px;
  position: relative;
  color: #333;
  line-height: 1.5;
}

.service-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand-blue);
  font-weight: bold;
}

/* ================================
   CTA BANNER
================================ */
.cta-banner {
  background: #f7f7f7;
  color: var(--brand-blue);
  padding: 60px 20px;
  text-align: center;
}

.cta-banner h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.cta-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 14px 28px;
  background: var(--brand-blue);
  color: white;
  border-radius: 6px;
  font-weight: bold;
  font-size: 17px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.cta-btn:hover {
  background: var(--brand-blue-dark);
}

/* ================================
   FOOTER
================================ */
footer {
  background: var(--brand-blue);
  color: #fff;
  text-align: center;
  padding: 20px;
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 900px) {
  body {
    padding-top: var(--navbar-height-mobile);
  }

  .logo-text {
    font-size: 26px;
  }

  .hamburger {
    display: flex;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 20px 0;
    display: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    width: 100%;
    padding: 15px;
  }
}

@media (max-width: 768px) {
  .service-hero {
    padding: 40px 20px 30px;
  }

  .service-hero h1 {
    font-size: 30px;
  }

  .service-hero p {
    font-size: 16px;
  }

  .service-hero-image {
    max-width: 100%;   /* full width on small screens */
    border-radius: 8px;
  }

  .service-hero-image img {
    max-height: 260px;
  }

  .service-content {
    padding: 30px 20px;
  }

  .service-content p {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .cta-btn {
    width: 100%;
    text-align: center;
  }
}