/* ─────────────────────────────────────────────────────────────────────────────
   Safe Factor Control Services Ltd. — Main Stylesheet
   Colors: #0D275C | #E6E137 | #FF6B00 | #FFFFFF | #F5F7FA | #111111 | #555555
   ───────────────────────────────────────────────────────────────────────────── */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:       #0D275C;
  --yellow:     #E6E137;
  --orange:     #FF3B3B;
  --white:      #FFFFFF;
  --light-bg:   #F5F7FA;
  --text-dark:  #111111;
  --text-mid:   #333333;
  --text-light: #555555;
  --border:     #e0e0e0;
  --radius:     6px;
  --shadow:     0 2px 12px rgba(0,0,0,0.08);
  --container:  1200px;
  --font-head:  'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  --font-body:  'Inter', 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Google Fonts import ── */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800&family=Inter:wght@400;500;600&display=swap');

/* ── Container ── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 13px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: background 0.2s, transform 0.15s;
  text-align: center;
}
.btn:hover  { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-orange {
  background: var(--orange);
  color: var(--white);
}
.btn-orange:hover { background: #e05e00; }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline-white:hover { background: var(--white); color: var(--blue); }

/* ── Section padding ── */
.section { padding: 80px 0; }
.section-light { background: var(--light-bg); }

/* ── Section heading ── */
.section-title {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.section-title-underline {
  display: inline-block;
  position: relative;
  padding-bottom: 10px;
}
.section-title-underline::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--orange);
}
.section-subtitle {
  color: var(--text-light);
  font-size: 15px;
  margin-bottom: 40px;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-icon {
  width: 100px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-icon svg { width: 26px; height: 26px; }
.logo-text { line-height: 1.15; }
.logo-text strong {
  display: block;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: 0.3px;
}
.logo-text span {
  font-size: 10px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Desktop Nav */
.main-nav { display: flex; align-items: center; gap: 36px; }
.main-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  transition: color 0.2s;
  position: relative;
  padding-bottom: 3px;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--orange);
  transition: width 0.2s;
}
.main-nav a:hover,
.main-nav a.active { color: var(--orange); }
.main-nav a:hover::after,
.main-nav a.active::after { width: 100%; }

/* Phone */
.header-phone {
  font-weight: 600;
  font-size: 14px;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 6px;
}
.header-phone::before {
  content: '📞';
  font-size: 13px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.mobile-nav.open {
  max-height: 300px;
  padding: 12px 0 16px;
}
.mobile-nav a {
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { background: var(--light-bg); color: var(--orange); }

/* Offset for fixed header */
.header-spacer { height: 68px; }

/* ═══════════════════════════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/hero-bg.jpg') center/cover no-repeat;
  z-index: 0;
  
  /* THIS is the real upgrade */
  filter: brightness(1.1) contrast(1.1) saturate(1.05);
}


/* Extinguisher placeholder shapes */


.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 90px 0 70px;
}
.hero-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}
.hero-left { max-width: 560px; }
.hero-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 16px;
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.12;
  color: var(--yellow);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.hero-para {
  font-size: 15px;
  color: rgba(255,255,255,0.88);
  line-height: 1.75;
  max-width: 480px;
}
.hero-bottom-right {
  flex-shrink: 0;
  padding-bottom: 8px;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   SERVICES SECTION
   ═══════════════════════════════════════════════════════════════════════════════ */
.services-section { padding: 80px 0; }
.services-section .section-title-wrap {
  margin-bottom: 48px;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* Slider */
.slider-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  background: #ddd;
}
.slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.6s ease;
}
.slide {
  min-width: 100%;
  height: 100%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #888;
  font-weight: 500;
  position: relative;
  overflow: hidden;
}
.slide-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #999;
  flex-direction: column;
  gap: 8px;
}
.slide:nth-child(1) .slide-placeholder { background: #d5d8de; }
.slide:nth-child(2) .slide-placeholder { background: #c9cdd6; }
.slide:nth-child(3) .slide-placeholder { background: #dde0e5; }
.slide:nth-child(4) .slide-placeholder { background: #cfd3d9; }
.slide:nth-child(5) .slide-placeholder { background: #d0d4db; }

/* Slider dots */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: background 0.2s;
}
.dot.active { background: var(--orange); }

/* Services list */
.services-list { padding-top: 8px; }
.services-list h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 24px;
  line-height: 1.3;
}
.service-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  color: var(--text-mid);
}
.service-item:last-of-type { border-bottom: none; }
.service-check {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--orange);
}
.view-all-wrap {
  margin-top: 28px;
  text-align: center;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   OFFSHORE SECTION
   ═══════════════════════════════════════════════════════════════════════════════ */
.offshore-section { padding: 80px 0; background: var(--white); }
.offshore-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.offshore-text h2 {
  font-family: var(--font-head);
  font-size: 62px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-dark);
  margin-bottom: 24px;
}
.offshore-text p {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.75;
}
.offshore-img {
  aspect-ratio: 4/3;
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.offshore-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #b0b8c4 0%, #8a96a4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  color: rgba(255,255,255,0.6);
  font-size: 13px;
}
.offshore-img-placeholder svg { width: 48px; height: 48px; opacity: 0.5; }

/* ═══════════════════════════════════════════════════════════════════════════════
   WHY CHOOSE US
   ═══════════════════════════════════════════════════════════════════════════════ */
.why-section { padding: 80px 0; background: var(--white); }
.why-section .section-title { text-align: center; margin-bottom: 48px; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.why-card {
  text-align: center;
  padding: 32px 16px;
  background: var(--white);
  border-radius: var(--radius);
  transition: transform 0.2s, box-shadow 0.2s;
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.why-icon {
  width: 60px; height: 60px;
  background: var(--light-bg);
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--border);
}
.why-icon svg { width: 28px; height: 28px; color: var(--blue); }
.why-card p {
  font-size: 14px;
  color: var(--text-mid);
  font-weight: 500;
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   CONTACT / FORM SECTION
   ═══════════════════════════════════════════════════════════════════════════════ */
.contact-section { padding: 80px 0; background: var(--light-bg); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
  align-items: start;
}
.contact-left .get-in-touch {
  font-size: 14px;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.contact-left h2 {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 16px;
}
.contact-left .sub {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 28px;
}
.industries-title {
  font-size: 15px;
  color: var(--text-mid);
  margin-bottom: 16px;
  line-height: 1.5;
}
.industries-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
}
.industries-cols li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-mid);
}
.industries-cols li::before {
  content: '●';
  color: var(--text-dark);
  font-size: 15px;
  flex-shrink: 0;
}

/* Contact form card */
.contact-form-card {
  background: var(--white);
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mid);
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #aaa; }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(13,39,92,0.08);
}
.form-group textarea { resize: vertical; min-height: 110px; }

