/* ==========================================================================
   Smart Inspection Services LTD — MASTER STYLESHEET (Organised)
   ========================================================================== */

/* ==========================================================================
   1) Theme Tokens / Global Reset
   ========================================================================== */
:root{
  --bg: #e5f2fb;
  --text: #0f172a;        /* slate-900 */
  --muted: #475569;       /* slate-600 */
  --muted-2: #64748b;     /* slate-500 */
  --border: #e2e8f0;      /* slate-200 */

  --blue: #1f6feb;
  --red: #e11d48;

  --shadow-sm: 0 10px 28px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 22px 60px rgba(15, 23, 42, 0.12);

  --radius: 20px;
  --container: 1120px;

  /* Spacing scale (bigger = more breathing room) */
  --space-1: 12px;
  --space-2: 20px;
  --space-3: 32px;
  --space-4: 52px;
  --space-5: 86px;
  --space-6: 120px;
}

*{ box-sizing: border-box; }
html, body { height: 100%; }

body{
  margin: 0;
  font-family: Montserrat, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
}

a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: none; }

/* ==========================================================================
   2) Layout Helpers
   ========================================================================== */
.container{
  width: min(var(--container), calc(100% - 70px));
  margin: 0 auto;
}

@media (max-width: 600px){
  .container{
    width: min(var(--container), calc(100% - 44px));
  }
}

main{
  padding-top: var(--space-2);
}

/* Accessibility */
.skip-link{
  position: absolute;
  left: -999px;
  top: 12px;
  background: #111827;
  color: #fff;
  padding: 10px 12px;
  border-radius: 10px;
  z-index: 9999;
}
.skip-link:focus{ left: 16px; }

/* ==========================================================================
   3) Header / Navigation
   ========================================================================== */
.site-header{
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  gap: var(--space-2);
}

