@font-face {
  font-family: 'CREATO DISPLAY';
  src: url('../fonts/CreatoDisplay-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'CREATO DISPLAY';
  src: url('../fonts/CreatoDisplay-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'CREATO DISPLAY';
  src: url('../fonts/CreatoDisplay-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* Reset for header */
.site-header * {
  box-sizing: border-box;
}

/* Main Header - Overlays video with transparent background */
.site-header {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  transition: none;
}

.site-header.scrolled {
  position: absolute !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  height: 100px;
}

/* Logo */
.header-logo {
  display: flex;
  align-items: center;
  z-index: 1001;
}

.header-logo img {
  height: 90px;
  width: auto;
}

/* Desktop Navigation */
.main-navigation {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 5px;
}

.nav-item {
  position: relative;
}

.nav-item>a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 35px 18px;
  color: #ffffff;
  text-decoration: none;
  font-family: 'CREATO DISPLAY', 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.site-header.scrolled .nav-item>a {
  color: #111019;
}

.nav-item>a:hover {
  color: #103d63;
}

.nav-item>a i {
  font-size: 12px;
  transition: transform 0.3s ease;
}

/* Active state underline */
.nav-item:not(.has-dropdown)::after {
  content: '';
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background-color: #2c92d1;
  transition: width 0.3s ease;
}

.nav-item:not(.has-dropdown):hover::after,
.nav-item.active::after {
  width: 70%;
}

/* Dropdown Menu */
.dropdown-menu,
.nav-item .dropdown-menu,
.has-dropdown .dropdown-menu {
  position: absolute !important;
  top: 100%;
  left: 0;
  min-width: 220px;
  background-color: #ffffff !important;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  padding: 10px 0;
  list-style: none !important;
  margin: 0;
  z-index: 10000 !important;
  display: block !important;
}

/* Show dropdown on hover - multiple selectors for compatibility */
.nav-item.has-dropdown:hover>.dropdown-menu,
.has-dropdown:hover>.dropdown-menu,
li.has-dropdown:hover>ul.dropdown-menu,
.nav-item:hover>.dropdown-menu {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}

.has-dropdown:hover>a i,
.nav-item.has-dropdown:hover>a i {
  transform: rotate(180deg);
}

.dropdown-menu li a {
  display: block;
  padding: 12px 25px;
  color: #111019;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

.dropdown-menu li a:hover {
  background-color: rgba(44, 146, 209, 0.1);
  color: #2c92d1;
}

/* Language Switcher */
.lang-switcher {
  position: relative;
  margin-left: 20px;
}

.lang-toggle {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  color: #ffffff;
  text-decoration: none;
  font-size: 20px;
  transition: color 0.3s ease;
}

.site-header.scrolled .lang-toggle {
  color: #111019;
}

.lang-toggle:hover {
  color: #00A896;
}

.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 80px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  padding: 8px 0;
  list-style: none;
  margin: 0;
}

.lang-switcher:hover .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-dropdown li a {
  display: block;
  padding: 8px 20px;
  color: #111019;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  text-align: center;
  transition: all 0.2s ease;
}

.lang-dropdown li a:hover,
.lang-dropdown li a.active {
  background-color: #E0F7FA;
  color: #00A896;
}

/* Mobile Toggle Button */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.site-header.scrolled .mobile-toggle span {
  background-color: #111019;
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation */
.mobile-navigation {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  height: calc(100vh - 80px);
  background-color: #ffffff;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: 999;
}

.mobile-navigation.open {
  transform: translateX(0);
}

.mobile-menu {
  list-style: none;
  margin: 0;
  padding: 20px;
}

.mobile-menu>li {
  border-bottom: 1px solid #eee;
}

.mobile-menu>li>a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  color: #111019;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
}

.mobile-menu>li>a:hover {
  color: #00A896;
}

.mobile-dropdown {
  list-style: none;
  margin: 0;
  padding: 0 0 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  border-left: 3px solid #00A896;
}

.mobile-menu>li.open .mobile-dropdown {
  max-height: 500px;
}

.mobile-dropdown li a {
  display: block;
  padding: 12px 15px;
  color: #111019;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 13px;
  text-transform: uppercase;
}

.mobile-dropdown li a:hover {
  color: #00A896;
}

/* Responsive */
@media (max-width: 1199px) {
  .main-navigation {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .mobile-navigation {
    display: block;
  }
}

@media (max-width: 768px) {
  .header-container {
    padding: 0 15px;
    height: 70px;
  }

  .header-logo img {
    height: 40px;
  }

  .mobile-navigation {
    top: 70px;
    height: calc(100vh - 70px);
  }
}

/* ============================================
   Video Banner Styles
============================================ */
.video-banner {
  position: relative;
  width: 100%;
  height: 85vh;
  overflow: hidden;
  margin-top: 0;
}

.video-banner video,
.video-banner iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  pointer-events: none;
}

.video-banner .overlay {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 77, 114, 0.5);
  z-index: 1;
}

.video-banner .banner-content {
  display: none;
}

.video-banner .banner-content p {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 30px;
  font-family: 'Open Sans', sans-serif;
}

.video-banner .cta-button {
  display: inline-block;
  padding: 15px 35px;
  background-color: #00A896;
  color: #ffffff;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.video-banner .cta-button:hover {
  background-color: #008B7A;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .video-banner .banner-content {
    padding: 100px 20px;
  }

  .video-banner .banner-content h1 {
    font-size: 32px;
  }

  .video-banner .banner-content p {
    font-size: 16px;
  }
}

/* Body padding for fixed header */
body {
  padding-top: 0;
  /* Header overlays content */
}

/* Image Banner Styles */
.image-banner {
  position: relative;
  width: 100%;
  height: 50vh;
  /* "Just put some of it" - half screen height */
  overflow: hidden;
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-banner img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  /* Focus on center */
  z-index: 1;
  filter: contrast(1.1) saturate(1.1);
  /* Slight boost for cinematic look */
}

.image-banner .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Cinematic dark overlay with gradient */
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.6) 100%);
  z-index: 2;
}

.image-banner .banner-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #ffffff;
  padding: 0 20px;
}

.image-banner .banner-content h1 {
  font-family: 'CREATO DISPLAY', sans-serif;
  font-weight: 700;
  font-size: 48px;
  text-transform: uppercase;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}