/* ==========================================================================
   Chennai Security Service (CSS) - Brand Theme Stylesheet
   Color Palette strictly sourced from Logo:
   - Navy: #073882 / #05265b
   - Cyan: #11bfff / #009ce0
   - White: #ffffff (Light, pristine, crisp aesthetic)
   ========================================================================== */

:root {
  --css-navy: #073882;
  --css-navy-dark: #05265b;
  --css-navy-light: #0d4ca6;
  --css-navy-subtle: rgba(7, 56, 130, 0.08);
  --css-cyan: #11bfff;
  --css-cyan-dark: #009ce0;
  --css-cyan-light: #e6f8ff;
  --css-cyan-border: #bcebfe;
  --css-white: #ffffff;
  --css-bg-page: #ffffff;
  --css-bg-surface: #f8fbff;
  --css-bg-highlight: #f0f7ff;
  --css-border: #e2e8f0;
  --css-border-focus: #11bfff;
  --css-text-heading: #07224f;
  --css-text-body: #1e293b;
  --css-text-muted: #54657d;
  --css-shadow-sm: 0 2px 8px rgba(7, 56, 130, 0.06);
  --css-shadow-md: 0 8px 24px rgba(7, 56, 130, 0.08);
  --css-shadow-lg: 0 16px 36px rgba(7, 56, 130, 0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --touch-target: 44px;
}

/* Global Reset & Typography */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--css-bg-page);
  color: var(--css-text-body);
  line-height: 1.65;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--css-text-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Accessibility & Touch Targets (AGENTS.md Compliance: Minimum 44x44px touch targets) */
button,
a,
input,
select,
textarea,
.btn,
.nav-link {
  min-height: var(--touch-target);
  min-width: var(--touch-target);
  font-family: inherit;
}

/* Header & Navigation */
.topbar {
  background-color: #ffffff;
  border-bottom: 1px solid var(--css-border);
  padding: 8px 0;
  font-size: 0.88rem;
  color: var(--css-text-muted);
}

