/* style.css - NxtGen-Solutions Design System and Layout */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@800;900&family=Poppins:wght@400;500;600;700;800;900&family=Outfit:wght@400;800&display=swap');

:root {
  /* Blue-to-Green Gradient Theme */
  --primary: #2563EB;
  /* Deep Blue */
  --primary-rgb: 37, 99, 235;
  --secondary: #10B981;
  /* Emerald Green */
  --secondary-rgb: 16, 185, 129;
  --accent: #059669;
  /* Deep Emerald Accent */
  --accent-rgb: 5, 150, 105;
  --highlight: var(--accent);
  --cta: var(--primary);
  --cta-hover: #1E40AF;
  /* Deeper blue on hover */
  --text: #0F172A;
  /* Dark Navy for readability */
  --text-muted: #475569;
  --body-bg: #FFFFFF;
  /* Clean white background */
  --light-bg: #F0FDF9;
  /* Very light green-tinted sections */
  --white: #FFFFFF;
  --border: #DBEAFE;
  /* Light green-tinted border */
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 20px rgba(0, 0, 0, 0.08);
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  /* Simplified glass effect */
  --glass-bg: rgba(255, 255, 255, 0.9);
  --glass-border: rgba(37, 99, 235, 0.12);
  --glass-shadow: 0 4px 12px rgba(5, 150, 105, 0.08);
}

/* Global Premium Graphics Utilities */
:root {
  --gradient-orb-primary: var(--primary);
  --gradient-orb-secondary: var(--secondary);
  --gradient-orb-accent: var(--accent);
  --anim-duration: 1.5s;
  --anim-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-gradient {
  font-size: 1.47rem !important;
  font-weight: 800;
  color: var(--primary);
}

.bg-decorations-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.bg-gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(150px);
  opacity: 0.04;
}

.bg-tech-pattern {
  position: absolute;
  animation: float-node 16s ease-in-out infinite;
}

@keyframes float-node {
  0% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(180deg);
  }

  100% {
    transform: translateY(0) rotate(360deg);
  }
}

.reveal-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--anim-duration) var(--anim-ease), transform var(--anim-duration) var(--anim-ease);
}

.reveal-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-fade-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity var(--anim-duration) var(--anim-ease), transform var(--anim-duration) var(--anim-ease);
}

.reveal-fade-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-fade-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity var(--anim-duration) var(--anim-ease), transform var(--anim-duration) var(--anim-ease);
}

.reveal-fade-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale-in {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity var(--anim-duration) var(--anim-ease), transform var(--anim-duration) var(--anim-ease);
}

.reveal-scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after,
  .bg-tech-pattern,
  .bg-gradient-orb,
  .reveal-fade-up,
  .reveal-fade-left,
  .reveal-fade-right,
  .reveal-scale-in {
    animation: none !important;
    transition: none !important;
  }
}


/* Reset & base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background-color: var(--body-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Poppins', sans-serif;
  margin-bottom: 0.5em;
  color: var(--primary);
  line-height: 1.25;
  font-weight: 800;
  /* Poppins ExtraBold */
}

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

a:hover {
  color: var(--cta);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
  background: #c1cbd6;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #a0b0c0;
}

/* Layout Containers & Grids */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section {
  padding: 5rem 0;
  position: relative;
}

.bg-light-bg {
  background-color: var(--light-bg);
}

.section-title {
  text-align: center;
  font-size: 2.25rem;
  margin-bottom: 3.5rem;
  color: var(--primary);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--accent);
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

/* CSS Grid Utilities */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 992px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {

  .grid-2,
  .grid-3,
  .grid-4,
  .two-columns {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .section-title {
    font-size: 1.75rem;
    margin-bottom: 2.5rem;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: none;
  font-family: 'Inter', sans-serif;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.15);
}

.btn i,
.btn svg {
  transition: transform 0.2s ease;
}

.btn:hover i,
.btn:hover svg {
  transform: translateX(3px);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  border: 1px solid var(--primary);
}

.btn-primary:hover {
  background-color: var(--cta-hover);
  border-color: var(--cta-hover);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.25);
}

.btn-outline {
  background: var(--white);
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.15);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* Satisfying Ripple effect */
.ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: ripple-animation 0.6s linear;
  background-color: rgba(255, 255, 255, 0.35);
  pointer-events: none;
  z-index: 0;
}

.btn-outline .ripple {
  background-color: rgba(37, 99, 235, 0.15);
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Sticky Navigation Header */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  background: var(--white);
  padding: 1.25rem 0;
  transition: var(--transition);
  border-bottom: 1px solid var(--border);
}

.navbar.scrolled {
  padding: 0.75rem 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.navbar .logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  line-height: 1;
  text-decoration: none;
  margin-left: -12px;
}

.logo-img {
  height: 58px;
  width: 58px;
  object-fit: contain;
  border-radius: 50%;
  flex-shrink: 0;
  background: transparent;
  transition: transform 0.3s ease;
}

.logo:hover .logo-img {
  transform: scale(1.05);
}

.logo-text-group {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  line-height: 1 !important;
}

.logo-nxt {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.47rem !important;
  letter-spacing: -0.5px !important;
  color: var(--primary);
  display: inline-block;
  transition: transform 0.2s ease;
}

.logo:hover .logo-nxt {
  transform: translateY(-1px);
}

.logo-info {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 0.76rem !important;
  color: #64748B;
  letter-spacing: 2.5px !important;
  text-transform: uppercase;
  margin-top: 1px;
  margin-right: -2.5px; /* offset the trailing letter-spacing to ensure absolute center alignment */
}

.navbar .nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.navbar .nav-links a {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  position: relative;
  padding: 0.5rem 0;
}

.navbar .nav-links a:hover {
  color: var(--primary);
}

.navbar .nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--cta);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

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

.navbar .nav-links a.active {
  color: var(--primary);
}

.navbar .nav-cta {
  background-color: var(--primary);
  color: var(--white) !important;
  border-radius: var(--radius);
  padding: 0.6rem 1.25rem !important;
  font-weight: 600 !important;
  margin-left: 0.5rem;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.15);
}

.navbar .nav-cta::after {
  display: none !important;
}

.navbar .nav-cta:hover {
  background-color: var(--cta-hover);
  color: var(--white) !important;
  transform: translateY(-1px);
}

/* Mobile Menu Hamburguer toggle */
.navbar .menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  outline: none;
}

.navbar .menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

@media (max-width: 992px) {
  .navbar .logo {
    margin-left: 0 !important;
  }

  .navbar .menu-toggle {
    display: flex;
  }

  .navbar .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 0;
    gap: 1.25rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out;
    box-shadow: var(--shadow-lg);
  }

  .navbar .nav-links.open {
    max-height: 500px;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border);
  }

  .navbar .nav-cta {
    margin-left: 0;
    margin-top: 0.5rem;
  }

  /* Hamburger Active Animation */
  .navbar .menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .navbar .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .navbar .menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
}

/* Hero & Sub-Hero Headers */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 75vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
}

.hero-overlay,
.hero::after,
.overlay {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11, 31, 58, 0.9) 20%, rgba(11, 31, 58, 0.4) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 1.5rem;
}

.hero h1,
.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  /* Poppins Black */
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.15;
  letter-spacing: -1px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero p,
.hero-subtitle,
.subtitle {
  font-size: 1.25rem;
  color: #e0e6ed;
  margin-bottom: 2rem;
  font-weight: 400;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .hero {
    height: 60vh;
    min-height: 400px;
  }

  .hero h1,
  .hero-title {
    font-size: 2.25rem;
  }

  .hero p,
  .hero-subtitle {
    font-size: 1.05rem;
  }

  .hero-cta {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  .hero-cta .btn {
    width: 100%;
    max-width: 280px;
  }
}

/* Sub page hero specific styles */
.hero--sub {
  height: 40vh;
  min-height: 250px;
}

.breadcrumb {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #c0cbd6;
  font-family: 'Poppins', sans-serif;
}

.breadcrumb a {
  color: var(--cta);
}

.breadcrumb a:hover {
  color: var(--white);
  text-decoration: underline;
}

/* Animated Counters Strip */
.counters {
  background: none;
  color: inherit;
  padding: 0;
  border-bottom: none;
}

.counters-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2.5rem;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.counter-card {
  flex: 1 1 200px;
  text-align: center;
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--cta);
  font-family: 'Poppins', sans-serif;
  letter-spacing: -1px;
}

.counter-card span {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: #c0cbd6;
  text-transform: uppercase;
  margin-top: 0.5rem;
  letter-spacing: 1.5px;
  font-family: 'Inter', sans-serif;
}

/* Card Component: Generic Glassmorphic */
.card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  box-shadow: var(--glass-shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.25);
}

.card h3 {
  font-size: 1.35rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.card ul {
  list-style-type: none;
  margin-bottom: 1.5rem;
}

.card ul li {
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.25rem;
}

.card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

/* Why Choose Us Icons */
.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.why-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
}

.why-card .icon-wrap {
  width: 80px;
  height: 80px;
  background: rgba(21, 101, 192, 0.08);
  color: var(--accent);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.why-card:hover .icon-wrap {
  background: var(--accent);
  color: var(--white);
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .why-choose-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Client Logos Strip (Marquee Scrolling) */
.client-logos {
  padding: 4rem 0;
  background: var(--light-bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}

.client-logos::before,
.client-logos::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 150px;
  z-index: 2;
  pointer-events: none;
}

.client-logos::before {
  left: 0;
  background: linear-gradient(to right, var(--light-bg), transparent);
}

.client-logos::after {
  right: 0;
  background: linear-gradient(to left, var(--light-bg), transparent);
}

.logos-slider {
  display: flex;
  width: calc(250px * 16);
  animation: scrollMarquee 25s linear infinite;
}

.logos-slider:hover {
  animation-play-state: paused;
}

.logo-item {
  width: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
  filter: grayscale(1);
  opacity: 0.6;
  transition: var(--transition);
}

.logo-item:hover {
  filter: grayscale(0);
  opacity: 1;
}

.logo-placeholder-box {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 1.25rem 2rem;
  border-radius: var(--radius);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: #7a8b9e;
  font-size: 1.05rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

@keyframes scrollMarquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-250px * 8));
  }
}

/* Testimonials */
.testimonials-section {
  background: var(--white);
}

