#magic-cursor, #ball {
    display: none !important;
}
body {
    cursor: auto !important;
}


.container-fluid {
  padding-top:3%;
}

p {
    /* font-size: clamp(0.95rem, 1.6vw, 1.05rem); */
    font-size: 1.25rem;
    line-height: 1.6;
}

h2 {
  font-size: 5rem !important;
}

.flex-area {
  display: flex;
}

@media (max-width: 575px) {
    .flex-area {
        display:block;
    }
}

.section-padding {
  padding: 60px 0 0 0;
}

@media (max-width: 575px) {
  .section-padding {
    padding-top: 45px;
  }

  #areas-section {
    padding-top: 45px !important;
  }
}

/* FOOTER */
.icon-style {
    background: linear-gradient(90deg, var(--primary_color) 0%, var(--secondary_color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-right: 5px;
}

.newsletter-field {
  max-width: 700px !important;
}

/* HOME PAGE */
.hero-banner {
  position: relative;
  overflow: hidden;
}

/* Remove old image background */
.hero-banner .content {
  position: relative;
  z-index: 2;
  background: none;
}


/* ============================================
   LETTERBOX LAYOUT - VIDEO TOP, TEXT BOTTOM
   ============================================ */

.hero-banner {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 87px;
}

#heroVideo {
  position: absolute;
  top: 50%;
  left: 50%;

  width: 100%;
  height: 100%;

  transform: translate(-50%, -50%);
  object-fit: cover;

  /* THIS is the key */
  object-position: center 35%;  /* move visible area up/down */

  z-index: 1;
  filter: brightness(0.9);
}


/* MOBILE FIX */
@media (max-width: 767px) {

  #heroVideo {
    min-width: 100%;
    min-height: 100%;

    width: 100%;
    height: 100%;

    /* Reset transform – fill the frame */
    transform: translate(-50%, -50%) scale(1);

    /* Ensure it always covers vertically */
    object-fit: cover;
  }

  /* Optional: adjust text spacing on mobile */
  .hero-banner .row {
    margin-top: 20px;   /* reduces large margin spacing */
  }
}




/* Dark gradient overlay at bottom */
.hero-banner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95), transparent);
  z-index: 1;
}

.hero-banner .content {
  position: relative;
  z-index: 2;
  padding: 3rem 0;
}

.hero-banner .content .row {
  align-items: flex-end;
}

.hero-banner .content .left-block {
  background: transparent;  /* No background needed */
  max-width: 802px;
}

.hero-banner .content .left-block .title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.9);
}

.description {
  margin-bottom: 20px;
}



/* ============================================
   IMAGE SLIDER (fade loop — one visible at a time)
   ============================================ */

.slider_container {
  position: relative;
  width: 100%;
  max-width: 650px; /* adjust to your layout */
  margin: 0 auto;
  overflow: hidden;
}

.slider_sec {
  position: relative;
  width: 100%;
  height: auto;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: fadeSlide 12s infinite;
}

.slide img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* Each slide gets a different animation offset */
.slide.one { animation-delay: 0s; }
.slide.two { animation-delay: 4s; }
.slide.three { animation-delay: 8s; }

/* Keyframes for the fade loop */
@keyframes fadeSlide {
  0%, 5%   { opacity: 0; transform: scale(1.02); }
  10%, 30% { opacity: 1; transform: scale(1); }
  35%, 100% { opacity: 0; transform: scale(0.98); }
}


/* aeon logo */
.logo-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  position: relative;
}

.logo-icon {
  width: 80px;
  height: auto;
}

.logo-text {
  font-family: 'Rubik Mono One', sans-serif;
  font-size: 1.25rem;
  color: #00a5da;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
}

.logo-company,
.logo-divider,
.logo-product {
  display: inline-block;
  transition: opacity 0.3s ease, transform 0.4s ease;
}

/* Start state (company) */
.logo-product {
  opacity: 0;
  transform: translateY(20%);
}
.logo-divider {
  opacity: 0;
}


/* ============================
   HORIZONTAL MENU WITH SPLIT UNDERLINE
   ============================ */

/* .nav-main {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  padding: 1.5rem 0;
  background: transparent;
  z-index: 100;
}

.menu__block {
  justify-content: center;
} */