.form-submit { text-align: center; margin-top: 8px; }
.form-submit .btn { min-width: 160px; }

/* Form messages */
.form-message {
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  margin-bottom: 16px;
  display: none;
}
.form-message.success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
  display: block;
}
.form-message.error {
  background: #fdecea;
  color: #c62828;
  border: 1px solid #f5c6cb;
  display: block;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   INDUSTRIES SECTION (standalone on home)
   ═══════════════════════════════════════════════════════════════════════════════ */
.industries-section { padding: 80px 0; }
.industries-section .section-title { margin-bottom: 40px; }
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.industry-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  background: var(--light-bg);
  border-radius: var(--radius);
  border-left: 4px solid var(--orange);
  font-weight: 500;
  color: var(--text-mid);
  font-size: 15px;
  transition: background 0.2s, transform 0.2s;
}
.industry-item:hover {
  background: #eceef2;
  transform: translateX(4px);
}
.industry-item::before {
  content: '◉';
  color: var(--orange);
  font-size: 10px;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   PRE-FOOTER IMAGE STRIP
   ═══════════════════════════════════════════════════════════════════════════════ */
.prefooter-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 220px;
}
.prefooter-img {
  overflow: hidden;
  position: relative;
}
.prefooter-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}
.prefooter-img:nth-child(1) .prefooter-img-placeholder { background: linear-gradient(135deg, #8B0000, #C0392B); }
.prefooter-img:nth-child(2) .prefooter-img-placeholder { background: linear-gradient(135deg, #c06f00, #e07800); }
.prefooter-img:nth-child(3) .prefooter-img-placeholder { background: linear-gradient(135deg, #2c3e50, #4a5568); }

/* ═══════════════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--blue);
  padding: 56px 0 32px;
  color: var(--white);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

/* Contact Us heading with underline */
.footer-contact-heading {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(255,255,255,0.3);
  display: inline-block;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
}
.footer-col p,
.footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  line-height: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--yellow); }
.footer-icon {
  width: 18px; height: 18px;
  flex-shrink: 0;
  opacity: 0.8;
}
.footer-bottom {
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   SERVICES PAGE
   ═══════════════════════════════════════════════════════════════════════════════ */
.page-hero {
  position: relative;
  height: 200px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--blue);
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  opacity: 0.25;
}
.page-hero-bg-col {
  height: 100%;
}
.page-hero-content {
  position: relative;
  
}

.services-page-title {
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 800;
  color: var(--orange);
  text-align: center;
  margin-bottom: 48px;
  padding-top: 16px;
}

.services-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}
.service-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: box-shadow 0.2s, transform 0.2s;
  background: var(--white);
}
.service-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}
.service-card-icon {
  width: 48px; height: 48px;
  margin-bottom: 16px;
  background: var(--light-bg);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-card-icon svg { width: 26px; height: 26px; color: var(--blue); }
.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.3;
}
.service-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   ABOUT PAGE
   ═══════════════════════════════════════════════════════════════════════════════ */
.about-overview { padding: 80px 0; }
.about-overview-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-overview-img {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #b0b8c4, #8a96a4);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 13px;
}
.about-overview-text h2 {
  font-family: var(--font-head);
  font-size: 34px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 16px;
}
.about-overview-text p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 16px;
}

