/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/
@font-face {
  font-family: "icomoon";
  src: url("fonts/icomoon.eot?4m3hha");
  src:
    url("fonts/icomoon.eot?4m3hha#iefix") format("embedded-opentype"),
    url("fonts/icomoon.ttf?4m3hha") format("truetype"),
    url("fonts/icomoon.woff?4m3hha") format("woff"),
    url("fonts/icomoon.svg?4m3hha#icomoon") format("svg");
  font-weight: normal;
  font-style: normal;
  font-display: block;
}
[class^="icon-"],
[class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: "icomoon" !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* ---------- Theme variables (brand here) ---------- */
:root {
  --content-width: clamp(1440px, 90vw, 1800px);
  --content-width-narrow: clamp(1200px, 90vw, 1200px);
  --iai-accent: var(--global-color-blue);
  --header-navigation-height: 100px;
  --header-height: 88px;
  --mid-content-width: 1037px;
  --iai-accent-600: #1738b7;
  --iai-text: #ffffff;
  --iai-muted: #475569;
  --iai-dark: #000000;
  --iai-dark-grey: #262626;
  --iai-dark-menu: #101010;
  --iai-grey: #333333;
  --iai-light-grey: #999999;
  --iai-panel-bg: #ffffff;
  --iai-tile-bg: #f8fafc;
  --iai-ring: rgba(10, 102, 178, 0.28);
  --iai-shadow: 0 30px 90px rgba(2, 6, 23, 0.15);
  --iai-border: rgba(2, 6, 23, 0.08);
  --iai-divider: #a1b5ff; /* base divider */
  --iai-divider-strong: #a1b5ff; /* hover/focus */
  --custom-font-size-excerpt: 0.875rem; /* Example for body text */
  --section-padding: 24px;
  --element-box-padding: 24px;
  --light-background: #f9f9f9;
  --panel: #1f2226;
  --grey-border: #494949;
  --muted: #9aa3ad;
  --text: #d8dbe0;
  --blue: #1856ff;
}

.one-container section .container,
.single.single-product section .container,
.section-content.container {
  max-width: var(--content-width);
  margin-inline: auto;
  padding-inline: 16px;
}

.one-container section .container-narrow,
.section-content.container-narrow,
.single.one-container .site-content .container-narrow {
  max-width: var(--content-width-narrow);
  margin-inline: auto;
  padding-inline: 16px;
}

.site-header,
.main-navigation,
.inside-navigation {
  overflow: visible;
  position: relative;
  z-index: 100;
}
.eone-panel {
  z-index: 9999;
}
p,
ul {
  font-weight: 400;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 280ms ease;
  z-index: 900;
}
body:has(.iai-item.has-mega:hover)::before,
body:has(.iai-item.has-mega:hover .iai-panel)::before {
  opacity: 1;
}
.search .site-content,
.single.one-container .container,
.page.one-container .site-content,
.page.one-container .site-content,
.page .grid-container,
.search .grid-container,
.tax-type .grid-container {
  width: auto;
  max-width: none;
}
.single.one-container .site-contentת .page.one-container .site-content {
  width: 100%;
  max-width: none;
  display: block;
  padding-bottom: 0px;
}
.single .general-content .container {
  display: flex;
  flex-direction: column;
  max-width: var(--content-width);
  margin-inline: auto;
  padding-inline: 16px;
  justify-content: space-around;
  align-items: center;
  margin: 5rem;
  color: #000;
}
.site-content {
  display: flex;
  flex-direction: column;
}
.single .general-content .container.container-no-flex {
  display: block;
  max-width: 1200px;
  margin: 5rem auto 0;
}
.top-bar {
  position: sticky; /* or fixed, if yours is fixed */
  top: 0;
  z-index: 1000;
  transition:
    opacity 0.28s ease,
    transform 0.28s ease;
  will-change: opacity, transform;
}
/* Hide on scroll (when parent/body gets .is-sticky) */
.is-sticky .top-bar {
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none; /* avoid ghost clicks while hidden */
  display: none;
}
.top-bar p {
  margin-bottom: 0px;
}
.site-content {
  padding: 200px 0px;
}
.content-container {
  max-width: var(--content-width);
  margin-inline: auto;
  padding: 48px 16px 24px 16px;
}
.content-container.is-closed {
  padding: 0px 16px 0px 16px;
}

p#breadcrumbs {
  font-weight: 100;
}