.menu {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu__item {
  position: relative;
}

/* .menu__link {
  position: relative;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.5px;

  /* gradient text */

  /* background: linear-gradient(90deg, #ffffff 0%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; /* this is required */
  /* background-clip: text;

  transition: color 0.4s ease, background 0.4s ease;
  padding-bottom: 6px;
} */ 

/* Underlines meeting in the center */
.menu__link::before,
.menu__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  height: 2px;
  width: 0;
  transition: width 0.4s ease;
}

.menu__link::before {
  left: 50%;
  background-color: var(--secondary_color);
}

.menu__link::after {
  right: 50%;
  background-color: var(--primary_color);
} 

/* Hover effect */
.menu__link:hover {
  /* background: linear-gradient(90deg, #ffffff 0%, #ffffff 100%); */
    background: linear-gradient(90deg, var(--primary_color) 0%, var(--secondary_color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.menu__link:hover::before,
.menu__link:hover::after {
  width: 50%;
}

/* ============================================
   HEADER VERTICAL ALIGNMENT
   ============================================ */

/* .menu__block {
  display: flex;
  align-items: center;
} */

.menu {
  display: flex;
  align-items: center;  /* Vertically centers all menu items */
  gap: 2.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu__item {
  display: flex;
  align-items: center;  /* Centers content within each menu item */
}

.menu__item a {
  display: flex;
  align-items: center;  /* Centers images and text within links */
}

.menu__item img {
  display: block;       /* Removes inline spacing issues */
}

/* ===========================
   MOBILE HEADER
   =========================== */

/* OLD CONFLICTING HEADER STYLES REMOVED - All header styles now in header.css */



/* homepage - key features */
/* ============================================
   KEY FEATURES SECTION - EQUAL HEIGHT CARDS
   ============================================ */

/* Background on the row */
.feature-background {
  background: url("../media/backgrounds/recolored_gradient.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 2rem;
  border-radius: 16px;
}

/* Flexbox for equal heights */
.feature-background.row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.feature-background > div {
  display: flex;
  margin-bottom: 2rem;
}

/* Card styling - TARGET .key-features directly */
.key-features {
  /* Layout */
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: clamp(20px, 1.25vw, 32px);
  padding-top: 10px;
  
  /* Height control - EQUAL HEIGHTS */
  min-height: 200px;
  
  /* Background - VISIBLE DARK TRANSPARENT */
  background: rgba(26, 26, 26, 0.4) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  
  /* Border - SOLID VISIBLE BORDER */
  border: 2px solid #1e1f20;
  
  /* Shadow for depth */
  box-shadow: 
    0 8px 24px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  
  /* Smooth transitions */
  transition: all 0.4s ease;
  position: relative;
  margin: 1px;
}

/* Hover state - GRADIENT BORDER */
.key-features:hover {
  background: rgba(26, 26, 26, 0.95) !important;
  border: 2px solid transparent;
  transform: translateY(-8px);
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Gradient border on hover using pseudo-element */
.key-features::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 2px;
  /* background: linear-gradient(90deg, var(--primary_color) 0%, var(--secondary_color) 100%); */
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 0;
}

.key-features:hover::before {
  opacity: 1;
}

/* Ensure content is above pseudo-element */
.key-features > * {
  position: relative;
  z-index: 1;
}

/* Title container */
.key-features .mb-40 {
  margin-bottom: 1.5rem !important;
  flex-shrink: 0;
}

/* Title */
.key-features h5 {
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.3;
  color: #ffffff;
  margin: 0;
}

/* Description text - grows to fill space */
.key-features p {
  flex-grow: 1;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 0 !important;
  font-size: 0.95rem;
}

/* Gradient underline */
.key-features .after-line {
  border-bottom: 2px solid transparent;
  border-image-slice: 1;
  border-image-source: linear-gradient(
    90deg, 
    var(--primary_color) 0%, 
    var(--secondary_color) 100%
  );
  padding-bottom: 10px;
  margin-bottom: 1rem !important;
}

/* Responsive breakpoints */
@media (min-width: 1400px) {
  .key-features {
    min-height: 200px;
  }
}

@media (min-width: 1200px) and (max-width: 1399px) {
  .key-features {
    min-height: 180px;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .key-features {
    min-height: 160px;
  }
  
  .key-features h5 {
    font-size: 1.3rem;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .key-features {
    min-height: 100px;
    padding: 1.5rem;
  }
  
  .key-features h5 {
    font-size: 1.25rem;
  }
  
  .key-features p {
    font-size: 0.9rem;
  }
}

@media (max-width: 767px) {
  .key-features {
    min-height: 90px;
    padding: 1.5rem;
  }
  
  .key-features h5 {
    font-size: 1.2rem;
  }
  
  .key-features p {
    font-size: 0.88rem;
  }
  
  .feature-background > div {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 575px) {
  .key-features {
    min-height: auto;
    padding: 1.25rem;
  }
  
  .key-features h5 {
    font-size: 1.15rem;
  }
  
  .key-features p {
    font-size: 0.85rem;
  }
  
  .feature-background {
    padding: 1rem;
  }
}

.gradient-stroke-text {
  padding: 0 15px;
}

.feature-background {
  background:url("../media/backgrounds/recolored_gradient.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ============================================
   BENEFIT CARD ICONS
   ============================================ */

.benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;      /* pushes icon to the right */
    padding-left: 12px;     /* spacing from the title */
}

.benefit-icon img {
    width: 70px;            /* adjust to preferred size */
    height: 70px;
    object-fit: contain;    /* keeps the icon proportional */
    display: block;
    filter: drop-shadow(0px 2px 4px rgba(0,0,0,0.35)); /* optional polish */
}

/* Responsive size tuning */
@media (max-width: 575px) {
    .benefit-icon img {
        width: 32px;
        height: 32px;
    }
}

/* ============================================
   FEATURES TEASER RESPONSIVE IMAGE
   ============================================ */

.feature-teaser-block img {
    width: 100%;
    max-width: 1200px; /* controls the largest it can get */
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: contain;
}

/* Better spacing below the image */
.feature-teaser--block {
    text-align: center;
}

/* RESPONSIVE BEHAVIOR */
@media (max-width: 1400px) {
    .feature-teaser--block img {
        max-width: 1000px;
    }
}

@media (max-width: 992px) {
    .feature-teaser--block img {
        max-width: 85%;
    }
}

@media (max-width: 768px) {
    .feature-teaser--block img {
        max-width: 100%;
        padding: 0 10px; /* keeps edges from hitting the sides */
    }
}

/* ============================================
   JUSTICENEXUS METRICS SECTION (no border, gradient text)
   ============================================ */

.jn-metrics-section {
    width: 100%;
}

/* Section title */
.jn-metrics-title {
    color: #fafafa;
    font-size: 1.6rem;
    font-weight: 500;
    opacity: 0.9;
}

/* Main card container */
.jn-metrics-card {
    background: var(--gray);
    border-radius: 24px;
    padding: 48px 32px;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
}

/* Gradient text style for the bold numbers */
.jn-gradient-text {
    background: linear-gradient(90deg, var(--primary_color) 0%, var(--secondary_color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Metric columns */
.jn-metric {
    flex: 1;
    text-align: center;
}

/* Big numbers */
.jn-metric-number {
    line-height: 1.1;       /* gives vertical breathing room */
    padding-top: 6px;       /* pushes text away from the top clip */
    display: inline-block;  /* prevents background-clip cropping */
    font-weight: 600;
    font-size: xxx-large;
}


/* Smaller labels */
.jn-metric-label {
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
}

/* Responsive tweaks */
@media (max-width: 992px) {
    .jn-metrics-card {
        flex-direction: column;
        padding: 40px 24px;
    }
    .jn-metric-number {
        font-size: 2.4rem;
    }
}

@media (max-width: 576px) {
    .jn-metrics-card {
        padding: 32px 20px;
    }
    .jn-metric-number {
        font-size: 2rem;
    }
    .jn-metric-label {
        font-size: 0.9rem;
    }
}

/* Client Scroll */
.brands-slider {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem; /* space between logos */
}

.brands-slider img {
  width: 220px;      /* set desired width */
  height: auto;      /* maintain aspect ratio */
  opacity: 0.9;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.brands-slider img:hover {
  transform: scale(1.05);
  opacity: 1;
}

.brands-slider .col-12 {
  flex: 0 1 auto; /* prevent stretching */
  text-align: center;
}

/* Responsive sizing */
@media (max-width: 850px) {
  .brands-slider img {
    width: 150px;
  }
}

@media (max-width: 480px) {
  .brands-slider img {
    width: 150px;
  }
}


/*  Client Page */
.grid-container-1 {
  width: min(75rem, 100%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr));
  gap: 2rem;
}
.card-1 {
  --grad: var(--secondary_color), var(--primary_color);
  padding: 2.5rem;
  background-image: linear-gradient(to bottom left, var(--gray), #f2f6f9);
  border-radius: 2rem;
  gap: 1.5rem;
  display: grid;
  grid-template: 'title icon' 'content content' 'bar bar' / 1fr auto;
  font-family: system-ui, sans-serif;
  color: #444447;
  box-shadow: 
    inset -2px 2px hsl(0 0 100% / 1),
    -20px 20px 40px hsl(0 0 0 / .25) ;
  
  .title-1 {
    font-size: 1.5rem;
    grid-area: title;
    align-self: end;
    text-transform: uppercase;
    font-weight: 500;
    word-break: break-all;
    
  }
  .icon-1 {
    grid-area: icon;
    font-size: 3rem;
    
    > i {
      color: transparent;
      background: linear-gradient(to right, var(--grad));
      background-clip: text;
    }
  }
  .content-1 {
    grid-area: content;
    & > *:first-child { margin-top: 0rem}
    & > *:last-child { margin-bottom: 0rem}
  }
  &::after {
    content: "";
    grid-area: bar;
    height: 2px;
    background-image: linear-gradient(90deg, var(--grad));
/*     margin-inline: -1.5rem; */
  }
}

.after-line {
    border-bottom: 1px solid;
    border-image-slice: 1;
    border-width: 1px;
    border-image-source: linear-gradient(90deg, var(--primary_color) 0%, var(--secondary_color) 100%);
    padding-bottom: 10px;
}

.client-grid {
  margin-top: 50px;
}

/* CLIENT PAGE */ 

/*popup */
/* Make cards clickable */
.pricing-block { cursor: pointer; }

/* Fullscreen overlay */
.popup-modal{
  position:fixed; inset:0; display:none; align-items:center; justify-content:center;
  z-index:5000; pointer-events:none; /* enabled when .show */
  background:transparent;
}

/* Expanding circle placed at click point */
.gradient-bg{
  position:fixed; left:0; top:0; width:1px; height:1px; border-radius:50%;
  transform:translate(-50%,-50%) scale(0);
  background: radial-gradient(circle at center, var(--secondary_color), var(--primary_color));
  opacity:.6; transition: transform .6s ease, opacity .25s ease;
  will-change: transform;
  z-index:0;
}

/* Dialog card */
.popup-content{
  background: rgba(14,14,14,.96);
  border-radius:14px; padding:32px; max-width:640px; width:90%;
  color:#fff; transform:translateY(12px); opacity:0;
  transition: opacity .35s ease .15s, transform .35s ease .15s;
  z-index:1; box-shadow:0 20px 60px rgba(0,0,0,.5);
   max-height: 75vh;            /* Prevent overflow off-screen */
    overflow-y: auto;            /* Enable vertical scrolling */
    padding-right: 12px;         /* Avoid text touching edges */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

@media (max-width: 768px) {
    .popup-content {
        width: 90vw;
        max-height: 85vh;
        border-radius: 16px;
        padding: 0;
    }

    .client-card {
        padding: 16px !important;
    }

    .client-header span {
        font-size: 14px;
    }
}



/* Close */
.popup-close{
  position:absolute; top:10px; right:12px; font-size:28px; line-height:1;
  background:transparent; border:0; color:var(--secondary_color); cursor:pointer;
}

/* Active state */
.popup-modal.show{ display:flex; pointer-events:auto; }
.popup-modal.show .gradient-bg{ transform:translate(-50%,-50%) scale(1); }
.popup-modal.show .popup-content{ opacity:1; transform:translateY(1); }


.client-group {
  padding: 10px 15px;
  color: #e5e5e5;
}

.group-title {
  color: #24c5e0;
  font-weight: 700;
  font-size: 1.4rem !important;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--gray);
  padding-bottom: 4px;
}

.client-card {
  background: var(--gray);
  border-left: 3px solid var(--secondary_color);
  border-radius: 8px;
  margin: 10px 0;
  padding: 10px 14px;
  transition: all 0.2s ease-in-out;
}

.client-card:hover {
  transform: translateY(-2px);
  background: var(--gray);
}

.client-header {
  color: var(--secondary_color);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.client-info {
  font-size: 0.9rem;
  line-height: 1.4;
}

.client-info div {
  margin-bottom: 2px;
}

.year {
  color: var(--primary_color);
  font-size: 0.85rem;
}

/* client map */
#client-map-container{
  position:relative; 
  width:90vw; 
  max-width:900px; 
  aspect-ratio: 2100 / 1200;
}

#client-map-outline {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#us-outline {
  stroke-dasharray: 6000;
  stroke-dashoffset: 6000;
  animation: drawMap 6s ease forwards;
}

#client-map-outline,
#us-outline {
  pointer-events: none;
}


@keyframes drawMap {
  from { stroke-dashoffset: 6000; }
    to   { stroke-dashoffset: 0; }
}

#map-lines{
  position:absolute; 
  inset:0; 
  z-index:2; 
  width:100%; 
  height:100%;
}

#map-markers{
  position:absolute; inset:0; z-index:3
}

.map-line{
  stroke:url(#mapStrokeGradient); stroke-width:1.6; opacity:.8; stroke-dasharray:1000; stroke-dashoffset:1000
}

/* ===========================================================
   CLIENT PAGE RESPONSIVE FIX
   =========================================================== */

.client-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;   /* Desktop: 2 columns */
    gap: 40px;
    align-items: start;
    width: 100%;
}

/* MAP COLUMN */
.client-map-col {
    width: 100%;
    min-width: 0; /* prevents overflow */
}

#client-map-container {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 2100 / 1200;
}

/* FEEDBACK COLUMN */
.client-feedback-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0; /* <-- REQUIRED so cards shrink properly */
}

.feedback-slider .col-12 {
    width: 100%;
}

/* ===========================================================
   TABLET (stack + scale)
   =========================================================== */
@media (max-width: 1200px) {
    .client-layout {
        grid-template-columns: 1fr;
    }

    #client-map-container {
        transform: scale(0.95);
        transform-origin: top;
    }

    .client-feedback-col {
        transform: scale(0.95);
        transform-origin: top;
    }
}

/* ===========================================================
   MOBILE (full stack + smaller scale)
   =========================================================== */
@media (max-width: 700px) {
    #client-map-container {
        transform: scale(0.85);
    }

    .client-feedback-col {
        transform: scale(0.9);
        gap: 16px;
    }

    .feedback-card {
        padding: 16px;
    }
}


.marker {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(var(--primary_color), var(--secondary_color));
  box-shadow: 0 0 12px 6px var(--primary_color);
  transform: translate(-50%, -50%);
  pointer-events: auto;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* tooltip */


/* hover animation */
.marker:hover {
  transform: translate(-50%, -50%) scale(1.4);
  box-shadow: 0 0 20px 10px var(--secondary_color);
}


.marker::after {
  content: attr(data-label);
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.marker:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(-6px);
}

/* Pulsing animation for linked markers */
.marker.linked-marker {
  animation: markerPulse 2s ease-in-out infinite;
}

@keyframes markerPulse {
  0%, 100% { box-shadow: 0 0 12px 6px var(--primary_color); }
  50% { box-shadow: 0 0 20px 10px var(--secondary_color); }
}

/* Enhanced tooltip for linked markers */
.marker.linked-marker::after {
  content: attr(data-label) " (Click to view)";
  background: linear-gradient(135deg, var(--primary_color), var(--secondary_color));
  font-weight: 600;
}

/* Marker title text */
.marker::after {
    font-size: 16px;
    font-weight: 600;
    pointer-events: none;
}

/* Medium screens */
@media (max-width: 992px) {
    .marker::after {
        font-size: 13px;
    }
}

/* Small screens */
@media (max-width: 768px) {
    .marker::after {
        font-size: 10px;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .marker::after {
        font-size: 9px;
    }
}



/* Rating star image sizing - responsive */
.feedback-card .rating img {
  width: clamp(110px, 2vw, 150px);    /* Min 24px, scales, max 40px */
  height: clamp(110px, 2vw, 150px);
  object-fit: contain;
}

.feedback {
  /* padding-top: 7%; */
}

/* ============================================
   LOTTIE PRELOADER
   ============================================ */

#preloader  {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #141414;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  pointer-events: all;
}

#aeon-preloader {
  position: fixed;
  inset: 0;
  background: #141414;
  display: none;              /* hidden by default */
  align-items: center;
  justify-content: center;
  z-index: 9999999;
}


#preloader.fade-out{
  opacity: 0;
  visibility: hidden;
  pointer-events: none;  /* Critical: dont block clicks when hidden */
}

#preloader lottie-player {
  width: 250px;
  height: 250px;
  max-width: 90vw;
  max-height: 90vh;
}

#aeon-preloader lottie-player {
  width: 250px;
  height: 250px;
  max-width: 90vw;
  max-height: 90vh;
}

/* Responsive sizing */
@media (max-width: 768px) {
  #preloader  lottie-player {
    width: 200px;
    height: 200px;
  }
}

@media (max-width: 480px) {
  #preloader  lottie-player {
    width: 150px;
    height: 150px;
  }
}

