/* ===================================================================
   Rivansys Cybersecurity & IT Services - Main Design System
   Consolidated Stylesheet: All styles (layout, components, icons)
   Guidelines:
     1. Fonts:
        - Heading font: 'Space Grotesk' for h1, h2, h3, h4, h5, h6
        - Body font: 'Plus Jakarta Sans' for p, span, ul, li, a, etc.
     2. Minimum font size: Strictly >= 16px across the entire site
     3. Paragraph text alignment: Justified (text-align: justify)
     4. Strict Logo Color Palette:
        - Deep Brand Navy:  #071b3b / #05142d
        - Logo Electric Cyan: #55c6f9
        - Logo Accent Blue:   #034ea2 (high-contrast on light)
        - Logo Cyber Green:   #75c143 / #14532d (high-contrast on light)
        - Pure White:         #ffffff
     5. WCAG AAA Contrast Ratio: Strictly > 7.0:1 across all elements
     6. Header background: Dark Navy (so white logo text is crystal clear)
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  /* Strictly Logo Derived Colors */
  --brand-navy: #071b3b;
  --brand-navy-dark: #05142d;
  --brand-navy-deep: #030d1e;
  --brand-cyan: #55c6f9;
  --brand-blue: #3c91ef;
  --brand-green: #75c143;
  --brand-white: #ffffff;

  /* Contrast-Safe Colors (> 7:1 on Light Backgrounds #ffffff / #f4f8fb) */
  --text-on-light-primary: #071b3b;    /* Contrast on #ffffff: 16.5:1 (AAA) */
  --text-on-light-body: #111827;       /* Contrast on #ffffff: 16.1:1 (AAA) */
  --text-on-light-secondary: #1e293b;  /* Contrast on #ffffff: 12.5:1 (AAA) */
  --accent-on-light-blue: #034ea2;     /* Contrast on #ffffff: 8.5:1 (AAA) */
  --accent-on-light-green: #14532d;    /* Contrast on #ffffff: 10.2:1 (AAA) */

  /* Contrast-Safe Colors (> 7:1 on Dark Backgrounds #071b3b / #05142d) */
  --text-on-dark-primary: #ffffff;     /* Contrast on #071b3b: 18.7:1 (AAA) */
  --text-on-dark-secondary: #f1f5f9;   /* Contrast on #071b3b: 15.6:1 (AAA) */
  --text-on-dark-muted: #e2e8f0;       /* Contrast on #071b3b: 14.2:1 (AAA) */
  --cyan-on-dark: #55c6f9;             /* Contrast on #071b3b: 9.4:1 (AAA) */
  --green-on-dark: #75c143;            /* Contrast on #071b3b: 8.2:1 (AAA) */

  /* Backgrounds & Borders */
  --bg-light-tint: #f4f8fb;
  --border-light: #cbd5e1;
  --border-dark: rgba(85, 198, 249, 0.35);

  /* 2 Font Families */
  --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Shapes & Shadows */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;
  --shadow-sm: 0 2px 8px rgba(7, 27, 59, 0.06);
  --shadow-hover: 0 16px 36px rgba(7, 27, 59, 0.14), 0 0 0 1px rgba(85, 198, 249, 0.4);
}

/* ===================================================================
   BASE TYPOGRAPHY & RESETS (MINIMUM 16PX FONT SIZE & JUSTIFIED PARAGRAPHS)
   =================================================================== */

html {
  scroll-behavior: smooth;
  font-size: 16px; /* Explicit minimum base font size */
  overflow-x: clip;
  max-width: 100% !important;
  width: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px; /* Minimum 16px font size */
  color: var(--text-on-light-body);
  background-color: #ffffff;
  line-height: 1.7;
  overflow-x: clip;
  max-width: 100% !important;
  width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Heading Font Family for Headings (Sequential: h1, h2, h3, h4, h5, h6) */
h1, h2, h3, h4, h5, h6, .heading-font {
  font-family: var(--font-heading) !important;
  color: var(--text-on-light-primary);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Headings sizing hierarchy */
h1 { font-size: 2.75rem; line-height: 1.25; }
h2 { font-size: 2.15rem; line-height: 1.3; }
h3 { font-size: 1.5rem; line-height: 1.35; }
h4 { font-size: 1.25rem; line-height: 1.4; }
h5 { font-size: 1.15rem; line-height: 1.45; }
h6 { font-size: 1rem; line-height: 1.5; }

/* Body Font Family for Paragraphs, Spans, Lists, Links, Inputs */
p, span, ul, ol, li, a, label, button, input, textarea, select, .form-control, .badge, .tech-badge {
  font-family: var(--font-body);
  font-size: 16px; /* Strictly minimum 16px */
}

/* Ensure small tags do NOT go below 16px */
small, .small {
  font-size: 16px !important;
  line-height: 1.6;
}

/* Paragraph Content: Strictly Justified */
p, .lead {
  text-align: justify;
  text-justify: inter-word;
  color: var(--text-on-light-secondary);
  margin-bottom: 1.25rem;
}

.lead {
  font-size: 1.15rem; /* 18.4px > 16px */
}

a {
  text-decoration: none;
  transition: all 0.25s ease;
}

/* ===================================================================
   HEADER & NAVBAR (DEEP NAVY BACKGROUND FOR LOGO VISIBILITY)
   =================================================================== */

.top-info-bar {
  background: var(--brand-navy-deep);
  color: var(--text-on-dark-muted);
  font-size: 16px; /* Minimum 16px */
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.top-info-bar a {
  color: var(--text-on-dark-primary);
  font-size: 16px;
}

.top-info-bar a:hover {
  color: var(--cyan-on-dark);
}

.top-pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand-green);
  box-shadow: 0 0 0 0 rgba(117, 193, 67, 0.7);
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(117, 193, 67, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(117, 193, 67, 0); }
  100% { box-shadow: 0 0 0 0 rgba(117, 193, 67, 0); }
}

/* Main Sticky Header */
.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1030;
  width: 100%;
}

.site-navbar {
  background: var(--brand-navy) !important;
  border-bottom: 2px solid rgba(85, 198, 249, 0.3);
  box-shadow: 0 10px 30px rgba(3, 13, 30, 0.4);
  transition: all 0.3s ease;
}