button.breadcrumb_ellipsis {
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
button.breadcrumb_ellipsis:hover,
button.breadcrumb_ellipsis:focus {
  color: var(--global-color-blue);
  outline: none;
}
.mid-content {
  /*max-width: var(--mid-content-width, 1037px);*/
  width: 100%;
  margin-inline-start: auto;
  margin-inline-end: auto;
}
/* Optional but useful so smaller items back-fill gaps */
.gb-grid-wrapper {
  grid-auto-flow: dense;
}
/* Make a grid item span two rows */
.row-span-2 {
  grid-row: span 2;
}
.col-span-3 {
  grid-column: span 3;
}
/** mega menu **/
.gbp-mega-menu__column {
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.6s ease both;
}
.gbp-mega-menu__column:nth-child(1) {
  animation-delay: 0s;
}
.gbp-mega-menu__column:nth-child(2) {
  animation-delay: 0.1s;
}
.gbp-mega-menu__column:nth-child(3) {
  animation-delay: 0.2s;
}
.gbp-mega-menu__column:nth-child(4) {
  animation-delay: 0.3s;
}
.gbp-mega-menu__column:nth-child(5) {
  animation-delay: 0.4s;
}
.gbp-mega-menu__column:nth-child(6) {
  animation-delay: 0.5s;
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.mega-menu-latest-posts {
  margin-inline-start: 0px;
}
.mega-menu-latest-posts li {
  display: flex;
  flex-direction: column;
  padding-bottom: 12px;
  padding-inline-start: 6px;
  padding-top: 2px;
  transition: all 0.5s ease 0s;
  border-inline-start: 4px solid transparent; /* reserve space */
  border-bottom: 1px solid var(--blueish-border);
}
.mega-menu-latest-posts .wp-block-latest-posts__post-title {
  color: var(--global-color-blue);
}
.mega-menu-latest-posts li div {
  font-size: clamp(12px, 2vw, 0.875rem);
  /*white-space: nowrap;*/
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0; /* important inside flex */
  margin-bottom: 0em;
  margin-top: 0.5em;
  color: var(--global-color-dark);
}
.mega-menu-latest-posts li:last-child {
  border-bottom: none;
}
.mega-menu-latest-posts li:is(:hover, :focus) {
  color: rgb(0, 0, 204);
  transform: translateX(6px);
  border-inline-start-color: var(--global-color-blue); /* only color changes */
  border-radius: 0px;
}
:where([dir="rtl"]) .mega-menu-latest-posts li:is(:hover, :focus) {
  transform: translateX(-6px);
}
.mega-menu-events h2 a {
  color: var(--global-color-dark);
  font-size: 1.5rem;
}
.mega-menu-events .wp-block-post-title {
  margin-bottom: 5px;
  line-height: 1em;
}
.mega-menu-events ul li > .wp-block-group {
  padding: 10px !important;
}
.mega-menu-events .wp-block-post-date {
  color: var(--global-color-blue);
}
.wp-block-post-excerpt__excerpt {
  font-size: var(--custom-font-size-excerpt);
  color: var(--global-color-dark);
}
/* Example: set your real SVG/PNG paths */
.icon-defence {
  background-image: url("assets/images/defence-b-icon.svg");
  background-size: 80px;
  width: 60px;
  height: 60px;
}
.icon-defence {
  background-image: url("assets/images/defence-b-icon.svg");
}
.icon-naval {
  background-image: url("assets/images/naval-icon.svg");
}
.icon-air {
  background-image: url("assets/images/air-icon.svg");
}
.icon-land {
  background-image: url("assets/images/land-icon.svg");
}
.icon-spectrum {
  background-image: url("assets/images/cyber-icon.svg");
}

/* --- GENERIC HERO SECTION --- */
.general-hero {
  position: relative;
  width: 100%;
  height: 380px;
  background-color: var(--global-color-blue);
  background-image: var(--hero-bg, none), url("assets/images/globus.svg");
  background-position: 90% 100%;
  background-size:
    cover,
    auto 60%;
  background-repeat: no-repeat, no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 20px 60px 20px;
  margin-top: 48px;
  margin-bottom: 0;
  overflow: hidden;
}
:where([dir="rtl"]) .general-hero {
  background-position: 10% 100%;
}
.general-hero.has-hero {
  height: 70vh;
}
/* Dark gradient overlay so text is readable */
.page .general-hero::before {
  display: none;
}
.general-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.75) 0%,
    /* dark at bottom */ rgba(0, 0, 0, 0.45) 40%,
    rgba(0, 0, 0, 0.15) 75%,
    rgba(0, 0, 0, 0) 100%
  );
}
.general-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  text-align: start;
  width: min(var(--content-width), 100%);
  margin-inline: auto;
  padding-inline: 16px;
}
/* Main title */
.general-hero-title {
  color: #fff;
  font-size: clamp(28px, 4.6vw, 68px);
  line-height: 1;
  margin: 0 0 0px;
  font-weight: 500;
  text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.35);
}
/* Subtitle wrapper */
.general-sub-title {
  max-width: 520px;
}
.general-sub-title p {
  color: #e5e7eb;
  font-size: 2.1rem;
  margin: 5px 0 25px;
  line-height: 1;
}
.dots-canvas-section {
  height: 100%;
  width: 100%;
}
#dotsCanvas {
  display: block; /* removes default inline gap */
  width: 100%;
  height: 100%;
  cursor: default; /* keep normal cursor */
}

.footer-bottom-strip {
  background: var(--global-color-blue);
  color: #fff;
  font-size: 1rem;
}

.footer-bottom-inner {
  margin-inline: 45px;
  padding-block: 12px 12px; padding-inline: 0px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-bottom-menu {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.footer-bottom-menu a {
  color: #fff;
  text-decoration: none;
}

.footer-bottom-menu a:hover {
  opacity: 1;
}

.footer-copyright {
  font-family: Rajdhani, sans-serif;
}

/* --- Responsive tweaks --- */
@media (max-width: 768px) {
  .general-hero {
    height: 320px;
    padding: 24px 20px 36px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    /* hide globe decoration on mobile */
    background-image: var(--hero-bg, none);
    background-size: cover;
    background-repeat: no-repeat;
  }
  .general-hero-inner {
    text-align: start;
    width: 100%;
    margin-inline: 0;
  }
  .general-hero-title {
    font-size: clamp(34px, 8vw, 40px);
    line-height: 1.15;
  }
  .general-sub-title {
    max-width: 100%;
  }
}
/* ===== Footer Styles ===== */
.site-footer {
  background: var(--iai-dark-grey);
  color: var(--text);
  font-family:
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    "Helvetica Neue",
    Arial,
    "Noto Sans",
    "Apple Color Emoji",
    "Segoe UI Emoji",
    "Segoe UI Symbol";
}
/* main grid */
.site-footer .footer-grid {
  margin-inline: auto;
  display: grid;
  gap: 0px;
  border-top: 1px solid var(--grey-border);
  border-bottom: 1px solid var(--grey-border);
  margin-bottom: 30px;
}
.site-footer .nav-midd {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* keeps the bottom paragraph anchored */
  height: 100%; /* ensures full column height */
}
.nav-col-top {
  margin-bottom: 20px;
}
.nav-col-bottom p {
  margin: 0;
  font-size: 1.6rem;
  line-height: 1.4;
  color: #8796b2;
}
/* ===== Left column ===== */
.footer-signup {
  display: flex;
  flex-direction: column;
  border-inline-end: 1px solid var(--grey-border);
}
/* dotted panel */
.dots-panel {
  height: 300px;
  background:
    radial-gradient(currentColor 1px, transparent 1.2px) 0 0/16px 16px,
    radial-gradient(currentColor 1px, transparent 1.2px) 8px 8px/16px 16px;
  color: #2c333b;
  border-bottom: 1px solid var(--grey-border);
}
/* form rows */
.signup-form .row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 16px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--grey-border);
}
.signup-form .row-title {
  grid-template-columns: 1fr;
  color: #bfc6ce;
}
.f-label {
  color: var(--muted);
  font-size: 14px;
}
.f-input {
  width: 100%;
  height: 40px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--grey-border);
  color: var(--text);
  padding: 0 10px;
  outline: none;
}
.row-accept {
  grid-template-columns: 220px auto 1fr;
  gap: 16px;
}
.row-accept a {
  color: var(--text);
  text-decoration: underline;
}
.row-accept .toggle {
  display: flex;
  gap: 8px;
  align-items: center;
}
.row-accept .toggle label {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #2a2e35;
  border: 1px solid var(--grey-border);
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
}
.row-accept .toggle input {
  accent-color: var(--blue);
}
.btn-primary {
  margin-inline-start: auto;
  height: 40px;
  padding: 0 18px;
  background: var(--blue);
  color: #fff;
  border: 0;
  border-radius: 6px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
}
/* ===== Middle column ===== */
.footer-nav {
  display: flex;
  flex-direction: column;
}

.nav-midd .footer-navigation-menu {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 0px;
  row-gap: 2px;
}

.nav-midd .footer-navigation-menu li {
  margin: 0;
}

.nav-midd .footer-navigation-menu li a {
  display: inline-block;
  padding: 2px 0; /* tighten click area */
  line-height: 1.3;
  margin-bottom: 0.7rem;
}

