/* GLOBAL */
html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #f9f9f9;
  color: #333;
}

/* HEADER */
header {
  background-color: #f5f8ff;
  padding: 15px 20px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  border-bottom: 1px solid #ddd;
}

.nav {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

header img {
  height: 40px;
}

nav a {
  color: #004080;
  text-decoration: none;
  margin-left: 20px;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
}

/* HERO */
.hero {
  background: url('hero-bg.jpg') center center / cover no-repeat;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  color: white;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero h1 {
  font-size: 4.5em;
  margin: 0 0 20px;
  color: white;
}

.hero h2 {
  font-size: 2.2em;
  font-weight: bold;
  margin-bottom: 30px;
  color: white;
}

.slogan {
  font-size: 1.6em;
  font-style: italic;
  line-height: 1.6;
  color: white;
}

/* CONTAINER & SECTIONS */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
  background: #fff;
}

.container h2 {
  font-size: 2em;
  margin-bottom: 20px;
  color: #004080;
}

:target {
  scroll-margin-top: 100px;
}

.section {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start; /* aligns text to top */
  margin-bottom: 60px;
}

.section.reverse {
  flex-direction: row-reverse;
}

.section-text {
  flex: 1 1 50%;
  font-size: 1.1em; /* increased body size */
  line-height: 1.6;
}

.section-text ul {
  font-size: 1.1em;
  line-height: 1.7;
}

.section-img {
  flex: 1 1 40%;
}

.section-img img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  object-fit: cover;
}

ul {
  padding-left: 20px;
}

/* FOOTER */
footer {
  background-color: #f1f1f1;
  padding: 20px;
  font-size: 0.9em;
  color: #666;
  text-align: center;
}

.footer-address {
  margin-top: 10px;
  font-size: 0.85em;
  line-height: 1.5;
}

a {
  color: #004080;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* BACK TO TOP BUTTON */
#back-to-top {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #004080;
  color: #fff;
  border: none;
  padding: 10px 15px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

#back-to-top:hover {
  background-color: #002e5a;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .section {
    flex-direction: column;
  }

  nav {
    margin-top: 10px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  nav a {
    margin: 10px;
  }

  .hero h1 {
    font-size: 2.5em;
  }

  .hero h2 {
    font-size: 1.3em;
  }

  .slogan {
    font-size: 1em;
  }
}