@charset "utf-8";
/* CSS Document for LM site #4


/* --- =============== Site-wide =============== --- */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  font-family: 'Cuprum', sans-serif; /* ADD THIS HERE */
}

.container {
  width: 90%;
  max-width: 1340px;
  margin: 80px auto; /* centres it and adds spacing */
  padding: 50px;
  border-radius: 30px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}


/* --- =============== NAVBAR BASE =============== --- */
.glass-nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  padding: 18px 30px;
  border-radius: 20px;

  backdrop-filter: blur(20px) saturate(180%);
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.3);

  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  transition: all 0.35s ease;
  z-index: 999;

  --nav-height: 70px;
}

/* Adaptive colour modes */
.glass-nav.dark a {
  color: #fff !important;
}

.glass-nav.light a {
  color: #222 !important;
}

.glass-nav.light .active {
  color: #000 !important;
}

.glass-nav.dark .active {
  color: #fff !important;
}

/* --- =============== NAVBAR SHRINK =============== --- */
.glass-nav.expanded {
  width: 80%;
  padding: 22px 40px;
  border-radius: 26px;
}

.glass-nav.shrunk {
  width: 45%;
  padding: 8px 18px;
  border-radius: 16px;
  top: 8px;
  --nav-height: 48px;
}

/* --- =============== INNER LAYOUT =============== --- */
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

/* a link on nav logo */
.brand a {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}


.logo {
  height: 40px;
  transition: height 0.3s ease;
}

.glass-nav.shrunk .logo {
  height: 22px;
}

.brand-name {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: font-size 0.3s ease;
}

.glass-nav.shrunk .brand-name {
  font-size: 1rem;
}

/* --- =============== NAV LINKS =============== --- */
.nav-links a {
  margin-left: 25px;
  font-weight: 500;
  text-decoration: none;
  opacity: 0.7;
  transition: all 0.25s ease;
}

.nav-links a:hover {
  opacity: 1;
}

/* Premium active state */
.nav-links a.active {
  opacity: 1;
  font-weight: 700;
  transform: scale(1.2);
  letter-spacing: 0.3px;
}

/* --- =============== MOBILE MENU TOGGLE =============== --- */
.mobile-menu-toggle {
  display: none;
  font-size: 1.7rem;
  cursor: pointer;
  user-select: none;
  transition: transform 0.3s ease;
}

.mobile-menu-toggle.open {
  transform: rotate(180deg);
}

/* --- =============== MOBILE MENU =============== --- */
.mobile-menu {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;

  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);

  width: calc(100% - 24px);
  max-width: 380px;

  display: flex;
  flex-direction: column;

  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;

  padding: 18px 22px;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 998;
}

.mobile-menu.open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mobile-menu a {
  text-decoration: none;
  padding: 14px 0;
  font-size: 1.1rem;
  font-weight: 500;
  opacity: 0.7;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  transition: opacity 0.25s ease;
}

.mobile-menu a:hover {
  opacity: 1;
}

.mobile-menu a:last-child {
  border-bottom: none;
}

/* Active in mobile menu */
.mobile-menu a.active {
  opacity: 1;
  font-weight: 700;
  transform: scale(1.05);
  letter-spacing: 0.3px;
}

/* --- Media --- */
@media (max-width: 780px) {
  .nav-inner {
    flex-wrap: wrap;
  }

  .nav-links {
    display: none !important;
  }

  .mobile-menu-toggle {
    display: block !important;
  }

  .glass-nav {
    width: 92% !important;
    padding: 14px 22px !important;
    top: 12px !important;
    border-radius: 22px;
  }

  .glass-nav.shrunk {
    width: 75% !important;
    padding: 8px 16px !important;
    top: 6px !important;
    border-radius: 18px;
  }
}

@media (max-width: 400px) {
  .glass-nav {
    width: calc(100% - 24px) !important;
    min-width: 300px !important;
    max-width: 360px !important;
    border-radius: 20px;
  }

  .glass-nav.shrunk {
    width: calc(100% - 32px) !important;
    min-width: 280px !important;
    max-width: 340px !important;
    padding: 8px 16px !important;
    border-radius: 18px !important;
  }

  .brand-name {
    font-size: 0.8rem !important;
    white-space: nowrap !important;
  }

  .mobile-menu-toggle {
    font-size: 1.1rem !important;
    margin-left: 5px !important;
  }
}



