/* ---------------------------------------------------------
   GOOGLE FONTS
--------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700;800&display=swap');

/* ---------------------------------------------------------
   ROOT VARIABLES (GLOBAL THEME)
--------------------------------------------------------- */
:root {
  --ink: #0b1b2b;
  --text: #1b1b1b;
  --muted: #ffffff;

  --brand: #cf1f2f;            /* main accent colour */
  --brand-dark: #cf1f2f;       /* hover shade */
  --brand-ink: #0b1b2b;

  --border: #cf1f2f;
  --bg-light: #f6f9ff;

  --card: #ffffff;
  --radius: 14px;
  --shadow: 0 14px 40px rgba(0, 0, 0, .18);

  --container-width: 1200px;
  --spacing-section: 70px;
}

/* ---------------------------------------------------------
   RESET + GLOBAL
--------------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Nunito Sans', sans-serif;
  color: var(--text);
  background: #ffffff;
  line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 12px;
}

p { margin-bottom: 18px; }

/* ---------------------------------------------------------
   CONTAINER + LAYOUT
--------------------------------------------------------- */
.container {
  width: min(var(--container-width), 92%);
  margin-inline: auto;
}

.section {
  padding: var(--spacing-section) 0;
}

/* grid system */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 28px; }

/* ---------------------------------------------------------
   HEADER
--------------------------------------------------------- */
.site-header {
  background: #fff;
   padding: 18px 0;  /* Add some padding to prevent cutting off the logo */
  border-bottom: 1px solid #eee;
}

.site-header .container {
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-weight: 800;
  font-size: 24px;
  color: var(--ink);
  text-decoration: none;
}

.nav a {
  text-decoration: none;
  margin-left: 20px;
  color: var(--text);
  font-weight: 600;
}

.nav a:hover {
  color: var(--brand);
}

/* ---------------------------------------------------------
   HERO SECTION
--------------------------------------------------------- */
.hero {
  background: linear-gradient(180deg, var(--bg-light), #ffffff);
  padding: 100px 0;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 14px;
}

.hero p { max-width: 600px; margin: 0 auto 20px; }

/* ---------------------------------------------------------
   BUTTONS
--------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: 0.25s ease;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand-dark);
}

/* ---------------------------------------------------------
   CARDS
--------------------------------------------------------- */
.card {
  background: var(--card);
  border: 1px solid #eee;
  border-radius: var(--radius);
  padding: 22px;
  transition: 0.25s ease;
}

.card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

/* ---------------------------------------------------------
   FORMS
--------------------------------------------------------- */
label { font-weight: 600; margin-bottom: 6px; display: block; }

input, textarea, select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: var(--radius);
  font-size: 15px;
  margin-bottom: 16px;
}

input:focus, textarea:focus {
  border-color: var(--brand);
  outline: none;
  box-shadow: 0 0 6px rgba(245, 160, 24, 0.3);
}
.site-header{
  position: sticky; top:0; z-index: 1000;
  background:#fff; border-bottom:1px solid #eee;
}
.header__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;  /* Ensure the logo and navigation don't overlap */
  min-height: 72px;
  padding: 10px 20px;  /* Increase padding for better spacing */
}
.logo img{ display:block; height:60px; width:auto; }

/* nav reset + horizontal layout */
.site-nav .menu,
.site-nav .submenu{ margin:0; padding:0; list-style:none; }

