body {
  font-family: Arial, sans-serif;
  margin: 0;
  background: #f9f9f9;
  color: #333;
}

:root {
  /* Responsive base font-size using clamp(min, preferred, max) */
  --base-font-size: clamp(16px, 1.2vw + 0.6rem, 18px);
  font-size: var(--base-font-size);
}

header {
  background: #004466;
  color: white;
  padding: 15px;
  text-align: center;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 1100px;
  margin: 0 auto;
}

.site-nav {
  display: flex;
  gap: 12px;
  align-items: center;
}

.nav-toggle {
  display: none; /* shown on small screens */
  background: transparent;
  border: 0;
  padding: 8px;
}

.nav-toggle .hamburger,
.nav-toggle .hamburger::before,
.nav-toggle .hamburger::after {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: transform 200ms ease, opacity 200ms ease;
}
.nav-toggle .hamburger::before,
.nav-toggle .hamburger::after {
  content: '';
  position: relative;
}
.nav-open .site-nav {
  display: flex;
  position: absolute;
  top: 60px;
  right: 12px;
  background: #004466;
  padding: 12px;
  border-radius: 8px;
  flex-direction: column;
}

nav a {
  color: white;
  margin: 0 10px;
  text-decoration: none;
}

.hero {
  background: #e0f7fa;
  padding: 50px;
  text-align: center;
}

.btn {
  background: #004466;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
}

section {
  padding: 20px;
}

/* Hero Section */


.hero {
  /* Use a solid fallback color here; the visual hero is provided by the inline image
     which is absolutely positioned inside .hero-bg and will cover the frame. */
  background-color: #071826;
  color: #fff;
  position: relative; /* establish positioning context for .hero-bg */
  min-height: 360px; /* ensure hero has visible height */
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  inset: 0; /* top:0; right:0; bottom:0; left:0 */
  width: 100%; height: 100%;
  z-index: 0; /* place behind content but above page background */
  overflow: hidden;
}

/* Slideshow styles */
.hero-slideshow {
  position: relative;
  width: 100%;
  height: 100%;
}
.hero-slideshow .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 600ms ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-slideshow .slide.active {
  opacity: 1;
  z-index: 0;
}
.hero-slideshow picture, .hero-slideshow img.hero-gif {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.slide-caption {
  position: absolute;
  left: 16px;
  bottom: 20px;
  background: rgba(0,0,0,0.4);
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  font-weight: 600;
  z-index: 2;
}
.slide-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  color: white;
  border: 0;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 3;
}
.slide-control.prev { left: 12px; }
.slide-control.next { right: 12px; }
.slide-indicators { position: absolute; left: 50%; transform: translateX(-50%); bottom: 12px; display:flex; gap:8px; z-index:3 }
.slide-indicators button { width:10px; height:10px; border-radius:50%; border:0; background:rgba(255,255,255,0.5); }
.slide-indicators button.active { background:white; }

.hero-gif {
  /* Make slide images flow normally inside each slide. Slides are absolutely positioned;
     images should fill their slide via width/height and object-fit (see .hero-slideshow picture rules).
     Keep a subtle overlay via opacity if desired. */
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
  display: block;
  position: relative;
}

.hero-content {
  padding: 100px 20px;
  position: relative; /* keep content above the background image */
  z-index: 2;
}

/* Hero entrance animation */
.hero-content {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 420ms ease, transform 420ms ease;
}
.hero-content.animate {
  opacity: 1;
  transform: translateY(0);
}

.hero h2 {
  font-size: 2.5em;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2em;
  margin-bottom: 30px;
}

/* Value Proposition Cards */
.value {
  background: #f0f8ff;
  padding: 50px 20px;
  text-align: center;
}

.cards {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  width: 250px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Card animation and hover */
.cards .card {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 360ms ease, transform 360ms ease, box-shadow 220ms ease;
}
.cards .card.animate {
  opacity: 1;
  transform: translateY(0);
}
.card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 10px 22px rgba(0,0,0,0.12);
}

.card h3 {
  margin-bottom: 10px;
}

/* Impact Section */
.impact {
  padding: 50px 20px;
  text-align: center;
}

.impact ul {
  list-style: none;
  padding: 0;
}

.impact li {
  margin: 10px 0;
  font-weight: bold;
}

footer {
  background: #004466;
  color: white;
  text-align: center;
  padding: 10px;
}

.service-block {
  background: #ffffff;
  margin: 20px auto;
  padding: 24px;
  border-radius: 10px;
  max-width: 1100px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.services-hero {
  background: linear-gradient(180deg,#e8f7fb,#f7fbff);
  padding: 36px 20px;
  text-align: center;
}

.service-block h3 {
  color: #003a57;
  margin-bottom: 10px;
}

.service-block p {
  margin: 8px 0 12px 0;
  line-height: 1.5;
}

.service-block ul {
  margin: 0 0 12px 20px;
}

.service-packages table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}

.service-packages th, .service-packages td {
  border: 1px solid #e6eef3;
  padding: 10px;
  text-align: left;
}

.faq-item h4 {
  margin: 12px 0 6px 0;
  color: #004466;
}

.cta-large {
  background: #004466;
  color: #fff;
  padding: 28px 20px;
  text-align: center;
  border-radius: 8px;
  margin: 24px auto;
  max-width: 1100px;
}

/* Basic form styles (apply to contact page inputs) */
input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 10px 12px;
  margin: 8px 0 16px 0;
  border: 1px solid #d8e6ec;
  border-radius: 6px;
  box-sizing: border-box;
  font-size: 1rem;
}

/* Responsive tweaks */
@media (max-width: 992px) {
  .hero-content {
    padding: 80px 18px;
  }

  .hero h2 {
    font-size: 2.1em;
  }

  .hero p {
    font-size: 1.05em;
  }

  .card {
    width: 45%;
  }

  .service-block, .cta-large {
    padding: 20px;
    margin: 18px;
  }
}

@media (max-width: 768px) {
  header {
    padding: 12px;
    text-align: left;
  }

  nav {
    display: flex;
    flex-direction: row;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  nav a {
    display: inline-block;
    padding: 6px 8px;
    margin: 4px 6px 4px 0;
    font-size: 0.95rem;
  }

  .hero {
    min-height: 260px;
  }

  .hero-content {
    padding: 60px 14px;
  }

  .hero h2 {
    font-size: 1.75em;
  }

  .hero p {
    font-size: 1em;
  }

  .cards {
    gap: 12px;
  }

  .card {
    width: calc(50% - 12px);
  }

  .impact, .value {
    padding: 30px 12px;
  }

  /* Show hamburger and hide nav until opened */
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    display: none;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 16px;
  }

  header {
    text-align: center;
  }

  nav {
    justify-content: center;
  }

  .hero-content {
    padding: 40px 12px;
  }

  .hero h2 {
    font-size: 1.5em;
  }

  .card {
    width: 100%;
  }

  .service-block, .cta-large {
    margin: 12px;
    padding: 16px;
  }

  .btn {
    display: inline-block;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }
}

/* Header logo: larger for better visibility */
.header-logo { height:140px; width:auto; image-rendering:optimizeQuality; }
@media (max-width:900px){ .header-logo{height:96px;} }
/* Footer logo (small inline variant) */
.footer-logo { height:20px; width:auto; vertical-align:middle; display:inline-block; margin:0 8px; }