/* --- =============== Index page - Hero Section =============== --- */
.hero-section {
  position: relative;
  height: 100vh;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 120px; /* space for navbar */
  overflow: hidden;
}

/* Background video */
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: 100vw;
  height: 100vh;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: -2;
}

/* Dark gradient overlay */
.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0,0,0,0.55),
    rgba(0,0,0,0.65)
  );
  z-index: -1;
}

/*  Glass hero card */
.hero-card {
  text-align: center;
  padding: 60px 50px;
  width: 80%;
  max-width: 900px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  /* Fade-in animation (movement only) */
  animation: fadeUp 0.8s ease forwards;
  /* Start fully visible so JS can fade it out */
  opacity: 1;
  transform: translateY(20px);
  /* Smooth scroll fade-out */
  transition: opacity 0.4s ease, transform 0.4s ease;
}
@keyframes fadeUp {
  to {
    transform: translateY(0);
  }
}

/* Scroll fade-out class */
.hero-card.fade-out {
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
}

.hero-title {
  color:lightblue;
  font-size: 2.5rem;
}
.hero-subtitle {
  color: #F8F8F8;
  font-size: 1rem;
  letter-spacing: 0.1rem;
}


/* --- =============== Index page - Intro Section =============== --- */
.intro-section {
  padding: 120px 0 80px;
  background: #f8f9fa;
}

.intro-content {
  max-width: 800px;
  margin: 0 auto 60px;
  text-align: center;
}

.intro-title {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #111;
}

.intro-text {
  font-size: 1.2rem;
  line-height: 1.7;
  color: #444;
}

/* === Services Grid === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.service-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.1);
}

/* -- SVG base -- */
.service-svg {
  width: 48px;
  height: 48px;
  stroke: #007bff;
  margin: 0 auto 20px;
  display: block;
}

/* Default hidden stroke */
.service-svg path {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
}

/* Scroll-triggered draw */
.service-svg.draw path {
  animation: drawInitial 3s ease forwards;
}

@keyframes drawInitial {
  to {
    stroke-dashoffset: 0;
  }
}

/* Hover lift */
.service-card:hover .service-svg {
  transform: translateY(-6px) scale(1.05);
  transition: transform 0.4s ease;
}

/* ---- */

.service-icon {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: #111;
}

.service-card p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 20px;
}

.service-link {
  font-weight: 600;
  color: #007bff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s ease;
}

.service-link span {
  transition: transform 0.3s ease;
}

.service-card:hover .service-link span {
  transform: translateX(4px);
}


/* === Responsive === */
@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .intro-title {
    font-size: 2rem;
  }
}

/* --- =============== Dark Certifications Section =============== --- */
/* Base section overwrite the global container css */
.certifications .container {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}
/* now add in margins etc to the section */
.certifications.certif-dark {
  padding: 20px 0 80px 0; /* vertical breathing space */
  background: #1a1a1a; /* your soft  grey */
  color: #fff;
}


/* dark version */
.certif-dark {
  background: #1a1a1a; /* near-black */
  color: #fff;
}

/* Title */
.cert-title {
  text-align: center;
  margin: 40px auto;
  padding-bottom: 80px;
  font-size: 2.3rem;
  font-weight: 600;
  color: #fff;
}

/* Title */
.cert-subtitle {
  text-align: center;
  margin: 40px auto;
  padding-bottom: 80px;
  font-size: 1.4rem;
  font-weight: 200;
  color: #fff;
}

/* Grid */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 per row */
  gap: 50px;
  align-items: center;
  justify-items: center;
}
.cert-grid {
  justify-content: center;
}

/* Logos and wrapper to normalise sizes */
.cert-logo-wrapper {
  width: 120px;      /* fixed width */
  height: 70px;     /* fixed height */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;  /* prevents tall logos from pushing layout */
  flex-shrink: 0;
}

