/* Global Styles */
body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f9f9f9;
  transition: all 0.3s ease-in-out;
}

/* Navigation */
/* Navigation */
nav {
  background-color: #004d80;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0;
  padding: 0;
}
nav ul li {
  margin: 0;
}
nav ul li a {
  display: block;
  color: white;
  padding: 12px 16px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  white-space: nowrap; /* prevents text from wrapping */
}
nav ul li a:hover,
nav ul li a.active {
  background-color: #005fa3;
}

/* Responsive nav fix */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    align-items: center;
  }
  nav ul li {
    width: 100%;
    text-align: center;
  }
  nav ul li a {
    width: 100%;
    padding: 14px 0;
  }
}


/* ✅ Ensure visibility on smaller screens */
@media (max-width: 768px) {
  nav ul li a.active {
    color: #ffffff !important;
    background-color: #003366 !important;
  }
}

/* Hero Section */
.home-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 60px 30px;
  background: linear-gradient(145deg, #e6f2ff, #ffffff);
}
.hero-content {
  max-width: 500px;
}
.hero-content h2 {
  font-size: 2.2em;
  color: #004d80;
}
.hero-image {
  max-width: 400px;
  width: 100%;
  border-radius: 10px;
}

/* Floating Button */
.floating-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(45deg, #0077cc, #00aaff);
  color: white;
  padding: 12px 18px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 10px;
}
.floating-btn:hover {
  background-color: #005fa3;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-in-out;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 600px) {
  nav ul {
    flex-direction: column;
    align-items: center;
  }

  nav ul li {
    width: 100%;
    text-align: center;
  }

  nav ul li a {
    display: block;
    padding: 10px 0;
  }
}


