/* =========================================
   GLOBAL VARIABLES & RESET
========================================= */
:root {
  font-size: 16px;

  --color-primary: #044ed4;
  --color-primary-bg: #ffffff;
  --color-section-bg: #efeff4; /* reserved for other pages */
  --color-alt-bg: #e8ecff;     /* reserved for other pages */
  --color-footer-main: #001945;
  --color-footer-lower: #04245d;
  --color-text: #000000;
  --color-white-btn: #f2f2f2;

  --radius-lg: 1.5rem;
  --radius-md: 0.75rem;
  --radius-pill: 9999px;

  --shadow-soft: 0 0.75rem 2rem rgba(0, 0, 0, 0.12);
  --shadow-card: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-primary-bg);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0 0 0.75rem;
}

/* =========================================
   GLOBAL LAYOUT
========================================= */

.container {
  max-width: 80rem; /* 1280px */
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* Shared panel wrapper for hero & empower CTA */
.panel-container {
  max-width: 80rem;        /* same as container */
  margin: 0 auto;          /* center it */
  padding-inline: 1.5rem;  /* ensures panel never touches screen edges */
}

.panel-inner {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.section-space {
  padding-block: 3.5rem;
}

.section-heading {
  font-size: 1.875rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
}

.section-heading-light {
  color: #ffffff;
}

.section-subtitle {
  font-size: 0.95rem;
  max-width: 34rem;
  margin: 0;
  color: rgba(0, 0, 0, 0.75);
}

.section-subtitle-light {
  color: rgba(255, 255, 255, 0.85);
}

/* =========================================
   BUTTONS
========================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-pill);
  font-size: 0.94rem;
  font-weight: 600;
  border: 0;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease,
    color 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #ffffff;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-0.05rem);
  box-shadow: 0 0.9rem 2.2rem rgba(4, 78, 212, 0.4);
}

.btn-light {
  background-color: #ffffff;
  color: #000000;
  margin-left: 0.75rem;
}

.btn-light:hover {
  background-color: #f5f5f5;
}

.btn-outline {
  border: 0.06rem solid rgba(0, 0, 0, 0.12);
  background-color: #ffffff;
}

.btn-outline:hover {
  background-color: #f7f7f7;
}

.btn-card {
  width: 100%;
  margin-top: 0.75rem;
  background-color: var(--color-primary);
  color: #ffffff;
  font-size: 0.88rem;
}

.btn-card:hover {
  background-color: #003bb0;
}

/* =========================================
   HEADER (GLOBAL)
========================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background-color: #ffffff;
  box-shadow: 0 0.25rem 0.85rem rgba(0, 0, 0, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  column-gap: 2.5rem;
  padding-block: 0.75rem;
}

.brand-logo {
  height: 2.25rem;
  width: auto;
}

/* Burger toggle base (hidden checkbox) */
.nav-toggle {
  display: none;
}

/* Burger icon */
.burger {
  display: none;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: 0.06rem solid rgba(0, 0, 0, 0.08);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background-color: #ffffff;
  margin-left: auto;
}

.burger-line {
  position: relative;
  width: 1.2rem;
  height: 0.12rem;
  border-radius: 999px;
  background-color: #111111;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.burger-line::before,
.burger-line::after {
  content: "";
  position: absolute;
  left: 0;
  width: 1.2rem;
  height: 0.12rem;
  border-radius: 999px;
  background-color: inherit;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.burger-line::before {
  transform: translateY(-0.32rem);
}

.burger-line::after {
  transform: translateY(0.32rem);
}

/* Burger animation when open */
.nav-toggle:checked + .burger .burger-line {
  transform: rotate(45deg);
}

.nav-toggle:checked + .burger .burger-line::before {
  transform: rotate(-90deg);
}

.nav-toggle:checked + .burger .burger-line::after {
  opacity: 0;
}

/* Main nav */
.main-nav {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.95rem;
}

.nav-link {
  position: relative;
  color: rgba(0, 0, 0, 0.7);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 0;
  height: 0.12rem;
  border-radius: 999px;
  background-color: var(--color-primary);
  transition: width 0.16s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  margin-left: auto; /* push contact button to the far right */
  padding: 0.5rem 1.3rem;
  border-radius: var(--radius-pill);
  background-color: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 0.4rem 1.3rem rgba(4, 78, 212, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-cta-secondary {
    margin-left: auto;
    padding: 0.5rem 1.3rem;
    border-radius: var(--radius-pill);
    background-color: transparent;
    color: var(--color-primary);
    box-shadow: navajowhite;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 2px solid var(--color-primary);
    transition: .1s ease-in-out;
}

.nav-cta-secondary:hover {
    background: #e6efff;
    transition: .1s ease-in-out;
}

.nav-cta-secondary:hover::after{
  width: 0;
}

.nav-cta:hover::after{
  width: 0;
}

.nav-cta-icon {
  width: 1rem;
  height: 1rem;
}

/* =========================================
   FOOTER (GLOBAL)
========================================= */

.site-footer {
  color: #ffffff;
  font-size: 0.88rem;
  background-color: var(--color-footer-main);
}

.footer-main {
  padding-block: 2.75rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) repeat(2, minmax(0, auto));
  gap: 2.5rem;
  align-items: flex-start;
}

.footer-logo {
  height: 2.4rem;
  margin-bottom: 1rem;
}

.footer-text {
  max-width: 22rem;
  color: rgba(255, 255, 255, 0.85);
}

.footer-heading {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li + li {
  margin-top: 0.4rem;
}

.footer-list a {
  color: rgba(255, 255, 255, 0.86);
}

.footer-list a:hover {
  text-decoration: underline;
}

.footer-lower {
  background-color: var(--color-footer-lower);
  padding-block: 0.9rem;
}

.footer-lower-inner {
  display: flex;
  justify-content: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
}

/* =========================================
   LAYOUTING (GLOBAL)
========================================= */
.d-flex {
    display: flex;
}
.gap-2 {
    gap: 8px;
}
.ms-auto {
    margin-left: auto;
}
/* =========================================
   EMPOWER SECTION (GLOBAL)
========================================= */

.section-empower {
  padding-block: 2.5rem;
  background-color: #ffffff;
}

@media (max-width: 1280px) {
  .section-empower {
    margin-inline: 20px !important;
  }
}

.empower-inner {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-image: url("../images/Digital-Circuitry.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
  box-shadow: var(--shadow-soft);

  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 22rem;
}

.empower-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 25, 69, 0.85),
    rgba(4, 78, 212, 0.55)
  );
}

/* Empower CTA — content box controls width */

.empower-content {
  position: relative;
  text-align: center;
  max-width: 52rem;          /* wider content box */
  margin-inline: auto;
  padding: 3rem 2.5rem 3.75rem;
}

/* Inside this section, let title + text use full box width */

.section-empower .section-heading,
.section-empower .section-subtitle {
  max-width: 100%;           /* override global 34rem limit */
  margin-left: auto;
  margin-right: auto;
}

.section-empower .section-heading {
  margin-bottom: 1rem;
}

.section-empower .section-subtitle {
  margin-bottom: 1.75rem;    /* space before button */
}

/* Button sizing */

.empower-content .btn {
  padding-inline: 2rem;
  padding-block: 0.9rem;
  font-size: 0.95rem;
}



/* =========================================
   HERO
========================================= */

.hero {
  position: relative;
  padding: 3rem 0 3.5rem;
  background-color: #ffffff;
  color: #ffffff;
}

/* Container that holds BOTH image + content */
.hero-shell {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);

  /* background image now belongs to the container */
  background-image: url("../images/Home-particles.jpg");
  background-size: cover;
  background-position: center;
}

/* Darkening layer ON TOP of the image */
.hero-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45); /* tweak strength here */
  z-index: 0;
}

/* Old overlay element no longer needed */
.hero-overlay {
  display: none;
}

/* Content sits above darkening */
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 48rem;
  margin-inline: auto;
  text-align: center;
  padding: 7rem 1.5rem;
}

