/* RESET & BASE -------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: #050816;
  color: #f5f7ff;
}

/* VARIABLES ----------------------------------------------- */
:root {
  --bg-deep: #050b33;
  --bg-deeper: #04081f;
  --bg-hero-gradient: radial-gradient(circle at 0% 0%, #3055ff 0, #2526a1 40%, #050b33 100%);
  --accent-yellow: #ffc857;
  --accent-teal: #10d7ff;
  --accent-cyan: #1fe0ff;
  --accent-green: #27d98b;
  --text-main: #f7f8ff;
  --text-soft: #d7ddff;
  --text-muted: #9aa2c8;
  --card-dark: #11173a;
  --card-darker: #070c24;
  --white: #ffffff;
}

/* LAYOUT HELPERS ------------------------------------------ */
.page-wrapper {
  min-height: 100vh;
  background: var(--bg-deeper);
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}



/* HEADER -------------------------------------------------- */
.site-header {
  position: absolute;   /* was relative */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  padding: 1.4rem 0;
  background: transparent;   /* remove any solid/gradient bg here */
  box-shadow: none;          /* remove if you had one */
}

.header-inner {
  max-width: 1400px;     /* ← ADD THIS */
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* BRAND */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 30%, #ffffff 0, #1fe0ff 45%, #304bff 100%);
}

.brand-circle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 3px solid #050816;
  background: #ffffff;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-size: 0.9rem;
  color: var(--text-soft);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}

.brand-sub {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}

/* NAV ----------------------------------------------------- */
.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-soft);
  transition: color 0.2s ease, opacity 0.2s ease;
}

.main-nav a:hover {
  color: var(--white);
  opacity: 1;
}

/* ===========================================================
   SHARED BACKGROUND for HERO & FOOTER
   (YOU MUST PASTE YOUR REAL HERO BACKGROUND CODE BELOW)
=========================================================== */

.surface-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  /* COPY YOUR REAL HERO GRADIENTS HERE ↓ */
  background:
    radial-gradient(circle at 110% 0%, #ffc642 0%, #ffc642 34%, transparent 60%),
    radial-gradient(circle at -10% 110%, rgba(40,215,255,0.22) 0%, transparent 65%),
    radial-gradient(circle at 20% 20%, #304dff 0%, #262899 40%, #050a2e 85%);
}

/* If your hero uses ::before or ::after blobs,
   paste THEM here and just change .hero-bg → .surface-bg */

.surface-bg::before {
  /* example — replace with your real code */
  content: "";
  position: absolute;
  width: 55vw;
  height: 55vw;
  right: -12vw;
  top: -12vw;
  background: #ffc642;
  border-radius: 65% 35% 45% 80%;
}

.surface-bg::after {
  /* example — replace with your real code */
  content: "";
  position: absolute;
  width: 140vw;
  height: 42vh;
  left: -20vw;
  bottom: -22vh;
  background: #081654;
  border-radius: 55% 45% 0 0;
}

/* HEADER CTA BUTTON & TOGGLE ------------------------------ */
.header-cta {
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  padding: 0.25rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
  border-radius: 999px;
}

/* BUTTONS ------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border-radius: 999px;
  padding: 0.75rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease,
    color 0.15s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #3c7cff, #5f4bff);
  color: var(--white);
  box-shadow: 0 14px 35px rgba(18, 86, 255, 0.45);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(18, 86, 255, 0.6);
}

.btn-ghost {
  background: rgba(7, 18, 60, 0.6);
  color: var(--text-soft);
  border: 1px solid rgba(120, 146, 255, 0.5);
}

.btn-ghost:hover {
  background: rgba(13, 31, 94, 0.95);
  color: var(--white);
}

.btn-outline {
  border: 1px solid rgba(129, 166, 255, 0.7);
  background: transparent;
  color: var(--text-soft);
}

.btn-outline:hover {
  background: rgba(17, 27, 82, 0.9);
  color: var(--white);
}

.btn-secondary {
  background: var(--accent-yellow);
  color: #1a1230;
}

.btn-secondary:hover {
  background: #ffd876;
}

.btn-link {
  background: none;
  color: var(--accent-teal);
  padding-left: 0;
  padding-right: 0;
}

.btn-link:hover {
  color: var(--accent-cyan);
}

.btn-small {
  padding: 0.55rem 1.3rem;
  font-size: 0.85rem;
}

.site-logo img {
  height: 56px;
  width: auto;
}

@media (max-width: 800px) {
  .site-logo img {
    height: 46px;
  }
}

@media (max-width: 480px) {
  .site-logo img {
    height: 40px;
  }
}

/* HERO ---------------------------------------------------- */
/* ========== HERO WITH ORGANIC BLOBS ========== */

.hero {
  position: relative;
  padding: 3.5rem 0 5.5rem;
  overflow: hidden;
  background: #050826; /* deep base */
}

/* Base gradient + overlay blobs */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  /* main deep blue / purple gradient */
  background: radial-gradient(
      circle at 0% 0%,
      #335dff 0,
      #262899 40%,
      #050826 100%
    );
}