.topbar a {
  color: var(--css-navy);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.topbar a:hover {
  color: var(--css-cyan-dark);
  background-color: var(--css-cyan-light);
}

.topbar-badge {
  background-color: var(--css-cyan-light);
  color: var(--css-navy);
  border: 1px solid var(--css-cyan-border);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.78rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.main-navbar {
  background-color: #ffffff !important;
  box-shadow: 0 4px 20px rgba(7, 56, 130, 0.07);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 1020;
}

.navbar-brand {
  display: flex;
  align-items: center;
  padding: 0;
}

.navbar-brand img {
  height: 72px;
  width: auto;
  max-width: 320px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

@media (max-width: 768px) {
  .navbar-brand img {
    height: 58px;
  }
}

.nav-link {
  color: var(--css-text-heading) !important;
  font-weight: 600;
  font-size: 0.96rem;
  padding: 10px 16px !important;
  border-radius: var(--radius-sm);
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
}

.nav-link:hover,
.nav-link.active {
  color: var(--css-navy) !important;
  background-color: var(--css-bg-highlight);
}

.nav-link.active {
  border-bottom: 2px solid var(--css-cyan);
}

/* Custom Buttons */
.btn-primary-css {
  background-color: var(--css-navy);
  color: #ffffff !important;
  border: 2px solid var(--css-navy);
  border-radius: var(--radius-full);
  padding: 10px 24px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(7, 56, 130, 0.25);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.btn-primary-css:hover {
  background-color: var(--css-navy-dark);
  border-color: var(--css-navy-dark);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(7, 56, 130, 0.35);
}

.btn-cyan-css {
  background-color: var(--css-cyan);
  color: var(--css-navy) !important;
  border: 2px solid var(--css-cyan);
  border-radius: var(--radius-full);
  padding: 10px 24px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(17, 191, 255, 0.3);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.btn-cyan-css:hover {
  background-color: var(--css-cyan-dark);
  border-color: var(--css-cyan-dark);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 156, 224, 0.4);
}

.btn-outline-navy {
  background-color: #ffffff;
  color: var(--css-navy) !important;
  border: 2px solid var(--css-navy);
  border-radius: var(--radius-full);
  padding: 10px 24px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-outline-navy:hover {
  background-color: var(--css-bg-highlight);
  border-color: var(--css-navy-dark);
  color: var(--css-navy-dark) !important;
  transform: translateY(-2px);
}

.btn-outline-white {
  background-color: transparent;
  color: #ffffff !important;
  border: 2px solid #ffffff;
  border-radius: var(--radius-full);
  padding: 10px 24px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-outline-white:hover {
  background-color: #ffffff;
  border-color: #ffffff;
  color: var(--css-navy) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.25);
}

.btn-outline-white:hover i {
  color: var(--css-navy) !important;
}

/* Hero Section (Squeezed 20% tighter) */
.hero-section {
  background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
  padding: 48px 0 64px;
  position: relative;
  border-bottom: 1px solid var(--css-border);
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #ffffff;
  border: 1px solid var(--css-cyan-border);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  box-shadow: var(--css-shadow-sm);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--css-navy);
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  color: var(--css-navy);
  line-height: 1.15;
  margin-bottom: 16px;
}

.hero-title span {
  color: var(--css-cyan-dark);
  position: relative;
}

.hero-title-sub {
  display: block;
  font-size: clamp(1.35rem, 2.6vw, 2.1rem);
  font-weight: 700;
  color: var(--css-cyan-dark);
  margin-top: 8px;
  line-height: 1.25;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--css-text-muted);
  margin-bottom: 24px;
  max-width: 580px;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--css-text-heading);
}

.hero-feature-item i {
  color: var(--css-cyan-dark);
  font-size: 1.2rem;
}

.hero-badge-card {
  background-color: #ffffff;
  border: 1px solid var(--css-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--css-shadow-lg);
  text-align: center;
  position: relative;
}

.hero-slide-frame {
  height: 500px;
  width: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-slide-frame:hover {
  box-shadow: 0 20px 40px rgba(7, 56, 130, 0.16);
}

@media (max-width: 767.98px) {
  .hero-slide-frame {
    height: 320px !important;
  }
}

/* Hero Carousel Controls & Indicators */
.hero-carousel {
  position: relative;
}

.hero-indicators {
  position: absolute;
  bottom: 18px;
  margin-bottom: 0;
  gap: 10px;
  z-index: 10;
}

.hero-indicators [data-bs-target] {
  width: 36px;
  height: 6px;
  border-radius: var(--radius-full);
  background-color: #cbd5e1;
  border: none;
  opacity: 0.6;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-indicators .active {
  width: 56px;
  background-color: var(--css-navy);
  opacity: 1;
  box-shadow: 0 0 10px rgba(17, 191, 255, 0.6);
}

.hero-control {
  width: 48px;
  height: 48px;
  background-color: rgba(255, 255, 255, 0.92);
  border: 1.5px solid var(--css-border);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.75;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(7, 56, 130, 0.12);
  z-index: 10;
}

.hero-control:hover {
  opacity: 1;
  background-color: #ffffff;
  border-color: var(--css-cyan);
  box-shadow: 0 8px 20px rgba(7, 56, 130, 0.2);
}

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

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

.hero-control .carousel-control-prev-icon,
.hero-control .carousel-control-next-icon {
  filter: invert(18%) sepia(85%) saturate(2200%) hue-rotate(205deg) brightness(88%) contrast(100%);
  width: 20px;
  height: 20px;
}

@media (max-width: 991.98px) {
  .hero-control {
    display: none;
  }
}

/* Stats Counter Section (Squeezed 20% tighter) */
.stats-section {
  background-color: #ffffff;
  padding: 38px 0;
  border-bottom: 1px solid var(--css-border);
}

.stat-box {
  background-color: var(--css-bg-surface);
  border: 1px solid var(--css-border);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
}

.stat-box:hover {
  transform: translateY(-4px);
  border-color: var(--css-cyan);
  box-shadow: var(--css-shadow-md);
}

.stat-number {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--css-navy);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-weight: 700;
  font-size: 0.96rem;
  color: var(--css-text-heading);
  margin-bottom: 4px;
}

.stat-sub {
  font-size: 0.85rem;
  color: var(--css-text-muted);
}

/* Section Header Component (Squeezed 20% tighter) */
.section-header {
  text-align: center;
  margin-bottom: 38px;
}

/* Global Section Spacing Reduction (20% reduction across all template sections) */
section.py-5,
.section-py {
  padding-top: 38px !important;
  padding-bottom: 38px !important;
}

.container.py-lg-4,
.container.py-4 {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

.section-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--css-navy);
  background-color: var(--css-cyan-light);
  border: 1px solid var(--css-cyan-border);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--css-navy);
  margin-bottom: 14px;
}

.section-description {
  color: var(--css-text-muted);
  font-size: 1.05rem;
  max-width: 680px;
  margin: 0 auto;
}

/* Service Cards */
.service-card {
  background-color: #ffffff;
  border: 1px solid var(--css-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: var(--css-shadow-sm);
}

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

.service-img-wrap {
  width: 100%;
  height: 200px;
  background-color: #f1f5f9;
  border-bottom: 1px solid var(--css-border);
  position: relative;
  overflow: hidden;
  padding: 0;
}

.service-img-wrap img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-img-wrap img {
  transform: scale(1.08);
}

.service-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-badge {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--css-navy);
  background-color: var(--css-cyan-light);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--css-navy);
  margin-bottom: 10px;
}