.hero-title {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 1.75rem auto 0.75rem;
}

.hero-title span {
  display: inline-block;
}

.hero-subtitle {
  font-size: 0.95rem;
  margin-inline: auto;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.85);
}

.hero-actions {
  margin-top: 1.6rem;
}


/* =========================================
   EMPOWERING + CAPABILITIES GRID
   (single section, 3 columns)
========================================= */

.section-empowering {
  padding-block: 4.5rem 3.5rem;
}

/* 3-column layout:
   row1: intro-left | intro-right (spans col2-3)
   row2: insight    | realtime | automated
*/
.empowering-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr;  /* ≈ 42% / 29% / 29% */
  grid-template-areas:
    "intro-left intro-right intro-right"
    "card-insight card-realtime card-automated";
  column-gap: 1.5rem;
  row-gap: 2rem;
  align-items: stretch;
}

.intro-left {
  grid-area: intro-left;
}

.intro-right {
  grid-area: intro-right;
}

.intro-left .intro-text {
  margin-bottom: 1.2rem;
  font-size: 0.96rem;
}

/* black Contact button */
.intro-left .btn-outline {
  background-color: #000000;
  color: #ffffff;
  border-color: #000000;
}

.intro-left .btn-outline:hover {
  background-color: #222222;
}

/* cards placed in named areas */
.capability-insight {
  grid-area: card-insight;
}