.logo-row {
  padding-block: 92px 22px; padding-inline: 20px 0;
  border-bottom: 1px solid var(--grey-border);
}
.logo {
  width: 80px;
  height: 36px;
  display: grid;
  place-items: center;
  margin-top: -6px;
}
.nav-columns {
  display: grid;
  grid-template-columns: 1fr 34% 28% 15%;
  border-inline-end: 1px solid var(--grey-border);
  gap: 0; /* keep columns tight like the design */
}
.nav-col {
  padding-block: 16px 16px; padding-inline: 45px 20px;
  border-inline-end: 1px solid var(--grey-border);
}

.nav-start,
.nav-midd {
  padding-top: 45px;
}

.nav-col.dots-canvas-wrapper {
  padding: 0;
}
.nav-col.promo {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding-inline-end: 45px;
}
.nav-col:last-child {
  border-inline-end: 0;
}
.nav-col h5 {
  margin: 0 0 10px;
  font-size: 1.3rem;
  color: #ffffff;
  text-transform: none;
  font-weight: 700;
}
.nav-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.two-col-list {
  column-count: 2;
  column-gap: 30px;
}
.two-col-list li {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
}
.nav-col li {
  margin: 8px 0;
}
.nav-col a {
  color: #8796b2;
  text-decoration: none;
}
.nav-col a:hover {
  color: #fff;
}
.nav-col.promo p {
  margin: 0;
  color: #7ea0ff;
  line-height: 1.4;
}
/* ===== Right column ===== */
.footer-social {
  display: flex;
  justify-content: space-evenly;
}
.social-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.social-list .ico {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  text-decoration: none;
  transition: transform 0.25s ease;
  will-change: transform;
}
.social-list .ico svg {
  width: 25px;
  height: 25px;
}
.social-list .ico:hover {
  /*transform: translateX(4px); */
}
.social-list .ico:hover svg {
  fill: #fff;
}
/* ===== Decorative blue band (optional) ===== */
.footer-blueband {
  height: 520px;
  background: url(assets/images/footer-logo-blue.svg) right / 200% 1060%
    no-repeat;
  /* 160% makes the image larger than the container so no edges show */
}
body:not(.single-product) .footer-blueband {
  background: url(assets/images/footer-logo-blue.svg) right / 180% 1060%
    no-repeat;
  /* 160% makes the image larger than the container so no edges show */
}
/* ===== AI Copilot Block ===== */
.block-ai_block {
  --bg: #06183a; /* page dark navy */
  --surface: #0a1c3f;
  --blue: #2a4bff; /* pill blue */
  --blue-2: #2752ff; /* gradient stop */
  --line: rgba(72, 117, 255, 0.45);
  --text: #e9f0ff;
  --muted: #9fb3ff;
  max-width: 100% !important;
  background: var(--bg); /* color only */
  background-image: url(assets/images/co-pilot-bk.png); /* ring image */
  background-repeat: no-repeat;
  /* right align with a small inset from the edge */
  --ring-inset: clamp(12px, 3vw, 40px);
  background-position: calc(100% - var(--ring-inset)) center;
  /* make it smaller (responsive size) */
  --ring-size: clamp(220px, 26vw, 520px);
  background-size: var(--ring-size);
  padding: clamp(24px, 3vw, 48px) 0 64px;
  color: var(--text);
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-inline-start: auto;
  margin-inline-end: 0;
  --bar-pad-y: 0px;
  --bar-pad-x: 20px;
  --bar-gap: 24px;
  --chip-gap: 10px;
  --gutter: max(0px, calc((100vw - var(--content-width)) / 2));
}
.block-ai_block .ai-copilot-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--bar-gap);
  flex-wrap: nowrap;
  margin-inline-start: var(--gutter);
  margin-inline-end: 0;
  width: calc(70% - var(--gutter));
  max-width: none;
}
/* Right badge column (optional, can be hidden on mobile) */
.block-ai_block .ai-copilot-badge {
  align-self: start;
}
.block-ai_block .badge-glow {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border-radius: 14px;
  text-align: center;
}
.block-ai_block .badge-title {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  opacity: 0.9;
}
.block-ai_block .badge-subtitle {
  font-size: 1.05rem;
  letter-spacing: 0.35em;
}
/* ==== Left column (input + suggestions) ==== */
.block-ai_block .ai-question-area {
  display: grid;
  gap: 24px;
}
/* Pill input */
.block-ai_block .ai-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  padding: 10px; /* space for inner button */
  border-radius: 999px;
  background: linear-gradient(180deg, var(--blue), var(--blue-2));
  box-shadow:
    0 12px 40px rgba(39, 82, 255, 0.25),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  min-height: 76px;
}
.block-ai_block .ai-input {
  flex: 1 1 auto;
  height: 56px;
  border: 0;
  outline: none;
  padding-block: 0 0; padding-inline: 28px 72px;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-size: clamp(18px, 1vw + 12px, 28px);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.block-ai_block .ai-input::placeholder {
  color: #e3ebff;
  opacity: 0.9;
}
/* Send button (white circle with arrow) */
.block-ai_block .ai-submit {
  position: absolute;
  inset-inline-end: 16px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  color: var(--blue);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}
.block-ai_block .ai-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}
.block-ai_block .ai-submit:active {
  transform: translateY(0);
}
.block-ai_block .ai-submit .arrow-icon {
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1;
}
/* Suggestions row */
.block-ai_block .ai-suggestions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 28px);
}
.block-ai_block .ai-suggestion {
  text-align: start;
  padding: 18px 24px;
  border-radius: 18px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  cursor: pointer;
  line-height: 1.35;
  font-weight: 700;
  font-size: clamp(14px, 0.4vw + 12px, 18px);
  letter-spacing: 0.01em;
  box-shadow: 0 0 0 0 rgba(39, 82, 255, 0.25);
  transition:
    border-color 0.15s ease,
    box-shadow 0.2s ease,
    transform 0.15s ease;
}
.block-ai_block .ai-suggestion:hover {
  border-color: rgba(72, 117, 255, 0.85);
  box-shadow:
    0 0 0 2px rgba(72, 117, 255, 0.25),
    0 10px 24px rgba(0, 0, 0, 0.25);
  transform: translateY(-1px);
}
.block-ai_block .ai-suggestion:active {
  transform: translateY(0);
}
/* ========== Contact Block ========== */
.block-form_block-inner {
  --form-text: #ffffff; /* on-blue text */
  --muted: rgba(255, 255, 255, 0.85);
  --line: #ffffff; /* solid white underline so fields are clearly visible */
  --line-strong: rgba(255, 255, 255, 1);
  --btn-fg: #1735c9; /* blue for text on white button */
  --btn-bg: #ffffff;
  --btn-fg-hover: #ffffff;
  --btn-bg-hover: transparent;
  --btn-border: #ffffff;
  position: relative;
  background: var(--global-color-blue);
  color: var(--form-text);
  padding: clamp(28px, 5vw, 80px) clamp(16px, 5vw, 64px) clamp(40px, 6vw, 96px);
  overflow: hidden;
}
/* Title */
.block-form_block-inner .block-title {
  color: var(--form-text);
  margin: 0 0 clamp(20px, 2.5vw, 40px);
  font-size: clamp(28px, 2.8vw, 56px);
  line-height: 1.1;
  letter-spacing: 0.2px;
}
.block-form_block-inner .gform_heading {
  display: none;
}
/* Labels off (placeholders act as labels) */
.block-form_block-inner .gform_wrapper .gfield_label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
/* Input rows = underline style */
.block-form_block-inner .ginput_container input[type="text"],
.block-form_block-inner .ginput_container input[type="email"],
.block-form_block-inner .ginput_container input[type="tel"],
.block-form_block-inner .ginput_container input[type="url"],
.block-form_block-inner .ginput_container input[type="number"],
.block-form_block-inner .ginput_container textarea,
.block-form_block-inner .ginput_container select {
  width: 100%;
  background: transparent;
  padding: 18px 6px 14px 6px;
  color: var(--form-text);
  font-size: clamp(16px, 1.1vw, 18px);
  font-weight: 500;
  border-radius: 0px;
  border: none;
  outline: none;
  background:
    linear-gradient(var(--line) 0 0) left bottom / 100% 1px no-repeat,
    linear-gradient(var(--line-strong) 0 0) left bottom / 0% 1px no-repeat;
  transition: background-size 0.15s ease;
}
.block-form_block-inner .ginput_container .gfield_consent_label {
  color: #ffffff;
  font-size: 1.1rem;
}
/* Focus → grow the highlight line left→right */
.block-form_block-inner .gform_wrapper .ginput_container input:focus,
.block-form_block-inner .gform_wrapper .ginput_container textarea:focus {
  background-size:
    100% 1px,
    100% 1px; /* second layer animates from 0% to 100% */
}
.block-form_block-inner .ginput_container input::placeholder,
.block-form_block-inner .ginput_container textarea::placeholder {
  color: var(--muted);
}
.gform-theme--foundation .gform_fields {
  row-gap: 10px;
}
.gform-theme--foundation .gfield h6 {
  line-height: 1.1;
  font-size: 1.3rem;
}
/* Focus / hover state */
.block-form_block-inner .ginput_container input:focus,
.block-form_block-inner .ginput_container textarea:focus,
.block-form_block-inner .ginput_container select:focus {
  border-bottom-color: var(--line-strong);
}
/* Select dropdown arrow color fix on dark bg */
.block-form_block-inner .ginput_container select {
  color-scheme: dark;
}
/* ---- Consent checkbox row ---- */
.block-form_block-inner .gfield--type-consent {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
  color: var(--form-text);
}
.block-form_block-inner .gfield--type-consent .ginput_container_consent {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.block-form_block-inner #input_1_6_1 {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  box-sizing: border-box;
  border: 2.5px solid #fff;
  background: transparent;
  display: inline-block;
  position: relative;
  cursor: pointer;
  vertical-align: middle;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.05s ease;
}
/* Hover / active (optional) */
.block-form_block-inner #input_1_6_1:hover {
  border-color: rgba(255, 255, 255, 0.9);
}
.block-form_block-inner #input_1_6_1:active {
  transform: scale(0.98);
}
/* Keyboard focus ring */
.block-form_block-inner #input_1_6_1:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25);
}
/* Thinner tick */
.block-form_block-inner #input_1_6_1:checked::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 12px;
  left: 6px;
  top: 2px;
  border-right: 2px solid #fff; /* thinner */
  border-bottom: 2px solid #fff; /* thinner */
  transform: rotate(45deg);
}
/* Optional disabled look */
.block-form_block-inner #input_1_6_1:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.block-form_block-inner .gfield_consent_label {
  font-size: clamp(14px, 1vw, 16px);
  color: var(--form-text);
}
/* On focus: reduce opacity */
.block-form_block-inner
  .gform_wrapper
  .ginput_container
  input:focus::placeholder {
  opacity: 1; /* or 0.5 if you prefer */
  color: #fff;
}
/* ---- Submit row ---- */
.block-form_block-inner .gform_footer {
  margin-top: clamp(16px, 2.5vw, 32px);
  display: flex;
  justify-content: flex-end;
}
.block-form_block-inner .gform_footer .gform_button {
  --padY: clamp(12px, 0.9vw, 16px);
  --padX: clamp(18px, 1.6vw, 28px);
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 2px solid var(--btn-border);
  border-radius: 6px;
  padding-block: var(--padY) var(--padY); padding-inline: var(--padX) calc(var(--padX) * 1.5);
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    transform 0.06s ease,
    background 0.2s ease,
    color 0.2s ease;
  position: relative;
  line-height: 1;
}
.block-form_block-inner .gform_footer .gform_button::after {
  content: "→";
  position: absolute;
  inset-inline-end: clamp(12px, 1vw, 18px);
  top: 50%;
  translate: 0 -50%;
  font-weight: 700;
}
.block-form_block-inner .gform_footer .gform_button:hover {
  background: var(--btn-bg-hover);
  color: var(--btn-fg-hover);
  transform: translateY(-1px);
}
.block-form_block-inner .gform_footer .gform_button:hover::after {
  transform: translateX(2px);
}
:where([dir="rtl"]) .block-form_block-inner .gform_footer .gform_button::after {
  content: "\2190";
}
:where([dir="rtl"]) .block-form_block-inner .gform_footer .gform_button:hover::after {
  transform: translateX(-2px);
}
/* ---- Tiny legal line under the form (optional) ---- */
.block-form_block-inner .form-legal,
.block-form_block-inner .gform_wrapper + .form-legal {
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
}
.block-form_block-inner
  .gform-theme.gform-theme--framework.gform_wrapper
  .gform-footer
  .gform_button {
  background-color: #ffffff !important;
  color: var(--global-color-blue) !important;
  border-radius: 0px !important;
  font-size: 1.5rem !important;
  text-transform: uppercase !important;
}
.dot-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  display: none;
}
/* Right-aligned grid: 15 × 12, 10px gaps */
.dot-grid {
  position: absolute;
  inset-inline-end: 0;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  grid-template-columns: repeat(15, 2px);
  grid-auto-rows: 2px;
  gap: 60px;
}
/* Dot + animated halo uses CSS vars set by JS */
.dot {
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  position: relative;
  color: rgba(255, 255, 255, var(--alpha, 0.8)); /* halo uses this alpha */
}
.dot::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: dot-glow var(--dur, 18s) ease-out infinite;
  animation-delay: var(--delay, 0s);
  will-change: opacity, box-shadow;
}
/* quick glow (first ~12% of cycle), then stay off */
@keyframes dot-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, var(--alpha, 0.8));
    opacity: 1;
  }
  8% {
    box-shadow: 0 0 var(--r, 4px) var(--r, 4px)
      rgba(255, 255, 255, var(--alpha, 0.8));
    opacity: 0.35;
  }
  12% {
    box-shadow: 0 0 var(--r, 4px) var(--r, 4px) rgba(255, 255, 255, 0);
    opacity: 0;
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    opacity: 0;
  }
}
/* Modal Wrapper */
.iai-modal {
  position: fixed;
  inset: 0;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}