.testimonial-card {
  background: var(--light-bg);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-card .stars {
  color: var(--cta);
  margin-bottom: 1.25rem;
  font-size: 1.1rem;
}

.testimonial-card p {
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.testimonial-card .client-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-card .client-meta h4 {
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.testimonial-card .client-meta span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* News / Blog cards */
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.blog-card .thumbnail {
  height: 200px;
  background-size: cover;
  background-position: center;
  background-color: var(--light-bg);
  position: relative;
}

.blog-card .blog-body {
  padding: 1.75rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.blog-card .date {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  display: block;
}

.blog-card h3 {
  font-size: 1.25rem;
  line-height: 1.35;
  margin-bottom: 1rem;
}

.blog-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.blog-card .read-more {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent);
}

/* Call to action banners */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: var(--white);
  text-align: center;
  padding: 4.5rem 1.5rem;
}

.cta-banner h2,
.cta-banner h3 {
  color: var(--white);
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.cta-banner p {
  color: #c0cbd6;
  font-size: 1.15rem;
  max-width: 650px;
  margin: 0 auto 2rem;
}

/* Service Card List Styles */
.service-card .fa,
.service-card .fas,
.service-card .far {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
  display: inline-block;
}

.service-card:hover .fa,
.service-card:hover .fas,
.service-card:hover .far {
  color: var(--cta);
}

/* Process Section */
.process-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  gap: 2rem;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--border);
  z-index: 1;
}

.process-steps .step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 2;
}