.brand{
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

/* LOGO sizing (bigger on desktop, slightly smaller on mobile) */
.brand-logo{
  width: px;
  height: auto;
  max-height: 140px;
  object-fit: contain;
  display: block;
}
@media (max-width: 520px){
  .brand-logo{
    width: 64px;
    max-height: 52px;
  }
}

/* Desktop Nav */
.nav-desktop{ display: none; }

.nav-list{
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a,
.dropdown-toggle{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 999px;
  color: var(--text);
  border: 1px solid transparent;
  background: transparent;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.nav-list a:hover,
.dropdown-toggle:hover{
  background: rgba(15,23,42,0.04);
}

.nav-list a.active,
.dropdown-toggle.active{
  background: rgba(31,111,235,0.08);
  border-color: rgba(31,111,235,0.18);
}

/* Dropdown */
.dropdown{ position: relative; }

.dropdown-menu{
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 260px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  padding: 10px;
  display: none;
}

.dropdown-menu a{
  display: block;
  padding: 12px 14px;
  border-radius: 14px;
}

.dropdown-menu a:hover{
  background: rgba(15,23,42,0.04);
}

.dropdown.open .dropdown-menu{ display: block; }

/* Hamburger (mobile only) */
.hamburger{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(15,23,42,0.06);
}
.hamburger:hover{ background: rgba(15,23,42,0.02); }

.hamburger-lines{
  width: 18px;
  height: 2px;
  background: var(--text);
  position: relative;
  border-radius: 10px;
}
.hamburger-lines::before,
.hamburger-lines::after{
  content:"";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 10px;
}
.hamburger-lines::before{ top: -7px; }
.hamburger-lines::after{ top: 7px; }

/* ==========================================================================
   4) Mobile Drawer (Base + “Above Hero” Fix Integrated)
   ========================================================================== */
.drawer-backdrop{
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.30);
  z-index: 300;
}

/* Drawer Panel */
.mobile-drawer{
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(92vw, 410px);
  background: #ffffff !important;
  opacity: 1 !important;
  border-left: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  z-index: 320;
  transform: translateX(100%);
  transition: transform 220ms ease;
  display: flex;
  flex-direction: column;
}
.mobile-drawer.open{ transform: translateX(0); }

.mobile-drawer-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 20px 14px;
  border-bottom: 1px solid var(--border);
}

.mobile-brand{
  display: flex;
  align-items: center;
  gap: 14px;
}
.mobile-brand-name{ font-weight: 900; font-size: 14px; }
.mobile-brand-sub{ color: var(--muted-2); font-weight: 900; font-size: 12px; }

.drawer-close{
  width: 50px;
  height: 50px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
}

.nav-mobile{
  padding: 18px 20px 22px;
  display: grid;
  gap: 12px;
  background-color: #fff;
}

.nav-mobile a,
.mobile-accordion{
  padding: 16px 16px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  font-weight: 700;
}

.nav-mobile a:hover,
.mobile-accordion:hover{
  background: rgba(15,23,42,0.03);
}

.nav-mobile a.active{
  border-color: rgba(31,111,235,0.25);
  background: rgba(31,111,235,0.08);
}

.mobile-accordion{
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font: inherit;
}

.mobile-accordion-panel{
  margin-top: -6px;
  padding-left: 12px;
  display: grid;
  gap: 12px;
}

.mobile-accordion-panel a{
  background: rgba(15,23,42,0.02);
}

.mobile-cta{
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* --- Integrated Fix: Ensure drawer/backdrop sit above hero/banner --- */
.drawer-backdrop{
  position: fixed;
  inset: 0;
  z-index: 9998 !important;
  background: rgba(15,23,42,0.60) !important;
}

.mobile-drawer{
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  z-index: 9999 !important;

  /* force solid panel */
  background: #ffffff !important;
  opacity: 1 !important;

  /* stop any “glass” effect */
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;

  /* prevent blending/stacking weirdness */
  isolation: isolate;
}

/* If any section/hero is using aggressive z-index, neutralise it */
.hero, .section, main{
  position: relative;
  z-index: 0;
}

/* ==========================================================================
   5) Hero
   ========================================================================== */
/* Base hero layout (kept) */
.hero{
  padding: var(--space-6) 0 var(--space-4);
  position: relative;
  overflow: hidden;
}

.hero::before{
  content:"";
  position:absolute;
  width: 1100px;
  height: 640px;
  top: -280px;
  left: -320px;
  background: radial-gradient(circle at 30% 30%, rgba(31,111,235,0.28), transparent 65%);
  filter: blur(14px);
  pointer-events:none;
}

.hero::after{
  content:"";
  position:absolute;
  width: 1100px;
  height: 640px;
  top: -300px;
  right: -380px;
  background: radial-gradient(circle at 60% 40%, rgba(225,29,72,0.24), transparent 65%);
  filter: blur(14px);
  pointer-events:none;
}

.hero-grid{
  display: grid;
  gap: 56px;
  grid-template-columns: 1fr;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero h1{
  margin: 0 0 22px;
  font-size: clamp(40px, 5.2vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero p{
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 18px;
  max-width: 70ch;
  line-height: 1.9;
}

.hero-card{
  border: 1px solid var(--border);
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  padding: 32px;
}

/* KPI blocks (used in hero + elsewhere) */
.kpis{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.kpi{
  padding: 18px;
  border-radius: 18px;
  background: rgba(15,23,42,0.02);
  border: 1px solid var(--border);
}

.kpi strong{ display:block; font-size: 20px; }
.kpi span{ color: var(--muted-2); font-size: 12px; }

/* Hero background override (kept exactly as you had it, later in file) */
.hero{
  position: relative;
  padding: var(--space-6) 0 var(--space-5);
  background:
    linear-gradient(
      120deg,
      rgba(31,111,235,0.45),
      rgba(225,29,72,0.40)
    ),
    url("../images/banner1.jpg") center / cover no-repeat;
  color: #fff;
}

.hero::before,
.hero::after{
  display:none; /* disable old gradients */
}

.hero h1,
.hero p,
.hero .kpi strong,
.hero .kpi span{
  color: #fff;
}

.hero-card{
  background: rgba(255,255,255,0.92);
  color: var(--text);
}

.hero-card p{
  color: var(--muted);
}

/* Breadcrumbs */
.breadcrumbs{
  font-size: 18px;
  letter-spacing: -0.01em;
}

.breadcrumbs a{
  color: var(--text);
  font-weight: 700;
}

.breadcrumbs span{
  margin: 0 10px;
  color: var(--muted-2);
}

/* ==========================================================================
   6) Buttons
   ========================================================================== */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.btn-primary{
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.btn-primary:hover{
  background: #155fd1;
}

.btn-outline{
  background: #fff;
  color: var(--text);
}
.btn-outline:hover{ background: rgba(15,23,42,0.03); }

/* ==========================================================================
   7) Sections / Cards / Common Blocks
   ========================================================================== */
.section{
  padding: var(--space-5) 0;
}

.section-head{
  margin-bottom: 38px;
  max-width: 920px;
}

.section-title{
  margin: 0 0 14px;
  font-size: 30px;
  letter-spacing: -0.02em;
}

.section-subtitle{
  margin: 0;
  color: var(--muted);
  max-width: 72ch;
  line-height: 1.9;
}

.section-actions{
  margin-top: 48px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.section-actions-right{
  justify-content: flex-end;
  text-align: right;
}

@media (max-width: 640px){
  .section-actions-right{
    justify-content: flex-start;
    text-align: left;
  }
}

.cards{
  display: grid;
  gap: 26px;
  grid-template-columns: 1fr;
}

.card{
  border: 1px solid var(--border);
  border-radius: 24px;
  background: #fff;
  padding: 30px;
  box-shadow: 0 12px 34px rgba(15,23,42,0.06);
}

.card h3{ margin: 0 0 12px; letter-spacing: -0.01em; }
.card p{ margin: 0; color: var(--muted); line-height: 1.85; }

/* Icons */
.section-icon{
  width: 36px;
  height: 36px;
  object-fit: contain;
  margin-bottom: 12px;
}

.card-icon{
  width: 32px;
  height: 32px;
  object-fit: contain;
  margin-bottom: 10px;
}

.card h3{
  display:flex;
  align-items:center;
  gap:10px;
}

/* Optional alternate section band */
.section-alt{
  background: rgba(15,23,42,0.02);
}
.section-alt .card,
.section-alt .service-tile{
  background: #fff;
}

/* ==========================================================================
   8) Grids / Services / Equipment
   ========================================================================== */
.grid-2{
  display: grid;
  gap: var(--space-3);
  grid-template-columns: 1fr;
}

/* Services grid */
.services-grid{
  display: grid;
  gap: 26px;
  grid-template-columns: 1fr;
}

.service-tile{
  display: block;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: #fff;
  padding: 30px;
  box-shadow: 0 12px 34px rgba(15,23,42,0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-tile:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(15,23,42,0.10);
  border-color: rgba(31,111,235,0.22);
}

.service-top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.service-pill{
  display: inline-flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  border: 1px solid var(--border);
}

.service-pill-blue{
  background: rgba(31,111,235,0.08);
  border-color: rgba(31,111,235,0.18);
  color: var(--text);
}

.service-pill-red{
  background: rgba(225,29,72,0.08);
  border-color: rgba(225,29,72,0.18);
  color: var(--text);
}

.service-tile h3{
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

.service-tile p{
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.85;
}

.service-link{
  font-weight: 900;
  color: var(--text);
}

/* Services page: card images */
.service-image{
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
  border-radius: 18px;
  margin-bottom: 16px;
  background: rgba(15,23,42,0.02);
  border: 1px solid var(--border);
}

/* Equipment grid (simple) */
.equip-grid{
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  margin-top: 12px;
}

.equip-item{
  padding: 18px 18px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(15,23,42,0.02);
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
}

/* LOLER equipment cards (image grid) */
.equip-image-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 26px;
}

@media (min-width: 720px){
  .equip-image-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1020px){
  .equip-image-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.equip-image-item{
  display: block;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 26px;
  overflow: hidden; /* IMPORTANT: stops image overflow */
  box-shadow: 0 18px 44px rgba(15,23,42,0.10);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.equip-image-item:hover{
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(15,23,42,0.16);
  border-color: rgba(31,111,235,0.35);
}

.equip-image-item img{
  width: 100%;
  height: 220px;        /* BIG image area */
  object-fit: cover;    /* fills card nicely */
  display: block;
}

.equip-image-item span{
  display: block;
  padding: 18px 18px 20px;
  font-weight: 800;
  font-size: 16px;
  color: var(--text);
  line-height: 1.35;
  text-align: center;
}

/* ==========================================================================
   9) Forms (Base + Contact Form)
   ========================================================================== */
.form{
  display: grid;
  gap: var(--space-3);
  max-width: 860px;
}
.field{ display: grid; gap: 10px; }
label{ font-weight: 800; font-size: 13px; color: var(--text); }

input, textarea, select{
  width: 100%;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  outline: none;
  box-shadow: 0 12px 30px rgba(15,23,42,0.04);
}
textarea{ min-height: 140px; resize: vertical; }
input:focus, textarea:focus, select:focus{
  border-color: rgba(31,111,235,0.45);
  box-shadow: 0 0 0 5px rgba(31,111,235,0.14);
}

/* Contact form grid */
.contact-form{
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-2);
  margin-top: 8px;
}

/* Column helpers used by the form markup */
.contact-form > * { grid-column: 1 / -1; }
.contact-form .col-6{ grid-column: span 6; }

/* Padding helpers in your markup */
.contact-form .pad-y-2{ padding-top: var(--space-1); padding-bottom: var(--space-1); }
.contact-form .pad-r-2{ padding-right: var(--space-1); }
.contact-form .pad-l-2{ padding-left: var(--space-1); }

@media (max-width: 760px){
  .contact-form{ grid-template-columns: 1fr; }
  .contact-form .col-6,
  .contact-form .col-12{ grid-column: 1 / -1; }
  .contact-form .pad-r-2,
  .contact-form .pad-l-2{ padding-left: 0; padding-right: 0; }
}

.required{
  color: var(--red);
  font-weight: 900;
  margin-left: 6px;
}

.contact-form .form-element{
  position: relative;
  display: flex;
  align-items: center;
}

.contact-form .form-element i{
  position: absolute;
  left: 14px;
  color: rgba(15,23,42,0.55);
  pointer-events: none;
  font-size: 14px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea{
  width: 100%;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  outline: none;
  box-shadow: 0 12px 30px rgba(15,23,42,0.04);
}

.contact-form .form-element i + input,
.contact-form .form-element i + select{
  padding-left: 44px;
}

.contact-form .form-select select{
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(15,23,42,0.55) 50%),
    linear-gradient(135deg, rgba(15,23,42,0.55) 50%, transparent 50%);
  background-position:
    calc(100% - 22px) 50%,
    calc(100% - 16px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 44px;
}

.contact-form .form-element.size-xl textarea{
  min-height: 160px;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus{
  border-color: rgba(31,111,235,0.45);
  box-shadow: 0 0 0 5px rgba(31,111,235,0.14);
}

.contact-form .form-upload{
  width: 100%;
  border: 1px dashed rgba(15,23,42,0.22);
  background: rgba(15,23,42,0.02);
  border-radius: 18px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.contact-form .form-upload .upload-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  font-weight: 900;
  cursor: pointer;
}

.contact-form .form-upload .upload-btn::before{
  content: "Choose files";
}

.contact-form .errors{
  margin: 8px 0 0;
  color: var(--red);
  font-weight: 800;
  font-size: 13px;
  line-height: 1.6;
}

.contact-form .btn{
  width: 100%;
  justify-content: center;
  padding: 14px 18px;
  border-radius: 999px;
}

/* ==========================================================================
   10) Stat Impact Grid
   ========================================================================== */
.stat-grid{
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
}

.stat-card{
  position: relative;
  padding: 28px;
  border-radius: 26px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 14px 36px rgba(15,23,42,0.08);
}

.stat-card strong{
  display: block;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.stat-number{
  display: block;
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.stat-card p{
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

/* Colour variants */
.stat-blue{
  background: linear-gradient(
    135deg,
    rgba(31,111,235,0.12),
    rgba(31,111,235,0.02)
  );
  border-color: rgba(31,111,235,0.25);
}

.stat-red{
  background: linear-gradient(
    135deg,
    rgba(225,29,72,0.12),
    rgba(225,29,72,0.02)
  );
  border-color: rgba(225,29,72,0.25);
}

.stat-dark{
  background: linear-gradient(
    135deg,
    rgba(15,23,42,0.08),
    rgba(15,23,42,0.02)
  );
}

/* Responsive */
@media (min-width: 860px){
  .stat-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ==========================================================================
   11) Prevention / Solution Panel
   ========================================================================== */
.solution-panel{
  border-radius: 28px;
  padding: 52px;
  background:
    linear-gradient(
      135deg,
      rgba(31,111,235,0.10),
      rgba(15,23,42,0.02)
    );
  border: 1px solid rgba(31,111,235,0.25);
}

.solution-content{
  max-width: 780px;
}

.solution-panel h2{
  margin: 0 0 16px;
  font-size: 32px;
  letter-spacing: -0.02em;
}

.solution-panel p{
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 1.9;
}

.solution-list{
  list-style: none;
  padding: 0;
  margin: 0 0 34px;
  display: grid;
  gap: 12px;
}

.solution-list li{
  font-weight: 700;
  color: var(--text);
}

@media (max-width: 720px){
  .solution-panel{
    padding: 36px 26px;
  }
}

/* ==========================================================================
   12) Footer
   ========================================================================== */
.site-footer{
  margin-top: var(--space-6);
  background: #05070c;
  color: rgba(255,255,255,0.92);
  border-top: 1px solid rgba(255,255,255,0.10);
}

.footer-grid{
  padding: 96px 0 62px;   /* BIGGER */
  display: grid;
  gap: 46px;              /* MORE SPACE between columns */
  grid-template-columns: 1fr;
}

.footer-col h3{
  margin: 0 0 18px;       /* MORE SPACE */
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.70);
}

.footer-brand{
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.footer-brand-name{
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #fff;
}

.footer-brand-sub{
  color: rgba(255,255,255,0.70);
  font-size: 13px;
}

.footer-text{
  margin: 0;
  color: rgba(255,255,255,0.74);
  max-width: 66ch;
  line-height: 2.0;       /* MORE READABLE */
}

.footer-links, .footer-meta{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;              /* MORE SPACE between links */
}

.footer-links a{
  color: rgba(255,255,255,0.88);
}
.footer-links a:hover{
  color: #fff;
  text-decoration: underline;
}

.meta-label{ color: rgba(255,255,255,0.65); font-weight: 800; }

.footer-badges{
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;              /* MORE SPACE */
}

.badge{
  font-size: 12px;
  padding: 12px 14px;     /* BIGGER badges */
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(31,111,235,0.10);
  color: rgba(255,255,255,0.92);
}

.badge-alt{
  background: rgba(225,29,72,0.12);
}

.footer-bottom{
  padding: 24px 0 34px;   /* BIGGER bottom bar */
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: rgba(255,255,255,0.72);
  line-height: 1.9;
}

.created-by a{
  color: #fff;
  text-decoration: underline;
}
.created-by a:hover{
  color: rgba(225,29,72,0.95);
}

/* Footer logo (optional use) */
.footer-logo{
  width: 140px;
  height: auto;
  max-height: 140px;
  object-fit: contain;
  display: block;
}

.footer-banner{
  display: block;
  width: 100%;
  max-width: 708px;
  height: auto;
  margin-top: 22px;
  margin-left: auto;   /* pushes to the right of that column */
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.03);
}

/* ==========================================================================
   13) Responsive Breakpoints (kept as-is)
   ========================================================================== */
@media (min-width: 720px){
  .services-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .equip-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 860px){
  .nav-desktop{ display: block; }
  .hamburger{ display: none; }

  /* Force-hide mobile UI on desktop (fix mobile menu showing) */
  .mobile-drawer{ display: none; }
  .drawer-backdrop{ display: none; }

  .hero-grid{ grid-template-columns: 1.1fr 0.9fr; }
  .cards{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-2{ grid-template-columns: 1fr 1fr; }
  .footer-grid{ grid-template-columns: 1.2fr 0.8fr 1fr; }
  .footer-bottom{
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 1020px){
  .services-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .equip-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ==========================================================================
   14) Existing Drawer Override Block
   ========================================================================== */
/* ===== Mobile menu must sit ABOVE hero/banner ===== */
.drawer-backdrop{
  position: fixed;
  inset: 0;
  z-index: 9998 !important;
  background: rgba(15,23,42,0.60) !important;
}

.mobile-drawer{
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  z-index: 9999 !important;

  /* force solid panel */
  background: #ffffff !important;
  opacity: 1 !important;

  /* stop any “glass” effect */
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;

  /* prevent blending/stacking weirdness */
  isolation: isolate;
}

/* If any section/hero is using aggressive z-index, neutralise it */
.hero, .section, main{
  position: relative;
  z-index: 0;
}
/* ===== Prevent horizontal scroll / right gap when drawer is closed ===== */
html, body{
  overflow-x: hidden;
}

/* Ensure the drawer never affects page width when closed */
#mobileNav{
  left: auto;          /* undo any full-width left:0 rules */
  right: 0;
  width: min(92vw, 410px);
  max-width: 410px;
}

/* On small screens you can still use full width */
@media (max-width: 760px){
  #mobileNav{
    left: 0;
    right: 0;
    width: 100vw;
    max-width: 100vw;
  }
}

/* When closed, keep it off-canvas without creating scroll width */
#mobileNav{
  transform: translate3d(100%,0,0) !important;
  visibility: hidden;
  pointer-events: none;
}

#mobileNav.open{
  transform: translate3d(0,0,0) !important;
  visibility: visible;
  pointer-events: auto;
}
/* hidden attribute must always hide elements */
[hidden]{
  display: none !important;
}
