/* ----------- GENERAL ----------- */
body {
  font-family: "Segoe UI", Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #f9fafc;
  color: #333;
}

/* ----------- HEADER ----------- */
header {
  background: #004080;
  color: white;
  text-align: center;
  padding: 1em 0;
}

/* ----------- SUBPAGE HEADER ----------- */
header.subpage {
  position: relative;
}

header.subpage a {
  color: white;               
  text-decoration: none;
  font-weight: 500;
  position: absolute;
  left: 20px;                 
  top: 50%;
  transform: translateY(-50%);
}

header.subpage a:hover {
  text-decoration: underline; 
}

/* ----------- NAVIGATION BAR ----------- */
nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  background: #003060;
}

nav ul li {
  position: relative;
}

nav ul li a {
  color: white;
  text-decoration: none;
  padding: 14px 20px;
  display: block;
}

nav ul li a:hover {
  background: #0050a0;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #003060;
  min-width: 180px;
  z-index: 1;
}

.dropdown-content a {
  color: white;
  padding: 12px 16px;
  display: block;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* ----------- INTRO SECTION ----------- */
.intro-section {
  max-width: 1100px;
  margin: 60px auto;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 40px;
}

.intro-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.photo-container {
  flex: 0 0 350px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.photo-container img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: 50% 15%;
  display: block;
  border-radius: 10px;
}

.text-container {
  flex: 1;
  font-size: 1.1rem;
  line-height: 1.7;
}

/* ----------- FOOTER ----------- */
footer {
  text-align: center;
  background: #003060;
  color: white;
  padding: 0.8em 0;
  font-size: 0.9em;
  margin-top: 60px;
}

/* ----------- RESPONSIVE ----------- */
@media (max-width: 850px) {
  .intro-container {
    flex-direction: column;
    align-items: center;
  }

  .photo-container {
    flex: none;
    width: 90%;
  }

  .photo-container img {
    height: 360px;
  }

  .text-container {
    width: 100%;
    text-align: center;
  }
}

