/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap");

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;

  /*========== Colors ==========*/
  --black-color: hsl(0, 0%, 100%);
  --black-color-light: hsl(0, 0%, 100%);
  --black-color-lighten: hsl(0, 0%, 100%);
  --white-color: #000000;
  --body-color: hsl(0, 0%, 100%);

  /*========== Font and typography ==========*/
  --body-font: "Montserrat", sans-serif;
  --normal-font-size: .938rem;

  /*========== Font weight ==========*/
  --font-regular: 400;
  --font-semi-bold: 600;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

/*========== Responsive typography ==========*/
@media screen and (min-width: 1024px) {
  :root {
    --normal-font-size: 1rem;
  }
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1120px;
  margin-inline: 1.5rem;
}

/*=============== HEADER ===============*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  box-shadow: 0 2px 16px hsla(220, 32%, 8%, .3);
  z-index: 10000;
}

/*=============== NAV ===============*/
.nav {
  height: var(--header-height);
}

.nav__logo,
.nav__burger,
.nav__close {
  color: var(--white-color);
}

.nav__data {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-right: 20px;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  column-gap: .35rem;
  font-weight: var(--font-semi-bold);
}

.nav__logo i {
  font-weight: initial;
  font-size: 1.25rem;
}

.nav__toggle {
  position: relative;
  width: 32px;
  height: 32px;
  z-index: 10002;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.nav__burger,
.nav__close {
  position: absolute;
  width: max-content;
  height: max-content;
  inset: 0;
  margin: auto;
  font-size: 1.25rem;
  transition: opacity .1s, transform .4s;
}

.nav__close {
  opacity: 0;
}

.nav__link {
  color: var(--white-color);
  background-color: var(--black-color);
  font-weight: var(--font-semi-bold);
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color .3s;
}

.nav__link:hover {
  background-color: var(--black-color-light);
}

/* Show icon */
.show-icon .nav__burger {
  opacity: 0;
  transform: rotate(90deg);
}

.show-icon .nav__close {
  opacity: 1;
  transform: rotate(90deg);
}

/*=============== MOBILE NAV ===============*/
@media screen and (max-width: 1118px) {
  .nav {
    position: relative;
  }

  .nav__menu {
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
    background: #ffffff;
    z-index: 10001;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity .3s ease, visibility .3s ease, transform .3s ease;
  }

  .nav__menu.show-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav__menu::-webkit-scrollbar {
    width: 0;
  }

  .nav__list {
    list-style: none;
    margin: 0;
    padding: 1rem 0;
    background: #ffffff;
  }

  .dropdown__item {
    width: 100%;
    background-color: #ffffff;
  }

  .nav__link {
    display: block;
    width: 100%;
    padding: 1rem 1.25rem;
    color: #000000;
    background-color: #ffffff;
  }

  .book-demo-btn {
    display: inline-flex;
    align-items: center;
    margin: 1rem 1.25rem;
    padding: 10px 10px;
    background-color: #18191ae2;
    color: white;
    font-size: 16px;
    font-weight: 500;
    border-radius: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
  }
}

/*=============== DROPDOWN ===============*/
.dropdown__item {
  cursor: pointer;
  max-width: 1000px;
  align-items: center;
  position: relative;
}

.dropdown__arrow {
  font-size: 1.25rem;
  font-weight: initial;
  transition: transform .4s;
}

.dropdown__link,
.dropdown__sublink {
  padding: 12px;
  color: var(--white-color);
  background-color: var(--black-color-light);
  display: flex;
  align-items: center;
  column-gap: .5rem;
  font-weight: var(--font-semi-bold);
  transition: background-color .3s;
}

.dropdown__link i,
.dropdown__sublink i {
  font-size: 1.25rem;
  font-weight: initial;
}

.dropdown__link:hover,
.dropdown__sublink:hover {
  background-color: var(--black-color);
}

.dropdown__menu,
.dropdown__submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease-out;
}

.dropdown__item:hover .dropdown__menu,
.dropdown__subitem:hover > .dropdown__submenu {
  max-height: 1000px;
  transition: max-height .4s ease-in;
}

