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

:root {
  --header-height: 3.5rem;
  --body-font: "Montserrat", sans-serif;
  --normal-font-size: 0.938rem;
  --font-regular: 400;
  --font-medium: 500;
  --font-semi-bold: 600;

  --text-color: #111827;
  --bg-color: #ffffff;
  --menu-bg: #ffffff;
  --menu-hover: #f3f4f6;
  --border-color: rgba(17, 24, 39, 0.08);
  --shadow-soft: 0 6px 24px rgba(15, 23, 42, 0.08);
  --z-fixed: 1000;
}

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

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--bg-color);
  color: var(--text-color);
  overflow-x: hidden;
  padding-top: var(--header-height);
}

body.no-scroll {
  overflow: hidden;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

button {
  font: inherit;
}

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

/* ================= HEADER ================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: #ffffff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  z-index: var(--z-fixed);
}

.nav {
  height: 100%;
  display: flex;
  align-items: center;
}

.nav__data {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
}

.logo-img {
  width: 135px;
  max-width: 100%;
  height: auto;
  display: block;
}

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

.nav__burger,
.nav__close {
  position: absolute;
  inset: 0;
  margin: auto;
  width: max-content;
  height: max-content;
  font-size: 1.35rem;
  color: var(--text-color);
  transition: opacity 0.2s ease, transform 0.3s ease;
}

.nav__close {
  opacity: 0;
}

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

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

/* ================= MOBILE MENU ================= */
.nav__menu {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  background: var(--menu-bg);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 1001;
}

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

.nav__list {
  display: flex;
  flex-direction: column;
  padding: 0.4rem 0 1rem;
  background: #ffffff;
}

.dropdown__item {
  width: 100%;
}

.nav__link {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 1rem 1.2rem;
  color: var(--text-color);
  font-weight: var(--font-semi-bold);
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav__link:hover,
.nav__link.active-link {
  background: var(--menu-hover);
  color: #000000;
}

.nav__cta-item {
  padding: 0.9rem 1.2rem 0.2rem;
}

.book-demo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 0.85rem 1rem;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(90deg, #2b2b2b, #1e1e1e);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: var(--font-medium);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.book-demo-btn:hover {
  background: linear-gradient(90deg, #1f1f1f, #111111);
}

.book-demo-btn:active {
  transform: translateY(1px);
}

/* ================= SMALL MOBILE ================= */
@media screen and (max-width: 340px) {
  .container {
    padding-inline: 0.75rem;
  }

  .nav__link {
    padding: 0.9rem 1rem;
  }

  .nav__cta-item {
    padding: 0.8rem 1rem 0.2rem;
  }

  .logo-img {
    width: 118px;
  }
}

/* ================= DESKTOP ================= */
@media screen and (min-width: 1119px) {
  body {
    padding-top: calc(var(--header-height) + 2rem);
  }

  .header {
    height: calc(var(--header-height) + 2rem);
  }

  .nav {
    justify-content: space-between;
  }

  .nav__data {
    width: auto;
    gap: 1rem;
  }

  .nav__toggle {
    display: none;
  }

  .nav__menu {
    position: static;
    width: auto;
    height: auto;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    background: transparent;
    box-shadow: none;
  }

  .nav__list {
    flex-direction: row;
    align-items: center;
    padding: 0;
    gap: 2rem;
    background: transparent;
  }

  .dropdown__item {
    width: auto;
  }

  .nav__link {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--text-color);
  }

  .nav__link:hover,
  .nav__link.active-link {
    background: transparent;
    color: #000000;
  }

  .nav__cta-item {
    padding: 0;
  }

  .book-demo-btn {
    width: auto;
    min-height: 42px;
    padding: 0.75rem 1.1rem;
    border-radius: 14px;
  }
}




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

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