  /* header */
  header>* {
      position: relative;
      z-index: 1;
  }

  header {
      position: relative;
      background: rgba(52, 152, 219, 0.25);
      color: #fff;
      padding: 10px 0 10px;
      text-align: center;
      /* margin-bottom: 40px; */
      backdrop-filter: blur(16px) saturate(180%);
      -webkit-backdrop-filter: blur(16px) saturate(180%);
      border-bottom: 1px solid rgba(255, 255, 255, 0.25);
      box-shadow: 0 4px 24px 0 rgba(52, 152, 219, 0.07);
      overflow: visible;
      /* margin-bottom: 100px; */
      z-index: 1000;
      /* Added to ensure header stays above other content */
  }

  header::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      z-index: 0;
      background: linear-gradient(120deg, #6dd5fa 0%, #2980b9 50%, #ffffffcc 100%);
      opacity: 0.6;
      filter: blur(12px);
      animation: crystalMove 8s linear infinite alternate;
      pointer-events: none;
  }

  footer {
      position: relative;
      background: rgba(52, 152, 219, 0.25);
      backdrop-filter: blur(16px) saturate(180%);
      -webkit-backdrop-filter: blur(16px) saturate(180%);
      color: rgb(235, 232, 229);
      text-align: center;
      padding: 20px;
      margin-top: 100px;
      border-top: 1px solid rgba(255, 255, 255, 0.25);
      box-shadow: 0 -4px 24px 0 rgba(52, 152, 219, 0.07);
      overflow: visible;
  }

  footer::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      z-index: 0;
      background: linear-gradient(120deg, #6dd5fa 0%, #2980b9 50%, #ffffffcc 100%);
      opacity: 0.6;
      filter: blur(12px);
      animation: crystalMove 8s linear infinite alternate;
      pointer-events: none;
  }

  footer * {
      position: relative;
      z-index: 1;
  }

  @keyframes crystalMove {
      0% {
          background-position: 0% 50%;
      }

      100% {
          background-position: 100% 50%;
      }
  }

  .header-top {
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
  }

  .logo {
      border-radius: 4px;
      position: absolute;
      left: -10%;
      top: 70%;
      transform: translateY(-50%);
      height: 90px;
  }

  header h1 {
      font-size: 2.3rem;
      background: linear-gradient(45deg, #ffffff, #ffffff);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  header a {
      font-size: 1.2rem;
      font-weight: 100;
      margin-top: 0;
      color: #ffffff;
      text-decoration: none;
  }

  header a:hover {
      color: #666;
      transition: 0.3s all;
  }

    .header_subtitle a {
      font-size: 1.1rem;
      background: linear-gradient(45deg, #074473, #010508);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      font-weight: 350;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  }

  .header_subtitle a:hover {
      font-size: 1.1rem;
      color: white;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  }


  .header_subtitle {
      font-size: 1.1rem;
      background: linear-gradient(45deg, #074473, #010508);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      margin-bottom: 5px;
      font-weight: 500;
      text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  }


  .subtitle {
      font-size: 1.1rem;
      color: #f0f0f0;
      margin-bottom: 5px;
      font-weight: 500;
      text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  }


  /* Menu */
  nav.menu {
      margin-top: 15px;
  }

  nav.menu ul {
      list-style: none;
      display: flex;
      justify-content: center;
      gap: 50px;
  }

  nav.menu ul li a {
      background: linear-gradient(45deg, #074473, #010508);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      text-decoration: none;
      font-weight: 600;
      padding: 5px 22px;
      position: relative;
      transition: color 0.3s ease, border-radius 0.3s ease;
      z-index: 1;
  }

  nav.menu ul li a:hover {
      color: #05223d;
      border-radius: 0px;
  }

  nav.menu ul li a::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(135deg, #e6e4e3 0%, #c7bcb0 100%);
      border-radius: 0px;
      border-top-right-radius: 8px;
      border-bottom-left-radius: 8px;
      opacity: 0;
      z-index: -1;
      transition: opacity 0.3s ease;
  }

  nav.menu ul li a:hover::before {
      opacity: 1;
  }

  /* Hamburger Menu Icon */
  .hamburger {
      display: none;
      position: absolute;
      top: 20px;
      right: 30px;
      cursor: pointer;
      flex-direction: column;
      gap: 5px;
  }

  .hamburger span {
      display: block;
      width: 25px;
      height: 3px;
      background-color: white;
  }

  /* Dropdown Styles - Fixed z-index */
  .dropdown {
      position: relative;
      display: inline-block;
      z-index: 1000;
  }

  .dropdown-content {
      display: none;
      position: absolute;
      left: 50%;
      top: 100%;
      transform: translateX(-50%);
      /* background: linear-gradient(120deg, #6dd5fa 0%, #2980b9 50%); */
      background: rgba(128, 196, 241, 0.851);
      backdrop-filter: blur(16px) saturate(180%);
      -webkit-backdrop-filter: blur(16px) saturate(180%);

      min-width: 195px;
      box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
      z-index: 1002;
      /* Increased to ensure it appears above header */
      border-radius: 4px;
      margin-top: 5px;

      /* padding: 0px 92px; */
  }

  .dropdown-content a {
      color: rgb(255, 255, 255);
      font-size: 1.2rem;
      padding: 12px 16px;
      text-decoration: none;
      display: block;
  }

  .dropdown-content a:hover {
      background-color: #e7e5e5;
  }

  .dropdown:hover .dropdown-content {
      display: block;
  }

  /* Active Page Highlight */
  nav.menu ul li a.active-page {
      color: #071a46;
      font-weight: 500;
      position: relative;
  }

  nav.menu ul li a.active-page::after {
      content: '';
      position: absolute;
      bottom: -5px;
      left: 0;
      width: 100%;
      height: 2px;
      background-color: #071a46;
  }

  /* Responsive Styles */
  @media (max-width: 1368px) {
      .logo {
          left: -3%;
      }

      header h1 {
          font-size: 2.0rem;
      }

      .header_subtitle {
          font-size: 1rem;
      }
  }

  @media (max-width: 1068px) {
      .logo {
          left: 0px;
          height: 80px;
      }

      header h1 {
          font-size: 1.6rem;
      }

      .header_subtitle {
          font-size: 0.9rem;
      }
  }

  @media (max-width: 768px) {
      header h1 {
          font-size: 1.3rem;
      }

      .logo {
          left: 2.5%;
          height: 55px;
          top: 15%;
          transform: translateY(-10%);
      }

      nav.menu ul {
          gap: 30px;
      }

      nav.menu ul li a {
          font-size: 1.0rem;
      }
  }

  @media (max-width: 650px) {
      .header {
          margin-bottom: 30px;
      }

      .logo {
          left: -2%;
          height: 52px;
          top: 8%;
          transform: translateY(-20%);
      }

      .hamburger {
          margin-top: 0px;
          display: flex;
      }

      header h1 {
          margin-top: 15px;
          font-size: 1.3rem;
          margin-left: 70px;
          margin-right: 70px;
      }

      nav.menu {
          display: none;
          margin-top: 10px;
      }

      nav.menu.active {
          display: block;
      }

      nav.menu ul {
          flex-direction: column;
          align-items: center;
          gap: 15px;
          padding: 10px 0;
      }
  }