/* =========================
   GLOBAL BASELINE RESET
========================= */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
}

/* =========================
   HERO STABILISER
========================= */
#hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.hero-visual {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, sans-serif;
  background: #fff;
  color: #111;
}

a {
  text-decoration: none;
}

/* =====================================================
   HEADER – FINAL, STABLE, FIXED
===================================================== */

#site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;                 /* LOCKED HEIGHT */
  z-index: 1000;

  background: transparent;
  transition: background-color 0.25s ease;
}

/* Sticky state */
#site-header.is-sticky {
  background: #156951; /* Ace green */
}

/* Reserve space so content never jumps */
body {
  padding-top: 80px;            /* MUST MATCH HEADER HEIGHT */
}

/* =====================================================
   HEADER INNER LAYOUT
===================================================== */

.header-inner {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 0 2rem;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* =====================================================
   LOGO + TAGLINE
===================================================== */

.site-logo a {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.site-logo img {
  height: 36px;                 /* BALANCED LOGO SIZE */
  width: auto;
}

.site-tagline {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 0.25rem;
  opacity: 0.85;
  color: #ffffff;
}

/* =====================================================
   NAVIGATION
===================================================== */

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2rem;
}

.site-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: #c8f1e0;
}

/* =====================================================
   MOBILE MENU
===================================================== */

#menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-icon span {
  width: 26px;
  height: 3px;
  background: #ffffff;
  margin: 4px 0;
  transition: 0.3s;
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 900px) {

  .menu-icon {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: #156951;
  }

  .site-nav ul {
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 1rem;
  }

  #menu-toggle:checked + .menu-icon + .site-nav {
    display: block;
  }
}



/* =====================================================
   NAVIGATION (DESKTOP)
===================================================== */

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2rem;
}

/* DEFAULT (TOP): BLACK */
.site-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: #000;
  opacity: 1;
  visibility: visible;
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: #156951;
}

/* STICKY: WHITE */
#site-header.is-sticky .site-nav a {
  color: #fff;
}

#site-header.is-sticky .site-nav a:hover {
  color: #c8f1e0;
}

/* =====================================================
   MOBILE MENU
===================================================== */

#menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-icon span {
  width: 26px;
  height: 3px;
  background: #000;
  margin: 4px 0;
  transition: 0.3s;
}

/* Sticky hamburger */
#site-header.is-sticky .menu-icon span {
  background: #fff;
}

/* =====================================================
   SHOWCASE CONTACT PAGE – HEADER + HERO FIX (FINAL)
===================================================== */

/* --- NAV BASELINE (MATCH SHOWCASE INDEX) --- */
.main-nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  background: transparent;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 2rem;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo ALWAYS visible */
.main-nav .logo img {
  height: 38px;
  width: auto;
  display: block;
}

/* Menu links visible over video */
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}

.nav-links a.active {
  border-bottom: 2px solid rgba(255,255,255,0.6);
}

/* --- HERO VIDEO MUST SIT BEHIND NAV --- */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero video,
.hero .hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Dark overlay so logo + menu are readable */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 1;
}

/* Hero content ABOVE overlay */
.hero-content,
.hero-logo-overlay {
  position: relative;
  z-index: 2;
}

/* --- CONTENT OFFSET (NO FIXED HEADER HERE) --- */
body.has-hero-video main {
  margin-top: 0;
}

/* =====================================================
   CONTACT FORM – SHOWCASE STYLE
===================================================== */

.contact-form {
  max-width: 520px;
  margin-top: 1.5rem;

  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #111;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  font-size: 0.9rem;
  font-family: inherit;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #ffffff;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #156951;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form button {
  align-self: flex-start;
}

/* --- MOBILE --- */
@media (max-width: 768px) {
  .nav-inner {
    padding: 1rem 1.5rem;
  }

  .nav-links {
    gap: 1.4rem;
  }
}


/* =====================================================
   HERO VIDEO SYSTEM
===================================================== */

#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #000;
}

.hero-visual {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 4rem;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0.25) 45%,
    rgba(0, 0, 0, 0.05) 100%
  );
}

.hero-text {
  max-width: 600px;
  margin-top: 1.5rem;
}


.hero-title {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 500;
  white-space: nowrap;
  color: #fff;
}

/* Bottom overlay */
.hero-footer {
  position: absolute;
  bottom: 2rem;
  left: 4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-footer-logo {
  max-width: 120px;
  opacity: 0.85;
}

.hero-footer-text {
  font-size: 0.95rem;
  opacity: 0.85;
  white-space: nowrap;
  color: #fff;
}

/* =====================================================
   SHOWCASE GRID – FINAL STABLE IMPLEMENTATION (LOCKED)
===================================================== */

#showcase {
  padding: 5rem 2rem;
  background: #ffffff;
}

.showcase-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.showcase-item {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 14px;
  background: #156951;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.showcase-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.showcase-title {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 0.8rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85),
    rgba(0, 0, 0, 0)
  );
}

@media (hover: hover) and (pointer: fine) {
  .showcase-item:hover {
    transform: scale(1.03);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.3);
  }

  .showcase-item:hover img {
    transform: scale(1.05);
  }
}

@media (max-width: 900px) {
  .showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .showcase-item {
    aspect-ratio: 16 / 9;
  }
}


/* =====================================================
   FOOTER
===================================================== */

