/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: #f9f9f9;
  color: #111;
}

.oju-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-top: 6px solid #4CAF50; /* Thick green top border */
    border-bottom: 1px solid rgb(86 105 160);
}

/* Shared container */
.header-container {
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
}

/* Single row header */
.single-row-header {
  background-color: #1E3A8A; /* Deep blue */
  height: 60px;
  display: flex;
  align-items: center;
}

/* Logo area */
.logo-box {
  display: flex;
  align-items: center;
}

.logo-box img {
  height: 45px;
  max-height: 100%;
  filter: brightness(0) invert(1); /* Makes logo white */
  object-fit: contain;
}



/* Navigation */
.main-nav {
  flex-grow: 1;
  margin-left: 20px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  align-items: center;
}

.main-nav li {
  position: relative;
}

.main-nav a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  padding: 20px 8px;
  display: block;
  transition: color 0.3s ease;
}

.main-nav a:hover,
.main-nav li.active a {
  color: #4CAF50;
}

/* Dropdown Menu */
.main-nav .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  padding: 10px 0;
  display: none;
  min-width: 200px;
  border-radius: 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  z-index: 100;
}

.main-nav .has-dropdown:hover .dropdown {
  display: block;
}

.main-nav .dropdown li {
  padding: 5px 20px;
}

.main-nav .dropdown a {
  color: #1E3A8A;
  position: relative;
  padding: 8px 0;
}

.main-nav .dropdown a:hover {
  color: #4CAF50;
}

.main-nav .dropdown a:hover::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #4CAF50;
}

/* Header Right Icons */
.header-icons {
  display: flex;
  gap: 15px;
  align-items: center;
}

.icon i {
  font-size: 20px;
  color: white;
  cursor: pointer;
}

.language-select {
  background: #fff;
  color: #1E3A8A;
  font-weight: bold;
  border: 1px solid #3B82F6;
  border-radius: 4px;
  padding: 5px 10px;
  font-size: 14px;
}

/* Hamburger menu */
.hamburger {
  display: none;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background: white;
}

/* ------------------------ */
/* Mobile Styles */
@media (max-width: 900px) {
  .header-container {
    justify-content: center;
    position: relative;
  }

  .main-nav {
    display: none;
  }

  .header-icons {
    display: none;
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    justify-content: center;
    align-items: center;
    height: 100%;
    position: absolute;
    right: 20px;
    top: 0;
  }
}

/* ------------------------ */
/* Mobile drawer */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: none;
  z-index: 999;
}

.mobile-menu-overlay.active {
  display: block;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100%;
  background: white;
  z-index: 1000;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu-header {
  background: linear-gradient(90deg, #1E3A8A, #3B82F6);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
}

.mobile-menu-header img {
  height: 40px;
  filter: brightness(0) invert(1); /* Make mobile logo white too */
}

.close-btn {
  background: none;
  border: none;
  font-size: 26px;
  color: white;
  cursor: pointer;
}

.mobile-menu-list {
  list-style: none;
  padding: 0 20px;
  margin-top: 10px;
  overflow-y: auto;
  flex-grow: 1;
}

.mobile-menu-list li {
  border-bottom: 1px solid #eee;
  padding: 12px 0;
}

.mobile-menu-list a {
  text-decoration: none;
  color: #111;
  font-weight: 500;
  display: block;
}

.mobile-menu-list .has-submenu > a {
  cursor: pointer;
}

.mobile-menu-list .submenu {
  display: none;
  padding-left: 15px;
  padding-top: 8px;
}

.mobile-menu-list .has-submenu.open .submenu {
  display: block;
}
