:root{
  --primary:#063075;
  --accent:#0b5fff;
  --accent-2:#ff7a00;
  --dark:#0f1724;
  --muted:#6b7280;
  --bg:#ffffff;
  --card:#f8fafc;
  --max-width:1200px;
  --header-max-width:1440px;
  --radius:12px;
  --gutter:24px;
  --hero-overlay: rgba(4,7,18,0.45);
  --bg-tint: 2016 100% 97%;
  --bg-purple: 2062 100% 97%;
  --cta-gold: #f57e07;
  --cta-gold-rgb: 245, 126, 7;
  --color-primary: #111827;
  --color-secondary: #374151;
  --color-accent: #2563eb;
  --color-text: #111827;
  --color-text-light: #6b7280;
  --color-bg: #ffffff;
  --color-bg-alt: #f9fafb;
  --header-height: 80px;
  --transition-speed: 0.3s;
}

.heading{
    font-size:2.25rem;
    line-height:2.5rem;
}
.sub-heading{
    text-align:center;
    font-size:18px;
    color:#6b7280;
    font-weight:inherit;
    margin-top:10px;
    margin-bottom:40px;
}

*{
    box-sizing:border-box;
}

html,body{
    height:100%;
    margin:0;
    font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial;
    color:var(--dark);
    background:var(--bg);
    -webkit-font-smoothing:antialiased;
}

body.menu-open {
  overflow: hidden;
}

.mobile-menu-toggle {
  position: relative;
  width: 48px;
  height: 48px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0;
}

.mobile-menu-line {
  width: 28px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.mobile-menu-toggle.active .mobile-menu-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active .mobile-menu-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-menu-toggle.active .mobile-menu-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Submenu toggle arrow */
.submenu-toggle {
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  width: 24px;
  height: 24px;
  position: relative;
}

.submenu-toggle::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid rgba(255,255,255,0.8);
  border-bottom: 2px solid rgba(255,255,255,0.8);
  transform: translate(-50%, -50%) rotate(45deg);
  transition: transform 0.3s ease;
}

.menu-item.open > .menu-link > .submenu-toggle::before {
  transform: translate(-50%, -50%) rotate(-135deg);
}

.menu-link a {
  width: 100%;
}

/* Submenu structure */
.submenu {
  list-style: none;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.4s ease;
  padding-left: 20px;
  border-left: 1px solid rgba(255,255,255,0.1);
}

.menu-item.open > .submenu {
  max-height: 1000px; /* enough to show nested items */
  opacity: 1;
}

/* Adjust nested menu links */
.submenu .menu-link {
  font-size: clamp(18px, 4vw, 28px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 12px 0;
}

.submenu .menu-number {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

.submenu .submenu {
  padding-left: 20px;
  border-left: 1px dashed rgba(255,255,255,0.1);
}

.overlay-menu {
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--color-primary);
  z-index: 99999;
  display: flex;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  overflow: scroll;
}

.overlay-menu.active {
  opacity: 1;
  visibility: visible;
}

.overlay-nav {
  width: 100%;
  max-width: 600px;
  padding: clamp(40px, 8vw, 80px) clamp(20px, 4vw, 40px);
}

.overlay-menu .menu-list {
  list-style: none;
  margin-bottom: clamp(40px, 8vw, 60px);
}

.overlay-menu .menu-item {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.overlay-menu.active .menu-item {
  opacity: 1;
  transform: translateY(0);
}

.overlay-menu .menu-link {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 24px);
  padding: clamp(16px, 3vw, 20px) 0;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-speed) ease;
}

.overlay-menu .menu-link:hover {
  border-bottom-color: rgba(255, 255, 255, 0.3);
}

.overlay-menu .menu-number {
  font-size: clamp(14px, 2vw, 16px);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  font-family: 'Courier New', monospace;
}

.overlay-menu .menu-text {
  font-size: clamp(18px, 4vw, 28px);
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -1px;
}