#site-footer {
  border-top: 1px solid #e5e5e5;
  text-align: center;
  padding: 2rem;
  font-size: 0.85rem;
  color: #666;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 900px) {

  .menu-icon {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
  }

  .site-nav ul {
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 1rem;
  }

  #menu-toggle:checked + .menu-icon + .site-nav {
    display: block;
  }

  #site-header.is-sticky .site-nav {
    background: #156951;
  }

  #site-header.is-sticky .site-nav a {
    color: #fff;
  }

  .showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .hero-overlay {
    padding: 2rem;
  }

  .hero-title {
    font-size: 1.6rem;
    white-space: normal;
  }

  .hero-footer {
    left: 2rem;
    bottom: 1.5rem;
    flex-wrap: wrap;
  }

  .hero-footer-text {
    white-space: normal;
  }
}


/* =========================
   SHOWCASE INTRO
========================= */

.showcase-intro {
  max-width: 700px;
  margin: 0 auto 3rem;
  text-align: center;
}

.showcase-heading {
  margin: 0 0 0.8rem;
  font-size: 2rem;
  font-weight: 600;
  color: #111;
}

.showcase-description {
  margin: 0;
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

/* Mobile */
@media (max-width: 600px) {
  .showcase-heading {
    font-size: 1.6rem;
  }
}

/* =====================================================
   TECHNOLOGY Loop SECTION
===================================================== */

.tech-section {
  background: #156951;
  color: #ffffff;
  padding: 5rem 2rem;
}

.tech-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.tech-heading {
  margin: 0 0 1rem;
  font-size: 2rem;
  font-weight: 600;
}

.tech-description {
  margin: 0 auto 2.5rem;
  max-width: 680px;
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.9;
}

.tech-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
}

.tech-list li {
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
}

/* =====================================================
   WEB HOSTING BANNER
===================================================== */

.hosting-banner {
  background: #156951;
  color: #ffffff;
  padding: 4.5rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.hosting-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hosting-heading {
  margin: 0 0 1rem;
  font-size: 2rem;
  font-weight: 600;
}

.hosting-description {
  margin: 0 auto 2rem;
  max-width: 680px;
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.9;
}

.hosting-cta {
  display: inline-block;
  padding: 0.9rem 2rem;
  border: 1px solid #ffffff;
  border-radius: 30px;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}

.hosting-cta:hover {
  background: #ffffff;
  color: #156951;
}

/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 600px) {
  .tech-heading,
  .hosting-heading {
    font-size: 1.6rem;
  }
}

/* =====================================================
   SHARED CONTAINER (MATCHES SHOWCASE GRID)
===================================================== */

.tech-inner,
.hosting-inner {
  max-width: 1200px;              /* SAME AS GRID */
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;             /* SAME SIDE PADDING */
  padding-right: 1rem;
  text-align: center;
}

/* =====================================================
   FULL-WIDTH BANNERS – HARD SEPARATION (LOCKED)
===================================================== */

/* ---------- TECHNOLOGY BANNER LOOP (FULL BLEED) ---------- */
.tech-section {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  background: #156951;
  color: #ffffff;
  padding: 5rem 0;

  color: #ffffff;
  padding: 5rem 0;
} /* ← THIS BRACE WAS MISSING */

.tech-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
}

.tech-heading {
  margin: 0 0 1rem;
  font-size: 2rem;
  font-weight: 600;
}

.tech-description {
  margin: 0 auto 2.5rem;
  max-width: 680px;
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.9;
}

.tech-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
}

.tech-list li {
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
}


/* ---------- HARD WHITE SEPARATOR (FULL BLEED) ---------- */
.banner-separator {
  width: 100vw;
  height: 140px;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  background: #ffffff;
}


/* ---------- HOSTING BANNER (FULL BLEED) ---------- */
.hosting-banner {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  background: #156951;
  color: #ffffff;
  padding: 5rem 0;
}

.hosting-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
}

.hosting-heading {
  margin: 0 0 1rem;
  font-size: 2rem;
  font-weight: 600;
}

.hosting-description {
  margin: 0 auto 2rem;
  max-width: 680px;
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.9;
}

.hosting-cta {
  display: inline-block;
  padding: 0.9rem 2rem;
  border: 1px solid #ffffff;
  border-radius: 30px;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}

.hosting-cta:hover {
  background: #ffffff;
  color: #156951;
}


/* ---------- MOBILE ---------- */
@media (max-width: 600px) {
  .tech-heading,
  .hosting-heading {
    font-size: 1.6rem;
  }

  .banner-separator {
    height: 100px;
  }
}


/* =====================================================
   LEGAL FOOTER – FULL WIDTH (LOCKED)
===================================================== */

.legal-footer {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  background: #000000;
  color: #ffffff;
  padding: 1.2rem 0;
}

.legal-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;

  text-align: center;
  font-size: 0.75rem;
  line-height: 1.6;
}

.legal-footer a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-footer a:hover {
  opacity: 0.85;
}

/* ---------- MOBILE ---------- */
@media (max-width: 600px) {
  .legal-footer-inner {
    font-size: 0.7rem;
  }
}

/* =====================================================
   FOOTER SEPARATOR (HARD BREAK)
===================================================== */

.footer-separator {
  width: 100%;
  height: 160px;
  background: #ffffff;
}

/* =====================================================
   HOME FAQ SECTION
===================================================== */

.home-faq {
  padding: 5rem 2rem;
  background: #ffffff;
}

.home-faq-inner {
  max-width: 900px;
  margin: 0 auto;
}

.faq-heading {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2rem;
  font-weight: 600;
  color: #111;
}

.faq-item {
  border-bottom: 1px solid #e5e5e5;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.2rem 0;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  color: #111;
}

.faq-question::after {
  content: "+";
  float: right;
  font-size: 1.2rem;
}

.faq-item.open .faq-question::after {
  content: "–";
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  margin: 0 0 1.2rem;
  color: #555;
  line-height: 1.6;
}