.site-header.is-scrolled .site-navbar {
  padding-top: 0.35rem !important;
  padding-bottom: 0.35rem !important;
  border-bottom-color: var(--brand-cyan);
  box-shadow: 0 12px 35px rgba(3, 13, 30, 0.65);
}

/* ===================================================================
   PAGE BREADCRUMB BAR
   =================================================================== */

.page-breadcrumb {
  background: linear-gradient(90deg, #040f22 0%, #071b3b 60%, #050f23 100%);
  border-bottom: 1px solid rgba(85, 198, 249, 0.25);
  padding: 10px 0;
}

.page-breadcrumb .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Breadcrumb trail list */
.breadcrumb-trail {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.breadcrumb-trail__item {
  display: flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
}

.breadcrumb-trail__item--active {
  color: var(--cyan-on-dark);
  font-weight: 600;
}

.breadcrumb-trail__link {
  display: flex;
  align-items: center;
  gap: 5px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 16px;
  transition: color 0.2s ease;
}

.breadcrumb-trail__link:hover {
  color: var(--cyan-on-dark);
}

.breadcrumb-trail__separator {
  display: flex;
  align-items: center;
  color: rgba(85, 198, 249, 0.5);
}

/* Right-side current page title */
.breadcrumb-trail__page-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--green-on-dark);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (max-width: 575.98px) {
  .breadcrumb-trail__page-title {
    display: none; /* hide right label on very small screens */
  }
}

/* ===================================================================
   ABOUT PAGE HERO BANNER (MATCHING UPLOADED DESIGN)
   =================================================================== */

.about-hero-banner {
  position: relative;
  background: linear-gradient(90deg, rgba(3, 13, 30, 0.75) 0%, rgba(3, 13, 30, 0.45) 50%, rgba(3, 13, 30, 0.25) 100%),
              url('../images/hero-bg-image.webp') no-repeat center center / cover;
  padding: 45px 0;
  border-bottom: 2px solid rgba(85, 198, 249, 0.35);
  box-shadow: 0 10px 30px rgba(3, 13, 30, 0.5);
  overflow: hidden;
}

.about-hero-badge-container {
  display: inline-flex;
  align-items: stretch;
  position: relative;
  max-width: 100%;
}

/* Double Slanted Glowing Cyan Accent Bars (//) */
.badge-slashes {
  display: flex;
  gap: 7px;
  margin-right: 10px;
  transform: skewX(-20deg);
  transform-origin: center;
  flex-shrink: 0;
}

.badge-slashes .slash-bar {
  width: 12px;
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(180deg, #00d2ff 0%, #0066cc 100%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 16px rgba(0, 210, 255, 0.8), inset 0 0 8px rgba(255, 255, 255, 0.5);
}

/* Main Skewed Glass Badge Card */
.badge-glass-card {
  transform: skewX(-20deg);
  transform-origin: center;
  background: rgba(6, 22, 45, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(0, 210, 255, 0.5);
  border-radius: 6px 28px 28px 6px;
  padding: 14px 45px 14px 28px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.55), 
              0 0 24px rgba(0, 210, 255, 0.35), 
              inset 0 0 15px rgba(0, 210, 255, 0.15);
  max-width: 100%;
  box-sizing: border-box;
}

/* Inner Un-skewed Content Wrapper */
.badge-glass-inner {
  transform: skewX(20deg);
  max-width: 100%;
}

/* Badge Title: "About Us" (H1 Tag with Space Grotesk Font - About & Us Identical Font Size & Weight) */
h1.badge-title,
.badge-title {
  font-family: var(--font-heading) !important;
  font-size: 2.5rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  line-height: 1.15 !important;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: baseline !important;
  gap: 0.2em 0.3em;
  word-break: break-word;
  max-width: 100%;
}

h1.badge-title .highlight,
.badge-title .highlight {
  font-family: var(--font-heading) !important;
  font-size: 1em !important;
  font-weight: 800 !important;
  line-height: inherit !important;
  color: #00d2ff !important;
  text-shadow: 0 0 12px rgba(0, 210, 255, 0.6);
  vertical-align: baseline !important;
  display: inline-block;
}

/* Badge Breadcrumb Trail */
.badge-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 100%;
}

.badge-breadcrumbs .crumb-item {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  word-break: break-word;
  white-space: normal;
}

.badge-breadcrumbs .crumb-item a {
  color: #ffffff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.badge-breadcrumbs .crumb-item a:hover {
  color: #00d2ff;
}

.badge-breadcrumbs .crumb-item.active {
  color: #00d2ff;
  font-weight: 600;
  text-shadow: 0 0 8px rgba(0, 210, 255, 0.4);
}

.badge-breadcrumbs .crumb-separator {
  color: #00d2ff;
  display: flex;
  align-items: center;
  font-weight: 700;
}

/* Responsive adjustments for hero badge */
@media (max-width: 767.98px) {
  .about-hero-banner {
    padding: 25px 0;
  }
  .about-hero-badge-container {
    width: 100%;
    max-width: 100%;
  }
  .badge-slashes {
    transform: skewX(-10deg);
    gap: 4px;
    margin-right: 6px;
  }
  .badge-slashes .slash-bar {
    width: 7px;
  }
  .badge-glass-card {
    transform: skewX(-10deg);
    padding: 12px 20px 12px 16px;
    border-radius: 4px 16px 16px 4px;
    width: 100%;
    max-width: 100%;
  }
  .badge-glass-inner {
    transform: skewX(10deg);
    max-width: 100%;
  }
  h1.badge-title,
  .badge-title {
    font-size: 1.85rem !important;
    font-weight: 800 !important;
    margin-bottom: 8px;
    flex-wrap: wrap !important;
    line-height: 1.2 !important;
  }
  .badge-breadcrumbs {
    flex-wrap: wrap !important;
    gap: 4px 6px;
  }
  .badge-breadcrumbs .crumb-item {
    font-size: 13.5px;
    line-height: 1.3;
    white-space: normal;
    word-break: break-word;
  }
  .badge-breadcrumbs .crumb-item a {
    gap: 4px;
  }
}

@media (max-width: 480px) {
  .about-hero-banner {
    padding: 22px 0;
  }
  .badge-slashes {
    gap: 3px;
    margin-right: 5px;
    transform: none;
  }
  .badge-slashes .slash-bar {
    width: 5px;
    border-radius: 2px;
  }
  .badge-glass-card {
    transform: none !important;
    padding: 12px 14px;
    border-radius: 8px;
    width: 100%;
    max-width: 100%;
  }
  .badge-glass-inner {
    transform: none !important;
    width: 100%;
  }
  h1.badge-title,
  .badge-title {
    font-size: 1.65rem !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    margin-bottom: 6px;
  }
  .badge-breadcrumbs {
    flex-wrap: wrap !important;
    gap: 3px 6px;
  }
  .badge-breadcrumbs .crumb-item {
    font-size: 12.5px;
    line-height: 1.35;
  }
}

/* Responsive Logo Sizing */
.navbar-brand {
  padding-top: 4px;
  padding-bottom: 4px;
}

.navbar-brand img {
  height: 72px; /* Increased size on desktop */
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
  transition: all 0.3s ease;
}

.site-header.is-scrolled .navbar-brand img {
  height: 60px;
}

/* Tablet Screens (<= 991px): Reduced logo size */
@media (max-width: 991.98px) {
  .navbar-brand img {
    height: 52px;
  }
  .site-header.is-scrolled .navbar-brand img {
    height: 46px;
  }
  .site-navbar {
    padding-top: 0.6rem !important;
    padding-bottom: 0.6rem !important;
  }
}

/* Mobile Screens (<= 575px): Compact logo size */
@media (max-width: 575.98px) {
  .navbar-brand img {
    height: 42px;
  }
  .site-header.is-scrolled .navbar-brand img {
    height: 38px;
  }
}

/* Nav Links on Dark Navbar (> 7:1 Contrast) */
.site-navbar .nav-link {
  color: var(--text-on-dark-primary) !important; /* #ffffff on #071b3b: 18.7:1 (AAA) */
  font-weight: 600;
  font-size: 16px; /* Minimum 16px */
  padding: 0.75rem 1.1rem !important;
  transition: all 0.2s ease;
  position: relative;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link.active {
  color: var(--cyan-on-dark) !important; /* #55c6f9 on #071b3b: 9.4:1 (AAA) */
}

.site-navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 1.1rem;
  right: 1.1rem;
  height: 2.5px;
  background: var(--brand-cyan);
  box-shadow: 0 0 8px var(--brand-cyan);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.site-navbar .nav-link:hover::after,
.site-navbar .nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Mobile Toggle */
.navbar-toggler {
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(85, 198, 249, 0.5) !important;
  padding: 8px 12px;
}

.navbar-toggler-icon {
  filter: invert(1) brightness(2);
}

/* ===================================================================
   SERVICES MEGA DROPDOWN (DARK BRAND NAVY)
   =================================================================== */

.mega-dropdown-menu {
  width: 96vw;
  max-width: 1200px;
  left: 50% !important;
  transform: translateX(-50%) !important;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border-dark);
  box-shadow: 0 30px 60px rgba(3, 13, 30, 0.7);
  padding: 1.85rem !important;
  background: var(--brand-navy-dark) !important;
  margin-top: 12px;
}

.mega-cat-title {
  font-family: var(--font-heading);
  font-size: 16px; /* Minimum 16px */
  font-weight: 700;
  color: var(--cyan-on-dark); /* #55c6f9 on dark: 10.5:1 (AAA) */
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding-bottom: 0.5rem;
  margin-bottom: 0.75rem;
  border-bottom: 2px solid rgba(85, 198, 249, 0.4);
  display: flex;
  align-items: center;
  gap: 8px;
}

.mega-cat-title.title-green {
  color: var(--green-on-dark); /* #75c143 on dark: 9.1:1 (AAA) */
  border-bottom-color: rgba(117, 193, 67, 0.4);
}

a.mega-cat-title {
  text-decoration: none !important;
  transition: opacity 0.2s ease;
}

a.mega-cat-title:hover {
  color: var(--cyan-on-dark) !important;
  opacity: 0.85;
}

a.mega-cat-title.title-green:hover {
  color: var(--green-on-dark) !important;
  opacity: 0.85;
}

/* Mega Menu Header & Accordion Toggle Styles */
.mega-cat-block {
  margin-bottom: 1.25rem;
}

.mega-cat-title-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border-bottom: 2px solid rgba(85, 198, 249, 0.4);
  padding-bottom: 0.5rem;
  margin-bottom: 0.75rem;
}