/* YELLOW ORGANIC SHAPE – top right */
.hero-bg::before {
  content: "";
  position: absolute;
  pointer-events: none;
  width: 55vw;
  height: 55vw;
  background: #ffc93a;
  border-radius: 55% 45% 50% 60%;
  top: -20vw;
  right: -18vw;
  /* soften edge a little */
  box-shadow: 0 0 80px rgba(255, 198, 58, 0.6);
}

/* BLUE ORGANIC SHAPE – bottom left */
.hero-bg::after {
  content: "";
  position: absolute;
  pointer-events: none;
  width: 70vw;
  height: 70vw;
  background: radial-gradient(circle at 30% 20%, #28d9ff 0, #0660d8 40%, #04236a 80%);
  border-radius: 60% 40% 55% 45%;
  bottom: -40vw;
  left: -30vw;
  box-shadow: 0 -40px 90px rgba(0, 0, 0, 0.5);
}

/* make sure hero content sits above shapes */
.hero-inner,
.hero-ac-strip {
  position: relative;
  z-index: 1;
}


.hero-inner {
  max-width: 1400px;   /* ← SAME AS HEADER */
  width: 100%;
  position: relative;
  margin-top: 5em;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
  gap: 3rem;
  align-items: center;
}

/* HERO COPY */
.hero-copy {
  max-width: 520px;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  background: rgba(7, 17, 60, 0.7);
  color: var(--accent-teal);
  margin-bottom: 0.85rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 4vw, 3.1rem);
  line-height: 1.1;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 1.1rem;
}

.hero p {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--text-soft);
  margin-bottom: 1.4rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.6rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.8rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-meta .meta-label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  margin-bottom: 0.2rem;
  color: rgba(179, 188, 255, 0.8);
}

.hero-meta .meta-value {
  font-weight: 500;
  color: var(--text-soft);
}

/* HERO VISUAL */
.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-photo-circle {
  position: relative;
  width: min(220px, 90vw);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.45),
    0 0 0 14px rgba(28, 46, 151, 0.75);
}

.hero-photo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

/* Hero image – NOT a circle, with max height */
.hero-visual img {
  max-height: 500px;      /* 👈 change this number to whatever height you want */
  width: auto;
  height: auto;
  object-fit: contain;
  position: relative;
  z-index: 2;

  /* Optional: soft fade into the left side */
  -webkit-mask-image: linear-gradient(
    to left,
    rgba(0,0,0,1) 65%,
    rgba(0,0,0,0.6) 80%,
    rgba(0,0,0,0) 100%
  );
  mask-image: linear-gradient(
    to left,
    rgba(0,0,0,1) 65%,
    rgba(0,0,0,0.6) 80%,
    rgba(0,0,0,0) 100%
  );
}

@media (max-width: 880px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual {
    justify-content: center;
    order: -1;          /* put image above text on mobile */
  }

  .hero-visual img {
    max-height: 420px;
    width: 100%;
    height: auto;
    object-fit: contain;
  }
}

/* HERO AC STRIP ------------------------------------------ */
.hero-ac-strip {
  position: relative;
}

.ac-strip-inner {
  background: linear-gradient(135deg, #041026, #041b3f);
  border-radius: 0.2rem;
  padding: 1.8rem 2.3rem;
  display: grid;
  grid-template-columns: minmax(0, 2.5fr) minmax(0, 2fr);
  gap: 1.6rem;
  align-items: center;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.55);
}