/* Mobile */
@media (max-width: 600px) {
  .faq-heading {
    font-size: 1.6rem;
  }
}

#scrollToTop {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;

  width: 44px;
  height: 44px;
  border-radius: 50%;

  background: #156951;
  color: #ffffff;
  border: none;

  font-size: 1.2rem;
  cursor: pointer;

  display: flex;                /* ALWAYS PRESENT */
  align-items: center;
  justify-content: center;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;

  z-index: 9999;
}

#scrollToTop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* =====================================================
   UPPER FOOTER – CLEAN, FULL WIDTH, GREEN
===================================================== */

.upper-footer {
  background-color: #156951; /* Ace green */
  color: #ffffff;
  padding: 4rem 0 3rem;
  font-size: 0.9rem;
}

/* =====================================================
   TOP ROW (2 COLUMNS)
===================================================== */

.upper-footer-top {
  max-width: 1200px;
  margin: 0 auto 3.5rem;
  padding: 0 1rem;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.footer-top-col h4 {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-top-col p,
.footer-top-col span {
  margin: 0 0 1rem;
  line-height: 1.6;
  opacity: 0.9;
}

.mission-lines {
  font-weight: 600;
  opacity: 1;
}

/* App banner */
.footer-app-banner {
  margin-top: 1rem;
}

.footer-app-banner img {
  max-width: 260px;
  height: auto;
  display: block;
}

/* =====================================================
   BOTTOM ROW (4 COLUMNS)
===================================================== */

.upper-footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}

.footer-col h4 {
  margin: 0 0 0.8rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col ul {
  list-style: none;
  margin: 0 0 1.2rem;
  padding: 0;
}

.footer-col li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: #ffffff;
  opacity: 0.9;
  text-decoration: none;
}

.footer-col a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* Contact column */
.footer-contact p {
  margin: 0 0 0.9rem;
  line-height: 1.6;
}

.footer-reviews a {
  display: inline-block;
  margin-top: 0.5rem;
  font-weight: 600;
}

/* =====================================================
   SOCIAL ICON STRIP
===================================================== */

.upper-footer-social {
  margin-top: 3rem;
  padding: 2rem 0 0;

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
}

.upper-footer-social a {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
}

.upper-footer-social img {
  width: 22px;
  height: 22px;
  display: block;
  object-fit: contain;
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 900px) {
  .upper-footer-top {
    grid-template-columns: 1fr;
  }

  .upper-footer-bottom {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* =========================
   GLOBAL CONTENT NORMALISER
   (SAFE FOR HOME GRID)
========================= */

/* Apply padding ONLY to content sections */
main > section:not(#hero):not(.full-width):not(.home-grid) {
  padding-left: 24px;
  padding-right: 24px;
}

/* Centre inner content only when a container exists */
main > section:not(#hero) > .content-inner,
main > section:not(#hero) > .page-width {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* =========================
   BUTTONS (GLOBAL)
========================= */

.btn-primary {
  display: inline-block;
  padding: 0.9rem 1.6rem;

  background-color: #156951; /* Ace green */
  color: #ffffff;

  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;

  border-radius: 4px;
  border: none;

  transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn-primary:hover {
  background-color: #0f4f3d; /* darker Ace green */
}

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

/* =========================
   404 PAGE – FOOTER BREATHING SPACE
========================= */
.page-404 {
  margin-bottom: 48px;
}

/* Scroll button */
#scrollToTop {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

#scrollToTop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* FAQ */
.faq-answer {
  max-height: 0;
  overflow: hidden;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

/* =====================================================
   SHOWCASE CONTACT FORM (LOCKED STYLE)
   Applies ONLY to showcase contact page
===================================================== */

.contact-form-block {
  margin-top: 3rem;
}

/* Form wrapper */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;

  background: rgba(255, 255, 255, 0.95);
  padding: 2rem;
  border-radius: 12px;

  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

/* Labels */
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;

  font-size: 0.85rem;
  font-weight: 600;
  color: #222;
}

/* Inputs + textarea + select */
.contact-form input,
.contact-form textarea,
.contact-form select {
  font-family: inherit;
  font-size: 0.95rem;

  padding: 0.7rem 0.8rem;
  border-radius: 6px;
  border: 1px solid #d6d6d6;

  background: #ffffff;
  color: #111;

  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Focus state */
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: #156951;
  box-shadow: 0 0 0 2px rgba(21, 105, 81, 0.15);
}

/* Textarea */
.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

/* Consent row */
.contact-form label input[type="checkbox"] {
  margin-top: 0.2rem;
}

/* Submit button */
.contact-form button {
  margin-top: 0.8rem;
  align-self: flex-start;

  padding: 0.75rem 1.8rem;
  border-radius: 30px;
  border: none;

  background: #156951;
  color: #ffffff;

  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;

  transition: background 0.2s ease, transform 0.1s ease;
}

.contact-form button:hover {
  background: #0f4f3d;
}

.contact-form button:active {
  transform: translateY(1px);
}

/* Success / error messages */
.contact-form-block p {
  font-size: 0.9rem;
}

/* =====================================================
   MOBILE TUNING
===================================================== */

@media (max-width: 600px) {
  .contact-form {
    padding: 1.5rem;
  }

  .contact-form button {
    width: 100%;
    text-align: center;
  }
}

/* =====================================================
   CONTACT PAGE – TWO SECTION LAYOUT
===================================================== */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

/* Ensure image stays on the RIGHT */
.contact-image-section {
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-image-section img {
  width: 100%;
  max-width: 520px;
  height: auto;
  display: block;
  border-radius: 18px;
}

/* Mobile: stack vertically */
@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}
/* =====================================================
   CONTACT PAGE – SPACING & PADDING (REFINED)
===================================================== */

.contact-page {
  padding: 5rem 0;
}

.contact-layout {
  padding: 0 3rem;              /* MORE horizontal space */
  gap: 3.5rem;                  /* Slightly wider column gap */
}

/* Mobile adjustment */
@media (max-width: 900px) {
  .contact-page {
    padding: 3.5rem 0;
  }

  .contact-layout {
    padding: 0 1.5rem;
    gap: 2.5rem;
  }
}

/* ===================================================== */
/* ================= SERVICES INTRO ===================== */
/* ===================================================== */

.services-intro {
  padding: 40px 0 80px;
  text-align: center;
  background: #ffffff;
}

.intro-tagline {
  font-size: 1.6rem;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.6;
  font-weight: 500;
  color: #156951; /* Brand Green */
}

/* ===================================================== */
/* ================= SERVICES SUBNAV ==================== */
/* ===================================================== */

.services-subnav {
  padding: 60px 0 40px;
  background: #ffffff;
  text-align: center;
}

.services-subnav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.services-subnav a {
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #000;
  transition: color 0.3s ease;
}

.services-subnav a:hover {
  color: #156951; /* your green */
}





/* ===================================================== */
/* =============== GLOBAL VARIABLES ==================== */
/* ===================================================== */
/* ===================================================== */
/* ================== MODERN FONT ====================== */
/* ===================================================== */

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

body {
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #0a1f3c;
}

/* ===================================================== */
/* ============ SECTION 1 — DESIGN SYSTEMS ============= */
/* ===================================================== */

#design {
  position: relative;
  overflow: hidden;
  min-height: 75vh;
  padding: 120px 0;
  background-color: #ffffff;

  background-image:
    linear-gradient(
      to left,
      rgba(255,255,255,0) 40%,
      rgba(255,255,255,0.92) 75%
    ),
    url('/assets/media/banners/person-1.webp');

  background-repeat: no-repeat, no-repeat;
  background-position: right bottom, right bottom;
  background-size: cover, 520px;
}

#design .container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

#design .service-content {
  max-width: 560px;
}

#design h2 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 20px;
}

#design .intro {
  font-size: 1.15rem;
  margin-bottom: 16px;
}

#design .statement {
  font-size: 1rem;
  margin-bottom: 24px;
}

#design .service-points {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
}