/* Logos scale nicely inside the wrapper */
.cert-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  opacity: 0;
  filter: brightness(0) invert(0.8);
  transition: opacity 0.4s ease, transform 0.3s ease, filter 0.3s ease;
}

.cert-logo.visible {
  opacity: 1;
  transform: none;
}

.cert-logo-wrapper:hover .cert-logo {
  filter: none;
}


/* Mobile */
@media (max-width: 768px) {
  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}



/* --- =============== What-We-Do page - What-we-do Section =============== --- */
.what-we-do {
  padding: 80px 0;
  background: #ffffff;
}

.what-we-do-title {
  text-align: center;
  margin-bottom: 16px;
  font-size: 2.2rem;
  font-weight: 600;
}

.what-we-do-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
  color: #555;
}

.what-we-do-wrapper {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}

.what-we-do-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Building styling */
.building-outline {
  fill: #f8f9fb;
  stroke: #d0d4e0;
  stroke-width: 2;
}

.roof-line {
  fill: #e3e6f0;
}

.roof-chimney {
  fill: #d0d4e0;
}

.window {
  fill: #ffffff;
  stroke: #d0d4e0;
  stroke-width: 1.5;
}

.door {
  fill: #ffffff;
  stroke: #c0c4d0;
  stroke-width: 1.5;
}

/* ===== HOTSPOTS (clean + no jolt) ==== */

.what-we-do-hotspot {
  r: 10;
  fill: #ffffff;
  stroke-width: 2;
  cursor: pointer;

  /* Prevent movement */
  transform-origin: center center;
  vector-effect: non-scaling-stroke;
  stroke-alignment: inner;
  paint-order: stroke fill;

  /* Smooth transitions */
  will-change: transform, fill;
  /*transition: fill 0.2s ease;*/
  transition: none;
}

