/* Core Document & Layout Reset Rules */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: rgba(255, 255, 255, .5);;
}

/* Header Container */
.header {
  background-color: #1a1a2e;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
}

/* Typography & Brand Logo Styling */
.logo {
  color: #ffffff;
  font-size: 24px;
  font-weight: 700;
  text-decoration: none;
}

.logo span {
  color: #00adb5;
}

/* Nav Structural Components */
.nav-list {
  display: flex;
  list-style: none;
  align-items: center;
}

.nav-link {
/*  color: #eeeeee; */
  color:#c4c4c4;
  text-decoration: none;
  padding: 10px 15px;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s ease;
  display: block;
}

.nav-link:hover {
  color: rgb(149, 149, 149);
}

.arrow {
  font-size: 12px;
  margin-left: 4px;
  display: inline-block;
}

/* Desktop Dropdown Submenu Structural Architecture */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: rgb(49, 86, 120);
  min-width: 180px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border-radius: 4px;
  list-style: none;
  display:none ; /* Keep hidden by default */
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 1000;
}

.dropdown-menu li a {
  color: #c4c4c4;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-size: 14px;
  transition: background 0.2s ease, color 0.2s ease;
}

.dropdown-menu li a:hover {
  background-color: rgb(0, 31, 59,.5);
  color: rgb(149, 149, 149);
}

/* Desktop Hover Activation Trigger */
@media (min-width: 769px) {
  .dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Interactive Toggle Button Markup */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.menu-toggle .bar {
  height: 3px;
  width: 100%;
  background-color: rgb(149, 149, 149);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Responsive Framework Media Query (Mobile Breaks) */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex; /* Expose hamburger switch button */
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: -100%; /* Hidden offscreen by default */
    width: 100%;
    height: calc(100vh - 60px);
    background-color: rgb(49, 86, 120);
    transition: left 0.4s cubic-bezier(0.1, 0.8, 0.3, 1);
    overflow-y: auto;
    z-index: 10;

  }

  /* Active Class To Slide Navigation Menu Open */
  .nav-menu.active {
    left: 0;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 0;
  }

  .nav-list li {
    width: 100%;
  }

  .nav-link {
    padding: 15px 25px;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }

  /* Inline Mobile Adjustments For Dropdowns */
  .dropdown-menu {
    position: static;
    background-color: rgb(49, 86, 120);
    box-shadow: none;
    border-radius: 0;
    width: 100%;
    padding-left: 15px;
  }

  /* JavaScript uses this to toggle submenu layout on click */
  .dropdown.open .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
  }

  /* Animated Hamburger transforms to an 'X' */
  .menu-toggle.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}



.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

.logo img {
  width: 60%;
  /* Scales down responsively with the container */
  height: auto;
  /* Keeps the original aspect ratio */
  min-width: 200px;
  /* Stops shrinking once it hits 300px */
  object-fit: contain;
}