.service-desc {
  font-size: 0.92rem;
  color: var(--css-text-muted);
  margin-bottom: 18px;
  flex-grow: 1;
}

.service-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.service-feature-list li {
  font-size: 0.88rem;
  color: var(--css-text-body);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
}

.service-feature-list li i {
  color: var(--css-cyan-dark);
}

/* =========================================================================
   Industry Sector Showcase (Redesigned Modern Interactive Layout)
   ========================================================================= */

.sector-filter-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 30px;
}

.sector-filter-btn {
  background-color: #ffffff;
  border: 1.5px solid var(--css-border);
  color: var(--css-text-muted);
  border-radius: var(--radius-full);
  padding: 8px 18px;
  font-weight: 700;
  font-size: 0.86rem;
  transition: all 0.25s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.sector-filter-btn:hover,
.sector-filter-btn.active {
  background-color: var(--css-navy);
  border-color: var(--css-navy);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(7, 56, 130, 0.2);
}

.sector-card-premium {
  background-color: #ffffff;
  border: 1px solid var(--css-border);
  border-top: 3.5px solid var(--css-cyan);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 10px rgba(7, 56, 130, 0.04);
  position: relative;
}

.sector-card-premium:hover {
  transform: translateY(-5px);
  border-color: var(--css-cyan-border);
  border-top-color: var(--css-navy);
  box-shadow: 0 12px 28px rgba(7, 56, 130, 0.1);
}

.sector-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.sector-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: var(--css-cyan-light);
  border: 1.5px solid var(--css-cyan-border);
  color: var(--css-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  transition: all 0.3s ease;
}

.sector-card-premium:hover .sector-icon-badge {
  background-color: var(--css-navy);
  border-color: var(--css-navy);
  color: #ffffff;
  transform: scale(1.05);
}

.sector-tag-pill {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--css-navy);
  background-color: var(--css-bg-highlight);
  border: 1px solid var(--css-border);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.sector-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--css-text-heading);
  margin-bottom: 8px;
  line-height: 1.3;
}

.sector-desc {
  font-size: 0.88rem;
  color: var(--css-text-muted);
  line-height: 1.55;
  margin-bottom: 14px;
  flex-grow: 1;
}

.sector-protocols-box {
  background-color: var(--css-bg-surface);
  border-radius: var(--radius-sm);
  padding: 12px;
  margin-bottom: 14px;
  border: 1px dashed var(--css-border);
}

.sector-protocol-item {
  font-size: 0.82rem;
  color: var(--css-text-body);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 6px;
  line-height: 1.35;
}

.sector-protocol-item:last-child {
  margin-bottom: 0;
}

.sector-protocol-item i {
  color: var(--css-cyan-dark);
  font-size: 0.95rem;
  margin-top: 1px;
}