/* Dark overlay */
.iai-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(3px);
}
/* Modal Box */
.iai-modal-box {
    position: absolute;
    background: #fff;
    padding: 50px;
    width: fit-content;
    border-radius: 0;
    z-index: 2;
    animation: modalFade 0.25s ease;
    inset-inline-start: 0;
    inset-inline-end: 0;
    margin: auto;
    top: 0;
    bottom: 0;
    height: fit-content;

}
 

/* Close button */
button.iai-modal-close {
  color: #000;
  font-size: 2.4rem;
}
.iai-modal-close {
  position: absolute;
  top: 10px;
  inset-inline-end: 14px;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
}
/* Animation */
@keyframes modalFade {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* -------------------------------------------------
   CONTACT MODAL LAYOUT
-------------------------------------------------- */
#contact-modal {
  position: fixed;
  inset: 0;
  display: none; /* shown via JS */
  justify-content: center;
  align-items: center;
  z-index: 99999;
  overflow-y: auto; /* allow scrolling on short screens */
  padding: 20px; /* breathing room around box */
}
#contact-modal .iai-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}
#contact-modal .iai-modal-box {
  position: relative;
  max-width: 1100px;
  width: 100%;
  margin: auto; /* center inside flex */
  padding: 48px 72px 40px;
  background: #f3f3f3;
  border-inline-start: 0;
  border-radius: 0;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  max-height: calc(100vh - 40px); /* never taller than viewport */
  overflow-y: auto;
}
#contact-modal .iai-modal-content {
  position: relative;
}
/* Close button */
#contact-modal .iai-modal-close {
  position: absolute;
  top: 18px;
  inset-inline-end: 24px;
  font-size: 22px;
  line-height: 1;
  border: 0;
  background: none;
  cursor: pointer;
}
/* Form description (title inside modal) */
#contact-modal .gform_description {
  font-size: 2.5rem;
  color: #000;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.1;
  margin-top: 20px;
}
/* Header wrapper */
.contact-modal-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 32px;
}
/* Logo styling */
.contact-modal-logo {
  height: 48px; /* adjust as needed */
  width: auto;
  display: block;
}
/* Close button reposition */
#contact-modal .iai-modal-close {
  position: absolute;
  top: 0;
  inset-inline-end: 0;
  font-size: 34px;
  border: none;
  background: none;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  color: #000;
}