/* Start AEON preloader hidden; we control it via JS */
#aeon-preloader {
  display: none;
  opacity: 1;
  visibility: visible;
}


/* NAV DROPDOWN (override Bootstrap) */
.menu__item .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #141414;
    border: 1px solid #1e1f20;
    border-radius: 6px;
    padding: 0.75rem 0;
    list-style: none;
    min-width: 180px;

    /* IMPORTANT: override Bootstrap */
    display: block;              /* was coming from Bootstrap as display:none */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    pointer-events: none;

    transition: all 0.25s ease;
    z-index: 200;
}

.menu__item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-menu li a {
  color: white;
}

.dropdown-menu li a:hover{
  color: var(--primary_color);

}

/* ================================
  FEATURES PAGE
  =================================
*/
.process-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    inset: 0;
}

/* Mobile responsiveness for video */
@media (max-width: 991px) {
  .process .process-content .img-block {
    height: clamp(200px, 40vw, 500px);
  }
}

@media (max-width: 767px) {
  .process .process-content .img-block {
    height: clamp(180px, 50vw, 400px);
  }
  
  .process .process-content .img-block .process-image {
    object-fit: contain; /* Changes from cover to contain to prevent cropping */
  }
}

@media (max-width: 575px) {
  .process .process-content .img-block {
    height: clamp(150px, 60vw, 300px);
  }
  
  .process .video-descriptions .video-desc {
    font-size: 14px;
  }
}



