/* ============================ 
   UMI Consultancy Navbar Layout
   ============================ */
:root {
  --blue: #0048ff;
  --green: #159b47;
  --text: #2f3a44;
  --white: #ffffff;
  --shadow: 0 2px 10px rgba(0,0,0,0.05);
  --radius: 8px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
}

/* ===== Navbar ===== */
.navbar {
  width: 100%;
  background: var(--white);
  box-shadow: var(--shadow);
  border-bottom: 1px solid #eee;
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 999;
}

/* Flex container */
.nav-container {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between; /* keeps logo left, menu right */
  align-items: center;
}

/* ===== Logo Section ===== */
.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 65px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
}

/* ===== Menu Section ===== */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px; /* spacing between links */
}

/* Common link style */
.nav-item {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  position: relative;
  padding: 6px 0;
}

/* Hover underline animation */
.nav-item::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--green);
  left: 0;
  bottom: -3px;
  transition: width 0.3s ease;
}

.nav-item:hover::after {
  width: 100%;
}

.nav-item.active {
  color: var(--green);
}

.nav-item.active::after {
  width: 100%;
}

/* Contact button (same size as links) */
.nav-button {
  text-decoration: none;
  font-weight: 600;
  color: var(--text);
  font-size: 16px;
  transition: all 0.3s ease;
  padding: 6px 0;
  position: relative;
}

.nav-button:hover::after {
  width: 100%;
}

.nav-button:hover {
  color: var(--green);
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .nav-container {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 20px;
  }

  .nav-menu {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
  }

  .logo img {
    height: 55px;
  }
}