/* Colour-coded hotspot borders */
.hotspot-cctv { stroke: #007bff; color: #007bff; }
.hotspot-smoke { stroke: #ff6b6b; color: #ff6b6b; }
.hotspot-access { stroke: #28a745; color: #28a745; }
.hotspot-intruder { stroke: #d63384; color: #d63384; }
.hotspot-emergency { stroke: #17a2b8; color: #17a2b8; }
.hotspot-panel { stroke: #ffb400; color: #ffb400; }

/* ==== DOUBLE PULSE RINGS ==== */

.hotspot-pulse {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  opacity: 0;
  pointer-events: none;
  transform-origin: center;
}

/* First ring */
.what-we-do-hotspot:hover + .hotspot-pulse {
  animation: hotspotPulse 1.6s ease-out infinite;
  opacity: 1;
}

/* Second ring (delayed) */
.what-we-do-hotspot:hover + .hotspot-pulse + .hotspot-pulse {
  animation: hotspotPulse 1.6s ease-out infinite;
  animation-delay: 0.35s;
  opacity: 1;
}

@keyframes hotspotPulse {
  0% {
    r: 10;
    opacity: 0.9;
    stroke-width: 2.5;
  }
  60% {
    opacity: 0.4;
  }
  100% {
    r: 40;
    opacity: 0;
    stroke-width: 1;
  }
}

.what-we-do-hotspot:hover {
  filter: url(#hotspotGlow);
  fill: currentColor;
  opacity: 0.35;
}


/* ==== TOOLTIP ==== */

.what-we-do-tooltip {
  position: absolute;
  pointer-events: none;
  background: #111827;
  color: #ffffff;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  opacity: 0;
  transform: translate(-50%, -120%);
  transition: opacity 0.15s ease, transform 0.15s ease;
  white-space: nowrap;
  z-index: 10;
}

/* ==== MODALS ==== */

.what-we-do-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 1000;
}

.what-we-do-modal[aria-hidden="false"] {
  display: block;
}

.what-we-do-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
}

.what-we-do-modal-dialog {
  position: relative;
  max-width: 480px;
  margin: 80px auto;
  background: #ffffff;
  border-radius: 12px;
  padding: 24px 28px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.25);
}

.what-we-do-modal-dialog h2 {
  margin-top: 0;
  margin-bottom: 12px;
}

.what-we-do-modal-dialog p {
  margin: 0;
  color: #444;
}

.what-we-do-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: none;
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: #888;
}

.what-we-do-modal-close:hover {
  color: #111;
}

@media (max-width: 768px) {
  .what-we-do {
    padding: 60px 0;
  }

  .what-we-do-modal-dialog {
    margin: 40px 16px;
  }
}

/* ======================= Index page - CONTACT SECTION ======================= */

.contact-section {
  position: relative;
  padding: 60px 0;
  color:#0F0F0F;
}

/* Parallax Background */
.contact-bg {
  position: absolute;
  inset: 0; /*
  background: url('../images/contact-bg.jpg') center/cover fixed;
  opacity: 0.9; */
  background-color:rgba(184,186,219,0.50);
  z-index: 1;
}

.contact-section .container {
  position: relative;
  z-index: 2;
}

/* Header */
.contact-title {
  font-size: 2.4rem;
  font-weight: 600;
}

.contact-subtitle {
  font-size: 1.1rem;
  opacity: 0.85;
}

/* Map Card */
.contact-map-card {
  background: #0d6efd;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.contact-map-card iframe {
  width: 100%;
  height: 300px;
  border: none;
}

/* Cards */
.contact-card,
.contact-form-card {
  background: rgba(255,255,255,0.25);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 25px;
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

.card-title {
  font-size: 1.3rem;
  margin-bottom: 15px;
  font-weight: 600;
}

/* Contact Items */
.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.contact-item a {
  color: #0d6efd;
  text-decoration: none;
  transition: 0.3s;
}

.contact-item a:hover {
  color: #4da3ff;
}

.contact-icon {
  width: 22px;
  height: 22px;
  stroke: #0d6efd;
  fill: none;
}

/* Emergency Card */
.emergency-card {
  border-left: 4px solid #ff4d4d;
}

.emergency-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 14px;
  background: #ff4d4d;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
}

.emergency-btn:hover {
  background: #ff6666;
}

/* Live Status */
.status-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: grey;
}

.status-hours {
  margin-top: 8px;
  opacity: 0.7;
}

/* Form */
.contact-form-card input,
.contact-form-card textarea {
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(255,255,255,0.85);
  color: #0d6efd;
}

.contact-form-card input:focus,
.contact-form-card textarea:focus {
  border-color: #4da3ff;
  box-shadow: 0 0 0 2px rgba(77,163,255,0.3);
}


/* ======================= FOOTER ======================= */

#footer {
  position: relative;
  background: url('../images6/footer-bg.jpg') center/cover fixed;
  background-color: #000;
  min-height: 1000px;          /* ensures the card sits low */
  padding-top: 220px;         /* space for intro + service cards */
  overflow: hidden;
}

/* Dark overlay */
#footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  z-index: 0;
}

/* ======================= FROSTED CARD ======================= */

.footer-card {
  position: absolute;
  bottom: -140px;             /* pushes card down so bottom is cut off */
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1400px;
  padding: 80px 70px 200px;   /* extra bottom padding for content */
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(14px);
  border-radius: 28px 28px 0 0;
  overflow: hidden;
  z-index: 2;
}

/* ======================= INTRO TEXT ======================= */

.footer-intro {
  text-align: center;
  margin-bottom: 50px;
  color: #fff;
}

.footer-intro p {
  margin: 0;
  font-size: 2rem;
  line-height: 2.4rem;
  opacity: 0.9;
}

.footer-intro p + p {
  margin-top: 8px;
  font-weight: 600;
  opacity: 1;
}


/* ======================= SERVICE CARDS (ROW 1) ======================= */
/*
.footer-services-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}*/

/* link cards to url */
.ft-service-link {
  display: block;
  text-decoration: none;
}

/* Base card */
.ft-service-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  height: 160px;
  background: #111;
  cursor: pointer;
}

/* Image */
.ft-service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
  transition: transform 0.5s ease, filter 0.5s ease;
}

/* Hover: zoom + brighten */
.ft-service-card:hover img {
  transform: scale(1.08);
  filter: brightness(0.9);
}