/* Areas of Practice */
/* ===========================================
   AREAS OF PRACTICE — VIDEO BACKGROUND
   =========================================== */

/* Areas of Practice Section */
#areas-section {
    position: relative;
    overflow: hidden;           /* ensures video doesn't overflow */
    padding: 120px 0 0 0;           /* controls section height */
    background: url("../media/backgrounds/about-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* The background video */
#areas-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    object-fit: cover;          /* fills the section like a background image */
    z-index: 0;
    opacity: 0.25;              /* adjust for visibility */
}

/* The content */
#areas-section .areas-content {
    position: relative;
    z-index: 2;                 /* ensures content sits above video */
}

/*  Testimonials */
.testimonial-video {
    width: 100%;
    max-width: 300px;
    height: auto;
}

/* BLOG CARD PAGES */
/* Unified video card frame */
.blog-card .image-block {
    width: 100%;
    max-width: 260px;   /* perfect size */
    aspect-ratio: 9 / 16;
    /* background: #000; */
    overflow: hidden;
    border-radius: 12px;
    position: relative;
    margin: 0 auto;
}

.blog-card {
    background: var(--gray);         /* dark card background */
    border-radius: 16px;
    padding: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    flex-direction: column;
    gap: 16px;                   /* spacing between video + text */
    height: 90%;
}