.process-steps .circle {
  width: 80px;
  height: 80px;
  background: var(--white);
  border: 4px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 auto 1.5rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.process-steps .step:hover .circle {
  background: var(--accent);
  color: var(--white);
  transform: scale(1.08);
}

.process-steps h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.process-steps p {
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 200px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .process-steps {
    flex-direction: column;
    gap: 2.5rem;
  }

  .process-steps::before {
    display: none;
  }

  .process-steps p {
    max-width: 100%;
  }
}

/* Industry icon grids */
.industry-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.industry-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.industry-card i {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.industry-card p {
  font-weight: 600;
  color: var(--primary);
  font-size: 1.05rem;
}

/* About timeline */
.timeline-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline-container::after {
  content: '';
  position: absolute;
  width: 4px;
  background: var(--border);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  right: -10px;
  background-color: var(--white);
  border: 4px solid var(--accent);
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

.timeline-item.left {
  left: 0;
}

.timeline-item.right {
  left: 50%;
}

.timeline-item.right::after {
  left: -10px;
}

.timeline-item .content {
  padding: 1.5rem;
  background-color: var(--light-bg);
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.timeline-item .content h4 {
  color: var(--accent);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .timeline-container::after {
    left: 31px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

  .timeline-item::after {
    left: 21px;
  }

  .timeline-item.right {
    left: 0;
  }
}

/* Team Section */
.team-card {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.5rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.team-card img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.5rem;
  border: 4px solid var(--light-bg);
}

.team-card h4 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.team-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.team-card .social {
  color: var(--accent);
  font-size: 1.25rem;
}

.team-card .social:hover {
  color: var(--cta);
}

/* Certifications Scroll */
.scroll-horizontal {
  display: flex;
  overflow-x: auto;
  gap: 2.5rem;
  padding: 1rem 0;
  scrollbar-width: thin;
}

.scroll-horizontal::-webkit-scrollbar {
  height: 6px;
}

.scroll-horizontal .badge {
  flex: 0 0 160px;
  height: 100px;
  background: var(--white);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.scroll-horizontal .badge img {
  max-width: 80%;
  max-height: 80%;
  filter: grayscale(1);
  opacity: 0.7;
  transition: var(--transition);
}

.scroll-horizontal .badge:hover img {
  filter: grayscale(0);
  opacity: 1;
}

/* Product list items */
.card .cta-btn,
.spec-table .cta-btn,
.cctv-gallery .overlay,
.btn-primary {
  /* custom buttons */
}

/* Specs Table */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  overflow: hidden;
}

.spec-table th,
.spec-table td {
  padding: 1rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.spec-table th {
  background-color: var(--primary);
  color: var(--white);
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
}

.spec-table tr:last-child td {
  border-bottom: none;
}

.spec-table tr:nth-child(even) {
  background-color: var(--light-bg);
}

.spec-table tr:hover {
  background-color: rgba(21, 101, 192, 0.05);
}

@media (max-width: 768px) {
  .spec-table {
    display: block;
    overflow-x: auto;
  }
}

/* Download brochure banner */
.download-cta {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

/* Tabs: Biometrics page & VAPT page */
.tab-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  border-bottom: 2px solid var(--border);
  padding-bottom: 1rem;
}

.tab-btn {
  background: var(--light-bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn.active,
.tab-btn:hover {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.tab-panels,
.tab-content-wrapper {
  margin-top: 2rem;
}

.tab-panel,
.tab-content {
  display: none;
  animation: fadeIn 0.4s ease;
}

.tab-panel.active {
  display: block;
}

/* VAPT custom layout for tab content */
.tab-content {
  display: none;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.tab-content.active {
  display: block;
}

.tab-content h2,
.tab-content h3 {
  margin-bottom: 1rem;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Accordions (FAQs) */
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  position: relative;
  user-select: none;
  transition: var(--transition);
  font-family: 'Poppins', sans-serif;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--accent);
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 1.5rem;
}

.faq-answer p {
  padding-bottom: 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.faq-item.active {
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(21, 101, 192, 0.05);
}

.faq-item.active .faq-question {
  color: var(--accent);
  background: rgba(21, 101, 192, 0.02);
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
  content: '+';
}

.faq-item.active .faq-answer {
  max-height: 300px;
  /* Will animate fine since max-height is safe cap */
}

/* Forms styling */
form {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group input[type="date"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  outline: none;
  background-color: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.15);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #dc3545;
  background-color: #fff8f8;
}

.form-group .error-msg {
  color: #dc3545;
  font-size: 0.8rem;
  font-weight: 500;
  margin-top: 0.35rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 576px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.success-msg {
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow);
  animation: fadeIn 0.4s ease;
}

.success-msg i {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.success-msg h3 {
  color: #155724;
  margin-bottom: 0.5rem;
}

/* Contact page specific layouts */
.contact-layout {
  display: grid;
  grid-template-columns: 6fr 4fr;
  gap: 3rem;
}

@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.contact-info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.contact-info-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.contact-info-card .info-icon {
  width: 65px;
  height: 65px;
  background: rgba(21, 101, 192, 0.08);
  color: var(--accent);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.contact-info-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.contact-info-card p,
.contact-info-card a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-info-card a:hover {
  color: var(--accent);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .contact-info-grid {
    grid-template-columns: 1fr;
  }
}

/* Map placeholder */
.map-placeholder {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 100%;
  min-height: 350px;
}

.map-embed {
  background: #e2e8f0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #64748b;
  padding: 2rem;
}

.map-embed i {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

/* Branch offices cards */
.branches-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.branch-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  box-shadow: var(--shadow);
}

.branch-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.branch-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.branch-card a.btn {
  margin-top: 1rem;
}

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

/* Social links and hours section */
.social-links-large {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-link {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 1rem;
  border-radius: var(--radius);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--primary);
  box-shadow: var(--shadow);
}

.social-link:hover {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.hours-table {
  width: 100%;
  margin-top: 1.5rem;
}

.hours-table td {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.hours-table tr:last-child td {
  border-bottom: none;
}

.hours-table td:first-child {
  font-weight: 600;
  color: var(--primary);
}

.hours-table td:last-child {
  text-align: right;
  color: var(--text-muted);
}

/* Careers benefit and jobs grids */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.benefit-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.benefit-icon {
  width: 70px;
  height: 70px;
  background: rgba(21, 101, 192, 0.08);
  color: var(--accent);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
}

.benefit-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.benefit-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

@media (max-width: 992px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* Job opening cards */
.jobs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.job-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.job-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.job-header h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-right: 1rem;
}

.dept-badge {
  background-color: rgba(21, 101, 192, 0.1);
  color: var(--accent);
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.job-meta {
  display: flex;
  gap: 1.5rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.job-meta span i {
  color: var(--accent);
  margin-right: 0.25rem;
}

.job-preview {
  margin-bottom: 2rem;
  list-style: none;
}

.job-preview li {
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.25rem;
}

.job-preview li::before {
  content: '•';
  color: var(--accent);
  font-weight: bold;
  position: absolute;
  left: 0;
  font-size: 1.25rem;
  line-height: 1;
}

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

/* VAPT VA vs PT styling */
.vapt-comparison {
  background: var(--light-bg);
  padding: 2.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.vapt-comparison h3 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.vapt-comparison .box {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius);
  border-top: 4px solid var(--accent);
}

.vapt-comparison .box h4 {
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
}

.vapt-comparison .box ul {
  list-style-type: none;
}

.vapt-comparison .box ul li {
  font-size: 0.875rem;
  margin-bottom: 0.4rem;
  padding-left: 1rem;
  position: relative;
}

.vapt-comparison .box ul li::before {
  content: '▪';
  color: var(--accent);
  position: absolute;
  left: 0;
}

/* VAPT badges & tools */
.trust-badges {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.trust-badges .badge {
  background-color: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--white);
}

.badge-grid,
.tool-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.badge-grid .badge,
.tool-grid .tool {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  color: var(--primary);
  box-shadow: var(--shadow);
  font-size: 0.95rem;
}

.tool-grid .tool {
  background-color: var(--light-bg);
  border-left: 3px solid var(--accent);
}

/* CCTV packages layout */
.package {
  text-align: center;
}

.package h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--accent);
}

.package p {
  font-size: 1.05rem;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

/* Integration diagram items */
.integration-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.integration-item {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-top: 4px solid var(--accent);
  padding: 1.5rem 2.5rem;
  border-radius: var(--radius);
  font-weight: 700;
  color: var(--primary);
  text-align: center;
  box-shadow: var(--shadow);
  flex: 1 1 180px;
  position: relative;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: #25d366;
  color: var(--white);
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 999;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.whatsapp-float:hover {
  background-color: #20ba5a;
  color: var(--white);
  transform: scale(1.1);
}

/* Footer Section */
/* Footer Section */
.footer-cta-strip {
  background: linear-gradient(135deg, #2563EB, #10B981);
  padding: 3.5rem 0;
  position: relative;
  z-index: 10;
  overflow: hidden;
}

.footer-cta-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

@media screen and (max-width: 768px) {
  .footer-cta-container {
    flex-direction: column;
    text-align: center;
  }
}

.footer-cta-content h3 {
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.footer-cta-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  margin-bottom: 0;
}

.footer-cta-actions {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

@media screen and (max-width: 480px) {
  .footer-cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .footer-cta-actions .btn {
    width: 100%;
    text-align: center;
  }
}

/* Custom buttons for CTA Strip */
.btn-dark-filled {
  background: #0F172A;
  color: var(--white) !important;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  border: 1px solid #0F172A;
  transition: var(--transition);
}

.btn-dark-filled:hover {
  background: #1E293B;
  border-color: #1E293B;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.btn-glass-outline {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white) !important;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition);
}

.btn-glass-outline:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.site-footer {
  background-color: #0F172A;
  color: #F8FAFC;
  padding: 5rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

/* Gradient accent line at the absolute top of the footer */
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
  z-index: 2;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr 0.95fr 0.95fr;
  gap: 3.5rem;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 4rem;
}

.footer-col h2.footer-logo {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.footer-description {
  color: #94A3B8;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-col h3 {
  color: #F8FAFC;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
  letter-spacing: -0.2px;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 25px;
  height: 2px;
  background-color: #10B981;
  /* Accent color: Teal */
}

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

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col a {
  color: #94A3B8;
  font-size: 0.9rem;
  transition: all 0.25s ease;
  display: inline-block;
  position: relative;
}

/* Animated links underline */
.footer-col a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: #22D3EE;
  /* Hover color */
  transition: width 0.25s ease;
}

.footer-col a:hover {
  color: #22D3EE;
}

.footer-col a:hover::after {
  width: 100%;
}

.footer-col p {
  color: #CBD5E1;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-col p svg,
.footer-col p i {
  color: #10B981;
  /* Accent color for contact icons */
  flex-shrink: 0;
}

/* Bottom Copyright offset bar */
.footer-bottom-bar {
  background-color: #090e1a;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-bottom-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-bottom-container p {
  color: #64748B;
  font-size: 0.85rem;
  margin-bottom: 0;
}

.footer-legal-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin-bottom: 0;
}

.footer-legal-links a {
  color: #64748B;
  font-size: 0.85rem;
  transition: color 0.2s ease;
}

.footer-legal-links a:hover {
  color: #22D3EE;
}

@media (max-width: 992px) {
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

@media (max-width: 576px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-bottom-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }
}

/* Fade In animations (Intersection Observer) */
.fade-in {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.2s ease-out, transform 0.2s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Feature List (idcard.html) */
.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  list-style: none;
  margin-top: 2rem;
}

.feature-list li {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  color: var(--primary);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.feature-list li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 900;
  font-size: 1.2rem;
}

/* Icon List (cctv.html) */
.icon-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  list-style: none;
  margin-top: 2rem;
}

.icon-list li {
  background: var(--light-bg);
  border-left: 4px solid var(--accent);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-weight: 600;
  color: var(--primary);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Mockup Console Dashboard (cctv.html) */
.mockup {
  background: #0f172a;
  color: #38bdf8;
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  font-family: 'Courier New', Courier, monospace;
  max-width: 500px;
  margin: 2rem auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow-x: auto;
}

.mockup pre {
  margin: 0;
  white-space: pre;
}

/* Process Strip (vapt.html) */
.process-strip {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
}

.process-strip .step {
  flex: 1 1 150px;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 1.5rem 1rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
  font-weight: 600;
  color: var(--primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  transition: var(--transition);
}

.process-strip .step:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}

.process-strip .num {
  width: 36px;
  height: 36px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
}

/* Floating Enquiry Button */
.enquiry-float {
  position: fixed;
  bottom: 95px;
  /* Offset above smaller WhatsApp float */
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--accent);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  z-index: 999;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.enquiry-float:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: scale(1.1);
}

/* Featured Service Blocks */
.featured-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 3rem;
}

.featured-block {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.featured-block.prominent {
  border: 3px solid var(--primary);
  background-color: rgba(15, 76, 129, 0.02);
  box-shadow: var(--shadow-lg);
}

.featured-block h3 {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--border);
  padding-bottom: 0.75rem;
}

.featured-block.prominent h3 {
  border-bottom-color: var(--primary);
}

.featured-block ul {
  list-style-type: none;
  margin-bottom: 2rem;
}

.featured-block ul li {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.featured-block ul li::before {
  content: '✓';
  color: var(--accent);
  font-weight: bold;
}

.featured-block.prominent ul li::before {
  color: var(--primary);
}

@media (max-width: 768px) {
  .featured-blocks {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Index Hero Styles */
.index-hero {
  position: relative;
  background: radial-gradient(circle at top right, rgba(20, 184, 166, 0.08), transparent 40%), radial-gradient(circle at bottom left, rgba(37, 99, 235, 0.05), transparent 50%), #FAFBFC;
  padding: 10rem 0 8rem;
  display: flex;
  align-items: center;
  overflow: hidden;
  z-index: 1;
}

.index-hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.index-hero-content {
  text-align: left;
}

.index-hero-brand-group {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  margin-bottom: 1.75rem;
}

.index-hero-brand-logo {
  height: 90px;
  width: 90px;
  object-fit: contain;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.18);
  border: 1px solid rgba(37, 99, 235, 0.15);
}

.index-hero-brand-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 0.95;
}

.index-hero-brand-nxt {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: 3.2rem;
  letter-spacing: -2px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.index-hero-brand-solutions {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.58rem;
  color: #64748B;
  letter-spacing: 5px;
  text-transform: uppercase;
  margin-top: 4px;
}

.index-hero-subtitle {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--text);
  margin-bottom: 1.25rem;
  line-height: 1.25;
}

.index-hero-text {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 2.5rem;
}

.index-hero-cta {
  display: flex;
  gap: 1.25rem;
}

.index-hero-illustration {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.index-hero-illustration svg {
  width: 100%;
  max-width: 480px;
  height: auto;
  filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.06));
}

/* Subtle text highlight capsule */
.text-highlight {
  background: rgba(37, 99, 235, 0.08);
  padding: 0.15rem 0.6rem;
  border-radius: 6px;
  color: var(--primary);
  font-weight: 700;
}

/* Floating blobs */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  z-index: 0;
  opacity: 0.35;
  animation: float-blob 22s infinite alternate ease-in-out;
}

.blob-1 {
  width: 350px;
  height: 350px;
  background: var(--primary);
  top: -50px;
  right: -50px;
}

.blob-2 {
  width: 450px;
  height: 450px;
  background: var(--secondary);
  bottom: -150px;
  left: -100px;
  animation-delay: -5s;
}

@keyframes float-blob {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(60px, -80px) scale(1.15);
  }

  100% {
    transform: translate(-30px, 30px) scale(0.9);
  }
}

/* Floating Service Badges */
.floating-badge {
  position: absolute;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
  z-index: 5;
  animation: float-badge 16s infinite ease-in-out;
}

.floating-badge i,
.floating-badge svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.badge-1 {
  top: 10%;
  left: -20px;
  animation-delay: 0s;
}

.badge-2 {
  bottom: 25%;
  right: -25px;
  animation-delay: -2s;
}

.badge-2 i,
.badge-2 svg {
  color: var(--secondary);
}

.badge-3 {
  bottom: 12%;
  left: 20%;
  animation-delay: -4s;
}

.badge-4 {
  top: 50%;
  right: -30px;
  animation-delay: -3s;
}

.badge-4 i,
.badge-4 svg {
  color: var(--primary);
}

.badge-5 {
  bottom: 10%;
  left: -25px;
  animation-delay: -5s;
}

.badge-5 i,
.badge-5 svg {
  color: var(--secondary);
}

@keyframes float-badge {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-15px) rotate(8deg);
  }
}

@media (max-width: 992px) {
  .index-hero {
    padding: 8rem 0 5rem;
  }

  .index-hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .index-hero-content {
    text-align: center;
  }

  .index-hero-brand-group {
    flex-direction: column;
    align-items: center !important;
    justify-content: center;
    gap: 15px;
    margin-bottom: 1.5rem;
  }

  .index-hero-brand-text {
    align-items: center;
  }

  .index-hero-brand-nxt {
    font-size: 2.8rem;
    letter-spacing: -1.5px;
  }

  .index-hero-brand-solutions {
    font-size: 1.35rem;
    letter-spacing: 4px;
    margin-right: -4px;
  }

  .index-hero-subtitle {
    font-size: 1.35rem;
  }

  .index-hero-cta {
    justify-content: center;
    flex-wrap: wrap;
  }

  .floating-badge {
    width: 50px;
    height: 50px;
  }

  .floating-badge i,
  .floating-badge svg {
    width: 20px;
    height: 20px;
  }

  .badge-1 {
    left: 10px;
  }

  .badge-2 {
    right: 10px;
  }
}

/* Redesigned Sub Page Hero */
.hero--sub {
  background: radial-gradient(circle at top right, rgba(20, 184, 166, 0.05), transparent 45%), #FAFBFC !important;
  height: 35vh !important;
  min-height: 220px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--text) !important;
  border-bottom: 1px solid var(--border) !important;
  position: relative !important;
  text-align: center !important;
  padding: 0 !important;
}

.hero--sub .hero-overlay,
.hero--sub::after {
  display: none !important;
}

.hero--sub .hero-content {
  color: var(--text) !important;
  position: relative !important;
  z-index: 2 !important;
}

.hero--sub .hero-title {
  color: var(--primary) !important;
  font-family: 'Poppins', sans-serif !important;
  font-weight: 900 !important;
  font-size: 2.75rem !important;
  text-shadow: none !important;
  margin-bottom: 0.5rem !important;
  letter-spacing: -1px;
}

.hero--sub .hero-subtitle {
  color: var(--text-muted) !important;
  font-size: 1.1rem !important;
  text-shadow: none !important;
  margin-bottom: 1rem !important;
  font-weight: 500 !important;
}

.hero--sub .breadcrumb {
  margin-top: 0.75rem !important;
  font-size: 0.85rem !important;
  color: var(--text-muted) !important;
}

.hero--sub .breadcrumb a {
  color: var(--primary) !important;
  font-weight: 600;
}

.hero--sub .breadcrumb span {
  color: var(--text-muted) !important;
}

/* Service Hub Clickable Card */
.service-hub-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--glass-shadow);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  text-align: left;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  z-index: 1;
}

.service-hub-card:hover {
  transform: translateY(-5px);
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.08);
}

.service-hub-card .card-icon {
  width: 50px;
  height: 50px;
  background: rgba(37, 99, 235, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.service-hub-card:hover .card-icon {
  background: var(--primary);
  color: var(--white);
}

.service-hub-card h3 {
  font-size: 1.35rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.service-hub-card h3 i,
.service-hub-card h3 svg {
  font-size: 1.15rem;
  color: var(--text-muted);
  transition: transform 0.25s ease, color 0.25s ease;
}

.service-hub-card:hover h3 i,
.service-hub-card:hover h3 svg {
  transform: translateX(5px);
  color: var(--primary);
}

.service-hub-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 0;
}

/* Vertical Timeline styling */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 4rem auto 0;
  padding: 0 1rem;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 4px;
  background-color: var(--border);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
}

.timeline-container {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}

.timeline-container::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  right: -10px;
  background-color: var(--white);
  border: 4px solid var(--secondary);
  top: 25px;
  border-radius: 50%;
  z-index: 2;
}

.left-timeline {
  left: 0;
}

.right-timeline {
  left: 50%;
}

.right-timeline::after {
  left: -10px;
}

.timeline-content {
  padding: 2rem;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  position: relative;
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
}

.timeline-content h3 {
  margin-bottom: 0.5rem;
  color: var(--primary);
  font-size: 1.35rem;
}

.timeline-content .date {
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.75rem;
  display: block;
}

@media screen and (max-width: 768px) {
  .timeline::after {
    left: 31px;
  }

  .timeline-container {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

  .timeline-container::after {
    left: 21px;
  }

  .right-timeline {
    left: 0%;
  }
}

/* Upgraded Page Animations */
.reveal-title {
  animation: reveal-title-anim 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
  transform: translateY(30px);
}

@keyframes reveal-title-anim {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal-card {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-card:nth-child(1) {
  transition-delay: 0.1s;
}

.reveal-card:nth-child(2) {
  transition-delay: 0.2s;
}

.reveal-card:nth-child(3) {
  transition-delay: 0.3s;
}

.reveal-card:nth-child(4) {
  transition-delay: 0.4s;
}

.reveal-card:nth-child(5) {
  transition-delay: 0.5s;
}

.reveal-card:nth-child(6) {
  transition-delay: 0.6s;
}

/* Three.js Canvas Container Layout */
#hero-canvas-container {
  width: 100%;
  height: 480px;
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
}

#hero-canvas {
  width: 100% !important;
  height: 100% !important;
  outline: none;
  pointer-events: auto;
}

/* About Page Premium Overhaul Styles */
.about-hero-section {
  position: relative;
  background: linear-gradient(135deg, #EFF6FF, #F8FAFC);
  padding: 6rem 0;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.about-hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

@media screen and (max-width: 992px) {
  .about-hero-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
}

.about-hero-content h1 {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: 3.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
  letter-spacing: -1.5px;
  line-height: 1.15;
}

.about-hero-content .subtitle-badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(37, 99, 235, 0.15);
}

.about-hero-content p {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2rem;
}

/* Glassmorphism Card style */
.glass-card {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  transition: all 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.glass-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border-color: rgba(37, 99, 235, 0.25);
}

/* Gradients for special glass cards */
.glass-card.card-primary-glow::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  z-index: 2;
}

.glass-card.card-secondary-glow::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  z-index: 2;
}

/* Floating Blobs & Particle Canvas */
.about-hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.floating-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.15;
  animation: float-shape 24s infinite alternate ease-in-out;
  pointer-events: none;
}

.shape-1 {
  width: 300px;
  height: 300px;
  background: var(--primary);
  top: -50px;
  right: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 250px;
  height: 250px;
  background: var(--secondary);
  bottom: -50px;
  left: 5%;
  animation-delay: 3s;
}

@keyframes float-shape {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(30px, -20px) scale(1.15);
  }
}

/* Company Overview 2-column layout */
.overview-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

@media screen and (max-width: 992px) {
  .overview-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.overview-text h2 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
}

.overview-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.overview-text .date-highlight {
  color: var(--primary);
  font-weight: 700;
  border-bottom: 2px dashed rgba(37, 99, 235, 0.3);
  padding-bottom: 2px;
}

/* Feature/Check cards styling */
.check-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.75rem;
  background: rgba(255, 255, 255, 0.65) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.55) !important;
  border-radius: 16px !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.03), inset 0 1px 0 rgba(255, 255, 255, 0.7) !important;
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease !important;
}

.check-card:hover {
  transform: translateY(-10px) !important;
  border-color: rgba(37, 99, 235, 0.35) !important;
  box-shadow: 0 25px 50px rgba(37, 99, 235, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
}

.check-card-icon {
  width: 32px;
  height: 32px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: bold;
  font-size: 0.95rem;
}

.check-card-content h4 {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 0.35rem;
  font-weight: 700;
}

.check-card-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0;
}

/* Grid helper for values */
.grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

@media screen and (max-width: 1200px) {
  .grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-5> :last-child {
    grid-column: span 2;
  }
}

@media screen and (max-width: 480px) {
  .grid-5 {
    grid-template-columns: 1fr;
  }

  .grid-5> :last-child {
    grid-column: span 1;
  }
}

/* Icon rotation and scaling on hover for premium cards */
.premium-card-icon {
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-block;
}

.glass-card:hover .premium-card-icon {
  transform: scale(1.18) rotate(6deg);
}

/* Specific glows for themed cards to match their styling color */
.glass-card.glow-primary:hover {
  border-color: rgba(37, 99, 235, 0.45) !important;
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15), 0 0 20px rgba(37, 99, 235, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
}

.glass-card.glow-primary:hover .premium-card-icon {
  color: var(--primary) !important;
  filter: drop-shadow(0 0 8px rgba(37, 99, 235, 0.5));
}

.glass-card.glow-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: var(--radius-lg);
  background: radial-gradient(280px circle at var(--mouse-x, 0px) var(--mouse-y, 0px), rgba(37, 99, 235, 0.08), transparent 75%);
  pointer-events: none;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.5s ease;
}

.glass-card.glow-primary:hover::after {
  opacity: 1;
}

.glass-card.glow-secondary:hover {
  border-color: rgba(20, 184, 166, 0.45) !important;
  box-shadow: 0 20px 40px rgba(20, 184, 166, 0.15), 0 0 20px rgba(20, 184, 166, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
}

.glass-card.glow-secondary:hover .premium-card-icon {
  color: var(--secondary) !important;
  filter: drop-shadow(0 0 8px rgba(20, 184, 166, 0.5));
}

.glass-card.glow-secondary::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: var(--radius-lg);
  background: radial-gradient(280px circle at var(--mouse-x, 0px) var(--mouse-y, 0px), rgba(20, 184, 166, 0.08), transparent 75%);
  pointer-events: none;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.5s ease;
}

.glass-card.glow-secondary:hover::after {
  opacity: 1;
}

.glass-card.glow-accent:hover {
  border-color: rgba(245, 158, 11, 0.45) !important;
  box-shadow: 0 20px 40px rgba(245, 158, 11, 0.15), 0 0 20px rgba(245, 158, 11, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
}

.glass-card.glow-accent:hover .premium-card-icon {
  color: var(--accent) !important;
  filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.5));
}

.glass-card.glow-accent::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: var(--radius-lg);
  background: radial-gradient(280px circle at var(--mouse-x, 0px) var(--mouse-y, 0px), rgba(245, 158, 11, 0.08), transparent 75%);
  pointer-events: none;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.5s ease;
}