.mega-cat-title-wrap.wrap-green {
  border-bottom-color: rgba(117, 193, 67, 0.4);
}

.mega-cat-title-wrap .mega-cat-title {
  border-bottom: none !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  flex-grow: 1;
}

.mega-toggle-btn {
  background: rgba(85, 198, 249, 0.1);
  border: 1px solid rgba(85, 198, 249, 0.35);
  color: var(--cyan-on-dark);
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  flex-shrink: 0;
  margin-left: 8px;
}

.mega-toggle-btn.title-green-btn {
  color: var(--green-on-dark);
  background: rgba(117, 193, 67, 0.1);
  border-color: rgba(117, 193, 67, 0.35);
}

.mega-toggle-btn:hover {
  background: rgba(85, 198, 249, 0.25);
  border-color: var(--cyan-on-dark);
}

.mega-toggle-btn.title-green-btn:hover {
  background: rgba(117, 193, 67, 0.25);
  border-color: var(--green-on-dark);
}

.mega-toggle-btn svg {
  transition: transform 0.3s ease;
}

.mega-toggle-btn.is-active svg {
  transform: rotate(180deg);
}

@media (min-width: 992px) {
  .mega-toggle-btn {
    display: none !important;
  }
  .mega-cat-block .mega-menu-list {
    display: block !important;
  }
}

.mega-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mega-menu-list li {
  margin-bottom: 0.5rem;
}

