/* TOP BAR */

.topbar{
background:#0f172a;
color:white;
font-size:14px;
padding:8px 0;
}

.topbar-flex{
display:flex;
justify-content:space-between;
align-items:center;
}

/* HEADER */

/* HEADER */
.site-header{
    background:#ffffff;
    box-shadow:0 2px 10px rgba(0,0,0,0.08);
    position:sticky;
    top:0;
    z-index:1000;
}

.nav-container{
    max-width:1200px;
    margin:auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:10px 20px;
}

/* LOGO */
.logo{
    display:flex;
    align-items:center;
    text-decoration:none;
}

.logo img{
    height:45px;
    margin-right:10px;
}

.company-name{
    font-weight:700;
    color:#0b3c6f;
}

.tagline{
    font-size:12px;
    color:#777;
}

/* NAVIGATION */
.side-menu ul{
    display:flex;
    list-style:none;
    gap:25px;
}

.side-menu a{
    text-decoration:none;
    color:#333;
    font-weight:600;
}

.side-menu a:hover{
    color:#0b3c6f;
}

/* MENU BUTTON (hidden on desktop) */
.menu-toggle{
    display:none;
    font-size:26px;
    background:none;
    border:none;
    cursor:pointer;
}
/* MOBILE NAVIGATION */

@media (max-width:768px){

.side-menu{
    position:fixed;
    top:0;
    right:-250px;
    width:250px;
    height:100%;
    background:#ffffff;
    box-shadow:-2px 0 10px rgba(0,0,0,0.1);
    transition:0.3s;
    padding-top:80px;
}

.side-menu ul{
    flex-direction:column;
    gap:20px;
    padding-left:30px;
}

.side-menu.active{
    right:0;
}

.menu-toggle{
    display:block;
}

}


/* ================= STICKY NAV + SLIDER (RESPONSIVE) ================= */

/* NAVBAR */
.site-header{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #fff;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 10px 20px;
  height: auto; /* remove fixed height */
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* NAV CONTAINER FLEX */
.nav-container{
  width: 100%;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.logo{
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img{
  height: 80px;
  width: auto;
}

/* LOGO TEXT */
.logo-text{
  display: flex;
  flex-direction: column;
}

.company-name{
  font-size: 18px;
  font-weight: 700;
}

.tagline{
  font-size: 12px;
}

/* ================= SLIDER ================= */

#logo-slider{
  position: fixed;
  top: 100px;
  left: 0;
  width: 100%;
  z-index: 500; /* LOWER than nav */
}

/* Prevent overlap */
body{
  padding-top: 170px;
}

/* ================= SLIDER CONTENT ================= */

.logo-slider{
  overflow: hidden;
  width: 100%;
}

.logo-track{
  display: flex;
  width: max-content;
  animation: scroll 35s linear infinite;
}

.logo-track img{
  height: 60px;
  margin: 0 25px;
  object-fit: contain;
}

/* Smooth infinite scroll */
@keyframes scroll{
  from{
    transform: translateX(0);
  }
  to{
    transform: translateX(-50%);
  }
}

/* ================= MOBILE ================= */
@media(max-width:768px){

  .site-header{
    padding: 8px 12px;
  }

  .logo img{
    height: 55px;
  }

  .company-name{
    font-size: 14px;
  }

  .tagline{
    font-size: 10px;
  }

  /* STACK NAV IF NEEDED */
  .nav-container{
    flex-wrap: wrap;
  }

  /* SLIDER POSITION */
  #logo-slider{
    top: 85px;
  }

  body{
    padding-top: 140px;
  }

  /* SMALLER LOGOS */
  .logo-track img{
    height: 45px;
    margin: 0 15px;
  }
}

@media(max-width:480px){

  .logo img{
    height: 45px;
  }

  .company-name{
    font-size: 12px;
  }

  .tagline{
    display: none; /* clean mobile look */
  }

  #logo-slider{
    top: 70px;
  }

  body{
    padding-top: 120px;
  }

  .logo-track img{
    height: 35px;
    margin: 0 10px;
  }
}

@media(min-width:769px) and (max-width:1024px){

  .logo img{
    height: 65px;
  }

  #logo-slider{
    top: 95px;
  }

  body{
    padding-top: 150px;
  }

  .logo-track img{
    height: 50px;
  }
}

.nav-menu{
  display: flex;
}

@media(max-width:768px){

  .nav-menu{
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    display: none;
    flex-direction: column;
  }

  .nav-menu.active{
    display: flex;
  }
}

/* FIX DROPDOWN OVER SLIDER */
.nav-menu{
  position: relative;
  z-index: 1100;
}

.dropdown-menu{
  position: absolute;
  z-index: 1200; /* HIGHER than slider */
}

.dropdown{
  position: relative;
}

/* Default link style */
.nav-link {
  color: #333;
  text-decoration: none;
  padding: 10px 15px;
  display: inline-block;
  transition: all 0.3s ease;
}

/* Active (highlighted) link */
.nav-link.active {
  color: #00a651; /* Green */
  font-weight: 600;
  border-bottom: 2px solid #00a651;
}

/* Optional hover effect */
.nav-link:hover {
  color: #00a651;
}