/* ===================================================================
 * Header & layout styles extracted from front_pages/templates/header.php
 * Served as a long-lived external stylesheet for caching.
 * v176 (2026-05-25)
 * =================================================================== */

body {
  font-family: "Open Sans", sans-serif;
  top: 0 !important;
}

/* Topbar / topnav --------------------------------------------------- */
.topbar { background: var(--theme_dark_blue); }
.topnav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.topnav > li {
  position: relative;
  padding: 13px 10px;
  color: #fff;
}
.topnav > li > a {
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 5px;
  color: #fff;
}
.topnav > li > a i {
  font-size: 23px;
  font-weight: 200;
}
.topnav > li img {
  width: 20px;
  height: 20px;
}

/* Brand & dropdowns ------------------------------------------------- */
a.navbar-brand img {
  height: 50px;
  width: auto;
}
.dropdown_menu {
  position: absolute;
  top: 90%;
  left: 0;
  background-color: #fff;
  display: none;
  z-index: 1000;
  border-radius: 8px;
  box-shadow: #959da533 0 8px 24px;
  max-height: 400px;
  overflow-y: auto;
  overflow-x: hidden;
  min-width: 250px;
}
.dropdown_menu li a {
  display: block;
  width: 100%;
  color: #333;
  padding: 10px;
  border-radius: 5px;
}
.dropdown_menu li a:hover { background-color: #f5f5f5; }
.dropdown_menu li a.active { color: var(--theme_blue); }
.topnav > li:hover .dropdown_menu { display: block; }

.navbar > .container { position: relative; }

/* Main header ------------------------------------------------------- */
.header {
  width: 100%;
  left: 0;
  z-index: 999;
  background-color: #fff;
  position: absolute;
  top: 51px;
}
.header.show {
  position: fixed;
  top: 0;
  box-shadow: 0 2px 6px #0000002e;
}
.header .navbar {
  padding: 14px 0;
  box-shadow: 0px 1px 3px 1px #f1f1f1;
}
.header .navbar-nav .nav-item {
  position: relative;
  padding-left: 30px;
  display: flex;
  gap: 5px;
  align-items: center;
}
.header .navbar-nav .nav-item:hover .dropdown_menu { display: block; }
.header .navbar-nav .nav-link {
  padding: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 19.36px;
  text-align: left;
  color: var(--theme_para_color);
}
.header .navbar-nav .nav-link.active,
.header .navbar-nav .nav-link:hover { color: var(--theme_blue); }

.header.sticky {
  animation: slideDown 0.35s ease-out;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 999;
}
@keyframes slideDown {
  from { transform: translateY(-100%); }
  to   { transform: translateY(0); }
}

.header .header_right {
  position: relative;
  display: flex;
  gap: 10px;
  align-items: center;
}
.header .header_right .form-control {
  height: 44px;
  border-radius: 50px;
  border: 1px solid #d2d2d2;
}
.header .header_right .form-control::placeholder { color: #3339; }

/* Hero section ------------------------------------------------------ */
.hero-section {
  background: none;
  padding: 0;
  min-height: 600px;
  margin-top: 82px;
  position: relative;
}
.hero-bg-img {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /*object-position: 35px center;*/
  z-index: 0;
  pointer-events: none;
}
@media (max-width: 1300px) {
  .hero-bg-img {
    /*object-position: 35px center;*/
  }
}
@media (max-width: 991.98px) {
  .hero-bg-img {
    /*object-position: center;*/
  }
  .hero-section {
    min-height: 480px;
  }
  .hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(163deg, #fff, #ffffff3d);
    z-index: 1;
  }
}
.hero-section::after {
  content: "";
  position: absolute;
  background: url(../img/hero-patern.svg) no-repeat left center;
  width: 60%;
  height: 100%;
  top: 0;
  z-index: 1;
}
.banner-caption h1 {
  font-size: 36px;
  font-weight: 600;
  color: #1d3d78;
}
.banner-caption p {
  font-weight: 600;
  color: var(--theme_dark_blue);
}
.hero-container { width: 100%; }

/* Misc UI ----------------------------------------------------------- */
.head-highlight-link { font-weight: 700; color: #1d3d78; }
.menu-toggle-close {
  text-align: right;
  background: red;
  padding: 2px 8px;
  color: #fff;
  font-weight: 700;
  border-radius: 15px;
  float: right;
  margin-top: -15px;
}

/* Height reservations for CLS prevention */
.top_trending {
  min-height: 700px;
}
.brandSlider {
  min-height: 90px;
}
.pressReleaseSlider {
  min-height: 420px;
}

