/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f1faff;
  color: #023e8a;
  line-height: 1.6;
  padding: 0 1rem;
}

/* Header */
header {
  background-color: #0077b6;
  padding: 1rem 0;
  text-align: center;
  border-bottom: 2px solid #0096c7;
}

header h1 {
  font-size: 2rem;
  color: #ffffff;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 0.5rem;
}

nav a {
  text-decoration: none;
  color: #ffffff;
  font-weight: bold;
}

nav a:hover {
  color: #90e0ef;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 2rem 0;
  background-color: #caf0f8;
  margin: 2rem 0;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  animation: fadeIn 1s ease-in-out;
  overflow: hidden;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h2 {
  font-size: 1.8rem;
  color: #0077b6;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: #023e8a;
}

.hero button {
  background-color: #0096c7;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
}

.hero button:hover {
  background-color: #0077b6;
}

/* Hero Image Crossfade */
.hero-image-container {
  position: relative;
  width: 100%;
  max-width: 100vw;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin: 1rem 0;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-image.active {
  opacity: 1;
  z-index: 1;
}

/* Footer */
footer {
  text-align: center;
  padding: 1rem 0;
  background-color: #0077b6;
  color: #ffffff;
  border-top: 2px solid #0096c7;
}