/* =====================================================
   BROCHURE MODAL STYLES
   ===================================================== */

#brochure-modal .brochure-modal-box {
  max-width: 800px;
  padding: 48px 56px;
  background: #fff;
  border-radius: 0;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  inset-inline-start: 0;
  inset-inline-end: 0;
  margin: auto;
  top: 50%;
  transform: translateY(-50%);
}

#brochure-modal .iai-modal-close {
  position: absolute;
  top: 20px;
  inset-inline-end: 20px;
  font-size: 32px;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  color: #000;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

#brochure-modal .iai-modal-close:hover {
  transform: scale(1.1);
}

.brochure-modal-logo {
  height: 44px;
  width: auto;
  display: block;
  margin-bottom: 24px;
}

.brochure-modal-title {
  font-size: 32px;
  font-weight: 700;
  margin: 0;
  color: #000;
  line-height: 1.2;
}

.brochure-modal-title .product-name-highlight {
  color: #204ce5;
}

.brochure-modal-subtitle {
  font-size: 16px;
  color: #000;
  margin: 0 0 32px 0;
  font-weight: 400;
}

/* Form Styles */
.brochure-form {
  width: 100%;
}

.brochure-form .form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.brochure-form .form-field {
  position: relative;
  width: 100%;
}

.brochure-form .form-field-full {
  margin-bottom: 24px;
}

.brochure-form .form-field input,
.brochure-form .form-field textarea {
  width: 100%;
  border: none;
  border-bottom: 2px solid #204ce5;
  background: transparent;
  padding: 12px 0 8px;
  font-size: 16px;
  color: #000;
  outline: none;
  transition: border-color 0.3s ease;
}

.brochure-form .form-field textarea {
  resize: vertical;
  min-height: 60px;
  font-family: inherit;
}

.brochure-form .form-field input:focus,
.brochure-form .form-field textarea:focus {
  border-bottom-color: #1738b7;
}

.brochure-form .form-field label {
  position: absolute;
  inset-inline-start: 0;
  top: 12px;
  color: #666;
  font-size: 16px;
  pointer-events: none;
  transition: all 0.3s ease;
  transform-origin: left top;
}
:where([dir="rtl"]) .brochure-form .form-field label {
  transform-origin: right top;
}

/* Floating label effect */
.brochure-form .form-field.has-value label,
.brochure-form .form-field.is-focused label {
  top: -18px;
  font-size: 12px;
  color: #204ce5;
}

/* Form Footer */
.form-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 32px;
  gap: 24px;
}

.privacy-notice {
  flex: 1;
  font-size: 11px;
  color: #999;
  line-height: 1.4;
  margin: 0;
}

.privacy-notice a {
  color: #204ce5;
  text-decoration: underline;
}

.privacy-notice a:hover {
  color: #1738b7;
}

.btn-submit-brochure {
  background: #204ce5;
  color: #fff;
  border: none;
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 4px;
  cursor: pointer;
  transition:
    background-color 0.3s ease,
    transform 0.2s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-submit-brochure:hover {
  background: #1738b7;
  transform: translateY(-1px);
}

.btn-submit-brochure:active {
  transform: translateY(0);
}

.btn-submit-brochure:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-submit-brochure .arrow {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.btn-submit-brochure:hover .arrow {
  transform: translateX(3px);
}
:where([dir="rtl"]) .btn-submit-brochure .arrow {
  display: inline-block;
  transform: scaleX(-1);
}
:where([dir="rtl"]) .btn-submit-brochure:hover .arrow {
  transform: translateX(-3px) scaleX(-1);
}

/* Gravity Form styling for Brochure Modal - Form ID 2 */
#brochure-modal #gform_wrapper_2 {
  width: 100%;
}

#brochure-modal #gform_wrapper_2 .gform_title,
#brochure-modal #gform_wrapper_2 .gform_description {
  display: none;
}

/* Grid layout for form fields */
#brochure-modal #gform_wrapper_2 .gform_fields {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  list-style: none;
  margin: 0 0 24px 0;
  padding: 0;
}

/* Field styling */
#brochure-modal #gform_wrapper_2 .gfield {
  margin: 0;
  padding: 0;
}

