/* General Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  line-height: 1.6;
}

html {
  scroll-behavior: smooth;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 50px;
  background: #050505e0;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-img {
  max-height: 50px;
  width: auto;
}

.logo-text {
  font-size: 24px;
  font-weight: bold;
  color: #fff;
}

header nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

header nav ul li a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: color 0.3s ease;
}

header nav ul li a:hover {
  color: #1a3db5;
}

.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #1a3db5;
}

/* Dropdown Menu Styles */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-menu {
  display: none;
  position: absolute;
  background-color: #000000;
  min-width: 180px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.5);
  z-index: 1;
  list-style: none;
  padding: 10px 0;
  border-radius: 8px;
  margin-top: 5px;
}

.dropdown-menu li a {
  color: #ffffff;
  padding: 12px 20px;
  text-decoration: none;
  display: block;
  text-align: left;
  white-space: nowrap;
}

.dropdown-menu li a:hover {
  background-color: #1a3db5;
  color: #fff;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

/* Footer */
.footer {
  background: #1a3db5;
  color: #fff;
  padding: 50px 20px 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.footer-logo .logo-text {
  font-size: 26px;
  color: #fff;
}

.footer-logo .logo-img {
  max-height: 50px;
}

.footer-logo p {
  padding-left: 0;
  font-size: 16px;
  color: #ddd;
}

.footer-links h3,
.footer-contact h3 {
  font-size: 20px;
  margin-bottom: 15px;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  text-decoration: none;
  color: #fff;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: #ff8c00;
}

.footer-contact p {
  font-size: 16px;
  margin-bottom: 10px;
}

.footer-bottom {
  text-align: center;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 15px;
}

/* Mobile Responsive Fixes */
@media (max-width: 768px) {
  header {
    padding: 15px 20px;
  }

  header nav ul {
    display: none;
    flex-direction: column;
    background: #000000;
    position: absolute;
    top: 70px;
    right: 20px;
    width: 200px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
  }

  header nav ul.show {
    display: flex;
  }

  header nav ul li {
    margin: 15px 0;
    text-align: center;
  }

  .menu-toggle {
    display: block;
  }

  .footer-content {
    text-align: center;
  }

  .footer-logo {
    align-items: center;
  }

  .dropdown {
    position: static;
  }

  .dropdown > a::after {
    content: ' ▼';
    font-size: 0.7em;
    display: inline-block;
    margin-left: 8px;
    transition: transform 0.3s ease;
  }

  .dropdown a.toggled::after {
    transform: rotate(180deg);
  }

  .dropdown .dropdown-menu {
    position: static;
    display: none;
    box-shadow: none;
    background: transparent;
    padding-left: 20px;
  }

  .dropdown .dropdown-menu.show {
    display: block;
  }

  .dropdown .dropdown-menu li a {
    color: #ffffff;
    font-size: 15px;
    padding: 8px 15px;
  }
}