.capability-realtime {
  grid-area: card-realtime;
}

.capability-automated {
  grid-area: card-automated;
}

/* =========================================
   CAPABILITY CARDS — equal height + top/bottom alignment
========================================= */

.capability-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* title at top, body at bottom */
  padding: 1.6rem 1.6rem 1.5rem;
  border-radius: var(--radius-md);
  color: #ffffff;
  overflow: hidden;
  box-shadow: var(--shadow-card);

  /* Ensures equal heights across the row */
  min-height: 13rem;
  height: 100%;
}

/* All cards share default bg unless overwritten */
.capability-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--color-footer-main);
  z-index: -2;
}

.capability-title {
  margin: 0 0 0.6rem;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
}

/* Body pushed to bottom */
.capability-body {
  margin-top: auto;
}

.capability-body p {
  margin: 0;
}

.capability-body p + p {
  margin-top: 0.5rem;
}

/* Bold subtitle inside insight card */
.capability-subtitle {
  font-weight: 600;
}

/* Insight card background */
.capability-insight::before {
  background-image: url("../images/Insight-rotation.jpg");
  background-size: cover;
  background-position: center;
}

.capability-insight::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom right,
    rgba(0, 25, 70, 0.8),
    rgba(4, 78, 212, 0.85)
  );
  z-index: -1;
}


/* =========================================
   OUR PRODUCT
========================================= */

.section-products {
  background-color: #ffffff;
}

.section-header {
  margin-bottom: 2.25rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch; /* all cards equal height */
}

/* CARD WRAPPER */
.product-card {
  background-color: #ffffff;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* IMAGE */
.product-image {
  height: 9.5rem;
  border-radius: 0.75rem;
  overflow: hidden;
  margin-bottom: 1rem;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* BODY LAYOUT */
.product-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  font-size: 0.9rem;
}

/* Title at top */
.product-body-top h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

/* Text + Button anchored to bottom */
.product-body-bottom {
  margin-top: auto;
}

.product-body-bottom p {
  margin: 0 0 0.85rem;
}

/* FULL-WIDTH button */
.btn-card {
  width: 100%;
  margin-top: 0;
  background-color: var(--color-primary);
  color: #ffffff;
  font-size: 0.88rem;
  justify-content: center;
  border-radius: var(--radius-pill);
}


/* =========================================
   WHY CHOOSE US
========================================= */

.section-why {
  padding-block: 4.5rem 4.75rem;
  background: radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.06), transparent 55%),
    linear-gradient(135deg, #001945, #04245d);
  color: #ffffff;
}

.why-header {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.why-image-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  height: 14rem;            /* Thin cinematic stripe */
}

.why-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;        /* Ensures proper cropping */
  object-position: center;  /* Centers the interesting part */
}

