body {
  font-family: sans-serif;
  margin: 0;
}

.nav-bar {
  padding: 1rem;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 10;
  background-color: transparent; /* start transparent */
  transition: background-color 0.3s ease;
}

.nav-bar.scrolled {
  background-color: #1e3a8a; /* visible color when scrolled */
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
}

.logo-link {
  text-decoration: none;
}

.logo-link:hover .logo {
  color: #93c5fd;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger-line {
  width: 100%;
  height: 3px;
  background-color: white;
  transition: all 0.3s ease;
}

.hamburger.open .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.open .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links.active {
  display: flex;
}

.nav-link {
  color: white;
  text-decoration: none;
}

.nav-link:hover {
  color: #93c5fd;
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background-color: #1e3a8a;
    padding: 1rem;
    text-align: center;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-link {
    padding: 0.5rem;
  }
}

.carousel {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  animation: slide 15s infinite;
}

.carousel img:nth-child(1) { animation-delay: 0s; }
.carousel img:nth-child(2) { animation-delay: 5s; }
.carousel img:nth-child(3) { animation-delay: 10s; }

@keyframes slide {
  0% { opacity: 0; }
  10% { opacity: 1; }
  33.33% { opacity: 1; }
  43.33% { opacity: 0; }
  100% { opacity: 0; }
}

.hero-section {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(30, 58, 138, 0.5);
  display: flex;
  align-items: center;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.hero-content {
  text-align: center;
  color: white;
}

.hero-title {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.hero-text {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.hero-button {
  background-color: white;
  color: #1e3a8a;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  text-decoration: none;
}

.hero-button:hover {
  background-color: #dbeafe;
}

.features-section {
  padding: 4rem 0;
  background-color: #f3f4f6;
}

.section-title {
  font-size: 1.875rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 3rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background-color: #1e3a8a;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: white;
}

.feature-text {
  color: white;
}

.footer {
  background-color: #1e3a8a;
  color: white;
  padding: 2rem 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.footer-columns {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
}

.footer-left,
.footer-right {
  flex: 1;
  min-width: 250px;
}

.footer-left {
  text-align: left;
}

.footer-left ul {
  list-style: none;
  padding-left: 0;
}

.footer-left ul li {
  margin-bottom: 0.5rem;
}

.footer-left a {
  color: white;
  text-decoration: none;
}

.footer-left a:hover {
  text-decoration: underline;
}

.footer-center {
  flex: 1;
  text-align: center;
  min-width: 250px;
  margin: 1rem 0;
}

.footer-center a {
  color: white;
  text-decoration: none;
}

.footer-center a:hover {
  text-decoration: underline;
}

.footer-right {
  text-align: right;
}

.footer-right a {
  color: white;
  text-decoration: none;
}

.footer-right a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .footer-left,
  .footer-center,
  .footer-right {
    text-align: center;
    margin: 1rem 0;
  }
}