.overlay-menu .menu-footer {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.overlay-menu.active .menu-footer {
  opacity: 1;
  transform: translateY(0);
}

.overlay-menu .social-links {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
}

.overlay-menu .social-link {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  transition: all var(--transition-speed) ease;
}

.overlay-menu .social-link svg {
  width: 20px;
  height: 20px;
  stroke: #ffffff;
  stroke-width: 2;
}

.overlay-menu .social-link:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.overlay-menu .contact-info {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

@media (min-width: 991.98px) {
  .mobile-menu-toggle {
    display: none;
  }
  
  .overlay-menu {
    display: none;
  }
}

a{
    color:var(--primary);
    text-decoration:none;
}

.container{
    max-width:var(--max-width);
    margin:0 auto;
    padding:0 20px
}

.container-wide {
  max-width: 1900px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-header{
    max-width:var(--header-max-width);
    margin:0 auto;
    padding:0 20px
}

.container-footer{
    max-width:var(--header-max-width);
    margin:0 auto;
    padding:0 20px
}

ul{
    margin:0;
    padding-left:20px;
}

p.note{
    color:var(--muted);
    font-size:15px;
    text-align:center;
    padding:30.010px 0;
}

.sr-only{
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header{
    background:#fff;
    position:sticky;
    top:0;
    z-index:50;
    border-bottom:1px solid #eef2f5
}

.header-inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:14px 20px
}

.site-brand img{
    height:44px
}

.main-nav{
    display:flex;
    gap:20px;
    align-items:center
}

.custom-logo-link img{
    max-height:44px;
    width:auto;
    height:auto;
    display:block
}

@media(max-width:1024px) {
  .main-nav{font-size: 15px;}
}

/* Basic positioning so hardcoded mega menu behaves predictably */
.main-nav { position: relative; z-index: 40; }
.main-nav .menu { display:flex; gap:20px; align-items:center; margin:0; padding:0; list-style:none; }
.main-nav .menu > li { position: relative; }
.main-nav .menu > li > a { display:inline-block; padding:8px 6px; }

/* sub-menu (dropdowns) */
.main-nav .sub-menu { display:none; position:absolute; left:0; top:100%; background:#fff; border-radius:8px; padding:12px; box-shadow:0 8px 24px rgba(0,0,0,0.08); min-width:220px; }
.main-nav .menu > li:hover > .sub-menu { display:block; }

/* mega menu */
.main-nav .has-mega .mega-menu { display:none; position:absolute; right:0; top:100%; width:100vw; max-width:1200px; margin-left:-20px; background:#fff; box-shadow:0 18px 40px rgba(12,12,24,0.08); border: 1px solid #eef2f6; border-radius:12px; padding:28px; }
.main-nav .has-mega:hover .mega-menu { display:block; }

/* simpler layout for mega-inner */
.mega-inner { display:flex; gap:28px; align-items:flex-start; }
.mega-heading { margin-bottom: 1.5rem; }
.mega-heading h3 {
  font-size: 1.125rem; /* Equivalent to 18px */
  line-height: 1.75rem; /* Equivalent to 28px */
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.mega-heading p {
  font-size: 0.875rem; /* 14px */
  line-height: 1.25rem; /* 20px */
  color: var(--muted);
}
.mega-footer {
  margin-top: 2rem; /* 32px by default (1 rem = 16px) */
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
}
.mega-col { flex: 1 1 280px; }
.mega-col h4 { margin:0 0 12px; font-weight:600; }
.mega-col ul { margin:0; padding:0; list-style:none }
.mega-col ul li { margin-bottom:10px; }

.products-menu-cta-section {
    position: relative;
    overflow: hidden;
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.products-menu-cta-section:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: radial-gradient(400px at 50% 30%,rgba(59,130,246,.06) 0%,transparent 60%);
    pointer-events: none
}

/* CTA column */
.mega-cta { display:flex; align-items:center; justify-content:center; width:220px; }

/* Mobile: when nav is active (your main.js toggles .active on .main-nav), show stacked menu */
@media (max-width: 768px) {
  .main-nav .menu { display:none; flex-direction:column; background:#fff; position: absolute; top:100%; left:0; right:0; padding:12px; border-top:1px solid #eee; }
  .main-nav.active .menu { display:flex; }
  .main-nav .sub-menu, .main-nav .mega-menu { position: static; box-shadow:none; background:transparent; padding:0; display:none; }
  .main-nav .menu .open > .sub-menu,
  .main-nav .menu .open > .mega-menu { display:block; }
}

/* Nav */
.main-nav ul.menu{display:flex;list-style:none;margin:0;padding:0;}
.main-nav ul.menu li{position:relative;}
.main-nav ul.menu>li>a{padding:10px 10px;border-radius:6px;font-weight:500;transition:background .2s;color:var(--dark);}
.main-nav ul.menu>li>a:hover{color:var(--primary);}
.main-nav ul.sub-menu{position:absolute;top:100%;left:0;min-width:200px;background:#fff;border-radius:8px;padding:10px 0;margin:0;list-style:none;box-shadow:0 8px 20px rgba(0,0,0,0.08);display:none;z-index:99;}
.main-nav ul.sub-menu li a{display:block;padding:10px 14px;color:var(--dark);font-weight:400;transition:background .2s;}
.main-nav ul.sub-menu li a:hover{background:var(--accent);color:#fff;}
.main-nav .menu-item-has-children>a:after{content:"▾";margin-left:6px;font-size:.7em;color:var(--muted);}
.menu-toggle{display:none;}
/* Submenus (level 3+) */
.main-nav ul.sub-menu .sub-menu {
  top:0;
  left:100%; /* push it to the right of the parent */
  margin-left:2px;
  border-radius:8px;
  box-shadow:0 8px 20px rgba(0,0,0,0.08);
}

/* Show dropdowns */
.main-nav li:hover > ul.sub-menu {
  display:block;
}
@media (max-width:768px){
  .main-nav ul.menu{flex-direction:column;background:#fff;position:absolute;top:100%;left:0;right:0;display:none;padding:12px;border-top:1px solid #eee;}
  .main-nav.active ul.menu{display:flex;}
  .menu-toggle{display:inline-block;cursor:pointer;font-size:22px;padding:6px 10px;border:1px solid #ddd;border-radius:6px;}
  .main-nav ul.sub-menu,.main-nav ul.sub-menu .sub-menu{position:static;box-shadow:none;margin:0;padding-left:16px;display:none;}
  .main-nav .open>.sub-menu{display:block;}
}

/* Responsive helpers */
@media (max-width:1000px){
  .split{grid-template-columns:1fr}
}
@media (max-width:640px){
  .hero{min-height:48vh}
  .hero h1{font-size:2.75rem}
  .quick-actions{position:sticky;bottom:0;left:0;right:0;padding:10px;z-index:60;box-shadow:0 -6px 18px rgba(20,20,30,0.06)}
  .header-inner{padding:10px}
  .hero .hero-content{padding:20px 12px}
  .contact-cta{flex-direction:column;align-items:flex-start}
}

/* Enhanced Regular Dropdown */
.enhanced-dropdown { position: relative; }
.enhanced-dropdown .nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  min-width: 240px;
  padding: 12px;
  z-index: 50;
}
.enhanced-dropdown:hover .nav-dropdown { display: block; }

.dropdown-menu-item {
  display: grid;
  grid-template-columns: 2rem 1fr 1rem;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border-radius: 6px;
  font-size: 14px;
  text-decoration: none;
  color: #555;
  transition: all .2s ease;
}
.dropdown-menu-item:hover {
  background: #f8f9fb;
  color: #111;
  transform: translateX(4px);
}
.dropdown-item-icon {
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  border-radius: 6px;
  background: #f0f0f0;
}
.chevron { opacity: 0; transition: opacity .2s ease; }
.dropdown-menu-item:hover .chevron, .product-card ul li:hover .chevron { opacity: 1; }

/* Base style for dropdown items */
.dropdown-menu-item {
  display: grid;
  grid-template-columns: 2rem 1fr auto;
  align-items: center;
  gap: 0.5rem;
  padding: 12px 16px;
  border-radius: 8px;
  transition: all 0.25s ease;
  font-weight: 500;
  color: #444;
  background: transparent;
  border: 1px solid transparent;
}

/* Icon wrapper */
.dropdown-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: #f3f3f3;
  color: inherit;
  transition: all 0.25s ease;
}

/* Chevron */
.dropdown-menu-item .chevron {
  opacity: 0.4;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Hover effect (generic) */
.dropdown-menu-item:hover {
  background: #f9f9ff;
  border-color: #ddd;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  color: #333;
}

.dropdown-menu-item:hover .chevron {
  opacity: 1;
  transform: translateX(4px);
}

/* Accent variants */
.dropdown-menu-item--intercom:hover {
  background: rgba(128, 0, 255, 0.1);   /* Purple tint */
  border-color: rgba(128, 0, 255, 0.4);
  color: #6b21a8; /* Deep purple */
}

.dropdown-menu-item--cctv:hover {
  background: rgba(0, 150, 136, 0.1);   /* Teal */
  border-color: rgba(0, 150, 136, 0.4);
  color: #00695c;
}

.dropdown-menu-item--access-control:hover {
  background: rgba(33, 150, 243, 0.1);  /* Blue */
  border-color: rgba(33, 150, 243, 0.4);
  color: #0d47a1;
}

.dropdown-menu-item--alarm:hover {
  background: rgba(244, 67, 54, 0.1);   /* Red */
  border-color: rgba(244, 67, 54, 0.4);
  color: #b71c1c;
}

/* Hover accent effect */
.dropdown-menu-item--case-studies:hover {
  background-color: rgba(236, 72, 153, 0.1);
  border-color: rgba(236, 72, 153, 0.3);
  color: #FFC0CB; /* darker pink */
}

.dropdown-menu-item--strata-management:hover {
  background-color: rgba(13, 148, 136, 0.1);
  border-color: rgba(13, 148, 136, 0.3);
  color: #0f766e; /* darker teal */
}

.dropdown-menu-item--owners-corp:hover {
  background-color: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.3);
  color: #b45309; /* darker amber */
}

.dropdown-menu-item--alarm-monitoring:hover {
  background-color: rgba(220, 38, 38, 0.08);
  border-color: rgba(220, 38, 38, 0.3);
  color: #b91c1c; /* darker red */
}

.dropdown-menu-item--cctv-monitoring:hover {
  background: rgba(0, 150, 136, 0.1);   /* Teal */
  border-color: rgba(0, 150, 136, 0.4);
  color: #00695c;
}

.dropdown-menu-item--careers:hover {
  background: rgba(255, 165, 0, 0.08);
  border-color: rgba(255, 165, 0);
  color: #FFA500;
}

.dropdown-menu-item--case-studies:hover {
  background-color: rgba(219, 39, 119, 0.08);
  color: #be185d;
}

.dropdown-menu-item--contact:hover {
  background-color: rgba(13, 148, 136, 0.1);
  border-color: rgba(13, 148, 136, 0.3);
  color: #0f766e; /* darker teal */
}

.dropdown-menu-item--terms-and-conditions:hover {
  background-color: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.3);
  color: #b45309; /* darker amber */
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(48%, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

/* Base spotlight effect */
.product-card {
  position: relative;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

.product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: radial-gradient(
    circle at var(--mx, 50%) var(--my, 50%),
    var(--spotlight-color, rgba(255,255,255,0.6)),
    transparent 90%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.product-card:hover::before {
  opacity: 1;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* Spotlight color variants */
.product-card--access::before {
  --spotlight-color: rgba(59, 130, 246, 0.4); /* Blue */
}

.product-card--cctv::before {
  --spotlight-color: rgba(20, 184, 166, 0.4); /* Teal */
}

.product-card--intercom::before {
  --spotlight-color: rgba(139, 92, 246, 0.4); /* Purple */
}

.product-card--alarm::before {
  --spotlight-color: rgba(239, 68, 68, 0.4); /* Red */
}

.product-card:hover::before {
  opacity: 1;
}

.product-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid #e5e7eb;
}

.hidden-svg {
  display: none;
}
.product-card-header:hover .hidden-svg {
  display: block;
  z-index: -2;
}

.product-card-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  flex-shrink: 0;
}

/* Accent Colors */
.product-card--access .product-card-icon {
  background: rgba(34,197,94,0.1);
  color: #22c55e;
}

.product-card--cctv .product-card-icon {
  background: rgba(37,99,235,0.1);
  color: #2563eb;
}

.product-card--intercom .product-card-icon {
  background: rgba(219,39,119,0.1);
  color: #db2777;
}

.product-card--alarm .product-card-icon {
  background: rgba(234,179,8,0.1);
  color: #eab308;
}

.product-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-card ul li {
  margin: 0.25rem 0;
  padding: 5px;
}

.product-card ul li:hover {
  background-color: #e5e7eb10;
  border-radius: 5px;
  border: 1px solid #e5e7eb10;
  box-shadow: -3px 0 0 -1px rgba(0, 0, 0, .2);
}

.product-card ul li span {
  padding-right: 10px;
}
.product-card ul li .chevron {
  opacity: 0.4;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.product-card ul li:hover .chevron {
  opacity: 1;
  transform: translateX(4px);
}

.product-card ul li a {
  font-size: 0.875rem;
  font-weight: 500;
  color: #4b5563;
  text-decoration: none;
  transition: color 0.2s;
}

.product-card ul li a:hover {
  color: #111827;
}

/* Buttons */
.btn{display:inline-flex;align-items:center;gap:8px;padding:12px 16px;border-radius:10px;background:var(--accent);color:#fff;font-size: inherit;border:0;cursor:pointer;transition: all 0.25s ease; /* smooth transition */}
.btn:hover{background-color:#0847a7;}
.btn.primary{
  background:linear-gradient(180deg, #1a7dff, #0b67e6);
  border: 1px solid rgba(255,255,255,0.2);
  color:#fff;
  overflow: hidden;
}
.btn.primary:hover{
  filter: saturate(1.05) brightness(1.03);
  /*transform: translateY(-2px);*/
  box-shadow: 0 10px 24px rgba(var(--cta-gold-rgb), .34),
    0 0 0 1px rgba(255,255,255,0.18) inset,
    0 0 0 6px rgba(var(--cta-gold-rgb), .10);
    outline: none;
  background: linear-gradient(180deg, #1f86ff, #0f70f2);
}
.btn.primary::after{
  content: "";
  position: absolute;
  top: 0;
  left: -1000%;
  width: 160%;
  height: 50px;
  background: linear-gradient(120deg,transparent 0%,rgba(255, 205, 150, .32) 50%,transparent 100%);
  transform: skewX(-20deg);
  transition: left .45s ease;
  pointer-events: none;
}
.btn.primary:hover::after,
.btn.primary:focus-visible::after{
  left: 160%;
}
.btn.cta{
  background:rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color:#fff;
  overflow: hidden;
}
.btn.cta:hover{
  filter: saturate(1.05) brightness(1.03);
  /*transform: translateY(-2px);*/
  box-shadow: 0 10px 24px rgba(var(--cta-gold-rgb), .34),
    0 0 0 1px rgba(255,255,255,0.18) inset,
    0 0 0 6px rgba(var(--cta-gold-rgb), .10);
    outline: none;
}
.btn.cta::after{
  content: "";
  position: absolute;
  top: 0;
  left: -1000%;
  width: 160%;
  height: 100%;
  background: linear-gradient(120deg,transparent 0%,rgba(255, 205, 150, .32) 50%,transparent 100%);
  transform: skewX(-20deg);
  transition: left .45s ease;
  pointer-events: none;
}
.btn.cta:hover::after,
.btn.cta:focus-visible::after{
  left: 160%;
}
.btn.secondary{background:rgba(255,255,255,0.12);color:#fff;border:1px solid rgba(255,255,255,0.12)}
.btn.secondary:hover{background-color:#fff;color:#063075;}
.btn.ghost{background:transparent;color:#fff;border:1px solid rgba(255,255,255,0.2)}
.btn.full{width:100%;justify-content:center;}
.btn.secondary.case__studies:hover{background-color:#eef4ff;}

@media (max-width: 767.98px) {
  .btn {
    width: 100%;
    margin: 0.25rem;
    justify-content: center;
    text-align: center;
  }
}

/* ===========================
   SERVICES SECTION & CARDS
   =========================== */
.services-heading{font-size:2.25rem;line-height:2.5rem;font-weight:normal;text-align:center;margin-bottom:0;margin-top:0;}
.services { padding: 80px 1rem 0; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 20px;
}

@media (min-width:1024px){
  .services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin: auto;
  }

  .access-warranty .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 24px;
  }
  .service-card {
    flex: 0 0 calc(33.333% - 40px/3);
  }

  .service-card--two {
    flex: 1 1 calc(43.333% - 40px/2);
    justify-content: space-between;
  }
}

.service-card {
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid #eef2f6;
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 6px 18px rgba(12,12,24,0.04);
  transition: transform .28s ease, box-shadow .28s ease, border-color .2s ease;
}

/* Icon */
.service-card .card-icon {
  width: 42px;
  height: 42px;
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #f7f9fb;
  box-shadow: inset 0 -1px 0 rgba(0,0,0,0.02);
}

.service-card .card-icon {
  background: hsl(var(--spotlight-color) / 0.10);
  color: hsl(var(--spotlight-color));
}
.service-card:hover .card-title {
  color: hsl(var(--spotlight-color));
  transition: transform .2s ease, background-color .2s ease, color .2s ease;
}

.service-card .card-icon img{max-width:48px;height:auto;display:block}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: hsl(var(--spotlight-color) / 0.15);
  color: var(--primary) !important;
  font-weight: 700;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

/* One-card-per-row list layout */
.features-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Title + desc */
.service-card .card-title {
  font-size:20px;
  font-weight:600;
  margin:0 0 12px;
}
.service-card .card-title-link {
  color: inherit;
  text-decoration: none;
}
.service-card .card-title-link:hover { color: var(--accent); }
.service-card .card-desc {
  color:var(--muted);
  font-size:15px;
  line-height:1.6;
  margin-bottom:14px;
}

/* Chips */
.service-card__chips {
  margin:12px 0 0;
  padding:0;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  list-style:none;
}
.service-card__chips .chip {
  display:inline-block;
  padding:6px 12px;
  font-size:12px;
  font-weight:600;
  border-radius:9999px;
  background:#f3f6fb;
  color:#063075;
  text-decoration:none;
  transition:all .2s ease;
}
@media(max-width:1024px){
  .service-card__chips .chip {
    font-size: 10px;
  }
}
.service-card__chips .chip:hover { background:rgba(11,95,255,0.08); }

/* Learn more */
.service-card .card-link {
  display:inline-block;
  margin-top:18px;
  font-weight:600;
  color:var(--primary);
}

/* Hover */
.service-card:hover {
  transform:translateY(-6px);
  box-shadow:0 18px 40px rgba(12,12,24,0.12);
  border-color:rgba(11,95,255,0.12);
}

/* Spotlight effect */
.service-card[data-spotlight]::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    600px circle at var(--x, 50%) var(--y, 50%),
    hsl(var(--spotlight-color) / 0.25),
    hsl(var(--spotlight-color) / 0.12) 20%,
    transparent 40%
  );
  opacity: 0;
  transition: opacity .18s ease;
  pointer-events: none;
  z-index: 0;
}
.service-card[data-spotlight] * { position:relative; z-index:1; }
.service-card[data-spotlight]:hover::before { opacity:1; }

.service-card a.btn {
  margin-top: auto;
}

/* Mobile tweaks */
@media (max-width:640px){
  .service-card{padding:20px;text-align:left}
  .service-card__chips{justify-content:flex-start}
}

/* ===========================
   FOOTER
   =========================== */
.site-footer {
  background: #fff;
  color: var(--dark);
  font-size: 14px;
  line-height: 1.6;
  padding: 50px 0 20px;
}

.site-footer a {
  color: #e5e7eb;
}

.site-footer a:hover {
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
}

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

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

.footer-col ul li {
  /*margin-bottom: 8px;*/
  margin-bottom: 0;
}

.footer-col ul li a {
  color: #e5e7eb;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: var(--color-accent);
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: #2c3340;
  border-radius: 6px;
  color: #fff;
  font-size: 16px;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: hsl(var(--accent));
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #2f3642;
  margin-top: 40px;
  padding-top: 15px;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

.footer-col p {
  margin: 8px 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #e5e7eb;
}

.footer-col p i {
  color: hsl(var(--accent));
  font-size: 14px;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-col a {
  color: #e5e7eb;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: hsl(var(--accent));
}

/* Sticky Call Button - Mobile Only */
.mobile-call-btn {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--accent, #0b5fff);
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  text-align: center;
  padding: 14px;
  margin: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  z-index: 9999;
  transition: background 0.3s ease;
  border-radius: 10px;
}

.mobile-call-btn:hover {
  background: var(--accent-2, #ff7a00);
}

/* Hide on larger screens */
@media (min-width: 768px) {
  .mobile-call-btn {
    display: none;
  }
}

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

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

.env-text {
  position: relative;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
  padding: 1.5rem;
  overflow: hidden; /* clip the polygon */
}

.env-text p {
  color: var(--muted);
}

/* Polygon accent (top-left clipped shape) */
.env-text::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  background: var(--polygon-color, rgba(37,99,235,0.25));
  clip-path: polygon(0 0, 100% 0, 0 100%);
  z-index: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
  opacity: 0.9;
}

/* Lift effect */
.env-text:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.env-text:hover::before {
  transform: scale(1.1);
  opacity: 1;
}

/* Make text appear above the polygon */
.env-text h2,
.env-text p {
  position: relative;
  z-index: 1;
}

/* === Request Quote Modal === */
.modal-heading{font-size:2.25rem;line-height:2.5rem;font-weight:normal;text-align:center;margin-bottom:0;margin-top:0;}

.btn-request-quote {
  display: inline-block;
  background: #e41e26;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}
.btn-request-quote:hover {
  background: #c8161d;
}

.modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-overlay:target {
  display: flex;
}

.modal-box {
  background: #fff;
  padding: 2rem;
  width: 90%;
  max-width: 800px;
  border-radius: 10px;
  position: relative;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  animation: popIn 0.3s ease;
}

.modal-close {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 1.8rem;
  color: #666;
  text-decoration: none;
}

.modal-close:hover {
  color: #000;
}

.quote-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

fieldset {
  border: 1px solid #ddd;
  padding: 0.75rem;
  border-radius: 6px;
}

legend {
  padding: 0 0.4rem;
  font-weight: 600;
}

.btn-submit {
  color: #fff;
  padding: 0.7rem 1.4rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  margin-top: 0.5rem;
  justify-content: center;
}

.form-success {
  display: none;
  margin-top: 0.75rem;
  color: #1b8a3d;
  font-weight: 600;
  text-align: center;
}

@keyframes popIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* === Request Call Back Modal === */
.btn-request-callback {
  display: inline-block;
  background: #555;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
  margin-left: 0.5rem;
}
.btn-request-callback:hover {
  background: #333;
}

.callback-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.callback-form input,
.callback-form select {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.callback-success {
  display: none;
  margin-top: 0.75rem;
  color: #1b8a3d;
  font-weight: 600;
  text-align: center;
}

/* === Request Service Call Modal === */
.btn-request-service {
  display: inline-block;
  background: #0077cc;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
  margin-left: 0.5rem;
}
.btn-request-service:hover {
  background: #005fa3;
}

.service-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service-form input,
.service-form select,
.service-form textarea {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.service-success {
  display: none;
  margin-top: 0.75rem;
  color: #1b8a3d;
  font-weight: 600;
  text-align: center;
}

@media (max-width: 1199.98px) {
  .main-nav .menu {
    font-size: 13px;
    gap: 0;
  }

  .card-action {
    margin-top: auto !important;
  }
}

.hover-trigger {
  position: relative; /* Essential for positioning the bubble text */
  display: inline-block; /* Or block, depending on your layout */
  cursor: pointer;
}

.bubble-text {
  visibility: hidden; /* Hidden by default */
  opacity: 0; /* Hidden by default */
  position: absolute;
  bottom: 100%; /* Position above the trigger text */
  left: 50%;
  transform: translateX(-50%); /* Center the bubble horizontally */
  background-color: #333;
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  white-space: nowrap; /* Prevent text from wrapping */
  transition: opacity 0.3s ease, visibility 0.3s ease; /* Smooth transition */
  z-index: 10; /* Ensure it appears above other content */
}

/* Arrow for the bubble */
.bubble-text::after {
  content: "";
  position: absolute;
  top: 100%; /* Position below the bubble text */
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: var(--dark) transparent transparent transparent; /* Create a downward-pointing arrow */
}

.hover-trigger:hover .bubble-text {
  visibility: visible; /* Show on hover */
  opacity: 1; /* Show on hover */
}

.footer-col p {
    color: var(--dark);
  }

  .footer-col ul li a {
    color: var(--dark);
  }

  .footer-col a {
    color: var(--dark);
  }

  .footer-social a {
    color: #e5e7eb;
  }

  .footer-col #heroBarcode {
    width: auto;
  }

  .site-footer {
    padding: 3rem 0 0;
  }

  .footer-col p {
  color: var(--dark);
}

.footer-col ul li a {
  color: var(--dark);
}

.footer-col a {
  color: var(--dark);
}

.footer-social a {
  color: #e5e7eb;
}

.footer-grid {
  grid-template-columns: repeat(5, 1fr);
}

.footer-bottom {
  background: var(--dark);
  padding-bottom: 15px;
}

.site-footer {
  padding: 3rem 0 0;
}