/* Colour band */
.ft-service-band {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 8px;
  width: 100%;
  background: #2a6bff;
  transition: height 0.3s ease, background 0.3s ease;
}

/* Hover: band grows + brightens */
.ft-service-card:hover .ft-service-band {
  height: 14px;
  background: #4c84ff;
}

/* Label */
.ft-service-label {
  position: absolute;
  bottom: 12px;
  left: 12px;
  padding: 4px 10px;
  background: rgba(0,0,0,0.65);
  color: white;
  font-size: 0.9rem;
  border-radius: 6px;
  transition: transform 0.3s ease;
}

/* Hover: label lifts */
.ft-service-card:hover .ft-service-label {
  transform: translateY(-4px);
}


/* ======================= CAROUSEL ======================= */
.footer-carousel {
  overflow: hidden;
  width: 100%;
  margin-bottom: 60px;
}

.footer-carousel-track {
  display: flex;
  gap: 20px;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.footer-carousel-track.fade-in {
  opacity: 1;
  transform: translateX(0);
}

/* Desktop: 5 visible */
.ft-service-link-wrapper {
  flex: 0 0 calc(20% - 20px);
  transition: flex-basis 0.4s ease;
}

/* Active card: wider */
.ft-service-link-wrapper.active-wrapper {
  flex: 0 0 calc(28% - 20px);
}

/* Tablet: 3 visible */
@media (max-width: 992px) {
  .ft-service-link-wrapper {
    flex: 0 0 calc(33.333% - 20px);
  }
}

/* Mobile: 1 visible */
@media (max-width: 600px) {
  .ft-service-link-wrapper {
    flex: 0 0 calc(100% - 20px);
  }
}

/* Dim all cards */
.ft-service-card {
  filter: brightness(0.6);
  transition: filter 0.4s ease;
}

/* Highlight centre card */
.ft-service-card.active {
  filter: brightness(1);
}

/* Dots */
.footer-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.footer-dot {
  width: 10px;
  height: 10px;
  background: rgba(255,255,255,0.3);
  border-radius: 50px;
  overflow: hidden;
  position: relative;
  transition: width 0.3s ease, background 0.3s ease;
}

.footer-dot.active {
  width: 40px;
  background: rgba(255,255,255,0.6);
}

.footer-dot .progress {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  background: #4c84ff;
  transition: width 4s linear;
}

/* Smooth width animation */
.ft-service-link-wrapper {
  transition: flex-basis 0.4s ease;
}

/* Inactive cards: slightly narrower */
.ft-service-link-wrapper {
  flex: 0 0 calc(18% - 20px); /* was 20% */
}

/* Active card: wider */
.ft-service-link-wrapper.active-wrapper {
  flex: 0 0 calc(28% - 20px); /* 20% + the 2×10% we removed */
}

/* Tablet */
@media (max-width: 992px) {
  .ft-service-link-wrapper {
    flex: 0 0 calc(30% - 20px);
  }
  .ft-service-link-wrapper.active-wrapper {
    flex: 0 0 calc(40% - 20px);
  }
}

/* Mobile */
@media (max-width: 600px) {
  .ft-service-link-wrapper,
  .ft-service-link-wrapper.active-wrapper {
    flex: 0 0 calc(100% - 20px);
  }
}



/* ======================= FOOTER COLUMNS (ROW 2) ======================= */

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-top: 40px;
  margin-bottom: 80px;
}

.footer-col h4 {
  margin-bottom: 12px;
  font-weight: 600;
  color: #fff;
}

.footer-col .h4title {
  margin-bottom: 12px;
  font-weight: 600;
  color: #0d6efd;
}

.footer-col p,
.footer-col ul li,
.footer-col a {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  letter-spacing: 0.03rem;
}

.footer-col a {
  text-decoration: none;
}
.footer-col a:hover {
  color: #4c84ff;
}


.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 6px;
}


/*=================== divider and copyright ==============*/
.footer-divider {
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.25);
  margin: 20px 0 30px;
}

.footer-copy {
  text-align: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  margin-bottom: 30px;
  padding-bottom: 20px;
}