.dropdown__item:hover .dropdown__arrow {
  transform: rotate(180deg);
}

/*=============== DROPDOWN SUBMENU ===============*/
.dropdown__add {
  margin-left: auto;
}

.dropdown__sublink {
  background-color: var(--black-color-lighten);
}

/*=============== BREAKPOINTS ===============*/
@media screen and (max-width: 340px) {
  .container {
    margin-inline: 1rem;
  }

  .nav__link {
    padding-inline: 1rem;
  }
}

/*=============== DESKTOP NAV ===============*/
@media screen and (min-width: 1118px) {
  .container {
    margin-inline: auto;
  }

  .nav {
    height: calc(var(--header-height) + 2rem);
    display: flex;
    justify-content: space-between;
  }

  .nav__toggle {
    display: none;
  }

  .nav__list {
    height: 100%;
    display: flex;
    column-gap: 3rem;
  }

  .nav__link {
    height: 100%;
    padding: 0;
    justify-content: initial;
    column-gap: .25rem;
  }

  .nav__link:hover {
    background-color: transparent;
  }

  .dropdown__item,
  .dropdown__subitem {
    position: relative;
  }

  .dropdown__menu,
  .dropdown__submenu {
    max-height: initial;
    overflow: initial;
    position: absolute;
    left: 0;
    top: 6rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s, top .3s;
  }

  .dropdown__link,
  .dropdown__sublink {
    padding-inline: 1rem 3.5rem;
  }

  .dropdown__subitem .dropdown__link {
    padding-inline: 1rem;
  }

  .dropdown__submenu {
    position: absolute;
    left: 100%;
    top: .5rem;
  }

  .dropdown__item:hover .dropdown__menu {
    opacity: 1;
    top: 5.5rem;
    pointer-events: initial;
    transition: top .3s;
  }

  .dropdown__subitem:hover > .dropdown__submenu {
    opacity: 1;
    top: 0;
    pointer-events: initial;
    transition: top .3s;
  }

  .dropdown__menu {
    min-width: 300px;
    max-width: 500px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--black-color);
    box-shadow: 0 8px 16px hsla(220, 32%, 8%, .3);
    z-index: var(--z-fixed);
  }
}

.nav__logo img {
  width: 150px;
  height: auto;
}

/* Button Styling */
.book-demo-btn {
  display: inline-flex;
  align-items: center;
  margin: 20px;
  padding: 10px 10px;
  background-color: #18191ae2;
  color: white;
  font-size: 16px;
  font-weight: 500;
  border-radius: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.book-demo-btn:hover {
  background-color: #002244;
}

.book-demo-btn i {
  margin-left: 10px;
  font-size: 20px;
}

.bi-arrow-right-circle {
  font-size: 18px;
}

.nav.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Mega Menu Wrapper */
.dropdown__menu.solutions-menu {
  position: absolute;
  top: 100%;
  transform: translateX(-10%);
  width: 70vw;
  max-width: 1000px;
  padding: 2rem 3vw;
  background-color: #fff;
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
  z-index: 1000;
  border-radius: 0px;
  display: flex;
  justify-content: space-between;
  gap: .5rem;
}

.solutions-dropdown {
  position: relative;
  z-index: 2000;
}

.dropdown__item.active .solutions-menu {
  display: flex !important;
}

.solution-column {
  flex: 1;
  min-width: 180px;
}

.solution-column h4 {
  font-size: 14px;
  font-weight: 600;
  color: #888;
  margin-bottom: 10px;
}

.solution-column .dropdown__link {
  display: block;
  padding: 6px 0;
  color: #000;
  font-weight: 500;
  text-decoration: none;
}

.solution-feature-box {
  flex: 1.2;
  background-color: #000;
  color: #fff;
  border-radius: 20px;
  padding: 2rem;
  font-size: 1.2rem;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.solution-feature-box a {
  color: #fff;
  font-weight: bold;
  text-decoration: underline;
  margin-top: 1rem;
  display: inline-block;
}

/* Optional: prevent background scroll when menu is open */
.no-scroll {
  overflow: hidden;
  height: 100vh;
}

/* ===== Base ===== */
:root{
  --ink: #0b1220;
  --muted: #6b7a8c;
  --bg: #ffffff;
  --teal: #0f766e;
  --teal-dark: #155e75;
  --card-border: rgba(11, 18, 32, 0.10);
  --shadow: 0 10px 30px rgba(0,0,0,.08);
  --container: 1200px;
}

.ieng-container{
  width: min(92vw, var(--container));
  margin-inline: auto;
}

/* ===== Sections 1 & 2 ===== */
.ieng-info-section{
  background: var(--bg);
  padding: 28px 0;
}

.ieng-mini-title{
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
}

.ieng-mini-line{
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), var(--teal-dark));
}