.sector-card-footer {
  border-top: 1px solid var(--css-border);
  padding-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sector-deploy-btn {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--css-navy);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  background-color: var(--css-cyan-light);
  border: 1px solid var(--css-cyan-border);
  transition: all 0.2s ease;
}

.sector-deploy-btn:hover {
  background-color: var(--css-navy);
  border-color: var(--css-navy);
  color: #ffffff !important;
}

/* Guard Calculator Box */
.calculator-card {
  background-color: #ffffff;
  border: 2px solid var(--css-navy);
  border-radius: var(--radius-lg);
  box-shadow: var(--css-shadow-lg);
  padding: 28px;
}

.calc-input-label {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--css-text-heading);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-select,
.form-control {
  border: 1.5px solid var(--css-border);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-size: 0.95rem;
  color: var(--css-text-heading);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-select:focus,
.form-control:focus {
  border-color: var(--css-cyan);
  box-shadow: 0 0 0 3px rgba(17, 191, 255, 0.25);
  outline: none;
}

.quote-result-box {
  background-color: var(--css-bg-highlight);
  border: 1.5px solid var(--css-cyan-border);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}

.quote-amount {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--css-navy);
  line-height: 1.1;
  margin: 10px 0;
}

/* Process & Trust Steps */
.step-card {
  background-color: #ffffff;
  border: 1px solid var(--css-border);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  position: relative;
  height: 100%;
}

.step-num {
  width: 48px;
  height: 48px;
  background-color: var(--css-navy);
  color: #ffffff;
  border-radius: 50%;
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 4px 10px rgba(7, 56, 130, 0.2);
}

/* Testimonial Box */
.testimonial-card {
  background-color: #ffffff;
  border: 1px solid var(--css-border);
  border-radius: var(--radius-md);
  padding: 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--css-shadow-sm);
}

.testimonial-quote {
  font-style: italic;
  color: var(--css-text-body);
  font-size: 0.98rem;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  background-color: var(--css-cyan-light);
  color: var(--css-navy);
  border-radius: 50%;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--css-cyan);
}

/* Clean White-Dominant Footer (Squeezed 20% tighter) */
.main-footer {
  background-color: #ffffff;
  border-top: 2px solid var(--css-border);
  padding: 56px 0 20px;
  color: var(--css-text-muted);
}

.footer-logo {
  height: 80px;
  width: auto;
  max-width: 320px;
  margin-bottom: 16px;
  object-fit: contain;
}

.footer-heading {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--css-navy);
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 6px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 3px;
  background-color: var(--css-cyan);
  border-radius: 2px;
}

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

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: var(--css-text-muted);
  text-decoration: none;
  font-size: 0.94rem;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 0;
}

.footer-links a:hover {
  color: var(--css-navy);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.92rem;
}

.footer-contact-item i {
  color: var(--css-cyan-dark);
  font-size: 1.2rem;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid var(--css-border);
  margin-top: 38px;
  padding-top: 18px;
  font-size: 0.88rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

/* Floating Emergency & WhatsApp Actions (Mobile First & Touch Optimized) */
.floating-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.floating-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #ffffff !important;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(7, 56, 130, 0.25);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-btn:hover {
  transform: scale(1.1) translateY(-3px);
}

.floating-wa {
  background-color: #25d366;
}

.floating-call {
  background-color: var(--css-navy);
}

/* Responsive tweaks */
@media (max-width: 991.98px) {
  .hero-section {
    padding: 40px 0 60px;
    text-align: center;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-features {
    justify-content: center;
  }
  .hero-badge-card {
    margin-top: 40px;
  }
}

/* =========================================================================
   ANIMATIONS & DYNAMIC MICRO-INTERACTIONS
   ========================================================================= */

/* 1. Radar Live Pulse Dots */
.radar-dot {
  width: 9px;
  height: 9px;
  background-color: #10b981;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  vertical-align: middle;
}

.radar-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #10b981;
  animation: radar-ping 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes radar-ping {
  0% { transform: scale(0.8); opacity: 1; }
  75%, 100% { transform: scale(2.2); opacity: 0; }
}

.live-pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px #22c55e;
  animation: live-blink 1.4s ease-in-out infinite alternate;
}