.ac-strip-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.ac-feature h3 {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.ac-feature p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.ac-strip-unit {
  text-align: center;
}

.ac-strip-unit img {
  max-width: 220px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 0.7rem;
}

/* INFO SECTION ------------------------------------------- */
.info-section {
  background: #f3f4ff;
  color: #12142a;
  padding: 4.5rem 0 4.8rem;
}

.info-inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
  gap: 3rem;
  align-items: center;
}

.section-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #f5a623;
  margin-bottom: 0.7rem;
}

.info-copy h2 {
  font-size: clamp(1.9rem, 3vw, 2.35rem);
  line-height: 1.17;
  margin-bottom: 1rem;
}

.info-copy p {
  font-size: 0.96rem;
  line-height: 1.7;
  color: #5c6180;
  margin-bottom: 0.9rem;
}

.hero-ac-strip .container {
  max-width: none; 
  width: 100%;
}


/* INFO CARD */
.info-card {
  background: linear-gradient(135deg, #1950ff, #4d29ff);
  border-radius: 1.8rem;
  padding: 1.5rem;
  color: var(--white);
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.9fr);
  gap: 1.4rem;
  box-shadow: 0 24px 50px rgba(0, 33, 158, 0.4);
}

.info-card-photo {
  border-radius: 1.4rem;
  overflow: hidden;
}

.info-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.info-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.info-card-body p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0.9rem;
}

/* EQUIPMENT SECTION -------------------------------------- */
.equipment-section {
  background: #f3f4ff;
  padding: 0 0 4.8rem;
}

.equipment-inner {
  background: #050b33;
  padding: 2.4rem 2.6rem;
  display: grid;
  grid-template-columns: minmax(0, 2.6fr) minmax(0, 3fr);
  gap: 2.4rem;
  align-items: center;
  color: var(--text-main);
  box-shadow: 0 24px 60px rgba(5, 11, 51, 0.7);
}

.equipment-unit img {
  max-width: 320px;
  width: 100%;
  height: auto;
  display: block;
}

.equipment-card h2 {
  font-size: clamp(1.8rem, 2.6vw, 2.1rem);
  margin-bottom: 0.85rem;
}

.equipment-card p {
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.equipment-list {
  list-style: none;
  margin-bottom: 1.4rem;
}

.equipment-list li {
  font-size: 0.9rem;
  color: var(--text-soft);
  margin-bottom: 0.45rem;
  position: relative;
  padding-left: 1.2rem;
}

.equipment-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-teal);
  
  
}

/* Remove circular frame styling */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  z-index: 2;
}

/* NEW hero portrait style */
.hero-photo {
  width: 520px;              /* adjust as needed */
  height: auto;
  object-fit: cover;
  border-radius: 0;          /* remove circle */
  position: relative;
  z-index: 2;
  
  /* soft blending into background */
  mask-image: linear-gradient(
    to left,
    rgba(0,0,0,1) 65%,
    rgba(0,0,0,0.6) 80%,
    rgba(0,0,0,0) 100%
  );
  
  -webkit-mask-image: linear-gradient(
    to left,
    rgba(0,0,0,1) 65%,
    rgba(0,0,0,0.6) 80%,
    rgba(0,0,0,0) 100%
  );
}

/* Remove old circle styles entirely */
.hero-photo-circle,
.hero-photo-circle img {
  display: none !important;
}

.hero-photo {
  height: 700px;                 /* FIXED hero height */
  max-height: 700px;             /* safety */
  width: auto;                   /* maintain correct proportions */
  object-fit: cover;
  border-radius: 0;
  position: relative;
  z-index: 2;

  /* soft blending into the background */
  mask-image: linear-gradient(
    to left,
    rgba(0,0,0,1) 60%,
    rgba(0,0,0,0.6) 78%,
    rgba(0,0,0,0) 100%
  );
  -webkit-mask-image: linear-gradient(
    to left,
    rgba(0,0,0,1) 60%,
    rgba(0,0,0,0.6) 78%,
    rgba(0,0,0,0) 100%
  );
}

/* ============================================
   TYPES OF SYSTEMS SECTION
============================================ */
.services-section {
  background: #050826; /* matches your dark theme */
  padding: 4.5rem 0;
  position: relative;
  z-index: 1;
}

.services-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- Section Header ---------- */
.services-header {
  max-width: 700px;
  margin-bottom: 2.5rem;
}

.services-header .section-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #f5a623;
  margin-bottom: 0.6rem;
}

