/* ==========================================================
   Galaxy 1 Solution - Service pages stylesheet
   Used by: facility-management.html, security-guard-services.html

   COLOURS: change the values in :root below to match your
   existing site colours (open your header.css / main CSS and
   copy the exact hex codes). Everything on these pages uses
   these variables, so one change updates both pages.
   ========================================================== */

:root {
  --primary: #f47b20;
  /* orange accent (buttons, highlights) */
  --primary-dark: #d9650f;
  /* hover state */
  --dark: #0f1b2d;
  /* hero, footer, dark sections */
  --dark-soft: #18273d;
  /* cards on dark background */
  --text: #2b3445;
  /* body text */
  --muted: #667085;
  /* secondary text */
  --light: #f5f7fa;
  /* light section background */
  --white: #ffffff;
  --border: #e3e8ef;
  --radius: 10px;
  --container: 1180px;
  /* --font: "Poppins", "Segoe UI", Arial, sans-serif; */
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  /* font-family: var(--font); */
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 12px;
  line-height: 1.25;
  color: var(--dark);
}

p {
  margin: 0 0 16px;
}

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

.g1-container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.g1-section {
  padding: 60px 0;
}

.g1-section--light {
  background: var(--light);
}

.g1-section--dark {
  background: var(--dark);
  color: #d5dbe6;
}

.g1-section--dark h2,
.g1-section--dark h3 {
  color: var(--white);
}

.g1-eyebrow {
  color: var(--primary);
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 8px;
}

.g1-heading {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 700;
}

.g1-lead {
  color: var(--muted);
  max-width: 680px;
}

.g1-section--dark .g1-lead {
  color: #aab4c5;
}

.g1-section-head {
  margin-bottom: 44px;
}

.g1-section-head--center {
  text-align: center;
}

.g1-section-head--center .g1-lead {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Buttons ---------- */
.g1-btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid var(--primary);
  background: var(--primary);
  color: var(--white);
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}

.g1-btn:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.g1-btn--outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.g1-btn--outline:hover {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
}

/* ---------- Header ----------
   If you already use your own header + header.css, delete this
   block and the <header> in the HTML, and paste your header in. */


/* ---------- Page hero ---------- */
.g1-hero {
  position: relative;
  color: var(--white);
  padding: 96px 0 88px;
  background: var(--dark) center / cover no-repeat;
}

.g1-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 27, 45, .95) 35%, rgba(15, 27, 45, .6));
}

.g1-hero .g1-container {
  position: relative;
}

.g1-breadcrumb {
  font-size: 14px;
  color: #c3cbd9;
  margin-bottom: 18px;
      font-weight: 800;
}

.g1-breadcrumb a{
    color: #f47b20;
}

.g1-breadcrumb span{
    color: #f47b20;
}

.g1-breadcrumb a:hover {
  color: var(--primary);
}

.g1-breadcrumb span {
  margin: 0 8px;
}

.g1-hero h1 {
  color: var(--white);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  max-width: 760px;
}

.g1-hero p {
  max-width: 640px;
  font-size: 18px;
  color: #d5dbe6;
}

.g1-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

/* ---------- Intro (image + text) ---------- */
.g1-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.g1-split__img img {
  border-radius: var(--radius);
  width: 100%;
}

.g1-checklist li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
}

.g1-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 14px;
  height: 8px;
  border-left: 3px solid var(--primary);
  border-bottom: 3px solid var(--primary);
  transform: rotate(-45deg);
}

/* ---------- Service cards ---------- */
.g1-grid {
  display: grid;
  gap: 24px;
}

.g1-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.g1-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.g1-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  border-bottom: 3px solid #f47b20;
  transition: border-color .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}

.g1-card:hover {
  border-bottom-color: var(--primary);
  box-shadow: 0 10px 26px rgba(15, 27, 45, .08);
}

.g1-card h3 {
  font-size: 19px;
}

.g1-card p {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 0;
}

.g1-card__link {
  margin-top: auto;
  padding-top: 16px;
  color: var(--primary);
  font-weight: 600;
  font-size: 16px;
}

.g1-card__link:hover {
  color: var(--primary-dark);
}

.g1-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: rgba(244, 123, 32, .12);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 16px;
}

/* ---------- Industry chips ---------- */
.g1-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.g1-chips li {
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: 50px;
  background: var(--white);
  font-size: 15px;
  font-weight: 500;
  color: var(--dark);
}