/* =========================================
   ABOUT PAGE
========================================= */

/* ---------- Hero ---------- */

.about-hero {
  padding-block: 4.5rem 4rem;
}

.about-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: stretch;          /* stretch both columns to same height */
}

.about-hero-copy {
  max-width: 34rem;
}

.about-hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 1rem;
}

.about-hero-lead {
  font-size: 0.96rem;
  margin-bottom: 1.5rem;
}

.about-hero-visual {
  display: flex;
  justify-content: flex-end;
  align-items: stretch;          /* image column fills full height */
}

.about-hero-image {
  width: 100%;
  height: 100%;                  /* fill the whole column */
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  max-width: none;               /* remove previous max-width limit */
}

.about-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;             /* skyrise covers entire box */
}

/* ---------- About stripe: image + copy ---------- */

.about-intro-section {
  padding-block: 3.5rem 4rem;
  background-color: var(--color-section-bg);
}

.about-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.35fr);
  gap: 2.5rem;
  align-items: center;
}

.about-intro-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.about-intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-intro-copy {
  max-width: 34rem;
}

.about-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 0.06rem solid rgba(0, 0, 0, 0.16);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.about-intro-title {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 0.75rem;
}

.about-intro-text {
  font-size: 0.95rem;
  max-width: 34rem;
}

/* ---------- Our Product (About page version) ---------- */

.about-products {
  background-color: #ffffff;
}

.about-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem;
}

/* Card with white frame + thin border, like index products */
.about-product-card {
  position: relative;
  border-radius: var(--radius-md);
  background-color: #ffffff;
  padding: 0.75rem;                          /* white space around image */
  border: 0.06rem solid rgba(0, 0, 0, 0.12); /* thin dark border */
  box-shadow: var(--shadow-card);
  overflow: hidden;
  min-height: 15rem;
}

/* Image fills the inner area */
.about-product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0.75rem;
}

/* Transparent blue panel across lower part of image */
.about-product-overlay {
  position: absolute;
  left: 0.75rem;                 /* align inside padding */
  right: 0.75rem;
  bottom: 0.75rem;
  border-radius: 0 0 0.75rem 0.75rem;
  padding: 0.8rem 0.95rem 0.9rem;
  background: rgba(0, 25, 69, 0.88); /* semi-transparent blue panel */
  color: #ffffff;
  font-size: 0.9rem;
}

.about-product-title {
  margin: 0 0 0.35rem;
  font-size: 0.96rem;
  font-weight: 600;
}

.about-product-text {
  margin: 0 0 0.7rem;
}

.btn-about-card {
  padding-inline: 1.1rem;
  padding-block: 0.5rem;
  font-size: 0.82rem;
  background-color: #ffffff;
  color: #000000;
  border-radius: var(--radius-pill);
  box-shadow: none;
}

/* =========================================
   PRODUCTS PAGE
========================================= */

/* ---------- Hero ---------- */

.hero-products .hero-shell {
    background-image: url("../images/Saas-panel-finger-hover.png");
}

/* ---------- Redefining section ---------- */

/* Make both columns stretch so the image can fill its side */
.products-redefine-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: stretch; /* was center */
}

.products-redefine-visual {
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
}

/* Let the image take the full column space */
.products-redefine-image {
  width: 100%;
  max-width: none;              /* remove cap */
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.products-redefine-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;            /* fill area */
}

/* ---------- Products list ---------- */

/* Products list background*/
.products-list-section {
    background: var(--color-section-bg);
}

/* The strip itself */
.product-strip {
  display: grid;
  grid-template-columns: auto 1fr;   /* image defines its own width */
  align-items: flex-start;           /* text stays top-aligned */
  gap: 0;                            /* NO GAP between image + text */
  padding-block: 2.25rem;
  min-height: 10rem;                 /* optional buffer; can be removed */
}