#design .service-points li {
  margin-bottom: 12px;
}

#design .closing {
  font-weight: 500;
  line-height: 1.6;
}

/* ===================================================== */
/* ========== SECTION 2 — PLATFORM ENGINEERING ========= */
/* ===================================================== */

#platforms {
  position: relative;
  overflow: hidden;
  min-height: 70vh;
  padding: 120px 0;
  background-color: #f4f4f4;

  background-image:
    linear-gradient(
      to right,
      rgba(244,244,244,0) 40%,
      rgba(244,244,244,0.96) 75%
    ),
    url('https://showcase.aceintlmedia.com/assets/media/banners/person-2.webp');

  background-repeat: no-repeat, no-repeat;
  background-position: left bottom, left bottom;
  background-size: 100% 100%, 420px;
}

#platforms .service-content {
  margin-left: auto;
  max-width: 560px;
}

@media (max-width: 768px) {
  #platforms {
    padding: 80px 0;
    background-position: center bottom, center bottom;
    background-size: 100% 100%, 300px;
  }

  #platforms .service-content {
    margin: 0 auto;
    text-align: center;
  }
}

/* ===================================================== */
/* ========== SECTION 3 — COMMERCE ARCHITECTURE ======== */
/* ===================================================== */

#commerce {
  position: relative;
  overflow: hidden;
  min-height: 70vh;
  padding: 120px 0;
  background-color: #ffffff;

  background-image:
    linear-gradient(
      to left,
      rgba(255,255,255,0) 40%,
      rgba(255,255,255,0.95) 75%
    ),
    url('https://showcase.aceintlmedia.com/assets/media/banners/person-1.webp');

  background-repeat: no-repeat, no-repeat;
  background-position: right bottom, right bottom;
  background-size: 100% 100%, 450px;
}

#commerce .container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

#commerce .service-content {
  max-width: 560px;
}

#commerce h2 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 20px;
}

#commerce .intro {
  font-size: 1.15rem;
  margin-bottom: 20px;
}

#commerce .service-points {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
}

#commerce .service-points li {
  margin-bottom: 12px;
}

#commerce .closing {
  font-weight: 500;
  line-height: 1.6;
}

@media (max-width: 768px) {
  #commerce {
    padding: 80px 0;
    background-position: center bottom, center bottom;
    background-size: 100% 100%, 320px;
  }

  #commerce .service-content {
    margin: 0 auto;
    text-align: center;
  }
}

/* ===================================================== */
/* ========= SECTION 4 — SEARCH-READY ARCHITECTURE ===== */
/* ===================================================== */

#search {
  position: relative;
  overflow: hidden;
  min-height: 70vh;
  padding: 120px 0;
  background-color: #f4f4f4;

  background-image:
    linear-gradient(
      to right,
      rgba(244,244,244,0) 15%,
      rgba(244,244,244,0.96) 45%
    ),
    url('https://showcase.aceintlmedia.com/assets/media/banners/person-2.webp');

  background-repeat: no-repeat, no-repeat;
  background-position: left bottom, left bottom;
  background-size: 100% 100%, 420px;
}

#search .service-content {
  margin-left: auto;
  max-width: 560px;
}

#search h2 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 20px;
}