.services-header h2 {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  color: var(--text-main);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.services-header p {
  font-size: 0.96rem;
  color: var(--text-soft);
  line-height: 1.65;
}

/* ---------- GRID LAYOUT ---------- */
.system-types-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
}

/* ---------- INDIVIDUAL BOXES ---------- */
.system-type-box {
  background: #050b33;              /* deep card color */
  border-radius: 0;                 /* flat edges */
  padding: 1.4rem 1.5rem;
  color: var(--text-main);
  box-shadow: 0 22px 55px rgba(5, 11, 51, 0.55);
  border: 1px solid rgba(255,255,255,0.05);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

/* Hover effect */
.system-type-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 65px rgba(5, 11, 51, 0.75);
}

/* Text styles */
.system-type-box h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
  color: var(--text-main);
}

.system-type-box p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-soft);
}

/* =====================================================
   FOOTER (SAME BACKGROUND AS HERO — NOT DARKER)
===================================================== */

.site-footer {
  position: relative;
  padding: 4rem 0 0;
  overflow: hidden;
  color: var(--text-soft);
  background: transparent; /* allow hero bg to show */
}

/* use your shared hero background */
.footer-bg.surface-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* FOOTER LAYOUT */
.footer-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

/* COLUMNS */
.footer-col h4 {
  font-size: 1.05rem;
  color: var(--white);
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-logo {
  width: 160px;
  margin-bottom: 1rem;
}

.footer-col p {
  color: var(--text-soft);
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

.footer-auth {
  color: #ffc857;
  margin-top: 0.8rem;
  font-weight: 600;
}

/* LINKS */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.45rem;
}

.footer-links a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 0.9rem;
  transition: 0.2s ease;
}

.footer-links a:hover {
  color: var(--white);
}

/* CTA BUTTON */
.footer-btn {
  margin-top: 1rem;
}

/* BOTTOM STRIP */
.footer-bottom {
  background: rgba(0,0,0,0.25);
  padding: 1rem 0;
  margin-top: 2.5rem;
  text-align: center;
  color: #d7dcff;
  font-size: 0.85rem;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
}


/* ================================
   RESPONSIVE BEHAVIOUR
================================ */
@media (max-width: 900px) {
  .system-types-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 580px) {
  .system-types-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .services-header {
    text-align: left;
  }
}


/* RESPONSIVE --------------------------------------------- */
@media (max-width: 1024px) {
  .header-inner {
    gap: 1rem;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 3.2fr) minmax(0, 2.1fr);
    gap: 2.2rem;
  }

  .ac-strip-inner {
    grid-template-columns: 1.4fr 1.1fr;
  }

  .ac-strip-columns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .info-inner {
    grid-template-columns: 1.1fr 1fr;
  }

  .equipment-inner {
    grid-template-columns: 1.25fr 1.75fr;
  }
}

@media (max-width: 880px) {
  /* header: show burger, hide nav inline */
  .main-nav {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .site-header.nav-open .main-nav {
    display: block;
    position: absolute;
    inset-inline: 0;
    top: 100%;
    padding: 0.9rem 1.5rem 1.1rem;
  }

  .site-header.nav-open .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }

  .site-header.nav-open .main-nav a {
    font-size: 0.92rem;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    text-align: left;
  }

  .hero-visual {
    order: -1;
    margin-bottom: 2rem;
  }

  .hero-photo-circle {
    width: min(260px, 70vw);
  }

  .ac-strip-inner {
    grid-template-columns: minmax(0, 1fr);
    text-align: left;
  }

  .ac-strip-unit {
    text-align: center;
  }

  .ac-strip-columns {
    grid-template-columns: minmax(0, 1fr);
  }

  .info-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .info-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .equipment-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .equipment-unit {
    text-align: center;
  }

  .equipment-unit img {
    margin: 0 auto;
  }
}

@media (max-width: 540px) {
  .hero {
    padding-top: 2.6rem;
  }

  .hero-copy {
    max-width: none;
  }

  .ac-strip-inner {
    border-radius: 1.7rem;
    padding: 1.5rem 1.5rem;
  }

  .info-section,
  .equipment-section {
    padding-inline: 0;
  }

  .equipment-inner {
    border-radius: 2rem 2rem 0 0;
  }
}

.main-nav a {
  color: #eef1ff; /* your current light text */
  text-shadow: 0 0 6px rgba(0,0,0,0.35);
}