.glass-card.glow-accent:hover::after {
  opacity: 1;
}

/* Arrow slide and color transition */
.glass-card:hover h3 [data-lucide="arrow-right"],
.glass-card:hover h3 .lucide-arrow-right {
  transform: translateX(6px);
}

.glass-card.glow-primary:hover h3 [data-lucide="arrow-right"],
.glass-card.glow-primary:hover h3 .lucide-arrow-right {
  color: var(--primary) !important;
}

.glass-card.glow-secondary:hover h3 [data-lucide="arrow-right"],
.glass-card.glow-secondary:hover h3 .lucide-arrow-right {
  color: var(--secondary) !important;
}

.glass-card.glow-accent:hover h3 [data-lucide="arrow-right"],
.glass-card.glow-accent:hover h3 .lucide-arrow-right {
  color: var(--accent) !important;
}

/* Constellation Canvas & Layout */
#bg-network-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  opacity: 0.65;
}

/* 3D tilt and glow effect styles */
.tilt-card {
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.65s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  transform-style: preserve-3d;
  perspective: 1000px;
}

.tilt-card:hover {
  border-color: rgba(37, 99, 235, 0.25);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.tilt-card-inner {
  transform: translateZ(30px);
}

/* CCTV Rotating & Light Scan Cone Animation */
@keyframes cctv-rotate {
  0% {
    transform: rotate(0deg);
  }

  50% {
    transform: rotate(12deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

.icon-cctv-animate {
  animation: cctv-rotate 10s ease-in-out infinite;
  position: relative;
}

.icon-cctv-animate::after {
  content: '';
  position: absolute;
  top: 60%;
  left: -15px;
  width: 60px;
  height: 50px;
  background: radial-gradient(ellipse at top, rgba(37, 99, 235, 0.12) 0%, rgba(37, 99, 235, 0) 80%);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  transform-origin: top center;
  animation: cctv-cone-sweep 10s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}

@keyframes cctv-cone-sweep {

  0%,
  100% {
    transform: rotate(-12deg) scaleX(0.9);
    opacity: 0.5;
  }

  50% {
    transform: rotate(12deg) scaleX(1.1);
    opacity: 0.9;
  }
}

/* Fingerprint Breathing Pulse */
@keyframes fingerprint-pulse {
  0% {
    transform: scale(1);
    opacity: 1;
    filter: drop-shadow(0 0 0px rgba(245, 158, 11, 0));
  }

  50% {
    transform: scale(1.05);
    opacity: 0.85;
    filter: drop-shadow(0 0 4px rgba(245, 158, 11, 0.25));
  }

  100% {
    transform: scale(1);
    opacity: 1;
    filter: drop-shadow(0 0 0px rgba(245, 158, 11, 0));
  }
}

.icon-fingerprint-animate {
  animation: fingerprint-pulse 5s ease-in-out infinite;
}

/* VAPT Shield Radar Pulses */
@keyframes shield-glow {

  0%,
  100% {
    filter: drop-shadow(0 0 0px rgba(20, 184, 166, 0));
  }

  50% {
    filter: drop-shadow(0 0 8px rgba(20, 184, 166, 0.4));
  }
}

.icon-shield-animate {
  position: relative;
  animation: shield-glow 6s ease-in-out infinite;
}

.icon-shield-animate::before,
.icon-shield-animate::after {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border: 1.5px solid rgba(20, 184, 166, 0.4);
  border-radius: 50%;
  opacity: 0;
  animation: shield-radar 6s cubic-bezier(0.16, 1, 0.3, 1) infinite;
  pointer-events: none;
}

.icon-shield-animate::after {
  animation-delay: 3s;
}

@keyframes shield-radar {
  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }

  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

/* Access Cards RFID Waves */
.icon-rfid-animate {
  position: relative;
}

.icon-rfid-animate::before,
.icon-rfid-animate::after {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border: 1.5px solid rgba(20, 184, 166, 0.4);
  border-radius: 50%;
  opacity: 0;
  animation: rfid-pulse 6s cubic-bezier(0.16, 1, 0.3, 1) infinite;
  pointer-events: none;
}

.icon-rfid-animate::after {
  animation-delay: 3s;
}

@keyframes rfid-pulse {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }

  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* ID Cards Scan Container */
.id-scan-container {
  position: relative;
  overflow: hidden;
}

.scan-line-overlay {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--secondary);
  box-shadow: 0 0 8px var(--secondary);
  animation: scan-line-move 6s linear infinite;
  pointer-events: none;
  z-index: 2;
}

@keyframes scan-line-move {

  0%,
  100% {
    top: 0%;
    opacity: 0.3;
  }

  50% {
    top: 100%;
    opacity: 0.8;
  }
}

/* E-Sevai Digital Document Float */
.icon-esevai-animate {
  position: relative;
}

.icon-esevai-animate::before {
  content: '📄';
  position: absolute;
  font-size: 0.95rem;
  right: -10px;
  top: -5px;
  opacity: 0.75;
  animation: doc-float 6s ease-in-out infinite;
}

@keyframes doc-float {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.4;
  }

  50% {
    transform: translateY(-6px) rotate(15deg);
    opacity: 0.95;
  }
}

/* General Float Animations slowed down */
@keyframes card-float-motion {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }

  100% {
    transform: translateY(0);
  }
}

.icon-float-animate {
  animation: card-float-motion 14s ease-in-out infinite;
  /* slowed from 3.5s */
}

/* Animated Process Section */
.process-flow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  margin: 3.5rem auto 0;
  max-width: 1000px;
  position: relative;
}

