/*Header Start*/
* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: Arial, sans-serif;
    }

    header {
      background-color: white;
      border-top: 5px solid #A42A2B; /* Deep blue top border */
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 15px 30px;
      position: relative;
      box-shadow: 0 8px 10px -5px rgba(0, 0, 0, 0.3);
      z-index: 99;
    }
    
    
    .logo {
      flex: 0 0 30%;
    }

    .logo img {
      max-height: 40px;
    }

    nav {
      flex: 0 0 70%;

    }

    .nav-links {
      display: flex;
      justify-content: flex-end;
      gap: 30px;
      list-style: none;
    }

    .nav-links a {
      text-decoration: none;
      color: black;
      font-size: 16px;
      position: relative;
    }

    .nav-links a.active::after {
      content: '';
      position: absolute;
      width: 100%;
      height: 2px;
      background-color: #1c1e7c;
      bottom: -5px;
      left: 0;
      z-index: 99;
    }


    
    .user-menu {
      display: flex;
      align-items: center;
      margin-left: 20px;
      padding-left: 20px;
      border-left: 1px solid #e0e0e0;
    }

    .user-icon-container {
      position: relative;
      cursor: pointer;
    }

    .user-icon {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      background-color: #A42A2B;
      border-radius: 50%;
      color: white;
      transition: all 0.3s ease;
      border: 2px solid #A42A2B;
    }

    .user-icon:hover {
      background-color: #c53030;
      border-color: #c53030;
      transform: scale(1.05);
    }

    .user-dropdown {
      position: absolute;
      top: 100%;
      right: 0;
      background-color: white;
      border: 1px solid #e0e0e0;
      border-radius: 8px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
      min-width: 150px;
      z-index: 1000;
      opacity: 0;
      visibility: hidden;
      transform: translateY(-10px);
      transition: all 0.3s ease;
      margin-top: 8px;
      display: none;
    }

    .user-dropdown.active {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
      display: block;
    }



    .logout-btn {
      display: block;
      width: 100%;
      padding: 12px 16px;
      background-color: transparent;
      color: #A42A2B;
      border: none;
      border-radius: 0;
      font-size: 14px;
      font-weight: 600;
      text-decoration: none;
      transition: all 0.3s ease;
      text-align: left;
      box-shadow: none;
    }
    
    .logout-btn:hover {
      background-color: #f8f8f8;
      color: #c53030;
      transform: none;
      box-shadow: none;
    }

    .hamburger {
      display: none;
      flex-direction: column;
      justify-content: space-between;
      width: 25px;
      height: 18px;
      cursor: pointer;
    }

    .hamburger span {
      height: 3px;
      width: 100%;
      background-color: #1c1e7c; /* Blue hamburger */
      border-radius: 2px;
    }

    @media (max-width: 768px) {
      .nav-links {
        display: none;
        position: absolute;
        top: 65px;
        right: 0;
        background-color: white;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        padding: 15px 30px;
        gap: 15px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
      }

      .nav-links.active {
        display: flex;
        z-index: 99;
      }

      .user-menu {
        flex-direction: column;
        border-left: none;
        border-top: 1px solid #e0e0e0;
        padding-top: 15px;
        margin-top: 15px;
        margin-left: 0;
        padding-left: 0;
        align-items: flex-start;
      }

      .user-icon-container {
        align-self: flex-start;
      }

      .user-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-top: 10px;
        box-shadow: none;
        border: none;
        background-color: transparent;
      }

      .dropdown-header {
        padding: 8px 0;
        border-bottom: 1px solid #e0e0e0;
      }

      .logout-btn {
        padding: 8px 0;
        margin-top: 8px;
      }

      .hamburger {
        display: flex;
      }

      nav {
        flex: 1;
        display: flex;
        justify-content: flex-end;
      }
    }
/*Header End*/