/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* body {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f9f9f9;
} */
body {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #001f3f; /* dark navy */
  /* padding-top: 70px; */
}


/* Navbar */
nav {
  position: absolute;  /* sits on top of hero image */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;       /* consistent height */
  padding: 0 5%;
  background: transparent;  /* no blue bar */
}

.navbar .logo {
  height: 40px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: white;       /* text readable on hero */
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
}

.nav-links a:hover,
.nav-links .active {
  color: #ffcc00;
}



/* Hero Section */
.hero {
  background: url('https://via.placeholder.com/1600x900?text=Hero+Image') no-repeat center center/cover;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 50, 0.5);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.btn-outline, .btn-fill {
  padding: 0.75rem 1.5rem;
  font-weight: bold;
  border: 2px solid white;
  text-decoration: none;
  transition: 0.3s;
}

.btn-outline {
  background: transparent;
  color: white;
}

.btn-outline:hover {
  background: white;
  color: #003366;
}

.btn-fill {
  background: white;
  color: #003366;
}

.btn-fill:hover {
  /* background: #ffcc00;
  border-color: #ffcc00;
  color: #003366; */
  color: white;
  border-color: #003366;
  background: #003366;
}

/* Services Section */
.services {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 3rem auto;
}

.service-box {
  position: relative;
  width: 30%;
  overflow: hidden;
}

.service-box img {
  width: 100%;
  display: block;
}

.service-box h3 {
  position: absolute;
  bottom: 10px;
  left: 10px;
  color: white;
  background: rgba(0,0,0,0.6);
  padding: 0.5rem 1rem;
}

/* CTA Section */
.cta {
  /* background: url('https://via.placeholder.com/1600x600?text=CTA+Background') no-repeat center center/cover; */
  color: white;
  text-align: center;
  padding: 4rem 2rem;
  position: relative;
}

.cta::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,50,0.6);
}

.cta h2, .cta a {
  position: relative;
  z-index: 2;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem 1rem;
  background: #001f3f;
  color: white;
  margin-top: 4rem;
}

footer .footer-logo {
  height: 80px;
  margin-bottom: 1rem;
}


/* About Intro */
.about-intro {
  margin: 8rem auto 4rem;
  max-width: 900px;
  line-height: 1.8;
}

.about-intro h1 {
  color: #ffffff;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.about-desc {
  color: #f0f0f0;
}

/* Mission / Vision / Values */
.mission-vision {
  background: #f5f5f5 url('https://via.placeholder.com/1600x400?text=Background') no-repeat center center/cover;
  padding: 3rem 1rem;
}

.mv-container {
  display: flex;
  justify-content: space-around;
  max-width: 1100px;
  margin: auto;
  gap: 2rem;
  flex-wrap: wrap;
}

.mv-box {
  flex: 1;
  min-width: 250px;
  background: rgba(255, 255, 255, 0.9);
  padding: 1.5rem;
  border-radius: 8px;
}

.mv-box h3 {
  margin-bottom: 1rem;
  color: #003366;
}

.mv-box ul {
  list-style: none;
  padding-left: 0;
}

.mv-box li::before {
  content: "▸ ";
  color: #003366;
}



/* Global Font Styles */
body {
  font-family: 'Inter', sans-serif;   /* clean, modern body text */
  font-weight: 400;
  /* color: #333; */
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;  /* strong industrial headers */
  font-weight: 700;
  /* color: #001f3f;   your navy brand color */
  margin-bottom: 1rem;
}

.nav-links a,
button {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Shared Hero Section Overlay for all pages */
.contact-hero,
.service-hero,
.about-hero {
  position: relative;
  height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* Overlay layer */
.contact-hero::before,
.service-hero::before,
.about-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45); /* adjust opacity for readability */
  z-index: 1;
}

/* Keep navbar + text above overlay */
.contact-hero * ,
.service-hero * ,
.about-hero * {
  position: relative;
  z-index: 2;
}

/* Contact Page Mobile Fix */
@media (max-width: 768px) {
  .map {
    width: 100%;
    height: 350px;
    display: block;
  }

  footer {
    margin-top: 1rem;   /* ensure it sits below the map */
    position: relative; /* prevent overlap */
    z-index: 1;         /* keeps it above map if needed */
  }

  footer .footer-logo {
    display: block;
    margin: 1rem auto;  /* center logo */
    max-width: 200px;   /* resize for smaller screens */
    height: auto;
  }
}

/* Alert Ribbon */
.alert-ribbon {
    display: none;
    width: 100%;
    background-color: #c0392b; /* deep red */
    color: white;
    text-align: center;
    font-weight: bold;
    padding: 12px;
    z-index: 1000;
    transform: translateY(-100%);
    transition: transform 0.5s ease-in-out;
    position: relative; /* stays in the normal page flow */
}

/* When active */
.alert-ribbon.show {
    display: block;
    transform: translateY(0);
}