/* Larger image panel */
.product-strip-image {
  width: 14rem;                      /* wider */
  height: 10rem;                    /* taller image drives strip height */
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.product-strip-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Text block */
.product-strip-body {
  padding-left: 1.5rem;              /* controlled spacing instead of gap */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.product-strip-body h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.product-strip-body p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
}

/* Divider between strips */
.product-strip-divider {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 2.25rem;
}

/* ---------- Why Choose Us (PRODUCTS PAGE ONLY) ---------- */

.products-why-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 2.1fr);
  gap: 2.5rem;
  align-items: flex-start;   /* text aligns to the top, not centered */
}

.products-why-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.products-why-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.products-why-copy {
  margin-top: 2.1rem;
  display: flex;
  flex-direction: column;
}

.products-why-pill {
  display: inline-flex;          /* content-sized pill */
  align-self: flex-start;        /* avoid stretching full width */
  width: auto;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 0.06rem solid rgba(0, 0, 0, 0.16);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.products-why-text {
  font-size: 0.95rem;
}

/* =========================================
   CONTACT MAIN GRID
========================================= */

.contact-main {
  padding-block: 3.75rem 3.5rem;
  background-color: #ffffff;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr);
  gap: 2rem;
  align-items: stretch;
}

/* Left info card */

.contact-card {
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background-color: #001945;
  color: #ffffff;
  display: flex;
  flex-direction: column;
}

.contact-card-image-wrap {
  height: 10rem;
  overflow: hidden;
}

.contact-card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-card-body {
  padding: 1.75rem 1.75rem 2rem;
  background: linear-gradient(180deg, #00245a 0%, #001945 100%);
}

.contact-card-item + .contact-card-item {
  margin-top: 1.5rem;
}

.contact-card-icon img {
  width: 1.2rem;
  height: 1.2rem;
}

.contact-card-item {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.75rem;
}

.contact-card-text h3 {
  margin: 0 0 0.25rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.contact-card-text p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
}

/* Right form card */

.contact-form-card {
  border-radius: var(--radius-lg);
  background-color: #ffffff;
  box-shadow: var(--shadow-soft);
  padding: 1.75rem 1.75rem 1.9rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-field-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.86rem;
}

.field-group label {
  font-weight: 600;
}

.field-group input,
.field-group select,
.field-group textarea {
  font: inherit;
  border-radius: 0.6rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 0.65rem 0.8rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field-group textarea {
  resize: vertical;
  min-height: 7rem;
}

.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px rgba(4, 78, 212, 0.15);
}

/* Bottom row: captcha + button */

.contact-form-footer {
  margin-top: 0.4rem;
  display: flex;
  align-items: flex-end;  /* push content to the right */
  justify-content: space-between;
  gap: 1.25rem;
}

.captcha-box img {
  display: block;
  max-width: 100%;
  height: auto;
}

.contact-submit {
  padding-inline: 1.8rem;
}

/* =========================================
   FIXES: Contact Page Layout Improvements
========================================= */

/* Match card and form height */
.contact-grid {
  align-items: stretch; /* allow both sides to equalize height */
}

.contact-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Prevent image section from collapsing */
.contact-card-image-wrap {
  flex-shrink: 0;
}

/* Contact card body fills remaining space cleanly */
.contact-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* -----------------------------------------
   Captcha alignment
------------------------------------------ */

.contact-form-footer {
  display: flex;
  flex-direction: column;
  align-items: flex-end; /* align captcha + button to the right */
  gap: 0.75rem;
}

.captcha-box {
  display: block;
  max-width: 310px; /* keeps it tidy */
}

/* Button alignment stays naturally at bottom-right */
.contact-submit {
  align-self: flex-end;
}

/* =========================================
   CONTACT MAP
========================================= */

.contact-map-section {
  padding: 0 0 4rem;
  background-color: #ffffff;
}

.contact-map-wrapper {
  overflow: hidden;
}

.contact-map-wrapper iframe {
  border-radius: var(--radius-lg);
  display: block;
  width: 100%;
  border: 0;
}

/* =========================================
   FIXED HEIGHT FOR CONTACT + DOWNLOAD HERO
========================================= */

.hero-contact .hero-shell,
.hero-download .hero-shell {
    height: 352px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Remove excessive padding that fights against fixed height */
.hero-content-contact,
.hero-content-download {
    padding-block: 0;
    padding-inline: 1.5rem;
}

/* Contact hero background */
.hero-contact .hero-shell {
    background-image: url("../images/Digital-orb.png");
    background-size: cover;
    background-position: center;
}

/* Download hero background */
.hero-download .hero-shell {
    background-image: url("../images/blue-tiles.png");
    background-size: cover;
    background-position: center;
}

/* No darkening layer on these two heroes */
.hero-contact .hero-overlay,
.hero-download .hero-overlay {
    background: none;
}

/* =========================================
   RESPONSIVE STYLES
   (all media queries use fixed px values)
========================================= */

/* <= 1024px */
@media (max-width: 1024px) {
  .hero {
    padding-block: 3.75rem;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .intro-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .capabilities-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  }
}

/* <= 880px: activate burger menu */
@media (max-width: 880px) {
  .header-inner {
    padding-block: 0.6rem;
  }

  .burger {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    margin-inline: auto;
    max-width: 80rem;
    padding-inline: 1.5rem;
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding-block: 0.9rem;
    background-color: #ffffff;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow: 0 0.6rem 1.5rem rgba(0, 0, 0, 0.12);
    z-index: 25;
  }

  .nav-toggle:checked ~ .main-nav {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    padding-block: 0.1rem;
  }

  /* MOBILE: contact button left-aligned, not full-width */
  .nav-cta {
    margin-left: 0;          /* remove desktop auto push */
    margin-top: 0.35rem;
    align-self: flex-start;  /* align with other links */
    justify-content: flex-start;
    width: auto;             /* ensure it doesn't stretch */
  }
}


/* <= 768px */
@media (max-width: 768px) {
  .hero-content {
    text-align: left;
    padding-inline: 1.75rem; /* a bit more breathing room on small screens */
  }

  .hero-shell {
    margin: 0 1.5rem;
  }

  .hero-title {
    font-size: 1.9rem;
  }

  .hero-subtitle {
    max-width: 100%;
  }

  .hero-actions {
    display: flex;
    flex-wrap: wrap;
  }

  .product-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}

/* <= 480px */
@media (max-width: 480px) {
  .hero {
    padding-block: 3.25rem;
  }

  .hero-title {
    font-size: 1.7rem;
  }

  .btn-light {
    margin-left: 0.5rem;
  }
}

/* <= 1024px : 2-column layout */
@media (max-width: 1024px) {
  .empowering-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "intro-left intro-right"
      "card-insight card-insight"
      "card-realtime card-automated";
  }
}

/* <= 768px : stacked layout */
@media (max-width: 768px) {
  .empowering-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "intro-left"
      "intro-right"
      "card-insight"
      "card-realtime"
      "card-automated";
  }
}

/* =========================================
   ABOUT PAGE – RESPONSIVE
========================================= */

/* <= 1024px */
@media (max-width: 1024px) {
  .about-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-hero-visual {
    justify-content: flex-start;
  }

  .about-intro-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* <= 768px */
@media (max-width: 768px) {
  .about-hero-title {
    font-size: 2rem;
  }

  .about-product-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* =========================================
   PRODUCTS PAGE – RESPONSIVE
========================================= */

/* <= 1024px */
@media (max-width: 1024px) {
  .products-redefine-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .products-redefine-visual {
    justify-content: flex-start;
  }

  .product-strip {
    grid-template-columns: minmax(0, 1fr);
  }

  .products-why-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* <= 768px */
@media (max-width: 768px) {
  .products-hero-content h1 {
    font-size: 2rem;
  }

  .products-hero-content {
    text-align: left;
  }
}

/* =========================================
   RESPONSIVE – CONTACT PAGE
========================================= */

/* <= 1024px */
@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-form-card {
    padding-inline: 1.5rem;
  }
}

/* <= 768px */
@media (max-width: 768px) {
  .hero-content-contact {
    padding-block: 2.25rem;
  }

  .hero-title-contact {
    font-size: 2rem;
  }

  .contact-field-pair {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-form-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-submit {
    align-self: stretch;
    justify-content: center;
    width: 100%;
  }
}