.blog-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}


/* Make all iframe/video fill the box */
.blog-card .image-block iframe,
.blog-card .image-block video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;   /* center + crop */
}

.blog-card .text-block {
  height: 170px;
}

.blog-card .text-block .ab-blog span {
  border-bottom: 1px solid;
    border-image-slice: 1;
    border-width: 1px;
    border-image-source: linear-gradient(90deg, var(--primary_color) 0%, var(--secondary_color) 100%);
}

/* Make PRESS page cards square (1:1) */
.press-card .image-block {
    
  max-width: 100%;      /* let it fill the card */
  max-width: 500px;  
  aspect-ratio: 1 / 1 !important;
  border-radius: 12px;
  overflow: hidden;
}

/* Make images fit properly inside the square */
.press-card .image-block img,
.press-card .image-block video,
.press-card .image-block iframe {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    position: absolute;
    inset: 0;
}

/* --- Read More Button: Filled Blue + Outline Hover --- */
.blog-btn {
    display: inline-block;
    padding: 8px 18px;
    background: var(--primary_color);             /* filled blue */
    color: #000000 !important;                  /* black text */
    border: 2px solid var(--primary_color);       /* matching stroke */
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.25s ease;
}

/* Hover: black fill, blue stroke, blue text */
.blog-btn:hover {
    background: #000000;
    color: var(--primary_color) !important;
    border-color: var(--primary_color);  
}