@media screen and (max-width: 992px) {
  .process-flow {
    flex-direction: column;
    gap: 3rem;
  }
}

.process-step {
  flex: 1;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.process-step:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.process-step-num {
  width: 32px;
  height: 32px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.3);
}

.process-step h4 {
  color: var(--text);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.process-step p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 0;
}

/* Process connector SVGs */
.process-connector {
  position: absolute;
  width: 100%;
  top: 50%;
  left: 0;
  height: 4px;
  z-index: 1;
  pointer-events: none;
}

@media screen and (max-width: 992px) {
  .process-connector {
    display: none;
  }
}

.process-line-active {
  stroke: var(--secondary);
  stroke-width: 2;
  stroke-dasharray: 6, 6;
  animation: dash-animation 20s linear infinite;
}

@keyframes dash-animation {
  to {
    stroke-dashoffset: -200;
  }
}

/* Gradient Flow keyframe animation for CTA */
.gradient-flow-animate {
  background: linear-gradient(135deg, #2563EB, #10B981, #2563EB) !important;
  background-size: 200% 200% !important;
  animation: gradient-flow 20s ease infinite !important;
}

@keyframes gradient-flow {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* CTA Floating badges */
.cta-floating-badge {
  position: absolute;
  opacity: 0.15;
  color: var(--white);
  pointer-events: none;
  animation: cta-badge-float 16s ease-in-out infinite alternate;
}

@keyframes cta-badge-float {
  0% {
    transform: translateY(0) rotate(0deg);
  }

  100% {
    transform: translateY(-15px) rotate(10deg);
  }
}

/* Gradient border glassmorphic card */
.gradient-border-card {
  position: relative;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 2.5rem 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: all 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.gradient-border-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border-radius: var(--radius-lg);
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.25), rgba(20, 184, 166, 0.1), rgba(245, 158, 11, 0.25));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: -1;
  transition: opacity 0.65s ease;
}

.gradient-border-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.06);
  border-color: transparent;
}

.gradient-border-card:hover::before {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.6), rgba(20, 184, 166, 0.3), rgba(245, 158, 11, 0.6));
}

/* Section transitions and dividers */
.section-divider {
  position: relative;
  width: 100%;
  line-height: 0;
  z-index: 2;
  margin-top: -1px;
  margin-bottom: -1px;
  background: transparent;
}

.section-divider svg {
  position: relative;
  display: block;
  width: 100%;
  height: 60px;
}

.section-divider.flipped {
  transform: rotate(180deg);
}

/* Background gradient orbs and decoration shapes */
.bg-gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.08;
  z-index: 0;
  pointer-events: none;
  animation: float-shape 20s infinite alternate ease-in-out;
}

.bg-tech-pattern {
  position: absolute;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
  animation: float-shape 24s infinite alternate ease-in-out;
}

/* Scroll Reveal animations */
.reveal-fade-up {
  opacity: 0 !important;
  transform: translateY(30px);
  transition: opacity 1.5s cubic-bezier(0.16, 1, 0.3, 1), transform 1.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.reveal-fade-up.visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.reveal-fade-left {
  opacity: 0 !important;
  transform: translateX(-40px);
  transition: opacity 1.5s cubic-bezier(0.16, 1, 0.3, 1), transform 1.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.reveal-fade-left.visible {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

.reveal-fade-right {
  opacity: 0 !important;
  transform: translateX(40px);
  transition: opacity 1.5s cubic-bezier(0.16, 1, 0.3, 1), transform 1.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.reveal-fade-right.visible {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

.reveal-scale-in {
  opacity: 0 !important;
  transform: scale(0.92);
  transition: opacity 1.5s cubic-bezier(0.16, 1, 0.3, 1), transform 1.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.reveal-scale-in.visible {
  opacity: 1 !important;
  transform: scale(1) !important;
}

/* Magnetic Button hover helper */
.btn-magnetic {
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1) !important;
  display: inline-block;
}

/* Process connector path animation */
@keyframes line-glow-pulse {

  0%,
  100% {
    stroke: var(--secondary);
    filter: drop-shadow(0 0 2px var(--secondary));
    opacity: 0.6;
  }

  50% {
    stroke: var(--accent);
    filter: drop-shadow(0 0 6px var(--accent));
    opacity: 0.95;
  }
}

.process-connector .process-line-active {
  stroke: var(--secondary);
  stroke-width: 4px;
  stroke-dasharray: 8 4;
  animation: dash-animation 20s linear infinite, line-glow-pulse 4s ease-in-out infinite !important;
}

@keyframes progress-pulse {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

/* SVG Interactive About Hero Animations */
.svg-connection-line line {
  stroke-dasharray: 8;
  animation: svg-dash-flow 25s linear infinite;
}

@keyframes svg-dash-flow {
  to {
    stroke-dashoffset: -100;
  }
}

.svg-center-pulse {
  transform-origin: 250px 225px;
  animation: svg-ring-pulse 4s ease-in-out infinite;
}

@keyframes svg-ring-pulse {

  0%,
  100% {
    transform: scale(0.92);
    opacity: 0.15;
  }

  50% {
    transform: scale(1.08);
    opacity: 0.35;
  }
}

/* Floating tech cards */
.svg-interactive-card {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
  cursor: pointer;
}

.svg-card-1 {
  transform-origin: 125px 115px;
  animation: svg-card-float-1 12s ease-in-out infinite;
}

.svg-card-2 {
  transform-origin: 375px 115px;
  animation: svg-card-float-2 14s ease-in-out infinite;
}

.svg-card-3 {
  transform-origin: 125px 315px;
  animation: svg-card-float-3 13s ease-in-out infinite;
}

.svg-card-4 {
  transform-origin: 375px 315px;
  animation: svg-card-float-4 15s ease-in-out infinite;
}

@keyframes svg-card-float-1 {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes svg-card-float-2 {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes svg-card-float-3 {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }
}

@keyframes svg-card-float-4 {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-9px);
  }
}

/* Hover effect: lift card and glow */
.svg-interactive-card:hover {
  animation-play-state: paused !important;
  transform: scale(1.06) translateY(-5px) !important;
  filter: drop-shadow(0 15px 25px rgba(37, 99, 235, 0.18)) !important;
}

/* About Page Premium Visual Enhancement Styles */
.about-premium-card {
  display: block !important;
  padding: 2.5rem 2rem !important;
  background: rgba(255, 255, 255, 0.65) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.55) !important;
  border-radius: 16px !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.03), inset 0 1px 0 rgba(255, 255, 255, 0.7) !important;
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease !important;
  position: relative !important;
  overflow: hidden !important;
  z-index: 1 !important;
  text-decoration: none !important;
  color: inherit !important;
}

.about-premium-card:hover {
  transform: translateY(-10px) !important;
  border-color: rgba(37, 99, 235, 0.35) !important;
  box-shadow: 0 25px 50px rgba(37, 99, 235, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
}

/* Staggered Animations Delays */
.delay-1 {
  animation-delay: 0.1s !important;
}

.delay-2 {
  animation-delay: 0.2s !important;
}

.delay-3 {
  animation-delay: 0.3s !important;
}

.delay-4 {
  animation-delay: 0.4s !important;
}

.delay-5 {
  animation-delay: 0.5s !important;
}

.delay-6 {
  animation-delay: 0.6s !important;
}

/* Custom Underlines for Section Titles */
.section-title-premium {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary);
  display: inline-block;
  position: relative;
  margin-bottom: 2rem;
  text-shadow: 0 0 30px rgba(37, 99, 235, 0.1);
}

.section-title-premium::after {
  content: '';
  display: block;
  width: 0;
  height: 4px;
  background: var(--primary);
  margin-top: 0.5rem;
  border-radius: 2px;
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-title-premium.visible::after {
  width: 60px !important;
}

.section-title-premium-center {
  text-align: center;
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary);
  display: inline-block;
  position: relative;
  margin-bottom: 2.5rem;
  text-shadow: 0 0 30px rgba(37, 99, 235, 0.1);
}

.section-title-premium-center::after {
  content: '';
  display: block;
  width: 0;
  height: 4px;
  background: var(--primary);
  margin: 0.5rem auto 0;
  border-radius: 2px;
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-title-premium-center.visible::after {
  width: 80px !important;
}

.watermark-bg-icon {
  position: absolute;
  pointer-events: none;
  opacity: 0.045 !important;
  color: var(--primary) !important;
  z-index: 0;
  transition: opacity 0.5s ease;
}

/* SVG pulse and line flow keyframes */
@keyframes dash-flow {
  to {
    stroke-dashoffset: -40;
  }
}

.svg-connection-line line {
  stroke-dasharray: 8 8;
  animation: dash-flow 25s linear infinite;
}

.svg-center-pulse {
  transform-origin: 250px 225px;
  animation: svg-pulse 4s ease-in-out infinite alternate;
}

@keyframes svg-pulse {
  0% {
    transform: scale(0.96);
    opacity: 0.15;
  }

  100% {
    transform: scale(1.05);
    opacity: 0.35;
  }
}

/* Services Page Redesign Theme & Layout Overrides */
.services-page-wrap {
  --primary-dark: #0F172A;
  --electric-blue: #2563EB;
  --neon-teal: #10B981;
  --cyan-glow: #06B6D4;
  --bg-light: #F8FAFC;
  --white: #FFFFFF;
}

/* Services Hero layout */
.services-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

@media screen and (max-width: 992px) {
  .services-hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
}

/* Services Category Switcher */
.services-switcher-bar {
  position: sticky;
  top: 70px;
  z-index: 100;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  padding: 0.85rem 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.01);
}

.services-page-wrap.dark-theme-active .services-switcher-bar {
  background: rgba(15, 23, 42, 0.8) !important;
  border-bottom-color: rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.switcher-container {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
}

.switcher-btn {
  padding: 0.65rem 1.75rem;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-muted);
  background: rgba(15, 23, 42, 0.03);
  border: 1px solid rgba(15, 23, 42, 0.06);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.switcher-btn:hover {
  color: var(--electric-blue);
  background: rgba(37, 99, 235, 0.04);
  border-color: rgba(37, 99, 235, 0.15);
}

.switcher-btn.active {
  color: var(--white) !important;
  background: var(--electric-blue) !important;
  border-color: var(--electric-blue) !important;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.28);
}

/* Technology & Security Solutions Section (Dominant Light) */
.services-tech-section {
  background: linear-gradient(135deg, #FFFFFF 0%, #EFF6FF 50%, #FFFFFF 100%) !important;
  color: var(--text) !important;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.services-tech-section .section-title-premium-center {
  color: var(--primary) !important;
  text-shadow: 0 0 40px rgba(37, 99, 235, 0.1) !important;
}

/* Light Glass Cards */
.tech-premium-card {
  background: rgba(255, 255, 255, 0.7) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(15, 23, 42, 0.05) !important;
  border-radius: 18px !important;
  padding: 2.75rem 2.25rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.02), inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.45s ease, box-shadow 0.45s ease !important;
  position: relative;
  overflow: hidden;
  display: block;
  text-decoration: none;
  color: inherit;
}

.tech-premium-card:hover {
  transform: translateY(-10px) !important;
  border-color: rgba(37, 99, 235, 0.3) !important;
  box-shadow: 0 25px 50px rgba(37, 99, 235, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

.tech-premium-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--electric-blue), var(--neon-teal));
  border-radius: 18px 18px 0 0;
  opacity: 0;
  transition: opacity 0.45s ease;
}

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

.tech-card-icon {
  width: 52px;
  height: 52px;
  background: rgba(37, 99, 235, 0.06);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--electric-blue);
  margin-bottom: 1.75rem;
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(37, 99, 235, 0.08);
}

.tech-premium-card:hover .tech-card-icon {
  background: rgba(37, 99, 235, 0.12);
  color: var(--electric-blue);
  transform: scale(1.12) rotate(5deg);
  border-color: rgba(37, 99, 235, 0.25);
  box-shadow: 0 0 15px rgba(37, 99, 235, 0.15);
}

.tech-premium-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text) !important;
  margin-bottom: 0.85rem;
}

