* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

.navbar {
  background: #ffffff;
  padding: 14px 40px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  text-decoration: none;
}

.logo img {
  width: 82px;
  height: auto;
  display: block;
  object-fit: contain;
}

/* NEW wrapper for text + slogan */
.logo-brand {
  display: flex;
  flex-direction: column;
  align-items: center; /* ✅ CENTER horizontally */
  justify-content: center;
}

/* Main name */
.logo-text {
  display: flex;
  align-items: center;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  letter-spacing: -0.8px;
  margin-top: 1px;
}

.logo-text .exceltech {
  color: #163d7a;
}

.logo-text .plus {
  color: #46a9e8;
}

/* NEW slogan */
.logo-slogan {
  font-size: 9px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #163d7a;
  line-height: 1;
  margin-top: 4px;
  white-space: nowrap;
  text-align: center; /* ✅ center text */
}

/* Menu */
.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
  margin-right: 30px;
}

.nav-menu li a {
  text-decoration: none;
  color: #111;
  font-weight: 500;
  transition: 0.3s;
  padding: 8px 12px;
  border-radius: 4px;
}

.nav-menu li a:hover {
  color: #46a9e8;
  background: rgba(70, 169, 232, 0.08);
}

/* Hamburger */
.hamburger {
  display: none;
  font-size: 26px;
  cursor: pointer;
  padding: 5px;
  border-radius: 4px;
  transition: background 0.3s;
  z-index: 1001;
}

.hamburger:hover {
  background: rgba(0,0,0,0.05);
}

/* Mobile */
@media (max-width: 768px) {
  .navbar {
    padding: 14px 20px;
  }

  .logo {
    gap: 6px;
  }

  .logo img {
    width: 58px;
  }

  .logo-text {
    font-size: 22px;
    letter-spacing: -0.5px;
  }

  .logo-slogan {
    font-size: 7px;
    letter-spacing: 1.6px;
    margin-top: 4px;
  }

  .nav-menu {
    position: fixed;
    top: -100%;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 100vh;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 80px 0 30px 0;
    transition: top 0.4s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow-y: auto;
  }

  .nav-menu.active {
    top: 0;
  }

  .nav-menu li {
    width: 100%;
    text-align: center;
  }

  .nav-menu li a {
    display: block;
    padding: 15px 20px;
    width: 100%;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-size: 18px;
  }

  .nav-menu li a:hover {
    background: rgba(70, 169, 232, 0.1);
  }

  .nav-menu li:last-child a {
    border-bottom: none;
  }

  .hamburger {
    display: block;
    margin-left: auto;
  }
}