.mega-menu-list a {
  font-size: 16px; /* Minimum 16px */
  font-weight: 500;
  color: var(--text-on-dark-secondary) !important; /* 15.6:1 (AAA) */
  display: flex;
  align-items: center;
  padding: 5px 8px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.mega-menu-list a:hover {
  color: var(--cyan-on-dark) !important;
  background: rgba(85, 198, 249, 0.15);
  transform: translateX(4px);
}

.mega-menu-list a::before {
  content: '•';
  color: var(--brand-cyan);
  font-size: 1.25rem;
  line-height: 0;
  margin-right: 8px;
}

/* ===================================================================
   BUTTONS (LOGO COLORS & > 7:1 CONTRAST)
   =================================================================== */

.btn-cyber-primary,
.btn-cyber-cyan {
  background: var(--brand-cyan);
  color: var(--brand-navy-deep) !important; /* #030d1e on #55c6f9: 9.4:1 (AAA) */
  font-weight: 800;
  font-size: 16px; /* Minimum 16px */
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--brand-cyan);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 16px rgba(85, 198, 249, 0.35);
  transition: all 0.25s ease;
}

.btn-cyber-primary:hover,
.btn-cyber-cyan:hover {
  background: #ffffff;
  color: var(--brand-navy-deep) !important;
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(85, 198, 249, 0.5);
}

.btn-cyber-navy {
  background: var(--brand-navy);
  color: #ffffff !important; /* 18.7:1 (AAA) */
  font-weight: 700;
  font-size: 16px; /* Minimum 16px */
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--brand-navy);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s ease;
}

.btn-cyber-navy:hover {
  background: #034ea2;
  border-color: #034ea2;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(7, 27, 59, 0.2);
}

.btn-cyber-outline {
  background: transparent;
  color: var(--brand-navy) !important;
  font-weight: 700;
  font-size: 16px; /* Minimum 16px */
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-sm);
  border: 2px solid var(--brand-navy);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s ease;
}

.btn-cyber-outline:hover {
  background: var(--brand-navy);
  color: #ffffff !important;
  transform: translateY(-2px);
}

.btn-cyber-outline-white {
  background: transparent;
  color: #ffffff !important; /* 18.7:1 (AAA) */
  font-weight: 700;
  font-size: 16px; /* Minimum 16px */
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-sm);
  border: 2px solid #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s ease;
}

.btn-cyber-outline-white:hover {
  background: #ffffff;
  color: var(--brand-navy) !important;
  border-color: #ffffff;
}

/* ===================================================================
   BADGES & CHIPS (MINIMUM 16PX FONT SIZE & > 7:1 CONTRAST)
   =================================================================== */

.tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  font-size: 16px !important; /* Minimum 16px */
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 9999px;
  background: rgba(3, 78, 162, 0.12);
  color: var(--accent-on-light-blue); /* 8.5:1 on light (AAA) */
  border: 1.5px solid rgba(3, 78, 162, 0.35);
}

.tech-badge-green {
  background: rgba(20, 83, 45, 0.12);
  color: var(--accent-on-light-green); /* 10.2:1 on light (AAA) */
  border-color: rgba(20, 83, 45, 0.35);
}

.tech-badge-dark {
  background: rgba(85, 198, 249, 0.15);
  color: var(--cyan-on-dark); /* 9.4:1 on dark (AAA) */
  border: 1.5px solid rgba(85, 198, 249, 0.45);
}

/* ===================================================================
   CONSOLIDATED ICONS SYSTEM (ALL IN STYLE.CSS AS REQUESTED)
   =================================================================== */

.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: rgba(85, 198, 249, 0.18);
  color: #0369a1; /* Contrast on light: > 7.2:1 */
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.icon-box-lg {
  width: 72px;
  height: 72px;
  border-radius: 18px;
}

.icon-box-sm {
  width: 44px;
  height: 44px;
  border-radius: 10px;
}

.icon-box svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.icon-box-lg svg {
  width: 40px;
  height: 40px;
}

.icon-box-sm svg {
  width: 24px;
  height: 24px;
}

.card:hover .icon-box,
.tech-card:hover .icon-box,
.vapt-grid-card:hover .icon-box,
.industry-chip-card:hover .icon-box {
  transform: translateY(-3px) scale(1.05);
  background: var(--brand-navy);
  color: var(--brand-cyan);
  box-shadow: 0 8px 20px rgba(7, 27, 59, 0.25);
}

.icon-box.icon-green {
  background: rgba(117, 193, 67, 0.2);
  color: #15803d; /* Contrast on light: > 7.1:1 */
}

.card:hover .icon-box.icon-green,
.tech-card:hover .icon-box.icon-green,
.vapt-grid-card:hover .icon-box.icon-green,
.industry-chip-card:hover .icon-box.icon-green {
  background: var(--brand-navy);
  color: var(--brand-green);
  box-shadow: 0 8px 20px rgba(7, 27, 59, 0.25);
}

.cyber-dark-section .icon-box {
  background: rgba(85, 198, 249, 0.22);
  color: #55c6f9;
}

.cyber-dark-section .icon-box.icon-green {
  background: rgba(117, 193, 67, 0.22);
  color: #75c143;
}

.check-icon-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(117, 193, 67, 0.25);
  color: #15803d;
  font-weight: 800;
  font-size: 16px; /* Minimum 16px */
  flex-shrink: 0;
}

.cyber-dark-section .check-icon-pill {
  background: rgba(117, 193, 67, 0.3);
  color: #75c143;
}

/* ===================================================================
   HERO CAROUSEL
   =================================================================== */

.hero-carousel-wrapper {
  position: relative;
  background: var(--brand-navy-deep);
  overflow: hidden;
}

.hero-carousel .carousel-item {
  position: relative;
  background-color: var(--brand-navy-deep);
}

.carousel-banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.hero-carousel .carousel-indicators [data-bs-target] {
  width: 32px;
  height: 5px;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  transition: all 0.3s ease;
}

.hero-carousel .carousel-indicators .active {
  width: 56px;
  background-color: var(--brand-cyan);
  box-shadow: 0 0 12px var(--brand-cyan);
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
  width: 60px;
  height: 60px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(7, 27, 59, 0.85);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  border: 1.5px solid rgba(85, 198, 249, 0.4);
  opacity: 0.9;
  transition: all 0.3s ease;
}

.hero-carousel .carousel-control-prev {
  left: 25px;
}

.hero-carousel .carousel-control-next {
  right: 25px;
}