.tech-premium-card p {
  font-size: 0.9rem;
  color: var(--text-muted) !important;
  line-height: 1.6;
}

/* E-Sevai & Citizen Services Section (Light Premium) */
.services-esevai-section {
  background: var(--bg-light);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.esevai-grid-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

@media screen and (max-width: 1200px) {
  .esevai-grid-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .esevai-grid-container {
    grid-template-columns: 1fr;
  }
}

.esevai-premium-card {
  background: rgba(255, 255, 255, 0.7) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(15, 23, 42, 0.05) !important;
  border-radius: 16px !important;
  padding: 2.25rem 1.75rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.015), inset 0 1px 0 rgba(255, 255, 255, 0.85) !important;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.45s ease, box-shadow 0.45s ease !important;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.esevai-premium-card:hover {
  transform: translateY(-8px) !important;
  border-color: rgba(37, 99, 235, 0.22) !important;
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

.esevai-card-icon {
  width: 46px;
  height: 46px;
  background: rgba(37, 99, 235, 0.05);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--electric-blue);
  margin-bottom: 1.25rem;
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(37, 99, 235, 0.08);
}

.esevai-premium-card:hover .esevai-card-icon {
  background: rgba(37, 99, 235, 0.1);
  color: var(--electric-blue);
  transform: scale(1.1);
  border-color: rgba(37, 99, 235, 0.25);
}

.esevai-premium-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.esevai-premium-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0;
}

/* Service Portal Styles */
.service-portal-card {
  background: rgba(255, 255, 255, 0.7) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(15, 23, 42, 0.06) !important;
  border-radius: 18px !important;
  padding: 2.25rem !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02), inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-portal-card:hover {
  transform: translateY(-5px);
  border-color: rgba(37, 99, 235, 0.25) !important;
  box-shadow: 0 20px 45px rgba(37, 99, 235, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

/* Left decorative accent line */
.service-portal-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.service-portal-card:hover::before {
  opacity: 1;
}

.service-portal-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text) !important;
  margin-bottom: 0.5rem;
}

.service-meta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
  margin-bottom: 1.25rem;
}

.service-meta-tag {
  background: rgba(37, 99, 235, 0.05);
  color: var(--primary);
  border: 1px solid rgba(37, 99, 235, 0.1);
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

.service-card-preview-list {
  list-style: none;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  padding-left: 0;
}

.service-card-preview-list li {
  font-size: 0.875rem;
  color: var(--text-muted);
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.4rem;
}

.service-card-preview-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: bold;
}

.service-expand-trigger {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.05);
  color: var(--primary);
  border: 1px solid rgba(37, 99, 235, 0.1);
  border-radius: 10px;
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  gap: 0.5rem;
}

.service-portal-card:hover .service-expand-trigger {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.service-expand-trigger i {
  transition: transform 0.3s ease;
}

.service-portal-card.active .service-expand-trigger i {
  transform: rotate(180deg);
}

/* Smooth Expandable Drawer Grid Transition */
.service-expanded-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  width: 100%;
}

.service-expanded-panel.open {
  grid-template-rows: 1fr;
}

.service-expanded-inner {
  min-height: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  padding: 0 1rem;
  border-radius: 16px;
  background: rgba(37, 99, 235, 0.02);
  border: 1px solid rgba(37, 99, 235, 0.05);
  margin-top: 1rem;
}

.service-expanded-panel.open .service-expanded-inner {
  opacity: 1;
  transform: translateY(0);
  padding: 2.25rem 2rem;
  margin-bottom: 2rem;
}

.expanded-details-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}

@media (max-width: 992px) {
  .expanded-details-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.detail-block {
  margin-bottom: 1.5rem;
}

.detail-block h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.detail-block p {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.7;
}

.detail-list {
  list-style: none;
  padding-left: 0;
}

.detail-list li {
  font-size: 0.9rem;
  color: var(--text-muted);
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
}

.detail-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: bold;
}

.partner-platforms-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #FFFFFF 0%, #F5F9FF 50%, #FFFFFF 100%) !important;
  position: relative;
  overflow: hidden;
}

.partners-category-group {
  margin-bottom: 3.5rem;
}

.partners-category-title {
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--primary);
  padding-left: 0.75rem;
}

.partner-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(15, 23, 42, 0.05);
  border-radius: 14px;
  padding: 1.5rem;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  position: relative;
  height: 100%;
}

.partner-card:hover {
  transform: translateY(-5px);
  border-color: rgba(20, 184, 166, 0.25);
  box-shadow: 0 15px 35px rgba(20, 184, 166, 0.06);
}

.partner-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.partner-logo-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
}

.partner-expand-icon {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: transform 0.3s ease;
}

.partner-card.open .partner-expand-icon {
  transform: rotate(180deg);
}

.partner-expanded-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
  overflow: hidden;
}

.partner-card.open .partner-expanded-content {
  grid-template-rows: 1fr;
}

.partner-expanded-inner {
  min-height: 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  margin-top: 0.5rem;
  font-size: 0.85rem;
}

/* --- Services NotebookLM-style Workspace --- */

#workspace-guide-overlay {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  text-align: left;
  width: calc(100% - 3rem);
  max-width: 320px;
  z-index: 2;
  padding: 1.25rem;
  pointer-events: none;
  transition: opacity 0.3s;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  animation: guideEntrance 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

#workspace-guide-overlay.hidden {
  opacity: 0 !important;
  pointer-events: none !important;
}

#workspace-guide-overlay .guide-icon-holder {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.06);
  border: 1px solid rgba(37, 99, 235, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

#workspace-guide-overlay h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.35rem;
}

#workspace-guide-overlay p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

.notebook-workspace {
  display: flex;
  height: 820px;
  background: linear-gradient(135deg, #EFF6FF, #F8FAFC);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  overflow: hidden;
  position: relative;
}

.notebook-sidebar {
  width: 320px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-right: 1px solid rgba(255, 255, 255, 0.55);
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow-y: auto;
  padding: 2.5rem 1.25rem;
  flex-shrink: 0;
  box-shadow: 10px 0 30px rgba(0, 0, 0, 0.02);
}

.sidebar-folder-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  cursor: pointer;
  border-radius: 8px;
  font-weight: 700;
  color: var(--primary);
  transition: all 0.3s ease;
  margin-bottom: 0.25rem;
  font-size: 0.88rem;
  border: 1px solid transparent;
}

.sidebar-folder-header:hover {
  background: rgba(37, 99, 235, 0.04);
}

.sidebar-folder-header.active {
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.15);
  color: var(--primary);
}

.sidebar-folder-content {
  height: 0;
  overflow: hidden;
  transition: height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding-left: 1.25rem;
}

.sidebar-folder-content.open {
  height: auto;
  margin-bottom: 0.75rem;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  border-radius: 6px;
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: all 0.25s;
  margin-bottom: 0.15rem;
}

.sidebar-item:hover {
  background: rgba(37, 99, 235, 0.04);
  color: var(--primary);
}

.sidebar-item.active {
  background: var(--primary) !important;
  color: #ffffff !important;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.notebook-map-area {
  flex: 1;
  position: relative;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding-bottom: 90px;
  transition: padding-right 0.4s ease;
}

.notebook-svg-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.notebook-path {
  stroke: rgba(37, 99, 235, 0.15);
  stroke-width: 1.5;
  fill: none;
  transition: stroke 0.3s, stroke-width 0.3s;
}

.notebook-path.active {
  stroke: var(--primary);
  stroke-width: 3;
  stroke-dasharray: 6 4;
  animation: dashRun 25s linear infinite;
  filter: drop-shadow(0 0 4px var(--primary));
}

.notebook-center-node {
  position: relative;
  z-index: 5;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #ffffff;
  padding: 1.2rem 2.2rem;
  border-radius: 30px;
  font-weight: 800;
  font-size: 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: default;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-align: center;
  animation: pulseGlow 3s infinite ease-in-out;
}

.notebook-center-node:hover {
  transform: scale(1.03);
}

