/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body { font-family: 'Open Sans', sans-serif; }

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #262e6e;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  font-size: 18px;
  transition: all 0.3s ease-in-out;
}
.scroll-to-top:hover { background: #444; }

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  border-bottom: 2px lightgray solid;
}

/* Top Bar */
.top-bar {
  background: #262e6e;
  color: white;
  padding: 10px 20px;
}
.top-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.top-left a {
  color: white;
  text-decoration: none;
  font-size: clamp(0.75rem, 1.5vw, 1rem);
}
.email-icon { font-size: clamp(0.875rem, 1.6vw, 1.125rem); }

/* Navbar */
.main-navbar {
  background: white;
  font-weight: 800;
  height: 60px;
}
.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  height: 60px;
}
.logo {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: bold;
  color: #1a1a50;
  cursor: pointer;
}
.highlight { color: #a5a7df; margin-left: 5px; }

/* Hamburger */
.hamburger { display: none; font-size: 1.5rem; cursor: pointer; }

/* Desktop Nav */
.nav-links { list-style: none; display: flex; gap: clamp(0.625rem, 1.5vw, 1.25rem); }
.nav-links a {
  text-decoration: none;
  color: #1a1a50;
  font-weight: 600;
  font-size: clamp(0.875rem, 1.25vw, 1rem);
  padding: 10px 5px;
}
.nav-links > li > a:hover { border-bottom: 3px solid #262e6e; }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: 100%;
  background: white;
  border: 1px solid #ddd;
  display: none;
  min-width: 150px;
  z-index: 1000;
}
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu li { list-style: none; }
.dropdown-menu li:hover { background-color: lightblue; border-left: 3px solid #262e6e; }
.dropdown-menu li a {
  padding: 10px;
  display: block;
  color: #1a1a50;
  font-weight: 500;
}

/* Sidebar (Mobile) */
.mobile-sidebar {
  position: fixed;
  top: 0;
  left: -250px;
  width: 230px;
  height: 100%;
  background: #262e6e;
  color: white;
  padding: 20px;
  transition: left 0.3s ease;
  z-index: 10000;
}
.mobile-sidebar.open { left: 0; }
.mobile-sidebar .close-btn {
  text-align: right;
  font-size: 1.5rem;
  cursor: pointer;
  margin-bottom: 20px;
}
.mobile-sidebar ul { list-style: none; padding: 0; }
.mobile-sidebar ul li { margin: 15px 0; }
.mobile-sidebar ul li a {
  color: white;
  text-decoration: none;
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  font-weight: 600;
}

/* Active Links */
.nav-links a.active { border-bottom: 3px solid #262e6e; }
.mobile-sidebar ul li a.active { border-bottom: 3px solid white; }

/* Responsive */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: block; color: #1a1a50; }
}
