
/* Header Styling */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  background: linear-gradient(90deg, #0074D9, #0056b3);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  width: 100%; /* Ensure the header spans the full width */
}

.header-container {
  width: 100%; /* Match the width of the header */
  margin: 0 auto; /* Center the container if needed */
  padding: 0 20px; /* Add horizontal padding for spacing */
  z-index: 2;
  display: flex;
  justify-content: space-between; /* Ensure space between left, center, and right sections */
  align-items: center; /* Vertically align all items */
}

/* Header Left Styling */
.header-left {
  display: flex;
  align-items: center; /* Align items horizontally */
  gap: 10px; /* Add consistent spacing between items */
  order: 1;
}

.header-left .user-info {
  text-decoration: none;
  color: #fff;
  font-size: 14px;
}

/* FlowCRM Logo */
.header-logo {
  order: 2; /* Place logo in the middle */
  text-align: center; /* Ensure text is centered */
  margin-left: auto; /* Push logo to the center */
  margin-right: auto; /* Center the logo */
  padding-left: 30px;
  padding-right: 30px;
  order: 2; /* Place logo in the middle */
}

.header-logo a {
  text-decoration: none;
  color: #fff;
  font-size: 24px;
  font-weight: bold;
}

/* Header Center Styling */
.header-center {
  display: flex;
  align-items: center; /* Align items vertically */
  justify-content: center; /* Center-align the navigation links */
  flex-grow: 1; /* Allow the center section to take up available space */
  order: 3;
}

/* Navigation Links */
.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
  flex-wrap: wrap; /* Allows wrapping of links on smaller screens */
  align-items: center; /* Vertically align items */
}

.nav-links a {
  text-decoration: none;
  color: #fff;
  font-size: 14px; /* Slightly smaller font size for better spacing */
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #f9f9f9;
}

/* Header Right Styling */
.header-right {
  display: flex;
  align-items: center; /*Align items vertically */
  justify-content: flex-end; /* Align content to the right */
  gap: 10px; /* Space between login/register links */
  order: 4;
    color: #fff;
  font-size: 14px;
    width: 300px;
}
.header-right a {
  text-decoration: none;
  color: #fff;
  font-size: 14px;
  transition: color 0.3s ease;
}
/* Mobile Section (Hidden on Desktop) */
.header-mobile-section {
  display: none; /* Hidden by default */
  align-items: center; /* Align items vertically */
  justify-content: space-between; /* Spread items across the width */
  width: 100%; /* Take full width */
  gap: 10px; /* Add spacing between items */
}

/* Desktop Section (Visible on Desktop) */
.header-desktop-section {
  display: flex; /* Visible by default */
  align-items: center; /* Align items vertically */
  justify-content: space-between; /* Spread items across the width */
  width: 300px; /* Take full width */
  gap: 10px; /* Add spacing between items */
}

/* Burger Menu Icon */
.burger-menu {
  display: none; /* Hidden by default */
  background-color: transparent;
  color: white;
  border: none;
  font-size: 42px;
  cursor: pointer;
}

/* Dropdown Menu */
.dropdown-menu {
  display: none; /* Hidden by default */
  position: absolute;
  top: 60px; /* Position below the header */
  left: 20px;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  padding: 10px;
  z-index: 10;
}

.dropdown-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dropdown-menu li {
  margin-bottom: 10px;
}

.dropdown-menu a {
  text-decoration: none;
  color: #0074D9;
  font-size: 14px;
}

.dropdown-menu a:hover {
  text-decoration: underline;
}
@media (max-width: 768px) {
  /* Show only the mobile header and hide desktop elements */
  .header-mobile-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 20px;
  }
  .header-desktop-section,
  .header-center,
  .header-right {
    display: none;
  }

  /* Arrange the items inside mobile header */
  .header-mobile-section .burger-menu {
    order: 1;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 60px;
    cursor: pointer;
  }

  .header-mobile-section .header-logo {
    order: 2;
    flex: 1;
    text-align: center;
  }

  .header-mobile-section #lang-switch {
    order: 3;
    background: transparent;
    border: none;
    font-size: 16px;
    color: #fff;
    cursor: pointer;
  }

  .burger-menu {
    display: block; /* Show burger menu icon */
  }

  /* Dropdown Menu */
  .dropdown-menu {
    display: none; /* Hidden by default */
  }

  .dropdown-menu.active {
    display: block; /* Show dropdown when active */
  }
  .desktop-logo {
    display: none;
  }
}



.footer {
  text-align: center;
  padding: 20px 0;
  background: #0074D9;
  color: #fff;
}