/* GENERAL */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* RESET */
h1, h2, h3, p {
  margin: 0;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  background-color: #111;
  color: white;
}

.logo {
  margin: 0;
}

.nav-links a {
  margin-left: 20px;
  color: white;
  text-decoration: none;
}

.nav-links a:hover {
  text-decoration: underline;
}

/* SUBNAV */
.subnav {
  background-color: #111;
  padding: 12px 0;
  text-align: center;
}

.subnav a {
  color: white;
  margin: 0 15px;
  text-decoration: none;
  font-size: 16px;
}

.subnav a:hover {
  text-decoration: underline;
}

/* HERO */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to right, #0b3c6f, #001f3f);
  color: white;
  padding: 60px 40px;
  gap: 40px;
}

/* HERO TEXT */
.hero-text {
  max-width: 500px;
}

.hero-text h1 {
  margin-bottom: 10px;
  font-size: 36px;
}

.hero-text p {
  margin-bottom: 10px;
}

/* BUTTON */
.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #ff6a7a, #e63946);
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-weight: bold;
  font-size: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

/* HERO IMAGE */
.hero-image {
  display: flex;
  justify-content: flex-end;
}

.hero-image img {
  width: 400px;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

/* INTRO */
.intro {
  padding: 50px 20px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

/* CARDS */
.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 40px;
}

.card {
  flex: 1 1 300px;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: white;
}

.card a {
  display: inline-block;
  margin-top: 10px;
}

/* 🔍 SEARCH INPUT (REPORT PAGE FIX) */
input {
  padding: 12px;
  width: 320px;
  max-width: 90%;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
}

/* CONTACT FORM */
.contact-form {
  max-width: 500px;
  margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: inherit;
}

.contact-form button {
  cursor: pointer;
}

/* FOOTER */
.footer {
  background-color: #f2f2f2;
  padding: 40px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center; /* better vertical alignment */
  gap: 40px;
}

/* LEFT TEXT */
.footer-text {
  max-width: 500px;
}

.footer h2 {
  margin-bottom: 20px;
  font-size: 22px;
  color: #333;
}

.footer h3 {
  margin: 20px 0 10px;
  font-size: 18px;
  color: #333;
}

.footer p {
  line-height: 1.6;
  color: #333;
}

/* RIGHT IMAGES (FIXED SIZE) */
.footer-images {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-images img {
  height: 100px;   /* 🔥 FIX: use height, not width */
  width: auto;
}

/* DIVIDER */
.footer hr {
  margin-top: 20px;
  border: none;
  border-top: 1px solid #999;
}

/* RESPONSIVE */
@media (max-width: 800px) {

  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-image {
    justify-content: center;
  }

  .hero-image img {
    width: 100%;
    margin-top: 20px;
  }

  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    margin-top: 10px;
  }

  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-images {
    margin-top: 20px;
  }
}

/* ===== HOME BAR ===== */
.home-bar {
  background-color: #f8f9fa;
  border-bottom: 1px solid #ddd;
  padding: 12px 0;
}

.home-bar .container {
  max-width: 1100px;
  margin: 0 auto;
}

.home-bar a {
  text-decoration: none;
  color: #0b3c6f;
  font-weight: 500;
}

.home-bar a:hover {
  text-decoration: underline;
}

.hero-image {
  width: 100%;
  max-width: 800px; /* adjust this */
}

.hero-image video {
  width: 100%;
  height: auto;
  display: block;
}

.secondary-link a {
  color: #ffffff;
  font-weight: 500;
  text-decoration: underline;
  font-size: 15px;
}

.secondary-link a:hover {
  color: #ff6b6b; /* matches your button tone */
}
