/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: #fff;
  color: #000;
}

header {
  width: 100%;
  background-color: #fff;
  border-bottom: 1px solid #eee;
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 70px;
  flex-wrap: nowrap;
  position: relative;
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 70px;
  position: static;
  flex-wrap: wrap;
}


nav.active {
  display: block;
}

/* Logo */
.logo {
    margin: 2px;
    padding-left: 20px;
   
}

.logo img {
    height: 60px;
    width: 60px;
    transition: all 0.3s ease;
}
/* Nav */
nav {
  display: flex;
  align-items: center;
  justify-content: center;
  position: static;
  padding: 0;
}

.main-nav {
  flex-grow: 1;
  display: flex;
  justify-content: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0 auto; /* optional, reinforces centering */
  padding: 0;
}


.nav-links li {
  position: relative;
  text-align: left;
   list-style: none;
}

.nav-links a {
  text-decoration: none;
 /* Match page background */
    font-weight: 600;
  font-size: large;
  list-style: none;
  color: #222;
  padding: 8px 14px;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #e60000;
}

.sparrow  {
  display: inline-block;
  margin-left: 8px;
  width: 0;
  height: 0;
  vertical-align: middle;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #222; /* darker, consistent with text */
}



/* Dropdown Menu */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  padding: 5px 0;
  min-width: 180px;
  z-index: 999;
}

.dropdown-menu li {
  padding: 8px 5px;
  white-space: nowrap;
}

.dropdown:hover > .dropdown-menu {
  display: flex;
  flex-direction: column;
}

/* Contact Button */
.nav-contact {
  display: flex;
  justify-content: flex-end;
  margin: left -130px;
}

.contact {
  padding: 8px 20px;
  background: #ffffff;
  color: #ff0000;
  border: 2px solid #ff0000;
  font-weight: 700;
  border-radius: 6px;
  white-space: nowrap;
  transition: background 0.3s ease, color 0.3s ease;
  text-decoration: none;
}

.contact:hover {
  background: #ff0101;
  color: #fff;
}

/* Hide hamburger on desktop */
.hamburger {
  display: none;
}

/* ===================== MOBILE ===================== */
@media (max-width: 1050px) {

  .logo {
    margin: 2px;
    padding-left: 20px;
   
}

.logo img {
    height: 60px;
    width: 60px;
    transition: all 0.3s ease;
}

  .navbar-container {
    flex-wrap: wrap;
    padding: 10px 20px;
  }

  

  .hamburger {
    display: block;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 1100;
  }

  nav.main-nav {
    display: none;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 70px;
    left: 20px;
    right: 20px;
    background: #fff;
    padding: 20px 0;
    border-top: 1px solid #eee;
    z-index: 1000;
  }

  nav.main-nav.active {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    gap: 30px;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    background: #ffffff;
    border-radius: 6px;
  }

  .dropdown-menu li {
  padding: 8px 16px;
  white-space: nowrap;
  text-align: center;
      background-color: #ffffff;
  list-style: none; /* ✅ This removes the bullet points */
}

  .dropdown.open > .dropdown-menu {
    display: flex;
    flex-direction: column;
  }

  .nav-contact {
    width: 100%;
    justify-content: center;
    margin-top: 20px;
  }
}