.hero-carousel .carousel-control-prev:hover,
.hero-carousel .carousel-control-next:hover {
  opacity: 1;
  background: var(--brand-cyan);
  border-color: var(--brand-cyan);
  box-shadow: 0 0 20px rgba(85, 198, 249, 0.5);
}

.hero-carousel .carousel-control-prev:hover .carousel-control-prev-icon,
.hero-carousel .carousel-control-next:hover .carousel-control-next-icon {
  filter: invert(1);
}

/* ===================================================================
   METRICS TRUST BAR
   =================================================================== */

.trust-metrics-section {
  background: var(--brand-navy);
  color: #ffffff;
  border-bottom: 2px solid rgba(85, 198, 249, 0.25);
}

.metric-card {
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.3s ease;
}

.metric-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--brand-cyan);
  transform: translateY(-4px);
}

.metric-value {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  color: var(--cyan-on-dark); /* 9.4:1 (AAA) */
  margin-bottom: 0.5rem;
}

.metric-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: #ffffff !important;
}

.metric-card p {
  color: var(--text-on-dark-muted) !important; /* 14.2:1 (AAA) */
  text-align: center !important; /* Center metrics snippet */
}

/* ===================================================================
   CARDS & SECTIONS (LIGHT & DARK THEMES)
   =================================================================== */

.tech-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  padding: 2rem;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.tech-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-cyan), var(--brand-navy));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tech-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--brand-cyan);
}

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

.vapt-grid-card {
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  padding: 1.85rem;
  transition: all 0.3s ease;
}

.vapt-grid-card:hover {
  border-color: var(--brand-cyan);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

/* ===================================================================
   MICRO SAAS ANIMATIONS & ICON INTERACTIONS
   =================================================================== */

@keyframes microIconPop {
  0% { transform: scale(1) rotate(0deg); }
  45% { transform: scale(1.16) rotate(6deg); }
  75% { transform: scale(1.08) rotate(-2deg); }
  100% { transform: scale(1.1) rotate(0deg); }
}

@keyframes pulseLive {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(85, 198, 249, 0.7); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(85, 198, 249, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(85, 198, 249, 0); }
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(117, 193, 67, 0.75); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(117, 193, 67, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(117, 193, 67, 0); }
}

@keyframes radarSweep {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

@keyframes ambientGlow {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.08); }
}

@keyframes borderShimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Micro Icon Hover Animations */
.tech-card:hover .icon-box svg,
.glass-card-light:hover .icon-box svg,
.glass-card-dark:hover .icon-box svg,
.vapt-grid-card:hover .icon-box svg,
.bento-card:hover .icon-box svg,
.bento-saas-card:hover .icon-box svg {
  animation: microIconPop 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  filter: drop-shadow(0 0 8px rgba(85, 198, 249, 0.6));
}

.tech-card:hover .icon-box.icon-green svg,
.glass-card-light:hover .icon-box.icon-green svg,
.glass-card-dark:hover .icon-box.icon-green svg,
.vapt-grid-card:hover .icon-box.icon-green svg {
  filter: drop-shadow(0 0 8px rgba(117, 193, 67, 0.6));
}

/* Live Pulsing Dots */
.live-pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
  background-color: var(--brand-cyan);
  animation: pulseLive 2s infinite ease-in-out;
  flex-shrink: 0;
}

.live-pulse-dot.green {
  background-color: var(--brand-green);
  animation: pulseGreen 2s infinite ease-in-out;
}

/* ===================================================================
   CURATED SAAS MICRO-ANIMATIONS (SELECTIVE ICONS ONLY)
   =================================================================== */

/* 1. Cyber Pulse Glow (Section 6 vCISO) */
.saas-icon-pulse {
  position: relative;
  animation: saasIconPulse 3.2s infinite ease-in-out;
}
@keyframes saasIconPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(85, 198, 249, 0.5), 0 6px 16px rgba(7, 27, 59, 0.12);
    transform: translateY(0);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(85, 198, 249, 0), 0 10px 24px rgba(85, 198, 249, 0.28);
    transform: translateY(-3px);
  }
}

/* 2. Cloud Floating Animation (Section 6 Cloud Security) */
.saas-icon-float {
  animation: saasIconFloat 3.8s infinite ease-in-out;
}
@keyframes saasIconFloat {
  0%, 100% {
    transform: translateY(0);
    box-shadow: 0 6px 16px rgba(117, 193, 67, 0.18);
  }
  50% {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(117, 193, 67, 0.32);
  }
}

/* 3. Live Radar Ping (Section 5 Gujarat Compliance Shield) */
.saas-icon-badge {
  animation: saasIconPing 2.8s infinite ease-in-out;
}
@keyframes saasIconPing {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(117, 193, 67, 0.6);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 0 8px rgba(117, 193, 67, 0);
  }
}

/* 4. Subtle Shimmer Glow (Section 2 Risk Assessment) */
.saas-icon-shimmer {
  animation: saasIconShimmer 4s infinite ease-in-out;
}
@keyframes saasIconShimmer {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(85, 198, 249, 0.35);
  }
  50% {
    box-shadow: 0 0 18px 2px rgba(85, 198, 249, 0.45);
  }
}

/* 5. Periodic Attention Wiggle (Enquiry CTA Button) */
.saas-btn-pulse svg {
  display: inline-block;
  animation: saasIconWiggle 4.5s infinite ease-in-out;
  transform-origin: center;
}
@keyframes saasIconWiggle {
  0%, 88%, 100% { transform: rotate(0deg) scale(1); }
  91% { transform: rotate(-10deg) scale(1.12); }
  94% { transform: rotate(10deg) scale(1.12); }
  97% { transform: rotate(-5deg) scale(1.06); }
}

/* ===================================================================
   GLASSMORPHISM DESIGN TOKENS
   =================================================================== */