@keyframes live-blink {
  from { opacity: 0.4; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1.15); }
}

/* 2. Hero Floating Frame & Gradient Shimmer */
.hero-guard-frame {
  animation: float-subtle 5s ease-in-out infinite;
  box-shadow: 0 12px 32px rgba(7, 56, 130, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-guard-frame:hover {
  animation-play-state: paused;
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 20px 40px rgba(7, 56, 130, 0.2);
}

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

.hero-title span {
  background: linear-gradient(135deg, #073882 0%, #11bfff 45%, #073882 90%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine-text 6s ease-in-out infinite;
}

@keyframes shine-text {
  0% { background-position: 0% center; }
  50% { background-position: 100% center; }
  100% { background-position: 0% center; }
}

/* 3. Button Shimmer Light-Sweep */
.btn-primary-css,
.btn-cyan-css {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary-css::after,
.btn-cyan-css::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -100%;
  width: 50%;
  height: 200%;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.35) 50%, rgba(255,255,255,0) 100%);
  transform: rotate(25deg);
  transition: none;
  pointer-events: none;
}

.btn-primary-css:hover::after,
.btn-cyan-css:hover::after {
  left: 150%;
  transition: left 0.75s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* 4. Service Cards Advanced Hover Effects */
.service-card {
  position: relative;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--css-navy), var(--css-cyan));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 5;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--css-cyan);
  box-shadow: 0 16px 36px rgba(7, 56, 130, 0.12);
}

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

.service-img-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-25deg);
  transition: none;
  pointer-events: none;
}

.service-card:hover .service-img-wrap::after {
  left: 160%;
  transition: left 0.85s ease-in-out;
}

.service-card .btn-outline-navy i {
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .btn-outline-navy i {
  transform: translateX(5px);
}

/* 5. Sector Cards Advanced Hover */
.sector-card-premium {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.sector-card-premium:hover {
  transform: translateY(-8px);
  border-color: var(--css-cyan);
  box-shadow: 0 16px 36px rgba(7, 56, 130, 0.12);
}

.sector-card-premium:hover .sector-icon-badge {
  transform: scale(1.1) rotate(4deg);
  background-color: var(--css-navy);
  color: #ffffff;
}

.sector-deploy-btn i {
  transition: transform 0.25s ease;
}

.sector-card-premium:hover .sector-deploy-btn i {
  transform: translateX(4px);
}

/* 6. Filter Pop-In Animation */
@keyframes filterCardPop {
  0% {
    opacity: 0;
    transform: scale(0.92) translateY(16px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.sector-item.pop-in {
  animation: filterCardPop 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* 7. Verification Matrix Step Hover Bounce */
.step-num {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.3s ease, box-shadow 0.3s ease;
}

.step-num:hover {
  transform: scale(1.18);
  background-color: var(--css-navy);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(17, 191, 255, 0.5);
}

/* 8. Floating Action Buttons Concentric Radar Wave */
.floating-actions .floating-btn {
  position: relative;
}

.floating-wa::before,
.floating-call::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  animation: ripple-pulse 2.2s infinite cubic-bezier(0.24, 0, 0.38, 1);
  z-index: -1;
  pointer-events: none;
}

.floating-wa::before {
  border: 2px solid #25d366;
}

.floating-call::before {
  border: 2px solid var(--css-navy);
}

@keyframes ripple-pulse {
  0% {
    transform: scale(1);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.65);
    opacity: 0;
  }
}

/* 9. Live Calculator Price Spring Bounce */
.calc-price-bounce {
  animation: priceBounce 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes priceBounce {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); color: var(--css-cyan-dark); }
  100% { transform: scale(1); }
}

/* 10. Sticky Navbar Blur & Shadow on Scroll */
.main-navbar {
  transition: all 0.3s ease;
}

.main-navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(7, 56, 130, 0.08);
  padding-top: 4px;
  padding-bottom: 4px;
}

/* 11. Universal Scroll Reveal Animation System (Safe CSS-Hydrated Architecture) */
.reveal-item {
  opacity: 1;
  transform: none;
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

/* Only hide elements if JavaScript is active and DOM has loaded */
body.js-loaded .reveal-item:not(.is-revealed) {
  opacity: 0;
  transform: translateY(28px);
}

body.js-loaded .reveal-item.reveal-left:not(.is-revealed) {
  opacity: 0;
  transform: translateX(-36px);
}

body.js-loaded .reveal-item.reveal-right:not(.is-revealed) {
  opacity: 0;
  transform: translateX(36px);
}

body.js-loaded .reveal-item.reveal-scale:not(.is-revealed) {
  opacity: 0;
  transform: scale(0.92);
}

body.js-loaded .reveal-item.is-revealed {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Stagger Delays */
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }
.delay-5 { transition-delay: 0.40s; }
.delay-6 { transition-delay: 0.48s; }

/* 12. Micro-Animations & Interactive Polish */
.form-control,
.form-select {
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--css-cyan) !important;
  box-shadow: 0 0 0 0.25rem rgba(17, 191, 255, 0.2) !important;
}

.contact-hub-card,
.stat-box,
.matrix-stage-card,
.feature-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.contact-hub-card:hover,
.stat-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(7, 56, 130, 0.12) !important;
}

.sector-filter-btn {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.sector-filter-btn:hover {
  transform: translateY(-2px);
}

/* 13. Accessibility standard: respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal-item,
  body.js-loaded .reveal-item:not(.is-revealed) {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* =========================================================================
   5-STAGE VERIFICATION & TRAINING MATRIX (Tab-Wise Layout)
   ========================================================================= */
.matrix-tabs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.matrix-tab-btn {
  background-color: #ffffff;
  border: 1.5px solid var(--css-border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  text-align: left;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(7, 56, 130, 0.03);
  width: 100%;
}

.matrix-tab-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--css-navy), var(--css-cyan));
  opacity: 0;
  transition: opacity 0.25s ease, width 0.25s ease;
}

