/* Reset */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

/* Navbar Base */
nav {
  background: #ffffff;
  height: 90px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Logo */
.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}
.logo:hover {
  color: #0073e6;
}

/* Nav Links */
nav ul {
  display: flex;
  gap: 25px;
  align-items: center;
}

nav ul li {
  list-style: none;
}

nav ul li a {
  color: #012458;
  font-size: 1rem;
  font-weight: 500;
  padding: 8px 0;
  position: relative;
  transition: color 0.3s ease;
}

/* Underline animation */
nav ul li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: #0073e6;
  transition: width 0.3s ease;
}

nav ul li a:hover {
  color: #0073e6;
}
nav ul li a:hover::after {
  width: 100%;
}

/* Active link */
nav ul li a.active {
  color: #0073e6;
}
nav ul li a.active::after {
  width: 100%;
}

/* Menu Icon (mobile) */
.checkbtn {
  font-size: 26px;
  color: #fff;
  cursor: pointer;
  display: none;
}
.menu-icon {
  font-size: 28px;  /* adjust size */
  color: #161616;
}

/* Hide checkbox */
#check {
  display: none;
}

/* Mobile Responsive */
@media (max-width: 650px) {
  nav {
    padding: 0 10px;
  }

  nav ul {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: #111;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    transition: left 0.4s ease;
  }

  #check:checked ~ ul {
    left: 0;
  }

  .checkbtn {
    display: block;
  }

  nav ul li a {
    font-size: 1.3rem;
  }
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-logo-icon {
    max-height: 60px;
    height: auto;
    width: auto;
}
.site-logo-text {
    max-height: 40px;
    height: auto;
    width: auto;
}



.site-name {
    color: #012458;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 1px;
}

@media (max-width: 650px) {
    .logo-container {
        justify-content: center;
        width: 100%;
    }
    /* .site-name {
        font-size: .70rem;
    } */
    .site-logo-icon {
      max-height: 50px;  /* still recognizable */
    }
    .site-logo-text {
      max-height: 20px;  /* keeps text legible but small */
    }
    /* #site-image{
      display: none;
    } */
  }

  @media (max-width: 500px) {
    .logo-container {
        justify-content: center;
        width: 100%;
    }
    
    .site-logo-icon {
      max-height: 45px;  /* still recognizable */
    }
    .site-logo-text {
      max-height: 18px;  /* keeps text legible but small */
    }
    
  }