/* Full width fields (for textarea, etc.) - spans both columns */
#brochure-modal #gform_wrapper_2 .gfield.gfield--width-full,
#brochure-modal #gform_wrapper_2 .gfield[class*="width-full"],
#brochure-modal #gform_wrapper_2 .gfield[data-field-class="form-field-full"] {
  grid-column: 1 / -1;
}

/* Hide labels - will use floating labels */
#brochure-modal #gform_wrapper_2 .gfield_label {
  display: none;
}

/* Input and textarea styling */
#brochure-modal #gform_wrapper_2 .ginput_container input[type="text"],
#brochure-modal #gform_wrapper_2 .ginput_container input[type="email"],
#brochure-modal #gform_wrapper_2 .ginput_container input[type="tel"],
#brochure-modal #gform_wrapper_2 .ginput_container textarea {
  width: 100%;
  border: none;
  border-bottom: 2px solid #204ce5;
  background: transparent;
  padding: 12px 0 8px;
  font-size: 16px;
  color: #000;
  outline: none;
  transition: border-color 0.3s ease;
  font-family: inherit;
}

#brochure-modal #gform_wrapper_2 .ginput_container textarea {
  resize: vertical;
  min-height: 60px;
}

#brochure-modal #gform_wrapper_2 .ginput_container input[type="text"]:focus,
#brochure-modal #gform_wrapper_2 .ginput_container input[type="email"]:focus,
#brochure-modal #gform_wrapper_2 .ginput_container input[type="tel"]:focus,
#brochure-modal #gform_wrapper_2 .ginput_container textarea:focus {
  border-bottom-color: #1738b7;
}

/* Floating labels */
#brochure-modal #gform_wrapper_2 .ginput_container {
  position: relative;
}

#brochure-modal #gform_wrapper_2 .floating-label {
  position: absolute;
  inset-inline-start: 0;
  top: 12px;
  color: #666;
  font-size: 16px;
  pointer-events: none;
  transition: all 0.3s ease;
  transform-origin: left top;
}
:where([dir="rtl"]) #brochure-modal #gform_wrapper_2 .floating-label {
  transform-origin: right top;
}

#brochure-modal
  #gform_wrapper_2
  .ginput_container.has-floating-label.is-focused
  .floating-label,
#brochure-modal
  #gform_wrapper_2
  .ginput_container.has-floating-label.has-value
  .floating-label {
  top: -18px;
  font-size: 12px;
  color: #204ce5;
}

/* Form footer styling */
#brochure-modal #gform_wrapper_2 .gform_footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 32px;
  gap: 24px;
  padding: 0;
}

/* Privacy notice from Gravity Forms */
#brochure-modal #gform_wrapper_2 .gform_required_legend {
  flex: 1;
  font-size: 11px;
  color: #999;
  line-height: 1.4;
  margin: 0;
}

#brochure-modal #gform_wrapper_2 .gform_required_legend a {
  color: #204ce5;
  text-decoration: underline;
}

#brochure-modal #gform_wrapper_2 .gform_required_legend a:hover {
  color: #1738b7;
}

/* Submit button styling – brochure style (dark bg, grey text, PDF icon + arrow) */
#brochure-modal #gform_wrapper_2 .gform_footer input[type="submit"],
#brochure-modal #gform_wrapper_2 .gform_button {
  background: #1a1a1a !important;
  color: #808080 !important;
  border: none;
  padding: 14px 44px 14px 44px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border-radius: 6px;
  cursor: pointer;
  transition:
    opacity 0.2s ease,
    transform 0.15s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
}

/* PDF icon (left) via data URI */
#brochure-modal #gform_wrapper_2 .gform_footer input[type="submit"]::before,
#brochure-modal #gform_wrapper_2 .gform_button::before {
  content: "";
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6z' stroke='%23808080' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M14 2v6h6' stroke='%23808080' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M9 13h6M9 17h6' stroke='%23808080' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E")
    no-repeat center;
  background-size: contain;
}

#brochure-modal #gform_wrapper_2 .gform_footer input[type="submit"]::after,
#brochure-modal #gform_wrapper_2 .gform_button::after {
  content: "→";
  flex-shrink: 0;
  font-size: 1.1em;
  font-weight: 600;
  color: #808080;
  transition: transform 0.3s ease;
}

#brochure-modal #gform_wrapper_2 .gform_footer input[type="submit"]:hover,
#brochure-modal #gform_wrapper_2 .gform_button:hover {
  opacity: 0.9;
  color: #a0a0a0 !important;
  transform: translateY(-1px);
}

#brochure-modal
  #gform_wrapper_2
  .gform_footer
  input[type="submit"]:hover::after,
#brochure-modal #gform_wrapper_2 .gform_button:hover::after {
  transform: translateX(3px);
}
:where([dir="rtl"]) #brochure-modal #gform_wrapper_2 .gform_footer input[type="submit"]::after,
:where([dir="rtl"]) #brochure-modal #gform_wrapper_2 .gform_button::after {
  content: "\2190";
}
:where([dir="rtl"]) #brochure-modal #gform_wrapper_2 .gform_footer input[type="submit"]:hover::after,
:where([dir="rtl"]) #brochure-modal #gform_wrapper_2 .gform_button:hover::after {
  transform: translateX(-3px);
}

#brochure-modal #gform_wrapper_2 .gform_footer input[type="submit"]:active,
#brochure-modal #gform_wrapper_2 .gform_button:active {
  transform: translateY(0);
}

#brochure-modal #gform_wrapper_2 .gform_footer input[type="submit"]:disabled,
#brochure-modal #gform_wrapper_2 .gform_button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Single arrow from ::after; hide any inner arrow from JS */
#brochure-modal #gform_wrapper_2 .gform_button .arrow {
  display: none;
}

/* Hide validation container */
#brochure-modal #gform_wrapper_2 .gform_validation_container {
  display: none !important;
}

/* Success View Styles */
.brochure-success-title {
  font-size: 32px;
  font-weight: 700;
  margin: 24px 0 16px 0;
  color: #204ce5;
}

.brochure-success-message {
  font-size: 16px;
  color: #666;
  margin-bottom: 32px;
}

.gform_confirmation_message p {
    color: #ffffff;
    margin-bottom: 0px;
}

div.gform_confirmation_message {
padding:4rem;
background:#204ce5;
border-radius:8px;
color:#ffffff;
}

 

 


.pdf-links-container,
#briefs-list-modal .briefs-links-container {
  width: 100%;
}

.pdf-download-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 20px;
}

.pdf-download-list li {
  margin: 0;
}