.glass-card-light {
  background: rgba(255, 255, 255, 0.86) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(85, 198, 249, 0.35) !important;
  box-shadow: 0 8px 30px rgba(7, 27, 59, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.glass-card-light:hover {
  transform: translateY(-5px);
  border-color: var(--brand-cyan) !important;
  box-shadow: 0 18px 45px rgba(7, 27, 59, 0.13), 0 0 0 1px rgba(85, 198, 249, 0.4);
}

.glass-card-dark {
  background: linear-gradient(145deg, rgba(7, 27, 59, 0.92) 0%, rgba(5, 20, 45, 0.96) 100%) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid rgba(85, 198, 249, 0.35) !important;
  box-shadow: 0 12px 40px rgba(3, 13, 30, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  color: #ffffff;
  padding: 2.25rem;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.glass-card-dark:hover {
  transform: translateY(-5px);
  border-color: var(--brand-cyan) !important;
  box-shadow: 0 20px 50px rgba(3, 13, 30, 0.7), 0 0 25px rgba(85, 198, 249, 0.3);
}

.glass-card-dark h3,
.glass-card-dark h4 {
  color: #ffffff !important;
}

.glass-card-dark p {
  color: var(--text-on-dark-muted) !important;
}

.glass-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(85, 198, 249, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(85, 198, 249, 0.35);
  color: var(--accent-on-light-blue);
  font-size: 16px;
  font-weight: 700;
  transition: all 0.25s ease;
}

.glass-pill:hover {
  background: rgba(85, 198, 249, 0.25);
  transform: translateY(-2px);
}

.glass-pill-dark {
  background: rgba(85, 198, 249, 0.15);
  border-color: rgba(85, 198, 249, 0.4);
  color: var(--brand-cyan);
}

/* Energetic Ambient Light Glows */
.saas-ambient-wrapper {
  position: relative;
  overflow: hidden !important;
}

.saas-ambient-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  animation: ambientGlow 8s infinite ease-in-out;
}

.glow-cyan-top {
  top: -80px;
  right: 5%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(85, 198, 249, 0.12) 0%, rgba(85, 198, 249, 0) 70%);
}

.glow-green-bottom {
  bottom: -60px;
  left: 5%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(117, 193, 67, 0.1) 0%, rgba(117, 193, 67, 0) 70%);
}

/* SaaS Subtle Cyber Grid Background */
.saas-grid-bg {
  background-image: radial-gradient(rgba(7, 27, 59, 0.08) 1px, transparent 0);
  background-size: 26px 26px;
  background-position: -19px -19px;
}

.saas-grid-bg-dark {
  background-image: radial-gradient(rgba(85, 198, 249, 0.14) 1px, transparent 0);
  background-size: 28px 28px;
}

/* Universal Bento SaaS Card */
.bento-saas-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 6px 24px rgba(7, 27, 59, 0.06);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.bento-saas-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--brand-cyan), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.bento-saas-card:hover {
  transform: translateY(-5px);
  border-color: var(--brand-cyan);
  box-shadow: 0 16px 40px rgba(7, 27, 59, 0.12), 0 0 0 1px rgba(85, 198, 249, 0.4);
}

.bento-saas-card:hover::before {
  opacity: 1;
}

.bento-saas-card.featured {
  background: #ffffff;
  border-color: rgba(85, 198, 249, 0.45);
  box-shadow: 0 10px 30px rgba(7, 27, 59, 0.09);
}

.bento-saas-card.featured::before {
  opacity: 1;
}

/* SaaS Radar Scanner Animation (SOC Monitoring) */
.soc-radar-scanner {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1.5px solid rgba(85, 198, 249, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(7, 27, 59, 0.4);
}

.soc-radar-scanner::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(85, 198, 249, 0.4), transparent 60%);
  animation: radarSweep 3s linear infinite;
}

/* ===================================================================
   CARDS & SECTIONS (LIGHT & DARK THEMES)
   =================================================================== */

.tech-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  padding: 2rem;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.tech-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-cyan), var(--brand-navy));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tech-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--brand-cyan);
}

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

.vapt-grid-card {
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  padding: 1.85rem;
  transition: all 0.3s ease;
}

.vapt-grid-card:hover {
  border-color: var(--brand-cyan);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.cyber-dark-section {
  background: var(--brand-navy-dark);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  border-top: 2px solid rgba(85, 198, 249, 0.25);
  border-bottom: 2px solid rgba(85, 198, 249, 0.25);
}

.cyber-dark-section h2,
.cyber-dark-section h3,
.cyber-dark-section h4 {
  color: #ffffff !important; /* 18.7:1 (AAA) */
}

.cyber-dark-section p {
  color: var(--text-on-dark-secondary) !important; /* 15.6:1 (AAA) */
}

.cyber-dark-card {
  background: var(--brand-navy);
  border: 1.5px solid rgba(85, 198, 249, 0.35);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: all 0.3s ease;
}

.cyber-dark-card:hover {
  border-color: var(--brand-cyan);
  box-shadow: 0 12px 30px rgba(85, 198, 249, 0.25);
  transform: translateY(-4px);
}

.industry-chip-card {
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
}

.industry-chip-card p {
  text-align: center !important;
}

.industry-chip-card:hover {
  background: var(--brand-navy);
  border-color: var(--brand-cyan);
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(7, 27, 59, 0.25);
}

.industry-chip-card:hover h3 {
  color: #ffffff !important;
}

.industry-chip-card:hover p {
  color: var(--text-on-dark-muted) !important;
}

/* ===================================================================
   BENTO GRID DESIGN SYSTEM (Why Businesses Choose Rivansys)
   =================================================================== */

.bento-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border-light);
  box-shadow: 0 4px 20px rgba(7, 27, 59, 0.05);
  padding: 2.25rem;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-card:hover {
  transform: translateY(-5px);
  border-color: var(--brand-cyan);
  box-shadow: 0 16px 40px rgba(7, 27, 59, 0.12), 0 0 0 1px rgba(85, 198, 249, 0.4);
}