.blog-btn svg path {
    stroke: #000000 !important;
}

.blog-btn:hover svg path {
    stroke: var(--primary_color) !important;
}

/* Equal height press cards */
.press-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Fixed responsive image area */
.press-card .image-block {
    width: 100%;
    height: 340px;        /* choose your size */
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

/* Image fill */
.press-card .image-block img,
.press-card .image-block video,
.press-card .image-block iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Make text fill remaining space */
.press-card .text-block {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Keep read-more button pinned to bottom */
.press-card .blog-btn {
    margin-top: auto;
}

/* SECURITY AND COMPLIANCE PAGE */
/* Make the entire prong group interactive */
.prong {
    cursor: pointer;
}

/* Default prong rectangle */
.prong rect {
    transition: stroke 0.25s ease, stroke-width 0.25s ease;
}

/* On hover: gradient stroke + glow */
.prong:hover rect {
    fill: var(--primary_color);
}

.security-wheel {
  width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    padding: 20px 0;
}

.security-wheel svg {
    width: 59%;       /* ← Shrink it here */
    max-width: 1200px; /* optional safety cap */
    height: auto;     /* maintain aspect ratio */
    display: block;
}

@media (max-width: 992px) {
    .security-wheel svg {
        width: 80%;
    }
}

@media (max-width: 576px) {
    .security-wheel svg {
        width: 100%;
    }
}

/* Make all columns inside this row equal height */
.compliance-row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch; /* forces equal height */
}
.compliance-row > div {
    display: flex; /* makes columns stretch */
}


/* Integrations Page */

/* ===============================
   LOCALIZED ILLUMINATION
   =============================== */

.integrations-visual {
  position: relative;
  isolation: isolate;
}

.integrations-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Keep SVG dim - DON'T brighten globally */
.integrations-bg svg {
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.4; /* Dimmer default */
  transition: opacity 0.3s ease;
}


.integrations-content {
  position: relative;
  z-index: 2;
  padding: 40px 0;
}

/* LOCALIZED GLOW - only where cursor is */
.integrations-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.2s ease;
  
  /* Spotlight that follows cursor */
  background: radial-gradient(
    circle 350px at var(--gx, 50%) var(--gy, 50%),
    var(--primary_color) 0%,
    /* var(--secondary_color) 10%, */
    gray 25%,
    transparent 50%
  );
  
  mix-blend-mode: screen;
  pointer-events: none;
}

