/* ===== Base Styles ===== */
@font-face {
  font-family: 'Open Sans' !important;
  font-style: normal !important;
  font-weight: 400 !important;
  src: local('Open Sans Regular'), local('OpenSans-Regular'), 
       url(https://fonts.gstatic.com/s/opensans/v14/cJZKeOuBrn4kERxqtaUH3VtXRa8TVwTICgirnJhmVJw.woff2) format('woff2') !important;
}

@font-face {
  font-family: 'Open Sans' !important;
  font-style: normal !important;
  font-weight: 700 !important;
  src: local('Open Sans Bold'), local('OpenSans-Bold'), 
       url(https://fonts.gstatic.com/s/opensans/v14/k3k702ZOKiLJc3WVjuplzOgdm0LZdjqr5-oayXSOefg.woff2) format('woff2') !important;
}

body, p {
  font-family: 'Open Sans', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
  width: 100% !important;
}

/* ===== Header Structure ===== */
header {
  width: 100% !important;
}

/* ===== Combined Top Row (Country Menu + Logo) ===== */
.top-row {
  background-color: #e76a23 !important; /* brand orange */
  width: 100% !important;
  height: 50px !important; /* reduced height */
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 0 15px !important;
  box-sizing: border-box !important;
}

.country-menu-container {
  width: 50% !important; /* takes half width */
  display: flex !important;
  justify-content: flex-start !important;
}

.country-list {
  display: flex !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  align-items: center !important;
}

.country-item {
  margin: 0 15px !important;
  position: relative !important;
}

.country-item:not(:last-child)::after {
  content: "|" !important;
  color: rgba(0,0,0,0.4) !important;
  margin-left: 15px !important;
}

.country-link {
  color: black !important;
  text-decoration: none !important;
  font-size: 14px !important;
  position: relative !important;
  transition: color 0.3s ease !important;
  padding: 0 !important;
  background: none !important;
  border: none !important;
  outline: none !important;
}

.country-link:hover,
.country-link:focus {
  color: white !important;
  text-decoration: none !important;
}

.country-link::after {
  content: "" !important;
  position: absolute !important;
  width: 0 !important;
  height: 2px !important;
  bottom: -2px !important;
  left: 50% !important;
  background-color: white !important;
  transition: width 0.3s ease, left 0.3s ease !important;
  border-radius: 2px !important;
}

.country-link:hover::after,
.country-link:focus::after {
  width: 100% !important;
  left: 0 !important;
}

.logo-container {
  width: 50% !important; /* takes other half width */
  display: flex !important;
  justify-content: flex-start !important;
  margin-left: 20px;
  align-items: center !important;
}

.logo-img {
  height: 40px !important; /* reduced logo size */
  width: auto !important;
}

/* ===== Navigation Row ===== */
.nav-row {
  width: 100% !important;
  background-color: #feb201 !important;
  height: 40px !important;
}

.main-nav {
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  height: 100% !important;
}

.nav-list {
  display: flex !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 100% !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 50px !important;
}

.nav-list li {
  position: relative !important;
}

.nav-list li:not(:last-child)::after {
  content: "|" !important;
  color: rgba(0, 0, 0, 0.5) !important;
  position: absolute !important;
  right: -25px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
}

.nav-list a {
  color: black !important;
  text-decoration: none !important;
  font-size: 16px !important;
  position: relative !important;
  transition: color 0.3s ease !important;
  padding: 0 !important;
  background: none !important;
  border: none !important;
}

.nav-list a:hover {
  color: white !important;
  text-decoration: none !important;
}

.nav-list a::after {
  content: "" !important;
  position: absolute !important;
  width: 0 !important;
  height: 2px !important;
  bottom: -5px !important;
  left: 50% !important;
  background-color: white !important;
  transition: width 0.3s ease, left 0.3s ease !important;
  border-radius: 2px !important;
}

.nav-list a:hover::after {
  width: 100% !important;
  left: 0 !important;
}

/* ===== Responsive Styles ===== */
@media (max-width: 1024px) {
  .logo-img {
    height: 35px !important;
  }
  
  .nav-list {
    gap: 40px !important;
  }
}

@media (max-width: 768px) {
  .top-row {
    height: auto !important;
    flex-direction: column !important;
    padding: 10px 0 !important;
  }
  
  .country-menu-container,
  .logo-container {
    width: 100% !important;
    justify-content: center !important;
  }
  
  .logo-container {
    margin-top: 0px !important;
  }
  
  .country-list {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 10px 15px !important;
  }
  
  .country-item {
    margin: 0 !important;
  }
  
  .country-item:not(:last-child)::after {
    display: none !important;
  }
  
  .logo-img {
    height: 35px !important;
  }
  
  .nav-row {
    height: auto !important;
    padding: 10px 0 !important;
  }
  
  .nav-list {
    flex-wrap: wrap !important;
    gap: 15px 30px !important;
  }
  
  .nav-list li:not(:last-child)::after {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .logo-img {
    height: 30px !important;
  }
  
  .nav-list {
    gap: 10px 20px !important;
  }
  
  .nav-list a {
    font-size: 14px !important;
  }
}