#search .intro {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

#search .service-points {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
}

#search .service-points li {
  margin-bottom: 12px;
}

#search .closing {
  font-weight: 500;
  line-height: 1.6;
}

@media (max-width: 768px) {
  #search {
    padding: 80px 0;
    background-position: center bottom, center bottom;
    background-size: 100% 100%, 300px;
  }

  #search .service-content {
    margin: 0 auto;
    text-align: center;
  }
}

/* ===================================================== */
/* ========== SECTION 5 — ADVERTISING INFRASTRUCTURE === */
/* ===================================================== */

#advertising {
  position: relative;
  overflow: hidden;
  min-height: 70vh;
  padding: 120px 0;
  background-color: #ffffff;

  background-image:
    linear-gradient(
      to left,
      rgba(255,255,255,0) 40%,
      rgba(255,255,255,0.96) 75%
    ),
    url('https://showcase.aceintlmedia.com/assets/media/banners/person-1.webp');

  background-repeat: no-repeat, no-repeat;
  background-position: right bottom, right bottom;
  background-size: 100% 100%, 420px;
}

#advertising .container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

#advertising .service-content {
  max-width: 560px;
}

#advertising h2 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 20px;
}

#advertising .intro {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

#advertising .service-points {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
}

#advertising .service-points li {
  margin-bottom: 12px;
}

#advertising .closing {
  font-weight: 500;
  line-height: 1.6;
}

@media (max-width: 768px) {
  #advertising {
    padding: 80px 0;
    background-position: center bottom, center bottom;
    background-size: 100% 100%, 300px;
  }

  #advertising .service-content {
    margin: 0 auto;
    text-align: center;
  }
}

/* ===================================================== */
/* ========== SECTION 6 — HOSTING & INFRASTRUCTURE ===== */
/* ===================================================== */

#hosting {
  position: relative;
  padding: 160px 0;
  overflow: hidden;
  background: #000;
  color: #fff;
  text-align: center;
}

/* Background Video */
.hosting-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;

  /* Brighten video so it’s visible */
  filter: brightness(0.70) contrast(1.1);
}

/* Overlay — lighter so video is visible */
.hosting-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.30); /* was 0.55 — too dark */
  z-index: 1;
}

/* Content */
#hosting .container {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
}

/* FIX: Title must be white, not blue */
#hosting h2 {
  font-size: 2.6rem;
  font-weight: 600;
  margin-bottom: 30px;
  color: #ffffff !important;
}

/* FIX: Remove bullet dots */
#hosting .service-points {
  list-style: none;
  padding: 0;
  margin: 0 0 35px 0;
}

#hosting .service-points li {
  margin-bottom: 14px;
  color: #fff;
}

/* Supporting text */
#hosting .intro,
#hosting .closing {
  color: #fff;
}


/* ===================================================== */
/* ========== visual separation ====== */
/* ===================================================== */

#hosting {
  margin-bottom: 40px; /* clean visual separation */
}


/* ===================================================== */
/* ========== SECTION 7 — OPERATIONS & GOVERNANCE ====== */
/* ===================================================== */

#operations {
  position: relative;
  padding: 140px 0;
  overflow: hidden;
  background: #000;
  color: #fff;
  text-align: center;
}

/* Background Video */
.operations-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;

  /* Brighten video so it’s visible (same as Hosting) */
  filter: brightness(0.70) contrast(1.1);
}

/* Overlay — lighter to match Hosting */
.operations-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.30); /* was 0.60 — far too dark */
  z-index: 1;
}

/* Content */
#operations .container {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
}

#operations h2 {
  font-size: 2.6rem;
  font-weight: 600;
  margin-bottom: 30px;
  color: #fff;
}

#operations .intro {
  font-size: 1.15rem;
  margin-bottom: 25px;
  color: #fff;
}

/* REMOVE BULLET DOTS */
#operations .service-points {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

#operations .service-points li {
  margin-bottom: 14px;
  color: #fff;
}

#operations .closing {
  font-weight: 500;
  font-size: 1.1rem;
  color: #fff;
}

/* Mobile */
@media (max-width: 768px) {
  #operations {
    padding: 100px 0;
  }
}


/* ===================================================== */
/* ========== SECTION 8 — WHAT WE DON’T DO ============= */
/* ===================================================== */

#standards {
  padding: 140px 0;
  background: #ffffff;
  text-align: center;
}

#standards .container {
  width: 90%;
  max-width: 900px;
  margin: 0 auto;
}

#standards h2 {
  font-size: 2.6rem;
  font-weight: 600;
  margin-bottom: 40px;
}

.standards-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
}

.standards-list li {
  margin-bottom: 16px;
  font-size: 1.1rem;
}

#standards .closing {
  font-size: 1.2rem;
  font-weight: 600;
}


/* =====================================================
   PORTFOLIO PAGE LAYOUT
   HERO → SUBNAV → HEADER → CONTENT SECTIONS
===================================================== */


/* ================= PORTFOLIO SUBNAV ================= */