.integrations-visual.is-glowing .integrations-bg::after {
  opacity: 1;
}

/* Card styling */
.key-features-extra {
  background: rgba(26, 26, 26, 0.88) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s ease;
  border: 1px solid var(--gray);

}

.key-features-extra:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 165, 218, 0.4);
    border-image-slice: 1;
  /* border-image-source: linear-gradient(
    90deg, 
    var(--primary_color) 0%, 
    var(--primary_color) 100%
  ); */
  background: var(--gray) !important;
}


.key-features-extra {
  transform: translateZ(0); /* lock rendering */
   box-sizing: border-box;
}

.key-features-extra::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  transition: transform 0.4s ease;
  z-index: -1;
}

.key-features-extra:hover::after {
  transform: translateY(-8px);
}

.key-features-extra {
  border: 2px solid transparent;     /* fixed */
  box-sizing: border-box;
}

.key-features-extra::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px;
  opacity: 0;
}

.key-features-extra:hover::before {
  opacity: 1;
}

.key-features-extra {
  transform: translateZ(0);
  will-change: transform;
}


.key-features p,
.key-features h5 {
  line-height: 1.6;
  margin: 0;
}

/* =========================
    FOOTER
    =======================
*/
/* FORCE sticky footer layout */

#scroll-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;   /* NOT height */
  overflow: visible;  /* REQUIRED */
}