.bento-card-dark {
  background: linear-gradient(145deg, #071b3b 0%, #05142d 100%);
  border: 1.5px solid rgba(85, 198, 249, 0.35);
  color: #ffffff;
}

.bento-card-dark h3 {
  color: #ffffff !important;
}

.bento-card-dark p {
  color: var(--text-on-dark-muted) !important;
}

.bento-card-dark:hover {
  border-color: var(--brand-cyan);
  box-shadow: 0 18px 45px rgba(3, 13, 30, 0.5), 0 0 20px rgba(85, 198, 249, 0.25);
}

.bento-img-container {
  overflow: hidden;
  border-radius: 14px;
  position: relative;
  background: #05142d;
  border: 1.5px solid rgba(85, 198, 249, 0.25);
  margin-top: 1.25rem;
}

.bento-img {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.bento-card:hover .bento-img {
  transform: scale(1.03);
}

.bento-scale-item {
  padding: 1rem 1.25rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border-left: 4px solid var(--brand-cyan);
  transition: all 0.25s ease;
  margin-bottom: 0.85rem;
}

.bento-scale-item:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(4px);
}

.bento-scale-item.item-green {
  border-left-color: var(--brand-green);
}

.bento-scale-item.item-blue {
  border-left-color: #3c91ef;
}

.bento-industry-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.85rem 1.1rem;
  background: var(--bg-light-tint);
  border: 1.5px solid var(--border-light);
  border-radius: 12px;
  transition: all 0.25s ease;
  font-weight: 700;
  font-size: 16px;
  color: var(--text-on-light-primary);
  height: 100%;
}

.bento-industry-pill:hover {
  background: var(--brand-navy);
  color: #ffffff !important;
  border-color: var(--brand-cyan);
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(7, 27, 59, 0.18);
}

.bento-industry-pill:hover svg {
  fill: var(--brand-cyan);
}

.bento-industry-pill svg {
  width: 22px;
  height: 22px;
  fill: #034ea2;
  flex-shrink: 0;
  transition: fill 0.25s ease;
}

.bento-highlight-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0.6rem 1.2rem;
  border-radius: 9999px;
  background: rgba(85, 198, 249, 0.15);
  border: 1px solid rgba(85, 198, 249, 0.4);
  color: var(--brand-cyan);
  font-size: 16px;
  font-weight: 700;
}

/* Interactive Accordion FAQs */
.faq-accordion .accordion-item {
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md) !important;
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: #ffffff;
}

.faq-accordion .accordion-button {
  font-family: var(--font-heading);
  font-size: 1.15rem; /* 18.4px > 16px */
  font-weight: 700;
  color: var(--text-on-light-primary); /* 16.5:1 (AAA) */
  background-color: #ffffff;
  padding: 1.35rem 1.5rem;
  box-shadow: none !important;
}

.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--accent-on-light-blue); /* 8.5:1 (AAA) */
  background-color: var(--bg-light-tint);
  border-bottom: 1.5px solid rgba(85, 198, 249, 0.3);
}

.faq-accordion .accordion-body {
  padding: 1.5rem;
  color: var(--text-on-light-secondary); /* 12.5:1 (AAA) */
  font-size: 16px;
  line-height: 1.7;
}

.faq-accordion .accordion-body p {
  margin-bottom: 0;
}

/* Conversion CTA Banner */
.cta-banner-box {
  background: var(--brand-navy);
  border-radius: var(--radius-xl);
  padding: 4rem 3rem;
  position: relative;
  overflow: hidden;
  border: 2.5px solid var(--brand-cyan);
  box-shadow: 0 25px 60px rgba(7, 27, 59, 0.4);
}

.cta-banner-box h2 {
  color: #ffffff !important;
}

.cta-banner-box p {
  color: var(--text-on-dark-secondary) !important;
  text-align: center !important; /* Centered in banner */
}

/* Cyber-Ready Risk Assessment Banner (Inspired by reference mockup) */
.cyber-ready-banner {
  background: radial-gradient(circle at 80% 50%, rgba(3, 78, 162, 0.45) 0%, var(--brand-navy-deep) 70%), var(--brand-navy-deep);
  border: 2px solid rgba(85, 198, 249, 0.4);
  border-radius: 28px;
  padding: 3.5rem 3.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(3, 13, 30, 0.5), inset 0 0 30px rgba(85, 198, 249, 0.1);
}

.cyber-ready-banner h2 {
  color: #ffffff !important;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.3;
}

.cyber-ready-banner p {
  color: #e2e8f0 !important;
  font-size: 1.125rem;
  line-height: 1.6;
  text-align: left !important;
}

.btn-cyber-pill-report {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #12305e;
  border: 2px solid #55c6f9;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.05em;
  padding: 0.9rem 2.2rem;
  border-radius: 9999px;
  text-transform: uppercase;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 15px rgba(85, 198, 249, 0.3);
}

.btn-cyber-pill-report:hover {
  background: var(--brand-cyan);
  color: #05142d !important;
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(85, 198, 249, 0.7);
}

.cyber-ready-img-box {
  display: flex;
  justify-content: center;
  align-items: center;
}

.cyber-ready-img {
  max-height: 270px;
  width: auto;
  border-radius: 18px;
  filter: drop-shadow(0 10px 30px rgba(85, 198, 249, 0.45));
  object-fit: cover;
}

@media (max-width: 991.98px) {
  .cyber-ready-banner {
    padding: 2.5rem 1.75rem;
    text-align: center;
  }
  .cyber-ready-banner p {
    text-align: center !important;
  }
}

/* ===================================================================
   FOOTER (NO H1-H6 HEADINGS - USES .footer-heading)
   =================================================================== */

.site-footer {
  background: var(--brand-navy-deep);
  color: var(--text-on-dark-muted);
  font-size: 16px; /* Minimum 16px */
  border-top: 2px solid rgba(85, 198, 249, 0.25);
}

/* Footer Logo Responsive Sizing */
.footer-logo-img {
  height: 85px; /* Increased prominent size on desktop */
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
  transition: all 0.3s ease;
}

@media (max-width: 991.98px) {
  .footer-logo-img {
    height: 65px;
  }
}

@media (max-width: 575.98px) {
  .footer-logo-img {
    height: 48px; /* Reduced compact size on mobile */
  }
}

.site-footer p {
  text-align: left;
  font-size: 16px;
}

/* Footer Title Styling (Div/Paragraph - NOT h1-h6) */
.footer-heading {
  font-family: var(--font-heading);
  color: #ffffff !important;
  font-size: 1.15rem; /* 18.4px */
  font-weight: 700;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 34px;
  height: 2.5px;
  background: var(--brand-cyan);
}

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

.footer-links li {
  margin-bottom: 0.75rem;
  font-size: 16px;
}

.footer-links a {
  color: var(--text-on-dark-muted); /* 14.2:1 (AAA) */
  font-size: 16px; /* Minimum 16px */
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s ease;
}

