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

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

  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --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 ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --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;
  /* Color highlighting when pressed on mobile devices */
  /*-webkit-tap-highlight-color: transparent;*/
}

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: var(--black-color);
  box-shadow: 0 2px 16px hsla(220, 32%, 8%, .3);
  z-index: var(--z-fixed);
}

/*=============== 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);
  /* Color highlighting when pressed on mobile devices */
  /*-webkit-tap-highlight-color: transparent;*/
}

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

.nav__toggle {
  position: relative;
  width: 32px;
  height: 32px;
}

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

.nav__close {
  opacity: 0;
}

/* Navigation for mobile devices */
@media screen and (max-width: 1118px) {
  .nav__menu {
    position: absolute;
    left: 0;
    top: 2.5rem;
    width: 100%;
    height: calc(100vh - 3.5rem);
    overflow: auto;
    pointer-events: none;
    opacity: 0;
    transition: top .4s, opacity .3s;
  }
  .nav__menu::-webkit-scrollbar {
    width: 0;
  }
  .nav__list {
    background-color: var(--black-color);
    padding-top: 1rem;
  }
}

.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 menu */
.show-menu {
  opacity: 1;
  top: 3.5rem;
  pointer-events: initial;
}

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

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

.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;
}

/* Show dropdown menu & submenu */
.dropdown__item:hover .dropdown__menu, 
.dropdown__subitem:hover > .dropdown__submenu {
  max-height: 1000px;
  transition: max-height .4s ease-in;
}

/* Rotate dropdown icon */
.dropdown__item:hover .dropdown__arrow {
  transform: rotate(180deg);
}

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

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

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

  .nav__link {
    padding-inline: 1rem;
  }

}

/* For large devices */
@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;
  }

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

  /* Show dropdown submenu */
  .dropdown__subitem:hover > .dropdown__submenu {
    opacity: 1;
    top: 0;
    pointer-events: initial;
    transition: top .3s;
  }
}
.nav__logo img {
    width: 150px; /* Adjust the width as needed */
    height: auto; /* Maintain aspect ratio */
}

/* Button Styling */
.book-demo-btn {
    display: inline-flex;
    align-items: center;
    margin: 20px;
    padding: 10px 10px;
    background-color: #18191ae2; /* Dark Blue background */
    color: white;

    font-size: 16px;
    font-weight: 500;
    border-radius: 15px; /* Round the corners */
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Button Hover Effect */
.book-demo-btn:hover {
    background-color: #002244; /* Slightly darker blue on hover */
}

/* Arrow Styling */
.book-demo-btn i {
    margin-left: 10px; /* Space between text and arrow */
    font-size: 20px; 

}

/* Optional: If you want to add custom icon from Bootstrap */
.bi-arrow-right-circle {
    font-size: 18px;
}
/* Set max-width and center the nav container */
.nav.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Mega Menu Wrapper */
.dropdown__menu.solutions-menu {
   /* display: none; */
    position: absolute;
    top: 100%;
    /* left: 50%; */
    /* right: 50%; */
    transform: translateX(-10%);
    width: 70vw; /* Force full width */
    max-width: 1000px; /* Remove cap */
    padding: 2rem 3vw; /* Add horizontal breathing room */
    background-color: #fff;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
    z-index: 1000;
    border-radius: 0px; /* remove radius for clean edge */
    display: flex;
    justify-content: space-between;
    gap: .5rem;
}


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

/* Show menu on toggle */
.dropdown__item.active .solutions-menu {
    display: flex !important;
}

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

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

/* Links */
.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;
}
/*=============== DROPDOWN ===============*/
.dropdown__item {
  position: relative;
  /* Remove max-width here if it's restricting the container */
  /* max-width: 1000px; */ 
}

.dropdown__menu {
  /* This is the key change for the width */
  min-width: 300px; /* Adjust this value to your desired width */
  max-width: 500px; /* Optional: Set a max-width to prevent it from becoming too wide */
  
  /* Keep your original dropdown menu positioning and styling */
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%); /* This centers the dropdown relative to the parent */
  
  /* Basic styling for the dropdown menu */
  background-color: var(--black-color);
  box-shadow: 0 8px 16px hsla(220, 32%, 8%, .3);
  z-index: var(--z-fixed);
  
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease-out;
}

/* Ensure these styles are kept for the links inside the dropdown */
.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;
}

/* On hover, make the menu visible and centered */
.dropdown__item:hover .dropdown__menu {
  max-height: 1000px; /* Use a large number to show all content */
  transition: max-height .4s ease-in;
}

/*
For large devices (desktop)
This section is important for the desktop view, as it overrides the mobile styles.
*/
@media screen and (min-width: 1118px) {
  .dropdown__menu {
    /* Set the desired width for desktop */
    min-width: 300px;
    max-width: 500px; /* Keeps the max-width for consistency */

    /* Position the dropdown below the parent link */
    top: 6rem;
    left: 50%; /* Center it again */
    transform: translateX(-50%); /* Centering transform */

    opacity: 0;
    pointer-events: none;
    transition: opacity .3s, top .3s;
  }
  
  /* Show dropdown menu on hover */
  .dropdown__item:hover .dropdown__menu {
    opacity: 1;
    top: 5.5rem; /* Adjust this value to position it below the nav link */
    pointer-events: initial;
    transition: top .3s;
  }
}