.portfolio-subnav {
  padding: 50px 0 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.portfolio-subnav .container {
  max-width: 1200px;
  margin: 0 auto;
}

.portfolio-subnav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.portfolio-subnav a {
  text-decoration: none;
  font-size: 15px;
  letter-spacing: 0.5px;
  font-weight: 500;
  opacity: 0.75;
  transition: opacity 0.3s ease;
}

.portfolio-subnav a:hover {
  opacity: 1;
}


/* ================= PORTFOLIO HEADER ================= */

.portfolio-header {
  padding: 90px 0 80px;
  text-align: center;
}

.portfolio-header .container {
  max-width: 900px;
  margin: 0 auto;
}

.portfolio-header h2 {
  font-size: 42px;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.portfolio-header .intro-tagline {
  font-size: 18px;
  line-height: 1.7;
  opacity: 0.85;
  margin: 0 auto;
}


/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {

  .portfolio-subnav ul {
    flex-wrap: wrap;
    gap: 20px;
  }

  .portfolio-header h2 {
    font-size: 32px;
  }

  .portfolio-header .intro-tagline {
    font-size: 16px;
  }
}


/* =====================================================
   GLOBAL IMPROVEMENTS — IMAGE INSET + TEXT BREATHING ROOM
===================================================== */

/* Add breathing room for text */
.portfolio-main .container {
  padding-left: 40px;
  padding-right: 40px;
}

/* Move right-side images inward */
#corporate,
#professional,
#infrastructure-architecture {
  background-position: calc(100% - 60px) bottom, calc(100% - 60px) bottom;
}

/* Move left-side images inward */
#ecommerce,
#campaign {
  background-position: 60px bottom, 60px bottom;
}

/* Reduce Infrastructure Architecture image size */
#infrastructure-architecture {
  background-size: cover, 600px !important; /* was 900px */
}

/* Mobile adjustments */
@media (max-width: 768px) {
  #corporate,
  #professional,
  #infrastructure-architecture {
    background-position: calc(100% - 20px) bottom, calc(100% - 20px) bottom;
  }

  #ecommerce,
  #campaign {
    background-position: 20px bottom, 20px bottom;
  }

  #infrastructure-architecture {
    background-size: cover, 380px !important;
  }

  .portfolio-main .container {
    padding-left: 20px;
    padding-right: 20px;
  }
}


/* =====================================================
   SECTION 1 — CORPORATE
===================================================== */

#corporate {
  position: relative;
  overflow: hidden;
  min-height: 75vh;
  padding: 120px 0;
  background-color: #ffffff;

  background-image:
    linear-gradient(
      to left,
      rgba(255,255,255,0) 40%,
      rgba(255,255,255,0.92) 75%
    ),
    url('/assets/media/banners/person-1.webp');

  background-repeat: no-repeat, no-repeat;
  background-size: cover, 350px;
}

#corporate .container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

#corporate .service-content {
  max-width: 560px;
}


/* =====================================================
   SECTION 2 — E-COMMERCE
===================================================== */

#ecommerce {
  position: relative;
  overflow: hidden;
  min-height: 75vh;
  padding: 120px 0;
  background-color: #ffffff;

  background-image:
    linear-gradient(
      to right,
      rgba(255,255,255,0) 40%,
      rgba(255,255,255,0.92) 75%
    ),
    url('/assets/media/banners/person-2.webp');

  background-repeat: no-repeat, no-repeat;
  background-size: cover, 350px;
}

#ecommerce .container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
}

#ecommerce .service-content {
  max-width: 560px;
}


/* =====================================================
   SECTION 3 — PROFESSIONAL
===================================================== */

#professional {
  position: relative;
  overflow: hidden;
  min-height: 75vh;
  padding: 120px 0;
  background-color: #ffffff;

  background-image:
    linear-gradient(
      to left,
      rgba(255,255,255,0) 40%,
      rgba(255,255,255,0.92) 75%
    ),
    url('/assets/media/banners/person-1.webp');

  background-repeat: no-repeat, no-repeat;
  background-size: cover, 350px;
}

#professional .container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

#professional .service-content {
  max-width: 560px;
}


/* =====================================================
   SECTION 4 — CAMPAIGN
===================================================== */

#campaign {
  position: relative;
  overflow: hidden;
  min-height: 75vh;
  padding: 120px 0;
  background-color: #ffffff;

  background-image:
    linear-gradient(
      to right,
      rgba(255,255,255,0) 40%,
      rgba(255,255,255,0.92) 75%
    ),
    url('/assets/media/banners/person-2.webp');

  background-repeat: no-repeat, no-repeat;
  background-size: cover, 350px;
}

#campaign .container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
}

#campaign .service-content {
  max-width: 560px;
}


/* =====================================================
   SECTION 5 — INFRASTRUCTURE ARCHITECTURE
===================================================== */

#infrastructure-architecture {
  position: relative;
  overflow: hidden;
  min-height: 75vh;
  padding: 120px 0;
  background-color: #ffffff;

  background-image:
    linear-gradient(
      to left,
      rgba(255,255,255,0) 40%,
      rgba(255,255,255,0.92) 75%
    ),
    url('/assets/media/banners/ace-intl-media-ecosystem-architecture.png');

  background-repeat: no-repeat, no-repeat;
  background-size: cover, 600px; /* reduced */
}

#infrastructure-architecture .container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

#infrastructure-architecture .service-content {
  max-width: 560px;
}


/* =========================
   FAQ HEADER
========================= */

.faqs-header {
  padding: 60px 20px;
  text-align: center;
}

.faqs-header h2 {
  margin-bottom: 16px;
}