.mission-vision { padding: 80px 0; background: var(--blue); }
.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.mv-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 40px 36px;
}
.mv-card h3 {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 700;
  color: var(--yellow);
  margin-bottom: 16px;
}
.mv-card p {
  font-size: 15px;
  color: rgba(255,255,255,0.8);
  line-height: 1.75;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   LOADING SPINNER
   ═══════════════════════════════════════════════════════════════════════════════ */
.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  vertical-align: middle;
  margin-right: 6px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ═══════════════════════════════════════════════════════════════════════════════
   RESPONSIVE — Tablet 768–1024px
   ═══════════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .services-grid      { gap: 32px; }
  .offshore-grid      { gap: 40px; }
  .why-grid           { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .contact-grid       { gap: 40px; }
  .footer-top         { grid-template-columns: 1fr 1fr; gap: 32px; }
  .services-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .about-overview-inner { gap: 40px; }
  .industries-grid    { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   RESPONSIVE — Mobile <768px
   ═══════════════════════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {
  .section { padding: 48px 0; }
  .container { padding: 0 16px; }

  /* Header */
  .main-nav,
  .header-phone { display: none; }
  .hamburger { display: flex; }

  /* Hero */
  .hero { min-height: 480px; }
  .hero-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  
  .hero-title { font-size: 36px; }
  .hero-content { padding: 20px 0 50px; text-align: center; }
  .hero-bottom-right { width: 100%; }
  .hero-bottom-right .btn { width: 50%; text-align: center; }

  /* Services */
  .services-section {
      padding: 48px 0; 
  }
  .section-title-wrap{
      align-content: center;
      text-align: center;
  }
  .services-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .slider-track {
      display: flex;
      width: 100%;
      max-width: 100%;
    }
  
  .slider-wrap {
      overflow: hidden;
      min-width: 0;
    }
    
    .page-hero-bg-col img {
        min-height: 200px;
    }
    
  /* On mobile slider appears ABOVE text list — order handled by HTML */

  /* Offshore */
  .offshore-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  /* image appears below text on mobile (reversed) */
  .offshore-grid .offshore-img { order: -1; }
  .offshore-text h2 { font-size: 30px; }

  /* Why */
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .why-card { padding: 24px 12px; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-form-card { padding: 24px 16px; }
  .form-row { grid-template-columns: 1fr; }
  .form-submit .btn { width: 100%; }
  .contact-left h2 { font-size: 28px; }
  .get-in-touch { text-align: center; font-size: 28px; }

  /* Industries */
  .industries-grid { grid-template-columns: 1fr; }
  .industries-cols { grid-template-columns: 1fr; }

  /* Pre-footer */
  .prefooter-strip { grid-template-columns: 1fr; height: auto; }
  .prefooter-img { height: 180px; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; gap: 28px; }

  /* Services page cards */
  .services-cards-grid { grid-template-columns: 1fr; }
  .services-page-title { font-size: 34px; }

  /* About */
  .about-overview-inner,
  .mission-vision-grid { grid-template-columns: 1fr; gap: 24px; }
  .about-overview-img { order: -1; }
}