/* Ensure mobile menu layers above content and is clickable */
@media screen and (max-width: 1118px) {
  .nav__menu {
    z-index: 1001;            /* higher than header shadow */
    pointer-events: none;     /* default blocked */
  }
  .show-menu {
    pointer-events: auto;     /* clickable when open */
  }
}

/* Swap burger/close icons when nav has .show-icon */
.show-icon .nav__burger { opacity: 0; transform: rotate(90deg); }
.show-icon .nav__close  { opacity: 1; transform: rotate(90deg); }

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

/* (Safety) Make the toggle button sit above the sliding panel */
.nav__toggle { z-index: 1002; }

/* (Optional) Give the mobile panel a solid background so it’s obvious */
@media screen and (max-width: 1118px) {
  .nav__list { background-color: var(--black-color); }
}


/* ===== 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;
}

/* icon color blocks */
.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;
}

/* button */
.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);
}

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


/* ===== HERO IMAGE: fix mobile cropping + make desktop a bit larger ===== */

/* Make the hero media/card slightly bigger on web */
.bo-hero-media { width: 100%; }
.bo-hero-card  { width: 100%; max-width: 720px; margin-left: auto; }

/* Control the image box */
.bo-hero-image-wrap{
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: #f3f6fb;            /* shows behind image if contain adds letterbox */
  aspect-ratio: 16 / 9;            /* consistent look on desktop */
}

/* Default (desktop/web): fill nicely */
.bo-hero-image-wrap img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;               /* nice look on desktop */
  object-position: center;
}

/* MOBILE: show FULL image (no cropping) */
@media (max-width: 768px){
  .bo-hero-card { max-width: 520px; margin-inline: auto; }

  .bo-hero-image-wrap{
    aspect-ratio: 4 / 3;           /* a bit taller on mobile */
  }

  .bo-hero-image-wrap img{
    object-fit: contain;           /* IMPORTANT: stops cropping */
  }
}

/* ===== HERO IMAGE: STOP CROPPING (MOBILE + WEB) ===== */

/* Let the wrapper size naturally (no forced height/ratio) */
.bo-hero-image-wrap{
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #f3f6fb;   /* shows if image doesn't fill */
}

/* Show full image (no crop) */
.bo-hero-image-wrap img{
  display: block;
  width: 100%;
  height: auto;          /* IMPORTANT */
  object-fit: contain;   /* safety if any height is applied elsewhere */
  object-position: center;
}

/* Slightly bigger hero card on web */
@media (min-width: 1024px){
  .bo-hero-card{
    max-width: 860px;    /* increase size */
    margin-left: auto;
  }
}


/* ===== FIX GAP BETWEEN FIXED HEADER AND HERO ===== */
:root { --header-offset: 3.5rem; }          /* mobile header height */
@media (min-width: 1118px){
  :root { --header-offset: 5.5rem; }        /* desktop header height (3.5rem + 2rem) */
}

/* Remove any extra spacing added elsewhere */
.bo-hero{
  margin-top: 0 !important;
  padding-top: calc(var(--header-offset) + 10px) !important; /* small breathing space */
}/* =========================================================
   FIX: header gap + responsive hero/overview images
   (paste at END of your CSS so it overrides everything)
========================================================= */

/* 1) Correct offset for your fixed header (mobile + desktop) */
:root{
  --header-offset: var(--header-height); /* 3.5rem */
}
@media (min-width: 1118px){
  :root{
    /* your desktop nav height = header-height + 2rem */
    --header-offset: calc(var(--header-height) + 2rem);
  }
}

/* Remove the visible gap (usually caused by extra padding/margin on hero) */
.bo-hero{
  margin-top: 0 !important;
  padding-top: calc(var(--header-offset) + 8px) !important; /* small breathing room */
}

/* If any parent adds spacing above the hero content, kill it */
.bo-hero .bo-container,
.bo-hero .bo-hero-inner{
  margin-top: 0 !important;
}

/* 2) HERO IMAGE: prevent weird cropping on mobile, make a bit bigger on web */
.bo-hero-card{
  width: 100%;
}

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

/* Desktop/web: slightly taller/bigger feel */
@media (min-width: 1118px){
  .bo-hero-image-wrap{
    aspect-ratio: 15 / 8;            /* a touch taller than 16:9 */
  }
}

.bo-hero-image-wrap img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;                 /* web view looks clean */
  object-position: center;
}

/* Mobile: show full image (no aggressive crop) */
@media (max-width: 640px){
  .bo-hero-image-wrap{
    aspect-ratio: 4 / 3;             /* gives more height so it doesn’t feel cropped */
  }
  .bo-hero-image-wrap img{
    object-fit: contain;             /* prevents cutting the boiler image */
    background: #eef2f6;             /* keeps it nice if there are side gaps */
  }
}

/* 3) OVERVIEW (“What we provide”) image: center align + increase size */
.bo-overview-grid{
  align-items: center !important;     /* vertical centering with the left text */
}

.bo-overview-media{
  display: flex;
  align-items: center;
  justify-content: center;            /* keeps it centered in its column */
}

.bo-overview-image-wrap{
  width: min(560px, 100%);            /* increases size but stays responsive */
  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;
}

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