.pdf-download-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  background: #fff;
  border: 2px solid var(--global-color-blue, #204ce5);
  border-radius: 0;
  text-decoration: none;
  color: var(--global-color-blue, #204ce5);
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.15s ease,
    box-shadow 0.2s ease;
}

.pdf-download-link:hover {
  background: #fff;
  color: #000;
  border-color: #000;
  opacity: 1;
}

.pdf-download-link .pdf-icon {
  flex-shrink: 0;
  display: inline-block;
  width: 28px;
  height: 32px;
  background-image: url("assets/images/brochure-blue.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transition: background-image 0.2s ease;
}

.pdf-download-link:hover .pdf-icon {
  background-image: url("assets/images/brochure-black.svg");
}

.pdf-download-link .pdf-label {
  flex: 1;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  position: relative;
  top: 2px;
}

@media (max-width: 600px) {
  .pdf-download-list {
    grid-template-columns: 1fr;
  }
}

/* Responsive Styles */
@media (max-width: 768px) {
  #brochure-modal .brochure-modal-box {
    padding: 32px 24px;
    max-width: 95%;
  }

  .brochure-modal-title {
    font-size: 24px;
  }

  .brochure-form .form-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  #brochure-modal #gform_wrapper_2 .gform_fields {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  #brochure-modal #gform_wrapper_2 .gform_footer {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  #brochure-modal #gform_wrapper_2 .gform_footer input[type="submit"],
  #brochure-modal #gform_wrapper_2 .gform_button {
    width: 100%;
    justify-content: center;
  }

  .form-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-submit-brochure {
    width: 100%;
    justify-content: center;
  }

  .privacy-notice {
    order: 2;
    margin-top: 16px;
  }
}
/* -------------------------------------------------
   INPUT STYLING — PLACEHOLDERS + NO BORDER
-------------------------------------------------- */
#gform_wrapper_2 .ginput_container input[type="text"],
#gform_wrapper_2 .ginput_container input[type="email"],
#gform_wrapper_2 .ginput_container input[type="tel"],
#gform_wrapper_2 .ginput_container textarea {
  width: 100%;
  border: 0;
  border-radius: 0;
  padding: 6px 0 4px;
  background: transparent;
  box-shadow: none;
  font-size: 16px;
  color: #111;
}
#gform_wrapper_2 .ginput_container textarea {
  min-height: 90px;
  resize: vertical;
}
/* -------------------------------------------------
   UNDERLINE ANIMATION (left → right)
-------------------------------------------------- */
#gform_wrapper_2 .ginput_container {
  position: relative;
  padding-bottom: 6px;
}
/* Base line */
#gform_wrapper_2 .ginput_container::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-inline-end: 0;
  bottom: 0;
  height: 2px;
  background: rgba(0, 0, 0, 0.15);
}
/* Contact page (blue background): white base + focus lines */
.page-contact #gform_wrapper_2 .ginput_container::before {
  background: white;
}
.page-contact #gform_wrapper_2 .ginput_container::after {
  background: #ffffff;
}
#gform_wrapper_2 .ginput_container.ginput_recaptcha::before {
  display: none;
}
/* Active animated line */
#gform_wrapper_2 .ginput_container::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: #204ce5;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease-out;
}
:where([dir="rtl"]) #gform_wrapper_2 .ginput_container::after {
  transform-origin: right;
}
/* Grow on focus */
#gform_wrapper_2 .ginput_container:focus-within::after {
  transform: scaleX(1);
}
/* -------------------------------------------------
   SUBMIT BUTTON
-------------------------------------------------- */
#gform_wrapper_2 .gform_footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
  padding-top: 8px;
}
#gform_submit_button_2 {
  position: relative;
  background: #204ce5;
  color: #fff;
  border: none;
  padding-block: 14px 14px; padding-inline: 26px 48px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 0;
}
#gform_submit_button_2::before {
  content: "";
  position: absolute;
  inset-inline-end: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  background: url("assets/images/chevron-right.svg") no-repeat center;
  background-size: contain;
}
:where([dir="rtl"]) #gform_submit_button_2::before {
  transform: translateY(-50%) scaleX(-1);
}
#gform_submit_button_2:hover {
  background: #002fd4;
}
/* Remove blue outline on focus for all GF inputs */
#gform_wrapper_2 input:focus,
#gform_wrapper_2 textarea:focus,
#gform_wrapper_2 select:focus,
#gform_wrapper_2 .ginput_container:focus-within {
  outline: none !important;
  box-shadow: none !important;
  border-color: transparent !important;
}
/* Container already has position: relative from the underline code */
#gform_wrapper_2 .ginput_container.has-floating-label {
  position: relative;
  padding-top: 18px; /* space above for the floating label */
}
/* The floating label created by JS */
#gform_wrapper_2 .floating-label {
  position: absolute;
  inset-inline-start: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  line-height: 1;
  color: #666;
  pointer-events: none;
  transition: all 0.18s ease-out;
}
/* When focused or has value → move label up and shrink */
#gform_wrapper_2
  .ginput_container.has-floating-label.is-focused
  .floating-label,
#gform_wrapper_2
  .ginput_container.has-floating-label.has-value
  .floating-label {
  top: -4px;
  transform: none;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #204ce5; /* IAI blue */
}
/* Slight tweak so input text sits nicely under the label */
#gform_wrapper_2 .ginput_container.has-floating-label input,
#gform_wrapper_2 .ginput_container.has-floating-label textarea {
  padding-top: 6px;
}
/* Accessibility: respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .dot::after {
    animation: none;
  }
}
/* Optional: simple stagger by columns */
.dot:nth-child(15n + 1)::after {
  animation-delay: 0s;
}
.dot:nth-child(15n + 2)::after {
  animation-delay: 0.1s;
}
/* =========================
   Mosaic Gallery
   ========================= */

/* mosaic v2


/* ==============================
   COMPLEX MOSAIC LAYOUT (v2)
   2 cols:
   - Left: 2 rows (each 50% height), row1=2 cols, row2=3 cols
   - Right: 3 equal rows (each 33.33% height)
   ============================== */

.mosaic-gallery-cmplx.mosaic-v2 {
  width: 100%;
  max-height: 900px; /* keep your hard limit */
  overflow: hidden;
  position: relative;
}

/* Give the mosaic a predictable height so the row math is stable */
.mosaic-grid-v2 {
  display: grid;
  grid-template-columns: 72% 28%; /* tweak if needed */
  height: min(900px, 60vw); /* adjust to taste; keeps it tall but responsive */
  max-height: 900px;
}

/* LEFT COLUMN: 2 equal rows => each is 50% of total height
   (which is 1.5x a right-row, since right has 3 rows) */
.mosaic-col-left {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 0;
  min-height: 0;
}

/* Left row 1: 2 boxes */
.mosaic-left-row-1 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  min-height: 0;
}

/* Left row 2: 3 boxes */
.mosaic-left-row-2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  min-height: 0;
}

/* RIGHT COLUMN: 3 equal rows */
.mosaic-col-right {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 0;
  min-height: 0;
}