.notebook-child-node {
  position: absolute;
  z-index: 5;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text);
  padding: 0.75rem 1.3rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.35s, border-color 0.35s, box-shadow 0.35s, color 0.35s;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  animation: nodeEntrance 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.notebook-child-node .notebook-child-node-icon {
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.35s ease;
}

.notebook-child-node:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(37, 99, 235, 0.35);
  color: var(--primary);
  transform: translate(-50%, -50%) scale(1.05) !important;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.08);
}

.notebook-child-node:hover .notebook-child-node-icon {
  transform: scale(1.2) rotate(15deg);
  color: var(--primary) !important;
}

.notebook-child-node.active {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #ffffff !important;
  box-shadow: 0 0 15px rgba(37, 99, 235, 0.3);
  font-weight: 700;
}

.notebook-child-node.active:hover {
  transform: translate(-50%, -50%) scale(1.05) !important;
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.45);
}

/* Staggered entrance delays for child nodes */
.notebook-child-node:nth-child(1) {
  animation-delay: 0.05s;
}

.notebook-child-node:nth-child(2) {
  animation-delay: 0.1s;
}

.notebook-child-node:nth-child(3) {
  animation-delay: 0.15s;
}

.notebook-child-node:nth-child(4) {
  animation-delay: 0.2s;
}

.notebook-child-node:nth-child(5) {
  animation-delay: 0.25s;
}

.notebook-child-node:nth-child(6) {
  animation-delay: 0.3s;
}

.notebook-child-node:nth-child(7) {
  animation-delay: 0.35s;
}

.notebook-child-node:nth-child(8) {
  animation-delay: 0.4s;
}

/* Custom Animations Keyframes */
@keyframes nodeEntrance {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.6);
  }

  70% {
    transform: translate(-50%, -50%) scale(1.03);
  }

  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.25), 0 0 0 0px rgba(37, 99, 235, 0.2);
  }

  70% {
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.35), 0 0 0 15px rgba(37, 99, 235, 0);
  }

  100% {
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.25), 0 0 0 0px rgba(37, 99, 235, 0);
  }
}

@keyframes guideEntrance {
  0% {
    opacity: 0;
    transform: translateY(-15px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {

  .notebook-child-node,
  .notebook-center-node,
  #workspace-guide-overlay {
    animation: none !important;
    transition: none !important;
  }
}

.notebook-doc-panel {
  position: absolute;
  right: -460px;
  top: 0;
  bottom: 0;
  width: 440px;
  background: #ffffff;
  color: #0f172a;
  border-left: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  padding: 2.5rem 2rem;
  overflow-y: auto;
  z-index: 100;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.notebook-doc-panel.open {
  right: 0;
}

.doc-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.25s;
}

.doc-close-btn:hover {
  background: #ef4444;
  color: #ffffff;
  border-color: #ef4444;
}

.notebook-assistant {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 680px;
  z-index: 150;
  padding: 0 1rem;
}

.assistant-bar {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 25px;
  padding: 0.5rem 0.75rem 0.5rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.assistant-input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 0.85rem;
  flex: 1;
  padding: 0.5rem 0;
  margin-right: 1rem;
}

.assistant-input::placeholder {
  color: var(--text-muted);
  opacity: 0.8;
}

.assistant-btn {
  background: var(--primary);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.2s;
}

.assistant-btn:hover {
  background: #1d4ed8;
  transform: scale(1.05);
}

.assistant-chips {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 0.6rem;
  flex-wrap: wrap;
}

.assistant-chip {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: var(--text-muted);
  font-size: 0.72rem;
  padding: 0.3rem 0.75rem;
  border-radius: 15px;
  cursor: pointer;
  transition: all 0.25s;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.01);
}

.assistant-chip:hover {
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.2);
  color: var(--primary);
}

.assistant-chat-panel {
  position: absolute;
  bottom: -450px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 2rem);
  max-width: 680px;
  height: 300px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-radius: 20px 20px 0 0;
  padding: 1.5rem 2rem;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.06);
  z-index: 140;
  display: flex;
  flex-direction: column;
  transition: bottom 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.assistant-chat-panel.open {
  bottom: 5.5rem;
}

.chat-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  padding-bottom: 0.5rem;
  margin-bottom: 0.75rem;
}

.chat-history {
  flex: 1;
  overflow-y: auto;
  padding-right: 0.5rem;
  margin-bottom: 0.5rem;
}

.chat-msg {
  margin-bottom: 1rem;
  font-size: 0.85rem;
  line-height: 1.5;
}

.chat-msg.user {
  color: var(--text);
  font-weight: 600;
  text-align: right;
}

.chat-msg.bot {
  color: var(--text);
}

.chat-msg-header {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.chat-typing {
  color: var(--text-muted);
  font-style: italic;
  font-size: 0.8rem;
}

@keyframes dashRun {
  to {
    stroke-dashoffset: -1000;
  }
}

/* Notebook Mobile & Tablet Viewports */
@media (max-width: 992px) {
  .notebook-workspace {
    flex-direction: column;
    height: auto;
    min-height: calc(100vh - 70px);
    overflow-y: auto;
  }

  .notebook-sidebar {
    width: 100%;
    height: auto;
    border-right: none;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    padding: 1.5rem;
  }

  .notebook-map-area {
    width: 100%;
    height: 480px;
    padding-bottom: 0;
  }

  .notebook-svg-canvas {
    display: none !important;
  }

  .notebook-center-node {
    position: static !important;
    margin-bottom: 1.5rem !important;
  }

  .notebook-child-node {
    position: static !important;
    transform: none !important;
    width: 100%;
    max-width: 320px;
    justify-content: center;
    margin-bottom: 0.75rem;
  }

  .notebook-doc-panel {
    position: fixed;
    top: auto;
    bottom: -100%;
    right: 0;
    left: 0;
    width: 100vw;
    height: 70vh;
    border-left: none;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    transition: bottom 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .notebook-doc-panel.open {
    bottom: 0;
    right: 0;
  }

  .notebook-assistant {
    position: fixed;
    bottom: 1rem;
    left: 0;
    transform: none;
    width: 100vw;
    padding: 0 1rem;
  }

  .assistant-chat-panel {
    position: fixed;
    bottom: -100%;
    left: 0;
    transform: none;
    width: 100vw;
    height: 50vh;
    border-radius: 20px 20px 0 0;
  }

  .assistant-chat-panel.open {
    bottom: 5rem;
  }

  #workspace-guide-overlay {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    max-width: 450px;
    margin: 0 auto 1.5rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.6);
  }

  #workspace-guide-overlay .guide-icon-holder {
    margin: 0 auto 0.75rem;
  }
}

/* Animation delays for additional mind-map nodes */
.notebook-child-node:nth-child(9) {
  animation-delay: 0.45s;
}

.notebook-child-node:nth-child(10) {
  animation-delay: 0.5s;
}

/* Hero Security Architecture Diagram Styling */
.hero-diagram-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 320px;
  margin: 0 auto;
}

.hero-diagram-node {
  position: absolute;
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(37, 99, 235, 0.25);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.62rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transform: translate(-50%, -50%);
  z-index: 2;
  transition: all 0.3s ease;
}

.hero-diagram-node i {
  width: 20px;
  height: 20px;
  margin-bottom: 2px;
}

.hero-diagram-node:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.4);
  transform: translate(-50%, -50%) scale(1.1);
}

.hero-diagram-node span {
  font-size: 0.55rem;
  text-align: center;
  line-height: 1.1;
  white-space: nowrap;
}

/* Interconnected SVG paths animation in hero */
.hero-diagram-path {
  fill: none;
  stroke: rgba(37, 99, 235, 0.2);
  stroke-width: 2;
  stroke-dasharray: 6, 6;
  animation: strokeDashMove 25s linear infinite;
}

@keyframes strokeDashMove {
  to {
    stroke-dashoffset: -200;
  }
}

.hero-diagram-packet {
  fill: var(--secondary);
}

/* Security Program Lifecycle Roadmap */
.lifecycle-roadmap-container {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 1rem;
  margin: 3rem 0;
  position: relative;
  flex-wrap: wrap;
}

.lifecycle-node {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 16px;
  padding: 1.5rem;
  width: calc(16.66% - 0.8rem);
  min-width: 170px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  position: relative;
  z-index: 2;
}

.lifecycle-node:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.08);
}

.lifecycle-node i {
  width: 38px;
  height: 38px;
  color: var(--primary);
  background: rgba(37, 99, 235, 0.06);
  border-radius: 10px;
  padding: 8px;
  margin-bottom: 0.75rem;
  display: inline-block;
  transition: all 0.3s ease;
}

.lifecycle-node:hover i {
  background: var(--primary);
  color: #ffffff;
  transform: scale(1.1) rotate(5deg);
}

.lifecycle-node-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: #0f172a;
}

.lifecycle-node-list {
  padding: 0;
  margin: 0;
  list-style: none;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: left;
}

.lifecycle-node-list li {
  margin-bottom: 0.3rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.lifecycle-node-list li::before {
  content: "•";
  color: var(--secondary);
  font-weight: bold;
}

.lifecycle-connector-line {
  position: absolute;
  top: 50px;
  left: 5%;
  right: 5%;
  height: 2px;
  border-top: 2px dashed rgba(37, 99, 235, 0.15);
  z-index: 1;
  pointer-events: none;
}

/* Security Governance Principles (10 Expandable Cards) */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.principle-card {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
}

.principle-card:hover {
  border-color: rgba(37, 99, 235, 0.2);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.principle-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.3);
  transition: background 0.3s;
  user-select: none;
}

.principle-header:hover {
  background: rgba(37, 99, 235, 0.03);
}

.principle-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.principle-number {
  color: var(--primary);
  font-weight: 800;
  font-size: 0.88rem;
  background: rgba(37, 99, 235, 0.06);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.principle-chevron {
  width: 16px;
  height: 16px;
  color: #64748b;
  transition: transform 0.3s ease;
}

.principle-card.expanded .principle-chevron {
  transform: rotate(180deg);
  color: var(--primary);
}

.principle-content-wrapper {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.principle-content {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid rgba(15, 23, 42, 0.05);
  font-size: 0.85rem;
  line-height: 1.6;
  color: #334155;
}

/* Service Delivery Section */
.delivery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.delivery-card {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.delivery-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: opacity 0.3s;
}

.delivery-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(37, 99, 235, 0.25);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.06);
}

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

.delivery-card-icon {
  width: 42px;
  height: 42px;
  background: rgba(37, 99, 235, 0.06);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 1.25rem;
  transition: all 0.3s ease;
}

.delivery-card:hover .delivery-card-icon {
  background: var(--primary);
  color: #ffffff;
  transform: scale(1.05);
}