.matrix-tab-btn:hover {
  border-color: var(--css-cyan);
  background-color: #f8fbff;
  transform: translateX(4px);
  box-shadow: 0 6px 18px rgba(7, 56, 130, 0.08);
}

.matrix-tab-btn:hover::before {
  opacity: 1;
}

.matrix-tab-btn.active {
  background-color: #f0f7ff;
  border-color: var(--css-navy);
  box-shadow: 0 8px 24px rgba(7, 56, 130, 0.12);
  transform: translateX(6px);
}

.matrix-tab-btn.active::before {
  opacity: 1;
  width: 6px;
}

.matrix-tab-icon {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 12px;
  background-color: #ffffff;
  border: 1.5px solid var(--css-border);
  color: var(--css-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  transition: all 0.3s ease;
  margin-top: 2px;
}

.matrix-tab-btn:hover .matrix-tab-icon,
.matrix-tab-btn.active .matrix-tab-icon {
  background-color: var(--css-navy);
  color: #ffffff;
  border-color: var(--css-navy);
  transform: scale(1.05);
}

.matrix-tab-stage-num {
  font-family: monospace;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--css-navy);
  background-color: var(--css-cyan-light);
  border: 1px solid var(--css-cyan-border);
  padding: 3px 9px;
  border-radius: var(--radius-full);
  display: inline-block;
}

.matrix-tab-verified-badge {
  font-size: 0.76rem;
  font-weight: 700;
  color: #065f46;
  background-color: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.matrix-tab-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--css-navy);
  margin-bottom: 4px;
  line-height: 1.3;
}

.matrix-tab-desc {
  font-size: 0.86rem;
  color: var(--css-text-muted);
  line-height: 1.55;
  margin-bottom: 0;
}

.matrix-img-frame {
  height: 580px;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(7, 56, 130, 0.12);
  border: 1px solid #cbd5e1;
  position: relative;
  background-color: #f1f5f9;
}

.matrix-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.matrix-img-frame:hover img {
  transform: scale(1.03);
}

@media (max-width: 991.98px) {
  .matrix-img-frame {
    height: 380px;
    margin-top: 16px;
  }
}

