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

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  color: #222;
  background: #fafafa;
}

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

/* =========================
   COLOUR SYSTEM
========================= */
:root {
  --brand-blue: #046f6b;
  --brand-blue-dark: #084a83;
  --accent: #e53935;
  --muted: #666;
  --bg: #fafafa;
}

/* =========================
   WRAPPER
========================= */
.wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
}

/* =========================
   TOP BAR
========================= */
.topbar {
  background: #fff;
  border-bottom: 1px solid #eee;
  font-size: 14px;
  padding: 6px 5%;
  display: flex;
  gap: 20px;
  align-items: center;

  /* Make it stick */
  position: sticky;
  top: 0;
  z-index: 1000;
}

.topbar a {
  color: var(--brand-blue);
  font-weight: 500;
  transition: 0.2s;
}

.topbar a:hover {
  text-decoration: underline;
}

/* =========================
   HEADER & NAV
========================= */
.header {
  background: #fff;
  position: sticky;
  top: 32px; /* sits directly under the topbar */
  z-index: 999;
  box-shadow: 0 1px 6px rgba(8,20,30,0.06);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 4%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Keep nav on one line */
.nav {
  display: flex;
  gap: 20px;
  align-items: center;
  white-space: nowrap; /* prevents About/Contact/FAQs from breaking */
}

.logo img {
  height: 56px;
  display: block;
}

/* =========================
   HAMBURGER
========================= */
.hamburger {
  width: 32px;
  height: 26px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 999;
}

.hamburger span {
  display: block;
  height: 4px;
  border-radius: 4px;
  background: #000;
  transition: 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

/* =========================
   NAVIGATION
========================= */
.nav a {
  color: #333;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 4px;
}

.nav a.active {
  color: var(--brand-blue);
}

.nav a:hover {
  background: rgba(11,97,169,0.06);
}

.nav-contact-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.nav-contact-wrapper .nav-phone {
  font-weight: 700;
  color: var(--brand-blue-dark);
}

.nav-contact-wrapper .btn {
  padding: 8px 12px;
  font-weight: 600;
  color: #fff !important;
  background: var(--brand-blue);
  cursor: pointer;
  text-decoration: none;
  transition: none;
}

.nav-contact-wrapper .btn:hover {
  background: var(--brand-blue);
  color: #fff;
  box-shadow: none;
}

/* =========================
   MOBILE NAV
========================= */
@media (max-width: 900px) {
  .hamburger {
    display: flex;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: #fff;
    display: none;
    padding: 20px 0;
    border-top: 1px solid #eee;
    max-height: 80vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav.active {
    display: flex;
  }

  .nav a {
    width: 100%;
    padding: 15px 25px;
    border-bottom: 1px solid #eee;
    font-size: 18px;
    text-align: left;
  }

  .mobile-phone {
    display: block;
    font-weight: 700;
    color: var(--brand-blue-dark);
    margin-left: 12px;
  }
}

/* =========================
   HERO SECTION
========================= */
.hero {
  background-image: url('/banner.svg?v=2');
  background-size: cover;
  background-position: center;
  min-height: 200px;       /* Desktop height */
  display: flex;
  align-items: center;
  justify-content: center;  /* centers text horizontally */
  color: #fff;
  position: relative;
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.3); /* slightly dark overlay for readability */
  padding: 60px 5%;
  text-align: left;
  width: 100%;
}

/* Hero text styling */
.hero h1 {
  font-size: 44px;
  font-weight: 800;
  color: #34FFFC;
}

.hero .breadcrumb,
.hero p.meta {
  color: #fff;
}

/* =========================
   CONTAINER
========================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 46px 4%;
}

/* =========================
   COLUMNS
========================= */
.columns {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
}

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

/* =========================
   SERVICE GRID 2x2
========================= */
.services-overview h2,
.columns h2,
.testimonials h2 {
  color: var(--brand-blue) !important;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 24px;
}

.service-grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 18px;
}

.service-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.service-card .service-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0,0,0,0.5);
  color: #fff;
  text-align: center;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 600;
  transition: background 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 30px rgba(8,20,30,0.09);
}

.service-card:hover img {
  transform: scale(1.05);
}

.service-card:hover .service-overlay {
  background: rgba(0,0,0,0.7);
}

@media (max-width: 960px) {
  .service-grid-2x2 {
    grid-template-columns: 1fr;
  }
}

/* =========================
   SIDEBAR CARD
========================= */
.sidebar-card {
  background: #fff;
  padding: 18px;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(10,20,30,0.06);
}

.contact-phone {
  font-size: 18px;
  color: var(--brand-blue-dark);
  font-weight: 700;
  margin-top: 8px;
}

/* =========================
   BUTTONS
========================= */
.btn {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 6px;
  font-weight: 700;
  background: var(--brand-blue);
  color: #fff;
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(11,97,169,0.12);
  color: var(--brand-blue);
}

/* =========================
   FOOTER
========================= */
.footer {
  background: #0f1720;
  color: #d7dfe8;
  padding: 28px 4%;
  margin-top: auto;
}

.footer .inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

/* =========================
   MODAL
========================= */
.modal-overlay {
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  background: rgba(0,0,0,0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.modal {
  background: #fff;
  border-radius: 8px;
  padding: 30px;
  max-width: 600px;
  width: 90%;
  position: relative;
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
  overflow-y: auto;
  max-height: 90vh;
}

.modal h2 {
  text-align: center;
  color: var(--brand-blue);
  margin-bottom: 24px;
}

.modal label {
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
}

.modal input, .modal select, .modal textarea {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 16px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 16px;
}

.modal textarea {
  min-height: 100px;
  resize: vertical;
}

.modal .btn-submit {
  width: 100%;
  background: var(--brand-blue);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  padding: 12px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.2s;
}

.modal .btn-submit:hover {
  background: var(--brand-blue-dark);
}

.modal .close-modal {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 20px;
  cursor: pointer;
  color: #333;
}

.modal .success-message,
.modal .error-message {
  display: none;
  font-weight: 600;
  text-align: center;
  margin-top: 12px;
}

.modal .success-message {
  color: green;
}

.modal .error-message {
  color: red;
}

/* =========================
   SMALL SCREENS
========================= */
@media (max-width: 600px) {
  .hero h1 { font-size: 28px; }
  .header-inner { padding: 12px; }
  .logo img { height: 48px; }
  .nav-contact-wrapper { flex-direction: column; gap: 4px; }

  /* Keep topbar visible and sticky */
  .topbar {
    display: flex !important;
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  /* Adjust header to sit below topbar */
  .header {
    top: 32px; /* or adjust if needed */
  }
}

/* =========================
   MOBILE PHONE NUMBER
========================= */
.mobile-phone {
  display: none;
  font-weight: 700;
  color: var(--brand-blue-dark);
  white-space: nowrap;
  font-size: 16px;
  margin-left: 12px;
}

@media (max-width: 900px) {
  .mobile-phone {
    display: inline-block;
  }

  .nav-phone {
    display: none;
  }

  .nav-contact-wrapper {
    flex-direction: column;
    gap: 6px;
  }
}

/* =========================
   MOBILE NAV SCROLLABLE
========================= */
@media (max-width: 900px) {
  .nav {
    max-height: 80vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}

.no-wrap {
  white-space: nowrap;
}