:root {
  --navy: #061b44;
  --blue: #0b3b79;
  --orange: #ff8a00;
  --gold: #f6b11a;
  --white: #fff;
  --ice: #f5f8fd;
  --text: #13213b;
  --muted: #607087;
  --red: #e52f2f;
  --green: #17a35b;
  --glass: rgba(255, 255, 255, 0.12);
  --shadow: 0 24px 80px rgba(3, 19, 49, 0.25);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, Arial, sans-serif;
  color: var(--text);
  background: var(--ice);
  overflow-x: hidden;
}

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

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

.wrap {
  width: min(1180px, 92%);
  margin: auto;
}

/* Topbar */
.topbar {
  background: linear-gradient(90deg, var(--navy), #102f66);
  color: #fff;
  font-size: 13px;
  padding: 0;
}

.topbar .wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 9px 0;
  flex-wrap: wrap;
}

.topbar b {
  color: var(--gold);
}

/* Navigation */
nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(6, 27, 68, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  gap: 30px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logoMark {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: linear-gradient(145deg, var(--orange), var(--navy));
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(255, 138, 0, 0.28);
  flex-shrink: 0;
}

.brand h1 {
  font-size: 18px;
  line-height: 1;
  margin: 0;
  color: var(--navy);
}

.brand span {
  font-size: 11px;
  color: var(--orange);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.links {
  display: flex;
  gap: 22px;
  font-size: 14px;
  font-weight: 700;
  color: #203657;
  align-items: center;
}

.links a {
  transition: color 0.3s ease;
}

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

.cta {
  background: linear-gradient(135deg, var(--orange), #ff6500);
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(255, 138, 0, 0.28);
  transition: transform 0.3s ease;
}

.cta:hover {
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 760px;
  color: #fff;
  background: linear-gradient(110deg, rgba(6, 27, 68, 0.96), rgba(6, 27, 68, 0.7), rgba(255, 138, 0, 0.34)),
    center/cover no-repeat;
  overflow: hidden;
  background-size: cover;
  background-attachment: fixed;
}

.hero:after {
  content: "";
  position: absolute;
  inset: auto -10% -20% -10%;
  height: 230px;
  background: #f5f8fd;
  transform: skewY(-4deg);
}

.hero .wrap {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 42px;
  align-items: center;
  min-height: 760px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h2 {
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.93;
  margin: 22px 0 18px;
  letter-spacing: -0.06em;
}

.hero h2 em {
  font-style: normal;
  color: var(--gold);
}

.hero p {
  font-size: 18px;
  line-height: 1.7;
  color: #dce8ff;
  max-width: 680px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 20px;
  border-radius: 16px;
  font-weight: 900;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn.primary {
  background: var(--orange);
  color: #fff;
}

.btn.primary:hover {
  background: #ff7a00;
  transform: translateY(-2px);
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
}

.btn.secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.heroCard {
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.splitImg {
  height: 420px;
  border-radius: 24px;
  background: center/cover no-repeat;
  position: relative;
  overflow: hidden;
}

.statGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.stat {
  background: #fff;
  color: var(--navy);
  border-radius: 18px;
  padding: 18px;
}

.stat b {
  font-size: 24px;
}

.stat span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
  font-weight: 700;
}

/* Sections */
section {
  padding: 88px 0;
}

.sectionHead {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
  margin-bottom: 36px;
}

.kicker {
  color: var(--orange);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
}

.sectionHead h3 {
  font-size: clamp(31px, 4vw, 52px);
  line-height: 1;
  margin: 8px 0 0;
  color: var(--navy);
  letter-spacing: -0.04em;
}

.sectionHead p {
  max-width: 560px;
  color: var(--muted);
  line-height: 1.7;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service {
  position: relative;
  min-height: 430px;
  border-radius: 30px;
  overflow: hidden;
  color: #fff;
  box-shadow: 0 30px 70px rgba(6, 27, 68, 0.18);
  background: #111;
  cursor: pointer;
  transition: transform 0.3s ease;
  text-decoration: none;
}

.service:hover {
  transform: translateY(-5px);
}

.service:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 9, 28, 0.05), rgba(2, 9, 28, 0.9));
}

.service.security {
  background: url("../assets/page-15.jpg") center/cover;
}

.service.ambulance {
  background: url("../assets/page-03.jpg") center/cover;
}

.service.fire {
  background: url("../assets/page-24.jpg") center/cover;
}

.service .content {
  position: absolute;
  inset: auto 0 0;
  padding: 26px;
}

.badge {
  display: inline-block;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 138, 0, 0.96);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.service h4 {
  font-size: 30px;
  margin: 13px 0 10px;
}

.service p {
  color: #e9f1ff;
  line-height: 1.55;
}

.pillList {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 15px;
}

.pill {
  font-size: 12px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 999px;
  padding: 8px 10px;
}

/* Dark Theme */
.dark {
  background: radial-gradient(circle at top left, rgba(255, 138, 0, 0.25), transparent 30%),
    linear-gradient(135deg, #061b44, #020814);
  color: #fff;
}

.dark .sectionHead h3,
.dark h4 {
  color: #fff;
}

.dark .sectionHead p,
.dark p {
  color: #c6d5ec;
}

.featureGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.panel {
  background: #fff;
  border: 1px solid rgba(6, 27, 68, 0.08);
  border-radius: 28px;
  padding: 30px;
  box-shadow: 0 16px 42px rgba(6, 27, 68, 0.08);
}

.dark .panel {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.panel h4 {
  font-size: 25px;
  margin: 0 0 14px;
  color: var(--navy);
}

.list {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.list li {
  display: flex;
  gap: 10px;
  color: var(--muted);
  line-height: 1.45;
  font-weight: 600;
}

.dark .list li {
  color: #d8e4f8;
}

.check {
  color: var(--orange);
  font-weight: 900;
}

.imagePanel {
  min-height: 400px;
  background: center/cover no-repeat;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

/* Ambulance Theme */
.ambulanceTheme {
  background: linear-gradient(135deg, #fff, #eef8ff);
}

.ambulanceStrip {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
}

.mock {
  background: #fff;
  border-radius: 34px;
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid rgba(6, 27, 68, 0.08);
}

.mockTop {
  background: linear-gradient(90deg, var(--navy), var(--orange));
  height: 12px;
}

.mockBody {
  padding: 22px;
}

.liveGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.live {
  border-radius: 18px;
  padding: 16px;
  background: #f6f8fb;
}

.live b {
  display: block;
  color: var(--navy);
  margin-bottom: 5px;
}

.live span {
  font-size: 13px;
  color: var(--muted);
  font-weight: 700;
}

.signal {
  height: 8px;
  background: linear-gradient(90deg, var(--green), var(--orange));
  border-radius: 999px;
  margin-top: 12px;
}

/* Fire Zone */
.fireZone {
  background: linear-gradient(135deg, #140504, #3b0707);
  color: #fff;
}

.fireZone .panel h4 {
  color: #fff;
}

.fireZone .panel {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

/* Numbers Section */
.numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.num {
  padding: 26px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 35px rgba(6, 27, 68, 0.08);
  text-align: center;
}

.num b {
  font-size: 34px;
  color: var(--navy);
}

.num span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-weight: 700;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 14px;
}

.gallery img {
  height: 240px;
  width: 100%;
  object-fit: cover;
  border-radius: 24px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.05);
}

.gallery img:first-child {
  height: 494px;
  grid-row: span 2;
}

/* Slider */
.slider-container {
  position: relative;
  margin: 40px 0;
  border-radius: 24px;
  overflow: hidden;
}

.slider {
  display: grid;
  grid-template-columns: repeat(auto-scroll, minmax(300px, 1fr));
  gap: 20px;
  padding: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.slider-item {
  scroll-snap-align: start;
  flex-shrink: 0;
}

.slider img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 18px;
}

/* Contact Section */
.contact {
  background: linear-gradient(135deg, var(--navy), #0b2a60);
  color: #fff;
}

.contactGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.contactCard {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 30px;
  padding: 32px;
}

.contactCard h3 {
  font-size: 42px;
  line-height: 1;
  margin: 0 0 16px;
}

.contactItems {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.contactItem {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 15px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.contactItem b {
  color: var(--gold);
}

.form input,
.form textarea {
  width: 100%;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  margin-bottom: 12px;
  font: inherit;
}

.form input::placeholder,
.form textarea::placeholder {
  color: #bfd0ec;
}

.form button {
  border: 0;
  width: 100%;
  cursor: pointer;
}

/* Footer */
.footer {
  padding: 26px 0;
  background: #020814;
  color: #b8c7df;
  font-size: 13px;
}

.footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 900px) {
  .links {
    display: none;
  }

  .hero .wrap,
  .featureGrid,
  .ambulanceStrip,
  .contactGrid {
    grid-template-columns: 1fr;
  }

  .cards,
  .numbers {
    grid-template-columns: 1fr;
  }

  .sectionHead {
    display: block;
  }

  .hero {
    min-height: auto;
  }

  .hero .wrap {
    padding: 90px 0 140px;
    min-height: auto;
  }

  .splitImg {
    height: 310px;
  }

  .statGrid {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery img,
  .gallery img:first-child {
    height: 260px;
    grid-row: auto;
  }

  .topbar .wrap {
    font-size: 12px;
  }

  .hero h2 {
    font-size: 48px;
  }

  .nav {
    flex-direction: column;
    gap: 15px;
  }

  .contactGrid {
    grid-template-columns: 1fr;
  }
}