/* Common tile behavior */
.mosaic-item-cmplx {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

/* Gradient overlay (keep your existing) */
.mosaic-item-cmplx::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.52) 10%,
    rgba(0, 0, 0, 0.4) 20%,
    rgba(0, 0, 0, 0.28) 28%,
    rgba(0, 0, 0, 0.18) 35%,
    rgba(0, 0, 0, 0.1) 42%,
    rgba(0, 0, 0, 0.04) 48%,
    rgba(0, 0, 0, 0) 55%
  );
  z-index: 2;
}

/* Image fill */
.mosaic-item-cmplx img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease, filter 0.35s ease;
}
.mosaic-item-cmplx:hover img {
  transform: scale(1.03);
  filter: grayscale(50%);
}

/* Caption: make it consistent (bottom-left) */
.mosaic-caption-cmplx {
  position: absolute;
  inset-inline-start: 24px;
  bottom: 14px;
  top: auto;

  z-index: 3;
  color: #fff;
  text-transform: uppercase;
  font-weight: 400;
  letter-spacing: 0.02em;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: Rajdhani, sans-serif;
}
/* HEB-HIDDEN: client asked to remove the home mosaic arrows (tiles are not links)
.mosaic-caption-cmplx::after {
  content: "";
  width: 21px;
  height: 18px;
  display: inline-block;
  background: url("./assets/images/chevron-right.svg") center / contain
    no-repeat;
  opacity: 0.9;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}
HEB-HIDDEN end */
.mosaic-item-cmplx:hover .mosaic-caption-cmplx::after {
  transform: translateX(8px);
  opacity: 1;
}
:where([dir="rtl"]) .mosaic-caption-cmplx::after {
  transform: scaleX(-1);
}
:where([dir="rtl"]) .mosaic-item-cmplx:hover .mosaic-caption-cmplx::after {
  transform: translateX(-8px) scaleX(-1);
}

/* ------------------------------
   RESPONSIVE
   ------------------------------ */
@media (max-width: 768px) {
  .mosaic-gallery-cmplx.mosaic-v2 {
    height: auto;
    max-height: none;
  }

  .mosaic-grid-v2 {
    grid-template-columns: 1fr;
    height: auto;
    max-height: none;
  }

  .mosaic-col-left,
  .mosaic-col-right {
    grid-template-rows: none;
  }

  .mosaic-left-row-1,
  .mosaic-left-row-2,
  .mosaic-col-right {
    display: grid;
    grid-template-columns: 1fr;
  }

  .mosaic-item-cmplx {
    max-height: 360px;
  }

  .mosaic-item-cmplx img {
    height: 300px;
  }
}

/* end mosaic v2   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
.press-template-default .general-hero {
  background: url("assets/images/hero.webp") center / cover no-repeat #020617;
}
/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .site-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 0px;
  }
  .footer-signup {
    border-inline-end: 0;
    padding-inline-end: 0;
  }
  .footer-social {
    border-inline-start: 0;
    padding-inline-start: 0;
  }
  .nav-columns {
    border-inline-start: 0;
    border-inline-end: 0;
  }
  .row-accept {
    grid-template-columns: 1fr;
  }
  .btn-primary {
    margin-inline-start: 0;
    width: 100%;
  }
}
@media (max-width: 1000px) {
  .block-ai_block .ai-copilot-inner {
    grid-template-columns: 1fr; /* badge below */
  }
  .block-ai_block .ai-copilot-badge {
    order: 2;
  }
}
@media (max-width: 820px) {
  .block-ai_block .ai-input-wrapper {
    min-height: 66px;
  }
  .block-ai_block .ai-suggestions {
    grid-template-columns: 1fr;
  }
}
/* Mobile only (up to 767px) */
@media screen and (max-width: 767px) {
  .nav-columns {
    display: flex;
    flex-direction: column;
  }
  .site-footer .footer-grid,
  .site-footer .footer-nav,
  .site-footer .nav-columns,
  .site-footer .nav-col,
  .site-footer .footer-social,
  .site-footer .social-list {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  .site-footer .nav-midd .footer-navigation-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .site-footer .nav-col.promo {
    padding: 0 0 2rem !important;
  }
  .site-footer .social-list {
    flex-wrap: wrap;
    justify-content: center;
  }
  .dots-panel {
    display: none;
  }
  .social-list {
    flex-direction: row;
  }
  .footer-blueband {
    height: 242px;
  }
  .logo-row {
    padding-block: 12px 22px; padding-inline: 20px 0;
  }
  .logo {
    width: 122px;
    height: auto;
  }
  .block-form_block-inner .ginput_container input[type="text"],
  .block-form_block-inner .ginput_container input[type="email"],
  .block-form_block-inner .ginput_container input[type="tel"],
  .block-form_block-inner .ginput_container input[type="url"],
  .block-form_block-inner .ginput_container input[type="number"],
  .block-form_block-inner .ginput_container textarea,
  .block-form_block-inner .ginput_container select {
    font-size: 1.2rem;
  }
  .block-ai_block .ai-copilot-inner {
    width: calc(90% - var(--gutter));
    margin: auto;
  }
  .social-list {
    gap: 5px;
  }
  .social-list .ico {
    width: 59px;
    height: 59px;
  }
  .block-ai_block .ai-submit {
    inset-inline-end: 9px;
  }
  .block-ai_block .ai-input {
    padding-block: 0 0; padding-inline: 10px 63px;
  }
  .mosaic-gallery .mosaic-grid {
    /* grid-template-columns: max-content; */
  }
  .site-footer {
    padding-top: 3rem;
  }
  .footer-nav .nav-col li {
    font-size: 1rem;
  }
  .mosaic-gallery .mosaic-grid {
    grid-auto-rows: 76vw;
  }
  .mosaic-gallery .mosaic-caption {
    line-height: 1.2;
    max-width: 82vw;
    font-size: clamp(28px, 0.6vw + 0.55rem, 24px);
  }
  .mosaic-gallery .mosaic-caption::after {
    width: 35px;
    height: 22px;
  }
  .nav-col.promo {
    padding: 0px;
    padding-bottom: 2rem;
  }
}
@media (min-aspect-ratio: 16/9) and (min-width: 1200px) {
  .quick-facts .container,
  .solutions-section .container,
  .vision-values .container {
    padding: 0 24px;
  }
}
@media (max-height: 700px), (max-width: 768px) {
  #contact-modal {
    padding: 12px;
  }
  #contact-modal .iai-modal-box {
    padding: 24px 20px 24px;
    max-height: calc(100vh - 24px);
  }
}
@media (min-width: 1280px) and (max-width: 1600px) and (min-resolution: 140dpi) and (min-aspect-ratio: 16 / 10) {
  .nav-col h5 {
    font-size: 1rem;
  }
  .nav-col a {
    font-size: 0.9rem;
  }
  .nav-col li {
    line-height: 1;
  }
}


/* =====================================================
 * Global Gravity Forms overrides
 * ===================================================== */
.gform-theme--framework .gform_validation_errors {
  display: none !important;
}

.gform-theme--framework .gfield_description:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)) {
  color: #E63946;
}