.site-nav .menu{
  display:flex; align-items:center; gap:28px;
}
.site-nav a, .site-nav .menu-parent{
  font-weight:600; color:#0b1b2b; text-decoration:none;
  padding:10px 0; display:inline-flex; align-items:center; gap:6px;
}
.site-nav a:hover, .site-nav .menu-parent:hover{ color:#CF1F2F; }

/* Services dropdown */
.has-sub{ position:relative; }
.menu-parent{
  background:none; border:0; cursor:pointer; font:inherit;
}
.submenu{
  position:absolute; left:0; top:calc(100% + 14px);
  min-width:240px; background:#fff; border:1px solid #e8ecf1;
  border-radius:12px; box-shadow:0 14px 30px rgba(0,0,0,.08);
  display:none; padding:10px;
}
.submenu li a{
  display:block; padding:10px 12px; border-radius:8px; color:#263445;
}
.submenu li a:hover{ background:#f5f7fb; color:#cf1f2f; }

/* show submenu when parent is expanded (JS toggles aria-expanded) */
.has-sub .menu-parent[aria-expanded="true"] + .submenu{ display:block; }

/* Contact CTA */
.menu-cta .btn{ padding:10px 16px; border-radius:10px; }
.btn{ display:inline-flex; align-items:center; justify-content:center; font-weight:700; }
.btn--primary{ background:#cf1f2f; color:#fff; box-shadow:0 6px 16px rgba(0,0,0,.12); }
.btn--primary:hover{ filter:brightness(.96); }
@media (min-width: 993px) {
  /* animate the submenu in/out */
  .submenu{
    display:block;           /* allow transition with visibility */
    opacity:0;
    visibility:hidden;
    transform: translateY(10px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    z-index: 999;            /* ensure it sits above hero/form */
  }

  /* open on hover of the parent <li> */
  .has-sub:hover > .submenu{
    opacity:1;
    visibility:visible;
    transform: translateY(0);
  }

  /* optional: highlight the Services trigger while open */
  .has-sub:hover > .menu-parent{
    color:#0a236a;
  }
}
/* ========== Mobile ========== */
.nav-toggle{
  display:none; background:none; border:0; cursor:pointer;
  width:42px; height:42px; position:relative;
}
.nav-toggle__bar{
  position:absolute; left:9px; right:9px; height:2px; background:#233140;
}
.nav-toggle__bar:nth-child(1){ top:12px; }
.nav-toggle__bar:nth-child(2){ top:20px; }
.nav-toggle__bar:nth-child(3){ top:28px; }
.sr-only{ position:absolute; clip:rect(1px,1px,1px,1px); padding:0; border:0; height:1px; width:1px; overflow:hidden; }

@media (max-width: 992px){
  .nav-toggle{ display:block; }

  /* make the mobile panel cover the screen and sit on top */
  .site-header{ --header-h:85px; } /* header height variable */
  .site-nav{
    position: fixed;
    top: var(--header-h,85px);
    left: 0;
    right: 0;
    height: calc(100vh - var(--header-h,72px));
    overflow-y: auto;
    background:#fff;
    border-top:1px solid #eee;
    transform: translateY(-110%);
    transition: .25s transform;
    box-shadow: 0 14px 30px rgba(0,0,0,.08);
    z-index: 1200;               /* <-- ensures it overlays hero/form */
  }
  .site-nav.is-open{ transform: translateY(0); }

  .site-nav .menu{
    flex-direction:column; align-items:flex-start; gap:0; padding:10px 18px;
  }
  .site-nav .menu > li{ width:100%; }
  .site-nav .menu > li > a,
  .menu-parent{ width:100%; padding:14px 6px; }

  .submenu{
    position: static; display:none; box-shadow:none; border:0; padding:0 0 10px;
  }
  .has-sub .menu-parent[aria-expanded="true"] + .submenu{ display:block; }

  /* prevent page from scrolling behind the open menu */
  body.no-scroll{ overflow:hidden; }
}
@media (max-width: 992px) {
  /* Align Services (menu-parent) with other nav items */
  .menu-parent {
    padding-left: 6px !important; 
    text-align: left;
  }

  /* Optional: keep submenu items slightly indented but clean */
  .submenu li a {
    padding-left: 28px; 
  }
}
/* ---------------------------------------------------------
   FOOTER
--------------------------------------------------------- */
.site-footer {
  background: #fafafa;
  border-top: 1px solid #eee;
  padding: 30px 0;
  text-align: center;
}

.site-footer p {
  color: #666;
}

/* ---------------------------------------------------------
   RESPONSIVE UTILITIES
--------------------------------------------------------- */
@media (max-width: 900px) {
  .hero h1 { font-size: 2rem; }
}

@media (max-width: 600px) {
  .btn { width: 100%; text-align: center; }
}





























/* ===== Footer ===== */
.site-footer{
  background:#fff;
  padding-top: 32px;
}

.footer__grid{
  display:grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  padding: 24px 0 16px;
  position: relative;
  text-align:left;
}

/* vertical divider */
.footer__grid::before{
  content:"";
  position:absolute;
  left: 33%;
  top: 0; bottom: 0;
  width:1px; background:#e3ebf5;
}

.footer__col{ min-width: 220px; }
.footer__heading{
  margin: 0 0 10px;
  color:#0b1b2b;
  font-weight:800;
  font-size:16px;
}
.footer__list{ list-style:none; margin:0; padding:0; }
.footer__list li{ margin:10px 0; }
.footer__list a{
  color:#0b1b2b; text-decoration:none;
}
.footer__list a:hover{ text-decoration:underline; }

/* Support column (aligned left) */
.footer__support .footer__link{
  display:block; margin:12px 0; color:#0b1b2b; font-weight:700; text-decoration:none;
}
.footer__support .footer__link:hover{ text-decoration:underline; }

.footer__email{
  display:block; margin:16px 0 14px; color:#0b1b2b; text-decoration:none;
}
.footer__email:hover{ text-decoration:underline; }

.footer__social{ display:flex; gap:10px; margin-top:10px; }
.icn{ width:28px; height:28px; display:inline-flex; align-items:center; justify-content:center; color:#0b1b2b; }
.icn svg{ fill: currentColor; width:20px; height:20px; opacity:.95; }
.icn:hover{ color:#cf1f2f; }

/* copyright center only */
.footer__copy{
  border-top:1px solid #e9eef6;
  text-align:center;
  color:#0b1b2b;
  font-size:14px;
  padding: 14px 0 24px;
}

/* responsive */
@media (max-width: 1024px){
  .footer__grid{
    grid-template-columns: 1fr 1fr;
  }
  .footer__grid::before{ display:none; }
}
@media (max-width: 640px){
  .footer__grid{
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