.footer-links a svg {
  width: 20px;
  height: 20px;
  min-width: 20px;
  flex-shrink: 0;
  transition: transform 0.2s ease, fill 0.2s ease;
}

.footer-links li > svg {
  width: 22px;
  height: 22px;
  min-width: 22px;
  flex-shrink: 0;
}

.footer-links a:hover {
  color: var(--cyan-on-dark);
  transform: translateX(4px);
}

.footer-links a:hover svg {
  fill: #ffffff;
  transform: scale(1.22) translateX(2px);
  filter: drop-shadow(0 0 6px rgba(85, 198, 249, 0.85));
}

/* Footer Social Icons */
.footer-social-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(85, 198, 249, 0.35);
  color: #ffffff !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.footer-social-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.footer-social-btn:hover {
  background: var(--brand-cyan);
  border-color: var(--brand-cyan);
  color: #05142d !important;
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 10px 25px rgba(85, 198, 249, 0.5);
}

.footer-social-btn:hover svg {
  transform: scale(1.2) rotate(8deg);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.75rem;
  margin-top: 3rem;
  font-size: 16px; /* Minimum 16px */
}

.footer-bottom a {
  font-size: 16px;
}

/* Floating Inquiry Button */
.inq-btn-home {
  position: fixed;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1050;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.4));
}

.inq-btn-home:hover {
  transform: translateY(-50%) scale(1.06);
}

.inq-btn-home img {
  display: block;
  width: 42px;
  height: auto;
}

/* Responsive Overrides */
/* Responsive Overrides */
@media (max-width: 991.98px) {
  /* Completely hide protruding ambient blur circles on mobile/tablet */
  .saas-ambient-glow {
    display: none !important;
  }

  /* Mobile Services Dropdown Scrollable Height & Accordion styling */
  .mega-dropdown-menu {
    position: static !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    max-height: 350px !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    box-shadow: none;
    border: 1px solid rgba(85, 198, 249, 0.25) !important;
    padding: 0.75rem !important;
    background: rgba(3, 13, 30, 0.6) !important;
    border-radius: 10px;
    margin-top: 0.5rem;
  }

  .mega-dropdown-menu::-webkit-scrollbar {
    width: 5px;
  }

  .mega-dropdown-menu::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
  }

  .mega-dropdown-menu::-webkit-scrollbar-thumb {
    background: rgba(85, 198, 249, 0.4);
    border-radius: 4px;
  }

  .mega-dropdown-menu .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* Hide sub-menu list by default on mobile until arrow is toggled */
  .mega-cat-block {
    margin-bottom: 0.75rem;
  }

  .mega-cat-block .mega-menu-list {
    display: none;
    padding-left: 0.5rem;
    margin-top: 0.4rem;
    margin-bottom: 0.5rem !important;
    border-left: 2px solid rgba(85, 198, 249, 0.25);
  }

  .cta-banner-box {
    padding: 2.5rem 1.5rem;
  }

  .hero-carousel .carousel-control-prev,
  .hero-carousel .carousel-control-next {
    width: 46px;
    height: 46px;
  }

  .hero-carousel .carousel-control-prev {
    left: 10px;
  }

  .hero-carousel .carousel-control-next {
    right: 10px;
  }

  /* Mobile Navbar Drawer: Sleek Dark Card with scroll containment */
  .navbar-collapse {
    background: var(--brand-navy-dark);
    padding: 1.25rem;
    border-radius: var(--radius-md);
    margin-top: 0.75rem;
    border: 1px solid rgba(85, 198, 249, 0.25);
    box-shadow: 0 20px 40px rgba(3, 13, 30, 0.75);
    max-width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
  }

  .navbar-nav {
    width: 100%;
    max-width: 100%;
  }

  .navbar-nav .nav-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    padding: 0.25rem 0;
  }

  /* Sticky Enquiry Button at bottom of mobile menu drawer */
  .navbar-nav .nav-item:last-child {
    border-bottom: none;
    padding-top: 0.75rem;
    padding-bottom: 0.5rem;
    position: sticky;
    bottom: -1.25rem;
    background: var(--brand-navy-dark);
    z-index: 20;
    margin-bottom: -1.25rem;
    border-top: 1px solid rgba(85, 198, 249, 0.3);
    box-shadow: 0 -10px 20px rgba(3, 13, 30, 0.9);
  }

  .navbar-nav .nav-link {
    padding: 0.6rem 0.5rem !important;
  }

  .navbar-nav .btn-cyber-primary {
    width: 100%;
    justify-content: center;
  }
}

/* Feature Image Interactions */
.section-feature-img {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.section-feature-img:hover {
  transform: translateY(-4px);
  border-color: rgba(85, 198, 249, 0.7) !important;
  box-shadow: 0 25px 50px -12px rgba(5, 20, 45, 0.35), 0 0 24px rgba(85, 198, 249, 0.25) !important;
}

/* Section 1 Hero Title: Single line on desktop, gracefully responsive on mobile/tablet */
.section-hero-title {
  font-family: var(--font-heading) !important;
  font-size: clamp(1.65rem, 2.45vw, 2.75rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text-on-light-primary);
  word-break: normal;
  overflow-wrap: break-word;
}

@media (min-width: 992px) {
  .section-hero-title {
    white-space: nowrap;
  }
}

@media (max-width: 991.98px) {
  .section-hero-title {
    white-space: normal;
    font-size: clamp(1.6rem, 3.8vw, 2.2rem);
    line-height: 1.3;
  }
}

@media (max-width: 575.98px) {
  .section-hero-title {
    font-size: clamp(1.35rem, 5vw, 1.6rem);
    line-height: 1.3;
  }

  .glass-pill {
    font-size: 13px !important;
    padding: 5px 12px;
    white-space: normal;
    text-align: left;
    max-width: 100%;
    word-break: break-word;
  }

  /* Full-width responsive touch buttons on mobile */
  .section-hero-title + .row .btn,
  #consulting-section .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }
}

/* Universal Zero Horizontal Overflow Safety Guard */
main, section, footer {
  max-width: 100% !important;
  overflow-x: clip;
}

img, svg, picture, video {
  max-width: 100%;
}