.delivery-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.delivery-card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Technology Ecosystem Modal & Overlay */
.ecosystem-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.ecosystem-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.ecosystem-modal-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  border-radius: 20px;
  width: 90%;
  max-width: 680px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 2.5rem;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.ecosystem-modal-overlay.open .ecosystem-modal-card {
  transform: scale(1);
}

.ecosystem-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #64748b;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  z-index: 10;
}

.ecosystem-modal-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.ecosystem-detail-section {
  margin-top: 1.5rem;
}

.ecosystem-detail-title {
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 0.5px;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* Responsiveness overrides */
@media (max-width: 1200px) {
  .delivery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .lifecycle-roadmap-container {
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
  }

  .lifecycle-node {
    width: 100%;
  }

  .lifecycle-connector-line {
    display: none;
  }

  .principles-grid {
    grid-template-columns: 1fr;
  }

  .delivery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* Technology Ecosystem Grid & Cards */
.vendor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.vendor-card {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  cursor: pointer;
}

.vendor-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(37, 99, 235, 0.25);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.06);
}

.vendor-card-logo {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.vendor-card-logo span {
  font-size: 1.2rem;
  font-weight: 800;
  color: #0f172a;
}

.vendor-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.vendor-card-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

@media (max-width: 1200px) {
  .vendor-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .vendor-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* --- Cybersecurity Architecture Stack Layer & Particles --- */
.layer-nodes .notebook-child-node {
  position: relative !important;
  left: auto !important;
  top: auto !important;
  transform: none !important;
  margin: 0 !important;
  animation: nodePulseGlow 5s infinite ease-in-out;
}

/* Staggered pulse delays to nodes */
.layer-nodes .notebook-child-node:nth-child(2n) {
  animation-delay: 1.5s;
}

.layer-nodes .notebook-child-node:nth-child(3n) {
  animation-delay: 3s;
}

.layer-nodes .notebook-child-node:hover {
  transform: scale(1.05) !important;
}

@keyframes nodePulseGlow {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03), 0 0 0 rgba(37, 99, 235, 0);
  }

  50% {
    box-shadow: 0 4px 25px rgba(37, 99, 235, 0.06), 0 0 10px rgba(37, 99, 235, 0.12);
    border-color: rgba(37, 99, 235, 0.25);
  }
}

@keyframes corePivotPulse {

  0%,
  100% {
    transform: translateY(-50%) scale(1) !important;
    box-shadow: 0 0 25px rgba(20, 184, 166, 0.3);
  }

  50% {
    transform: translateY(-50%) scale(1.04) !important;
    box-shadow: 0 0 35px rgba(20, 184, 166, 0.5), 0 0 15px rgba(37, 99, 235, 0.3);
  }
}

@keyframes core-pulse-glow {
  0% {
    transform: scale(0.9);
    opacity: 0.7;
    box-shadow: 0 0 10px var(--primary);
  }

  100% {
    transform: scale(1.2);
    opacity: 1;
    box-shadow: 0 0 25px var(--primary), 0 0 10px var(--secondary);
  }
}

.flow-particle {
  fill: var(--secondary);
  filter: drop-shadow(0 0 4px var(--secondary));
  pointer-events: none;
}

.flow-particle.core-particle {
  fill: var(--primary);
  filter: drop-shadow(0 0 5px var(--primary));
}

/* Ensure SVG lines look clean and glowing */
.notebook-path {
  stroke: rgba(37, 99, 235, 0.12);
  stroke-width: 1.5;
  fill: none;
  stroke-dasharray: none;
  transition: stroke 0.3s, stroke-width 0.3s;
}

.notebook-path.active {
  stroke: var(--primary);
  stroke-width: 3.5;
  filter: drop-shadow(0 0 5px var(--primary));
}

/* --- Solution Explorer Side-bar & Card Grid Restructure CSS --- */

/* Sidebar Navigation Items */
.domain-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(15, 23, 42, 0.04);
  color: #475569;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
}

.domain-nav-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--primary);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.domain-nav-item:hover {
  background: rgba(37, 99, 235, 0.04);
  color: var(--primary);
  border-color: rgba(37, 99, 235, 0.1);
  transform: translateX(4px);
}

.domain-nav-item.active {
  background: rgba(37, 99, 235, 0.07);
  border-color: rgba(37, 99, 235, 0.15);
  color: var(--primary);
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.05);
}

.domain-nav-item.active::before {
  transform: scaleY(1);
}

.domain-nav-item .nav-icon {
  width: 18px;
  height: 18px;
  color: #64748b;
  transition: color 0.3s, transform 0.3s;
}

.domain-nav-item:hover .nav-icon,
.domain-nav-item.active .nav-icon {
  color: var(--primary);
  transform: scale(1.1);
}

.domain-nav-item .nav-chevron {
  width: 14px;
  height: 14px;
  color: #94a3b8;
  transition: transform 0.3s ease, color 0.3s;
}

.domain-nav-item:hover .nav-chevron,
.domain-nav-item.active .nav-chevron {
  color: var(--primary);
  transform: translateX(2px);
}

/* Solution Grid and Cards */
.solution-grid-container {
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.solution-grid-container.fade-out {
  opacity: 0;
  transform: translateY(10px);
}

.solution-explorer-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.05);
  border-radius: 16px;
  padding: 2.25rem 1.5rem;
  cursor: pointer;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.4s ease,
    background-color 0.4s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  overflow: hidden;
}

.solution-explorer-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(37, 99, 235, 0.02), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.solution-explorer-card:hover {
  transform: translateY(-8px);
  border-color: rgba(37, 99, 235, 0.15);
  background: #ffffff;
  box-shadow: 0 15px 35px rgba(37, 99, 235, 0.05), 0 0 0 1px rgba(37, 99, 235, 0.02);
}

.solution-explorer-card:hover::before {
  opacity: 1;
}

.solution-explorer-card.active {
  border: 1px solid rgba(37, 99, 235, 0.6) !important;
  box-shadow: 0 12px 35px rgba(37, 99, 235, 0.12) !important;
  background: #ffffff !important;
}

.card-icon-container {
  width: 48px;
  height: 48px;
  background: rgba(37, 99, 235, 0.05);
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.card-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.solution-explorer-card:hover .card-icon-container,
.solution-explorer-card.active .card-icon-container {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.solution-explorer-card:hover .card-icon {
  transform: scale(1.1) rotate(5deg);
}

.card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.75rem;
  font-family: 'Poppins', sans-serif;
  letter-spacing: -0.2px;
  position: relative;
  z-index: 2;
}

.card-desc {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex: 1;
  position: relative;
  z-index: 2;
}

.card-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.tech-pill {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  background: rgba(15, 23, 42, 0.02);
  color: #475569;
  border: 1px solid rgba(15, 23, 42, 0.04);
}

.card-learn-more-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  margin: auto auto 0;
  transition: gap 0.2s ease;
  position: relative;
  z-index: 2;
}

.card-learn-more-btn i {
  transition: transform 0.2s ease;
}

.solution-explorer-card:hover .card-learn-more-btn {
  gap: 0.6rem;
}

.solution-explorer-card:hover .card-learn-more-btn i {
  transform: translateX(2px);
}

/* Detailed Doc sliding drawer adjustments */
.notebook-doc-panel {
  right: -500px !important;
  width: 480px !important;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.notebook-doc-panel.open {
  right: 0 !important;
}

/* Drawer Staged Entry Sequence */
.staged-icon-container,
.staged-content,
.staged-tech-logos,
.staged-cta {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.staged-icon-container {
  transform: scale(0.6) translateY(20px);
}

#solution-details-drawer.open .staged-icon-container {
  opacity: 1;
  transform: scale(1) translateY(0);
  transition-delay: 0.15s;
}

#solution-details-drawer.open .staged-content {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.25s;
}

#solution-details-drawer.open .staged-tech-logos {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.35s;
}

#solution-details-drawer.open .staged-cta {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.45s;
}

.drawer-section-title {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 0.5px;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.drawer-bullet-list {
  padding-left: 1.2rem;
  margin: 0;
  list-style-type: disc;
  color: #475569;
  font-size: 0.84rem;
}

.drawer-bullet-list li {
  margin-bottom: 0.4rem;
  line-height: 1.5;
}

.drawer-bullet-list li::marker {
  color: var(--primary);
}

/* Staged Icon style in drawer */
#drawer-icon-container {
  width: 52px;
  height: 52px;
  background: rgba(37, 99, 235, 0.06);
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

/* Drawer CTA pulsing animation */
#drawer-cta-btn {
  animation: buttonPulse 3s infinite ease-in-out;
}

@keyframes buttonPulse {

  0%,
  100% {
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
  }

  50% {
    box-shadow: 0 4px 25px rgba(37, 99, 235, 0.45), 0 0 0 6px rgba(37, 99, 235, 0.15);
  }
}

/* Floating Particles / Cyber Bubbles */
.cyber-bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(37, 99, 235, 0.08), transparent 70%);
  filter: blur(8px);
  pointer-events: none;
}

.bubble-1 {
  width: 140px;
  height: 140px;
  left: 10%;
  top: 20%;
  animation: floatBubble1 20s infinite ease-in-out alternate;
}

.bubble-2 {
  width: 180px;
  height: 180px;
  right: 15%;
  top: 40%;
  animation: floatBubble2 25s infinite ease-in-out alternate;
}

.bubble-3 {
  width: 120px;
  height: 120px;
  left: 45%;
  bottom: 10%;
  animation: floatBubble3 18s infinite ease-in-out alternate;
}

@keyframes floatBubble1 {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(40px, 60px) scale(1.1);
  }
}

@keyframes floatBubble2 {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(-60px, -40px) scale(0.9);
  }
}

@keyframes floatBubble3 {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(30px, -50px) scale(1.15);
  }
}

/* Security Program Lifecycle Stage Cards */
.lifecycle-stage-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.3s ease,
    border-color 0.3s ease;
}

.lifecycle-stage-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.95) !important;
  border-color: rgba(37, 99, 235, 0.2) !important;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.05);
}

.lifecycle-stage-card.expanded {
  background: rgba(255, 255, 255, 0.95) !important;
  border-color: rgba(37, 99, 235, 0.25) !important;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.08);
}

.lifecycle-stage-card:hover .stage-icon-wrapper {
  background: var(--primary) !important;
  color: #ffffff !important;
  border-color: var(--primary) !important;
  transform: scale(1.05);
}

.lifecycle-stage-card.expanded .stage-icon-wrapper {
  background: var(--primary) !important;
  color: #ffffff !important;
  border-color: var(--primary) !important;
}

@media (max-width: 480px) {
  .logo-img {
    height: 46px !important;
    width: 46px !important;
  }
  .logo-nxt {
    font-size: 1.25rem !important;
  }
  .logo-info {
    font-size: 0.62rem !important;
    letter-spacing: 2px !important;
    margin-right: -2px !important;
  }
}