.faqs-header .intro-tagline {
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* =========================
   GLOBAL SUBNAV
========================= */

.portfolio-subnav {
  border-bottom: 1px solid #e6e6e6;
  background: #ffffff;
}

.portfolio-subnav .container {
  display: flex;
  justify-content: center;
}

.portfolio-subnav ul {
  display: flex;
  flex-direction: row;   /* force horizontal */
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 18px 0;
}

.portfolio-subnav ul li {
  display: inline-block; /* override any block stacking */
}

.portfolio-subnav ul li a {
  text-decoration: none;
  font-weight: 500;
  color: #0a1f3c;
  transition: opacity 0.3s ease;
}

.portfolio-subnav ul li a:hover {
  opacity: 0.6;
}

/* =========================
   FORCE HORIZONTAL SUBNAV
========================= */

.portfolio-subnav ul {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center;
  align-items: center;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 18px 0;
}

.portfolio-subnav ul li {
  display: inline-block !important;
}

.portfolio-subnav ul li a {
  display: inline-block;
}

/* =====================================================
   FAQ MAIN WRAPPER
===================================================== */

.faqs-main {
  padding: 0;
}


/* =====================================================
   FAQ SUBNAV
===================================================== */

.faqs-subnav {
  border-bottom: 1px solid #e6e6e6;
  background: #ffffff;
}

.faqs-subnav .container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.faqs-subnav ul {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 18px 0;
}

.faqs-subnav ul li {
  display: inline-block;
}

.faqs-subnav ul li a {
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  color: #0a1f3c;
  letter-spacing: 0.3px;
  transition: opacity 0.3s ease;
}

.faqs-subnav ul li a:hover {
  opacity: 0.6;
}


/* =====================================================
   FAQ HEADER SECTION
===================================================== */

.faqs-header {
  padding: 70px 20px 60px 20px;
  text-align: center;
}

.faqs-header h2 {
  font-size: 32px;
  margin-bottom: 18px;
  color: #0a1f3c;
}

.faqs-header .intro-tagline {
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.7;
  font-size: 16px;
  color: #444;
}


/* =====================================================
   FAQ CONTENT BLOCKS (Future Sections)
===================================================== */

.faq-section {
  padding: 80px 20px;
}

.faq-section .container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-section h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #0a1f3c;
}

.faq-section p {
  line-height: 1.7;
  margin-bottom: 25px;
  color: #555;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 768px) {

  .faqs-subnav ul {
    gap: 24px;
    overflow-x: auto;
    white-space: nowrap;
    padding: 14px 10px;
  }

  .faqs-header {
    padding: 50px 20px;
  }

  .faqs-header h2 {
    font-size: 26px;
  }

  .faqs-header .intro-tagline {
    font-size: 15px;
  }

}

/* =====================================================
   FAQ SECTION BASE
===================================================== */

.faq-section {
  position: relative;
  padding: 100px 20px;
  overflow: hidden;
}

.faq-section .container {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.faq-content {
  max-width: 620px;
}


/* =====================================================
   SPLIT BACKGROUND IMAGE (RIGHT SIDE)
===================================================== */

.split-bg::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background-size: cover;
  background-position: 75% center;
  background-repeat: no-repeat;
  opacity: 0.15;
  z-index: 1;
}


/* =====================================================
   SECTION 1 – RIGHT IMAGE LAYOUT
===================================================== */

.faq-section {
  position: relative;
  padding: 100px 20px;
  overflow: hidden;
}

.faq-section .container {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.faq-content {
  max-width: 600px;
}

/* Right-side image */

.infrastructure-bg {
  background-image: url('/assets/media/banners/person-1.webp');
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 45%;
}

/* Typography */

.faq-section h2 {
  font-size: 34px;
  margin-bottom: 30px;
  color: #0a1f3c;
}

.faq-section h3 {
  font-size: 18px;
  margin-top: 30px;
  margin-bottom: 8px;
  color: #0a1f3c;
}

.faq-section p {
  line-height: 1.7;
  color: #555;
}

/* Responsive */

@media (max-width: 900px) {
  .infrastructure-bg {
    background-image: none;
  }

  .faq-section {
    padding: 70px 20px;
  }

  .faq-content {
    max-width: 100%;
  }
}

/* =====================================================
   SECTION 2 – HOSTING (IMAGE LEFT)
===================================================== */

#hosting {
  position: relative;
  padding: 100px 20px;

  background-image: url('/assets/media/banners/person-2.webp');
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 45%;
}

/* Container control (same as section 1) */

#hosting .container {
  max-width: 1100px;
  margin: 0 auto;
}

/* Push content to the right */

#hosting .faq-content {
  max-width: 600px;
  margin-left: auto;
}

/* Responsive */

@media (max-width: 900px) {

  #hosting {
    background-image: none;
    padding: 70px 20px;
  }

  #hosting .faq-content {
    max-width: 100%;
    margin-left: 0;
  }

}
/* =====================================================
   SECTION 2 – FORCE LIGHT THEME
===================================================== */

#hosting {
  background-color: #ffffff;  /* force white background */
}

#hosting h2,
#hosting h3 {
  color: #0a1f3c;  /* same blue as section 1 */
}

#hosting p {
  color: #555;  /* same body text color as section 1 */
}

/* =====================================================
   SECTION 2 – PLATFORM ENGINEERING (IMAGE LEFT)
===================================================== */

#platforms {
  position: relative;
  padding: 100px 20px;
  background-color: #ffffff;

  /* Correct image on LEFT */
  background-image: url('/assets/media/banners/person-2.webp');
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 45%;
}

/* Container */
#platforms .container {
  max-width: 1100px;
  margin: 0 auto;
}

/* Text aligned right */
#platforms .faq-content,
#platforms .service-content {
  max-width: 600px;
  margin-left: auto;
}

/* Responsive */
@media (max-width: 900px) {
  #platforms {
    background-image: none;
    padding: 70px 20px;
  }

  #platforms .faq-content,
  #platforms .service-content {
    max-width: 100%;
    margin-left: 0;
    text-align: center;
  }
}

/* =====================================================
   SECTION 4 – LEFT IMAGE LAYOUT
===================================================== */

