/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background-color: #202020;
  color: #ffffff;
}

/* NAV */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #1C4E80;
  position: sticky;
  top: 0;
  z-index: 100;
  flex-wrap: wrap;
}

.logo {
  font-size: 2rem;
  font-weight: bold;
  background: linear-gradient(90deg, #00BFFF, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.menu-toggle {
  display: none;
  font-size: 2rem;
  color: #ffffff;
  cursor: pointer;
}

.navbar {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.navbar a {
  color: #ffffff;
  text-decoration: none;
  position: relative;
  transition: color 0.3s;
}

.navbar a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background-color: #00BFFF;
  bottom: -4px;
  left: 0;
  transition: 0.3s;
}

.navbar a:hover {
  color: #00BFFF;
}

.navbar a:hover::after {
  width: 100%;
}

/* DROPDOWN */
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  transform: translateX(-20%);
  background-color: #1C4E80;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  min-width: 260px;
  max-width: 90vw;
  max-height: 80vh;
  overflow-y: auto;
  z-index: 999;
  scrollbar-width: thin;
  padding: 0.5rem 0;
}

.dropdown-content a {
  display: block;
  padding: 0.8rem 1rem;
  color: #ffffff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s;
}

.dropdown-content a:hover {
  background-color: rgba(0, 191, 255, 0.1);
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* HERO */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: calc(100vh - 80px);
  text-align: center;
  padding: 2rem;
}

.hero img {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid #00BFFF;
  box-shadow: 0 10px 30px rgba(0, 191, 255, 0.2);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #00BFFF;
  text-shadow: 0 0 15px rgba(0, 191, 255, 0.5);
  animation: fadeInDown 1.5s ease;
}

.hero p {
  font-size: 1.3rem;
  color: #cccccc;
  margin-top: 0.5rem;
  animation: fadeInUp 1.5s ease;
}

/* Animations */
@keyframes fadeInDown {
  0% { opacity: 0; transform: translateY(-40px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .navbar {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 1rem;
    background-color: #1C4E80;
  }

  .navbar.show {
    display: flex;
  }

  .dropdown-content {
    position: relative;
    transform: none;
    width: 100%;
    max-width: none;
    box-shadow: none;
    border-radius: 0;
  }

  .dropdown:hover .dropdown-content {
    display: none;
  }

  .dropdown.active .dropdown-content {
    display: block;
  }
}