#main-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 80vh; /* IMPORTANT: not auto */
}

.page-content {
  flex: 1 0 auto;
  margin: 0; /* remove blocking margins */
}


/* FOOTER */
/* Newsletter Modal Content Styles */
/* Note: The base .popup-modal, .gradient-bg, and .popup-content styles 
   should already exist in your override.css from client.html */

.newsletter-success-content {
    text-align: center;
    padding: 20px;
}

.newsletter-icon {
    margin: 0 auto 32px;
    animation: newsletterPulse 0.6s ease-out;
}

@keyframes newsletterPulse {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.newsletter-success-content h2 {
    font-size: clamp(28px, 2.5vw, 40px);
    margin-bottom: 20px;
    color: #fff;
}

.newsletter-success-content p {
    font-size: clamp(16px, 1.2vw, 20px);
    color: #fafafa;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto;
}

/* Mobile responsive */
@media (max-width: 575px) {
    .newsletter-success-content {
        padding: 10px;
    }
    
    .newsletter-icon svg {
        width: 60px;
        height: 60px;
    }
    
    .newsletter-success-content h2 {
        font-size: 24px;
    }
    
    .newsletter-success-content p {
        font-size: 14px;
    }
}

/* Helper function for validation error messages */
#newsletter-message {
    margin-top: 15px;
    text-align: center;
}

#newsletter-message h6 {
    margin: 0;
}

#newsletter-message .text-success {
    color: var(--primary_color);
}

#newsletter-message .text-danger {
    color: #ff6b6b;
}

/* Newsletter Modal - Positions in Current Viewport */
#newsletter-modal.popup-modal {
    position: fixed !important;
    /* top: 80% !important; */
    left: 0 !important;
    width: 100% !important;
    height: 100vh !important; /* Only cover visible viewport */
    display: none;
    align-items: center !important;
    justify-content: center !important;
    z-index: 9999 !important;
    pointer-events: none;
    background: transparent;
}

#newsletter-modal.popup-modal.show {
    display: flex !important;
    pointer-events: auto !important;
}

#newsletter-modal .gradient-bg {
    position: fixed !important;
    top: 90% !important;
}

#newsletter-modal .popup-content {
    position: relative !important; /* Keep centered in viewport */
    max-height: 80vh !important;
    overflow-y: auto !important;
}

.newsletter-success-content {
    text-align: center;
    padding: 20px;
}

.newsletter-icon {
    margin: 0 auto 32px;
    animation: newsletterPulse 0.6s ease-out;
}

@keyframes newsletterPulse {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

.newsletter-success-content h2 {
    font-size: clamp(28px, 2.5vw, 40px);
    margin-bottom: 20px;
    color: #fff;
}

.newsletter-success-content p {
    font-size: clamp(16px, 1.2vw, 20px);
    color: #fafafa;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto;
}

.popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    z-index: 3;
}

.hover-button:hover {
background: linear-gradient(90deg, var(--primary_color) 0%, var(--secondary_color) 100%);
}