#capabilities {
  position: relative;
  padding: 100px 20px;
  background-color: #ffffff;

  background-image: url('/assets/media/banners/person-2.webp');
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 45%;
}

/* Container */

#capabilities .container {
  max-width: 1100px;
  margin: 0 auto;
}

/* Push text to the right */

#capabilities .faq-content {
  max-width: 600px;
  margin-left: auto;
}

/* Responsive */

@media (max-width: 900px) {

  #capabilities {
    background-image: none;
    padding: 70px 20px;
  }

  #capabilities .faq-content {
    max-width: 100%;
    margin-left: 0;
  }

}

/* =====================================================
   SECTION 5 – RIGHT IMAGE LAYOUT
===================================================== */

#support {
  position: relative;
  padding: 100px 20px;
  background-color: #ffffff;

  background-image: url('/assets/media/banners/person-1.webp');
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 45%;
}

/* Container */

#support .container {
  max-width: 1100px;
  margin: 0 auto;
}

/* Text stays left naturally */

#support .faq-content {
  max-width: 600px;
}

/* Responsive */

@media (max-width: 900px) {

  #support {
    background-image: none;
    padding: 70px 20px;
  }

  #support .faq-content {
    max-width: 100%;
  }

}

/* Tech loop-section */

.tech-loop-section {
  padding: 30px 0;        /* reduced height */
  background: #000;       /* solid black */
}

.tech-loop {
  overflow: hidden;
  width: 100%;
}

.tech-track {
  display: flex;
  align-items: center;
  gap: 70px;              /* balanced spacing */
  width: max-content;
  animation: scrollTech 50s linear infinite;
}

.tech-track img {
  height: 60px;           /* slightly smaller */
  width: auto;
}

@keyframes scrollTech {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.tech-loop-section {
  padding: 30px 0;
  background: #000;
  border-bottom: 1px solid #111;   /* subtle separation */
  margin-bottom: 40px;             /* breathing space */
}

/* submenu */

.has-submenu {
  position: relative;
}

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  list-style: none;
  padding: 10px 0;
  margin: 0;
  min-width: 220px;
  display: none;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  border-radius: 8px;
  z-index: 1000;
}

.submenu li {
  margin: 0;
}

.submenu a {
  display: block;
  padding: 8px 16px;
  font-size: 14px;
  text-decoration: none;
  color: #0a1f3c;
}

.submenu a:hover {
  background: #f5f7fa;
}

.has-submenu:hover .submenu {
  display: block;
}


/* Ensure submenu is vertical */
.submenu {
  list-style: none;
  margin: 0;
  padding: 10px 0;

  position: absolute;
  top: 100%;
  left: 0;

  background: #ffffff;
  min-width: 220px;

  display: none;
  flex-direction: column;   /* override flex row */
}

/* Force submenu items to stack */
.submenu li {
  width: 100%;
}

/* Remove inherited flex from parent */
.site-nav ul .submenu {
  display: none;
}

/* When toggled open */
.submenu-toggle:checked + .submenu-label + .submenu {
  display: block;
}

/* Always force submenu text color */
.submenu a {
  color: #0a1f3c !important;
}

/* Hover state */
.submenu a:hover {
  color: #0a1f3c !important;
  background: #f5f7fa;
}

/* ===== SUBMENU OVERRIDES ===== */

.site-nav ul.submenu {
  display: none;              /* override flex */
  flex-direction: column;     /* force vertical */
}

/* Show when toggled */
.submenu-toggle:checked + .submenu-label + .submenu {
  display: block;
}

/* Desktop dropdown only */
@media (min-width: 992px) {
  .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 220px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border-radius: 8px;
    z-index: 1000;
  }
}

/* Mobile stacked */
@media (max-width: 991px) {
  .submenu {
    position: relative;
    box-shadow: none;
    background: transparent;
    padding-left: 15px;
  }
}

.submenu-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}


#showcase-positioning {
  padding: 80px 20px;
  text-align: center;
}

.showcase-positioning-inner {
  max-width: 900px;
  margin: 0 auto;
}

.showcase-heading {
  font-size: 32px;
  margin-bottom: 25px;
}

.showcase-description {
  font-size: 18px;
  margin-bottom: 20px;
}

.showcase-benefits {
  list-style: none;
  padding: 0;
  margin: 25px 0;
}

.showcase-benefits li {
  margin: 10px 0;
}


/* ===== showcase-page #cms-gri ===== */
#cms-grid {
  padding-bottom: 100px;
}

.banner-install-strip {
  margin-top: 40px;
  padding-top: 25px;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}

/* ===== banner ===== */

.banner-install-strip {
  text-align: center;
  margin-bottom: 70px; /* spacing before tech section */
}

.banner-install-strip h2 {
  font-size: 2.2rem;   /* bigger than h3 */
  margin-bottom: 18px;
  font-weight: 600;
  line-height: 1.3;
}

.banner-install-strip p {
  max-width: 700px;
  margin: 0 auto 25px;
  opacity: 0.85;
  line-height: 1.6;
  font-size: 1rem;
}

.banner-install-btn {
  display: inline-block;
  padding: 12px 28px;
  background: #e10600;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  transition: 0.3s ease;
  margin-top: 10px;
}

.banner-install-btn:hover {
  background: #ff1a14;
}

.tech-heading {
  font-size: 1.6rem;
  margin-top: 60px;
}

/* =====================================================
   SECTION tech-loop-section
===================================================== */
.tech-loop-section {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  background: linear-gradient(
    to bottom,
    #123a6a 0%,        /* lighter navy top */
    #000000 50%,       /* black center */
    #16446f 100%       /* softer, lighter navy bottom */
  );

  padding: 1.5rem 0;
}