.ieng-info-text{
  margin: 0;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 1050px;
}

/* ===== Locations ===== */
.ieng-locations{
  background: var(--bg);
  padding: 18px 0 46px;
}

.ieng-loc-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

.ieng-loc-card{
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  min-height: 260px;
}

.ieng-loc-head{
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}

.ieng-loc-title{
  margin: 0;
  font-size: 22px;
  font-weight: 900;
  color: var(--ink);
}

.ieng-loc-icon{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #0b1220;
}

.ieng-loc-card--au .ieng-loc-icon{ background: rgba(59,130,246,.25); }
.ieng-loc-card--in .ieng-loc-icon{ background: rgba(245,158,11,.28); }
.ieng-loc-card--fj .ieng-loc-icon{ background: rgba(16,185,129,.25); }

.ieng-loc-row{
  margin: 10px 0 0;
  color: var(--ink);
  font-size: 16px;
}

.ieng-loc-row a{
  color: #1d4ed8;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ieng-loc-address{
  margin: 12px 0 16px;
  color: var(--muted);
  line-height: 1.6;
}

.ieng-loc-btn{
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--teal-dark);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s ease, filter .2s ease;
}

.ieng-loc-btn:hover{
  transform: translateY(-1px);
  filter: brightness(1.05);
}

@media (max-width: 980px){
  .ieng-loc-grid{ grid-template-columns: 1fr; }
  .ieng-loc-card{ min-height: auto; }
}

/* ===== HERO IMAGE ===== */
.bo-hero-media { width: 100%; }
.bo-hero-card  { width: 100%; max-width: 720px; margin-left: auto; }

.bo-hero-image-wrap{
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #eef2f6;
  aspect-ratio: 16 / 9;
}

.bo-hero-image-wrap img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

@media (min-width: 1118px){
  .bo-hero-image-wrap{
    aspect-ratio: 15 / 8;
  }
}

@media (max-width: 640px){
  .bo-hero-card{
    max-width: 520px;
    margin-inline: auto;
  }

  .bo-hero-image-wrap{
    aspect-ratio: 4 / 3;
  }

  .bo-hero-image-wrap img{
    object-fit: contain;
    background: #eef2f6;
  }
}

@media (min-width: 1024px){
  .bo-hero-card{
    max-width: 860px;
    margin-left: auto;
  }
}

/* ===== FIX GAP BETWEEN FIXED HEADER AND HERO ===== */
:root {
  --header-offset: var(--header-height);
}

@media (min-width: 1118px){
  :root {
    --header-offset: calc(var(--header-height) + 2rem);
  }
}

.bo-hero{
  margin-top: 0 !important;
  padding-top: calc(var(--header-offset) + 8px) !important;
}

.bo-hero .bo-container,
.bo-hero .bo-hero-inner{
  margin-top: 0 !important;
}

/* ===== OVERVIEW IMAGE ===== */
.bo-overview-grid{
  align-items: center !important;
}

.bo-overview-media{
  display: flex;
  align-items: center;
  justify-content: center;
}

.bo-overview-image-wrap{
  width: min(560px, 100%);
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 18px;
  margin: 0;
}

.bo-overview-image-wrap img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 980px){
  .bo-overview-image-wrap{
    width: 100%;
    aspect-ratio: 16 / 9;
  }
}