/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* VARIABLES (IMPORTANT FIX) */
:root {
  --header-height: 80px;
  --header-height-scrolled: 60px;
}

/* HEADER */
.ros-header {
  position: sticky;
  top: 0;
  width: 100%;
  background: #fff;
  z-index: 999;
  transition: all 0.3s ease;
}

/* SCROLLED */
.ros-header.scrolled {
  background: rgba(27, 25, 28, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* CONTAINER */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 16px;
}

/* NAV */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: var(--header-height);
  transition: 0.3s;
}

.ros-header.scrolled .nav {
  min-height: var(--header-height-scrolled);
}

.logo {
  color: #0b173c;
  text-decoration: none;
}

/* LOGO */
.logo img {
    height: 80px;
    width: 100px;
    object-fit: contain;
}

/* MENU DESKTOP */
.menu {
  display: flex;
  list-style: none;
  gap: 10px;
}

.menu li a {
  padding: 10px 15px;
  text-decoration: none;
  color: #222;
  font-weight: 600;
  border-radius: 6px;
  transition: color 0.2s ease, background 0.2s ease;
  position: relative;
}

.menu li a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 15px;
  right: 15px;
  height: 2px;
  background: #f15a24;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
  border-radius: 2px;
}

.menu li a:hover::after {
  transform: scaleX(1);
}

.menu li a:hover {
  color: #f15a24;
}

/* SCROLLED TEXT */
.ros-header.scrolled .menu li a {
  color: #fff;
}

.ros-header.scrolled .menu li a:hover {
  color: #f15a24;
}

/* HAMBURGER */
.hamburger {
  width: 30px;
  height: 22px;
  cursor: pointer;
  display: none;
  position: relative;
  z-index: 1001;
}

.hamburger span {
  position: absolute;
  width: 100%;
  height: 3px;
  background: #000;
  transition: 0.4s;
}

.ros-header.scrolled .hamburger span {
  background: #fff;
}

.hamburger span:nth-child(1){ top:0; }
.hamburger span:nth-child(2){ top:9px; }
.hamburger span:nth-child(3){ top:18px; }

.hamburger.active span:nth-child(1){
  transform: rotate(45deg);
  top: 9px;
}
.hamburger.active span:nth-child(2){
  opacity: 0;
}
.hamburger.active span:nth-child(3){
  transform: rotate(-45deg);
  top: 9px;
}

/* =========================
   MOBILE MENU (FIXED)
========================= */
@media (max-width: 991px) {

  .hamburger {
    display: block;
  }

  .menu {
    position: fixed;
    left: -100%;
    width: 100%;
    top: var(--header-height);
    height: calc(100vh - var(--header-height));
    background: #fff;
    flex-direction: column;
    transition: 0.4s ease;
    overflow-y: auto;
  }

  /* SCROLL FIX */
  .ros-header.scrolled .menu {
    top: var(--header-height-scrolled);
    height: calc(100vh - var(--header-height-scrolled));
  }

  .menu.active {
    left: 0;
  }

  .menu li {
    border-bottom: 1px solid #eee;
   
  }
  .ros-header.scrolled .menu li a {
  color: #0f0f0f;
}

  .menu li a {
    padding: 15px 20px;
    display: block;
    font-size: 18px;
  }
}



/* SMALL MOBILE */
@media (max-width: 480px) {

  :root {
    --header-height: 70px;
    --header-height-scrolled: 55px;
  }

  .logo img {
    height: 70px;
    width: 100px;
    object-fit: contain;
  }
}