.g1-section--dark .g1-chips li {
  background: var(--dark-soft);
  border-color: rgba(255, 255, 255, .12);
  color: var(--white);
}

/* ---------- Focus area cards with image ---------- */
.g1-focus {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
}

.g1-focus img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.g1-focus__body {
  padding: 22px 24px 26px;
}

.g1-focus__body li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 6px;
}

.g1-focus__body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
}

/* ---------- Approach steps (real sequence, so numbered) ---------- */
.g1-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  counter-reset: step;
}

.g1-step {
  background: var(--dark-soft);
  border-radius: var(--radius);
  padding: 26px 20px;
  text-align: center;
}

.g1-step__num {
  width: 46px;
  height: 46px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 700;
}

.g1-step h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.g1-step p {
  font-size: 16px;
  color: #aab4c5;
  margin: 0;
}

/* ---------- FAQ ---------- */
.g1-faq {
  max-width: 860px;
  margin: 0 auto;
}

.g1-faq details {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 12px;
}

.g1-faq summary {
  cursor: pointer;
  padding: 18px 56px 18px 22px;
  font-weight: 600;
  color: var(--dark);
  list-style: none;
  position: relative;
}

.g1-faq summary::-webkit-details-marker {
  display: none;
}

.g1-faq summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: var(--primary);
}

.g1-faq details[open] summary::after {
  content: "\2212";
}

.g1-faq details p {
  padding: 0 22px 20px;
  margin: 0;
  color: var(--muted);
}

/* ---------- Call to action band ---------- */
.g1-cta {
  background: var(--primary);
  color: var(--white);
  padding: 64px 0;
  text-align: center;
}

.g1-cta h2 {
  color: var(--white);
  font-size: clamp(24px, 3vw, 34px);
}

.g1-cta p {
  max-width: 640px;
  margin: 0 auto 26px;
}

.g1-cta .g1-btn {
  background: var(--dark);
  border-color: var(--dark);
}

.g1-cta .g1-btn:hover {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
}

/* ---------- Footer ---------- */
/* .g1-footer { background: var(--dark); color: #aab4c5; padding: 64px 0 0; font-size: 15px; }
.g1-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 44px; }
.g1-footer img { height: 44px; width: auto; margin-bottom: 16px; }
.g1-footer h4 { color: var(--white); font-size: 17px; margin-bottom: 16px; }
.g1-footer li { margin-bottom: 8px; }
.g1-footer a:hover { color: var(--primary); }
.g1-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; text-align: center; font-size: 14px; } */

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .g1-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .g1-steps {
    grid-template-columns: repeat(3, 1fr);
  }


}

@media (max-width: 900px) {
  .g1-menu-toggle {
    display: block;
  }

  .g1-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid var(--border);
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }

  .g1-nav.is-open {
    display: flex;
  }

  .g1-nav>li>a,
  .g1-nav>li>span {
    padding: 14px 20px;
    border-top: 1px solid var(--border);
  }

  .g1-sub {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    background: var(--light);
    display: none;
  }

  .g1-has-sub.is-open>.g1-sub {
    display: block;
  }

  .g1-sub a {
    padding-left: 34px;
  }

  .g1-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .g1-grid--3 {
    grid-template-columns: 1fr;
  }

  .g1-section {
    padding: 60px 0;
  }
}

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

  .g1-steps {
    grid-template-columns: 1fr;
  }



  .g1-hero {
    padding: 72px 0 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

footer{
    padding: 55px 0;
}

.g1f-footer .g1f-container .g1f-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
    padding: 10px 0;
    margin-top: 0px;
    text-align: left;
}

/* Underline animation only for the Facility Management categories heading */
#categories .g1-categories-heading {
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}

#categories .g1-categories-heading::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 365px;
    height: 3px;
    background: #ff5b00;
    border-radius: 3px;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    animation: g1-categories-underline 0.7s ease-out 0.2s forwards;
}

@keyframes g1-categories-underline {
    to {
        transform: translateX(-50%) scaleX(1);
    }
}

/* Underline animation only for the Facility Management categories heading */
#services .g1-categories-heading {
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}

#services .g1-categories-heading::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 365px;
    height: 3px;
    background: #ff5b00;
    border-radius: 3px;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    animation: g1-categories-underline 0.7s ease-out 0.2s forwards;
}

@keyframes g1-categories-underline {
    to {
        transform: translateX(-50%) scaleX(1);
    }
}



