:root {
  --primary: #1543a0;
  --secondary: #aeca2e;
  --primary-hover: #aeca2e;
  --bg-main: #F4F6F8;
  /* Light modern gray */
  --surface: #FFFFFF;
  /* Pure white for cards */
  --text-main: #4A5568;
  /* Crisp slate gray */
  --heading: #1A202C;
  /* Almost black */
  --line: #E2E8F0;
  /* Soft border */
  --radius: 12px;
  /* Modern clean corners */
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4%;
}

h1,
h2,
h3,
h4 {
  font-weight: 800;
  line-height: 1.1;
  color: var(--heading);
}

h2,
h3,
h4 {
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 1.5rem;
  letter-spacing: -1.5px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background-color: var(--heading);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.8rem;
  font-weight: 800;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-transform: uppercase;
  border-radius: 0;
  position: relative;
  overflow: hidden;
  z-index: 1;
  text-decoration: none;
}

.btn:hover {
  background-color: #65C62A;
  color: #FFFFFF;
  transform: none;
  box-shadow: none;
}

.btn-primary {
  background-color: #111D2A;
  color: #FFFFFF;
}

.btn-primary:hover {
  background-color: #65C62A;
  color: #FFFFFF;
}

.btn-dark {
  background-color: #111D2A;
  color: #FFFFFF;
}

.btn-dark:hover {
  background-color: #65C62A;
}

.btn-light {
  background-color: #FFFFFF;
  color: #111D2A;
}

.btn-light:hover {
  background-color: #65C62A;
  color: #FFFFFF;
}

.btn-outline {
  border: 2px solid var(--heading);
  color: var(--heading);
  background: transparent;
  padding: calc(1.2rem - 2px) calc(2.8rem - 2px);
}

.btn-outline:hover {
  color: var(--surface);
  background: var(--heading);
}

/* Modern Dark Header */
.header {
  background-color: #FFFFFF;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 4px solid #65C62A;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
}

/* Logo Area */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.main-logo {
  height: 48px;
  /* Adjusted for the 60px header height */
  width: auto;
  display: block;
  object-fit: contain;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  /* Tighter gap */
}

.logo-icon-img {
  height: 42px;
  width: auto;
}

.logo-text {
  font-weight: 900;
  color: #000000;
  font-size: 1.5rem;
  letter-spacing: -1px;
  line-height: 1;
}

.logo-text-light {
  font-weight: 300;
  color: #000000;
}

/* Navigation */
.nav-links {
  display: flex;
  gap: 1.5rem;
  /* Reduced from 2rem */
  align-items: center;
}

.nav-links a {
  color: #111D2A;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 1.2rem 0;
  position: relative;
  transition: all 0.3s ease;
}

.nav-links a svg {
  opacity: 0.7;
  transition: all 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #65C62A;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #65C62A;
}

/* Refined Mega Menu */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  background-color: #FFFFFF;
  width: 1000px;
  box-shadow: 0 30px 60px rgba(17, 29, 42, 0.1);
  border-radius: 0 0 12px 12px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1200;
  padding: 2.5rem 4rem;
  display: flex;
  border-top: 4px solid #65C62A;
}

.mega-menu-item:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega-menu-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  width: 100%;
}

.mega-col {
  display: flex;
  flex-direction: column;
}

.mega-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #111D2A;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #E2E8F0;
  position: relative;
}

.mega-title::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: #65C62A;
}

.mega-title svg {
  width: 16px;
  height: 16px;
  color: #65C62A;
}

.mega-links {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.mega-links a {
  color: #4A5568 !important;
  text-decoration: none !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  padding: 0.4rem 0.75rem !important;
  /* Reduced vertical padding */
  line-height: 1.3 !important;
  /* Tightened line height */
  margin-left: -0.75rem;
  border-radius: 6px;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s ease !important;
}

.mega-links a:hover {
  color: #111D2A !important;
  background-color: #F8FAFC !important;
  padding-left: 1rem !important;
}

.mega-links a::after {
  content: '\2192';
  opacity: 0;
  transform: translateX(-5px);
  transition: all 0.2s ease;
  color: #65C62A;
}

.mega-links a:hover::after {
  opacity: 1;
  transform: translateX(0);
}

/* Ensure active state works for mega menu links too */
.mega-links a.active {
  color: #65C62A !important;
}

@media (max-width: 1200px) {
  .mega-menu {
    width: 95vw;
    padding: 3rem;
  }

  .mega-menu-container {
    gap: 3rem;
  }
}

/* Sectors Dropdown */
.nav-item-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 45%;
  transform: translateX(-50%) translateY(15px);
  background-color: #FFFFFF;
  min-width: 250px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  border-top: 3px solid #65C62A;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: 1010;
  padding: 0.8rem 0;
  border-radius: 0 0 12px 12px;
}

.nav-item-dropdown:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-2px);
  /* Slight overlap or snug fit */
}

/* Ensure the hover area extends above for seamless entry */
.nav-item-dropdown .nav-dropdown::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  width: 100%;
  height: 20px;
}

.nav-dropdown a {
  padding: 0.85rem 1.8rem !important;
  display: block !important;
  text-transform: none !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  color: #111D2A !important;
  width: 100%;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.nav-dropdown a:last-child {
  border-bottom: none;
}

.nav-dropdown a:hover {
  background-color: #F8FAFC;
  color: #65C62A !important;
  padding-left: 2.2rem !important;
}

.dropdown-arrow {
  font-size: 0.9rem;
  line-height: 1;
  margin-left: 2px;
  transition: transform 0.3s ease;
}

.nav-item-dropdown:hover .dropdown-arrow {
  transform: translateY(2px);
  color: #65C62A;
}

/* Action Area */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.icon-btn {
  background: transparent;
  border: none;
  color: #FFFFFF;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.icon-btn:hover {
  color: #65C62A;
}

.cart-btn {
  margin-right: 0.5rem;
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: #65C62A;
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-header-quote {
  background-color: #111D2A;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.75rem 1.8rem;
  border-radius: 0;
  text-transform: uppercase;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-header-quote:hover {
  background-color: #65C62A;
  color: #FFFFFF;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-left: 1px solid rgba(0, 0, 0, 0.1);
  padding-left: 1rem;
  margin-left: 0.5rem;
}

.contact-icon-ring {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(101, 198, 42, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.05);
    opacity: 1;
  }

  100% {
    transform: scale(0.95);
    opacity: 0.8;
  }
}

.contact-icon {
  width: 32px;
  height: 32px;
  background-color: #65C62A;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
}

.contact-info {
  display: flex;
  flex-direction: column;
}

.contact-phone {
  color: #111D2A;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.2;
}

.contact-email {
  color: #64748B;
  font-size: 0.75rem;
  transition: all 0.3s ease;
}

.contact-email:hover {
  color: #FFFFFF;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: #111D2A;
  cursor: pointer;
}

/* Hide some elements on smaller screens */
@media (max-width: 1200px) {

  .nav-links,
  .header-contact {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }
}

/* Modern Hero Layout (Dark Theme) */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  /* Ensure it stays on the left */
  background: #0B1120;
  overflow: hidden;
  color: #FFFFFF;
  padding: calc(5rem - 10px) 0 8rem;
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  background-color: #0B1120;
  /* Dark fallback */
}

.hero-video {
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  opacity: 0.45;
  filter: grayscale(0.5) contrast(1.1);
  pointer-events: none;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(11, 17, 32, 0.95) 0%, rgba(11, 17, 32, 0.5) 60%, rgba(11, 17, 32, 0.8) 100%);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  text-align: left;
  margin-left: calc(5% - 10px);
  /* Nudged 10px to the left */
  margin-right: auto;
  max-width: 1300px;
}

.hero-content {
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-subtitle {
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.85rem;
  display: block;
  margin-top: 40px;
  /* Added 10px more */
  margin-bottom: 0.5rem;
}

.hero-content h1 {
  font-size: clamp(3rem, 5.5vw, 3.875rem);
  margin-bottom: 1.25rem;
  color: #FFFFFF;
  line-height: 1.2;
  letter-spacing: -1.5px;
  max-width: 680px;
}

.hero-content p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 680px;
  margin-bottom: 2rem;
  line-height: 1.5;
}

/* Hero Buttons */
.btn-hero-green {
  display: inline-flex;
  background-color: #65C62A;
  color: #FFFFFF;
  padding: 1rem 1.8rem;
  font-weight: 800;
  font-size: 0.85rem;
  border: none;
  transition: all 0.3s ease;
  border-radius: 0;
}

.btn-hero-green:hover {
  background-color: #FFFFFF;
  color: #65C62A;
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Auto-animating arrow for GET A QUOTE button */
.btn-hero-green span,
.btn-hero-green::after {
  display: inline-block;
  animation: moveArrow 1.5s infinite ease-in-out;
}

@keyframes moveArrow {

  0%,
  100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(5px);
  }
}

.btn-hero-white {
  display: inline-flex;
  background-color: transparent;
  color: #FFFFFF;
  padding: 1rem 1.8rem;
  font-weight: 800;
  font-size: 0.85rem;
  border: 2px solid #FFFFFF;
  transition: all 0.3s ease;
  border-radius: 0;
}

.btn-hero-white:hover {
  background-color: #FFFFFF;
  color: #111D2A;
  transform: none;
  box-shadow: none;
}

/* Feature Card Replacement for Right Side */
.hero-feature-card {
  background: #FFFFFF;
  padding: 3.5rem 3rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  margin-bottom: -12rem;
  z-index: 10;
  position: relative;
}

.feature-card-content h3 {
  font-size: 1.4rem;
  color: #111D2A;
  margin-bottom: 1.5rem;
  font-weight: 800;
  line-height: 1.3;
}

.feature-card-img {
  width: 100%;
  height: 180px;
  background-size: cover;
  background-position: center;
  margin-bottom: 1.5rem;
  border-radius: 4px;
  /* Slight soft edge if desired, matching image */
}

.feature-card-content p {
  color: #64748B;
  font-size: 0.95rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.feature-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #65C62A;
  font-weight: 800;
  font-size: 1rem;
}

.feature-card-link:hover {
  color: #4CAF50;
}

.arrow-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background-color: #65C62A;
  color: #FFFFFF;
  border-radius: 50%;
  font-size: 1.1rem;
}

/* Hero Feature Banner */
.hero-feature-banner {
  display: flex;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: calc(3rem - 10px);
  max-width: 730px;
  width: 100%;
}

.hero-banner-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.hero-banner-item:last-child {
  border-right: none;
}

.hero-banner-item:hover {
  background-color: rgba(255, 255, 255, 0.15);
}



.banner-num {
  display: block;
  font-size: 1.75rem;
  font-weight: 900;
  color: #65C62A;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.banner-label {
  display: block;
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.9;
}

/* Floating High-Contrast Form */
.hero-form-wrapper {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  padding: 3rem;
  position: relative;
  box-shadow: 0 40px 60px rgba(0, 0, 0, 0.08);
  margin-bottom: -10rem;
  z-index: 10;
}

.hero-form-wrapper::before {
  display: none;
}

.hero-form-wrapper h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-control {
  width: 100%;
  padding: 1.2rem;
  background-color: var(--bg-main);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--heading);
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background-color: var(--surface);
}

/* Modern Client Logos Section (3 Rows) */
.client-logos {
  padding: 4rem 0;
  background-color: #FFFFFF;
  text-align: center;
}

.logos-title {
  color: var(--text-main);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 3rem;
  opacity: 0.6;
}

.logos-rows-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.logos-track-container {
  overflow: hidden;
  width: 100%;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.logos-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
}

.logo-item {
  color: #111D2A;
  font-size: 1.75rem;
  font-weight: 950;
  padding: 0 5rem;
  display: flex;
  align-items: center;
  letter-spacing: -0.5px;
  opacity: 0.15;
  transition: opacity 0.3s ease;
}

.logo-item:hover {
  opacity: 0.4;
}

/* Row Specific Animations - all right to left */
.row-1 .logos-track {
  animation: scroll-left 30s linear infinite;
}

.row-2 .logos-track {
  animation: scroll-left 40s linear infinite;
}

.row-3 .logos-track {
  animation: scroll-left 35s linear infinite;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Modern About (Bento Grid) */
.about {
  padding: 5rem 0 5rem;
  /* Extra padding to clear overlapping hero form */
  background-color: var(--bg-main);
  position: relative;
  border-bottom: 1px solid var(--line);
}

.about h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 1.5rem;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 200px;
  gap: 1.5rem;
}

.bento-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.bento-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: var(--surface);
}

.bento-large {
  grid-column: span 2;
}

.bento-image {
  padding: 0;
  background-position: center;
  background-size: cover;
  cursor: pointer;
}

.bento-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.4) 50%, transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.25rem;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.bento-image:hover .bento-overlay {
  transform: translateY(0);
}

.bento-overlay h3 {
  color: #FFFFFF;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.bento-overlay p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  line-height: 1.4;
  margin-bottom: 1.5rem;
}

/* Universal Bento Content and Hover CTA */
.bento-content {
  transition: all 0.4s ease;
}

.bento-item:hover .bento-content {
  opacity: 0.1;
  transform: scale(0.95);
  filter: blur(2px);
}

.bento-hover-cta {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2.25rem;
  text-align: center;
  background: rgba(17, 29, 42, 0.9);
  color: #FFFFFF;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  z-index: 5;
}

.bento-item:hover .bento-hover-cta {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.bento-hover-cta p {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.btn-bento-cta {
  display: inline-block;
  background-color: #65C62A;
  color: #FFFFFF;
  padding: 0.75rem 1.5rem;
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: none;
  border-radius: 4px;
}

.btn-bento-cta:hover {
  background-color: #55a822;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(101, 198, 42, 0.3);
  color: #FFFFFF;
}

.bento-number {
  font-size: 2.75rem;
  font-weight: 900;
  color: #65C62A;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.bento-text {
  font-size: 0.9rem;
  color: var(--text-main);
  line-height: 1.5;
}

/* Modern Services (Sleek Hover Reveal) */
.services {
  padding: 5rem 0 0;
  /* Removed bottom padding to close the gap */
  background-color: var(--bg-main);
  position: relative;
}

.bg-text-glass {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 20vw;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.5);
  /* Semi-transparent base */
  font-family: inherit;
  z-index: 0;
  white-space: nowrap;
  pointer-events: none;
  text-transform: uppercase;
  /* Glossy glass blur effect */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* Modern Services Split Layout (Image Match) */
.modern-services-split {
  background-color: #FFFFFF;
}

.services-top-white {
  padding: 6rem 0 0 0;
}

.services-header-split {
  display: flex;
  gap: 4rem;
  justify-content: space-between;
  align-items: flex-start;
}

.services-header-left,
.services-header-right {
  flex: 1;
}

.text-green-small {
  color: #65C62A;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 1rem;
}

.services-header-left h2 {
  font-size: 2rem;
  color: #111D2A;
  line-height: 1.1;
  letter-spacing: -1px;
  font-weight: 800;
  margin: 0;
}

.services-header-right p {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.header-right-btns {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.btn-dark-square {
  background-color: #111D2A;
  color: #FFFFFF;
  padding: 1rem 1.8rem;
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-flex;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-dark-square:hover {
  background-color: #65C62A;
}

.btn-link-dark {
  color: #111D2A;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-link-dark::before {
  content: '\2192';
  /* Right Arrow */
  display: inline-flex;
  background-color: #FFFFFF;
  border: 1px solid #e2e8f0;
  color: #111D2A;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.btn-link-dark:hover::before {
  background-color: #65C62A;
  border-color: #65C62A;
  color: #FFFFFF;
}

/* Bottom Dark Section */
.services-bottom-dark {
  background-color: #111D2A;
  position: relative;
  padding-bottom: 6rem;
  margin-top: 0;
  padding-top: 100px;
  /* Matched the overlap margin for perfect fit */
  z-index: 1;
}

.services-slider-container {
  position: relative;
  z-index: 20;
  margin-top: 4rem;
  margin-bottom: -100px;
  /* Reduced for tighter fit */
}

.services-floating-cards {
  display: flex;
  overflow-x: hidden;
  scroll-behavior: smooth;
  gap: 0;
  position: relative;
  background: #FFFFFF;
  border: 1px solid #d1d5db;
  /* Sharper border */
  border-radius: 8px 8px 0 0;
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.05);
}

.service-floating-card {
  flex: 0 0 25%;
  min-width: 25%;
  padding: 3.5rem 2.5rem;
  border-right: 1px solid #d1d5db;
  /* Matching sharp border */
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  z-index: 1;
}

.service-floating-card:hover {
  background-color: #111D2A !important;
  transform: translateY(-10px);
  box-shadow: 0 40px 70px rgba(0, 0, 0, 0.25);
  z-index: 10;
  border-right-color: transparent !important;
}

.service-floating-card:hover h3,
.service-floating-card:hover p,
.service-floating-card:hover .card-link {
  color: #FFFFFF !important;
}

.service-floating-card:hover .card-icon img {
  filter: invert(1);
  transform: scale(1.1);
}

.service-floating-card:hover .card-icon {
  mix-blend-mode: screen;
}

.card-icon img,
.card-icon svg {
  transition: all 0.4s ease;
}

.card-icon img {
  mix-blend-mode: multiply;
}

.service-floating-card:hover .card-link::before {
  background-color: #65C62A;
  color: #FFFFFF;
  transform: scale(1.2) translateX(3px);
}



.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  background: #FFFFFF;
  color: #111D2A;
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  cursor: pointer;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.slider-arrow:hover {
  background: #f8fafc;
  color: var(--primary);
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.slider-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

.slider-arrow.prev {
  left: -28px;
  /* Sit exactly on the left border line */
}

.slider-arrow.next {
  right: -28px;
  /* Sit exactly on the right border line */
}

@media (max-width: 1200px) {
  .service-floating-card {
    flex: 0 0 33.333%;
    min-width: 33.333%;
  }
}

@media (max-width: 991px) {
  .service-floating-card {
    flex: 0 0 50%;
    min-width: 50%;
  }
}

@media (max-width: 768px) {
  .services-slider-container {
    padding: 0;
  }

  .service-floating-card {
    flex: 0 0 100%;
    min-width: 100%;
  }

  .slider-arrow {
    display: none;
  }

  .services-floating-cards {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    box-shadow: none;
  }

  .service-floating-card {
    scroll-snap-align: start;
    border-right: none;
    border-bottom: 1px solid #f1f5f9;
  }
}

.service-floating-card:last-child {
  border-right: none;
}

.service-floating-card.white-card {
  background-color: #FFFFFF;
}

.service-floating-card.green-card {
  background-color: #65C62A;
  color: #FFFFFF;
}

.card-icon {
  margin-bottom: 2rem;
}

.card-icon svg {
  width: 48px;
  height: 48px;
}

.service-floating-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.3;
  color: #111D2A;
  letter-spacing: -0.5px;
}

.service-floating-card p {
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.white-card p {
  color: #64748B;
}

.green-card p {
  color: #FFFFFF;
}

.card-link {
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
  color: #111D2A;
  transition: all 0.3s ease;
}

.card-link:hover {
  color: #65C62A;
}

.card-link:hover .icon-circle {
  transform: translateX(3px);
}

.services-info-bar {
  background-color: #FFFFFF;
  padding: 2rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  margin-top: -1px;
  /* Seamless fusion */
  border: 1px solid #f1f5f9;
  border-top: none;
  /* Use the cards' bottom border */
  border-radius: 0 0 15px 15px;
  box-shadow: 0px 25px 50px rgba(0, 0, 0, 0.04);
  position: relative;
  z-index: 20;
}

.info-bar-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex: 1;
}

.info-icon {
  background-color: rgba(101, 198, 42, 0.1);
  flex-shrink: 0;
  /* Light green tint */
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-icon span {
  background-color: #65C62A;
  color: #FFFFFF;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8rem;
}

.info-bar-left p {
  color: #4A5568;
  font-size: 1.05rem;
  line-height: 1.5;
  margin: 0;
  font-weight: 500;
  flex: 1;
}

.info-bar-left a {
  color: #65C62A;
  font-weight: 800;
  text-decoration: none;
  margin-left: 5px;
  border-bottom: 2px solid rgba(101, 198, 42, 0.2);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.info-bar-left a:hover {
  color: #111D2A;
  border-bottom-color: #111D2A;
}

.btn-outline-dark {
  background-color: #111D2A;
  color: #FFFFFF;
  padding: 1.1rem 2rem;
  font-size: 0.85rem;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-outline-dark::after {
  content: '\2192';
  font-size: 1.1rem;
}

.btn-outline-dark:hover {
  background-color: #65C62A;
  color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(101, 198, 42, 0.2);
}

/* Integrated Security Section */
.integrated-security-section {
  padding-top: 8rem;
}

.integrated-header-center {
  text-align: center;
  margin-bottom: 4rem;
}

.text-gray-small {
  color: #94A3B8;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  display: block;
  margin-bottom: 1rem;
}

.integrated-header-center h2 {
  color: #FFFFFF;
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.2;
}

.integrated-split {
  display: flex;
  gap: 3rem;
  align-items: center;
}

.integrated-left {
  flex: 1;
}

.integrated-left h3 {
  color: #FFFFFF;
  font-size: 1.75rem;
  line-height: 1.3;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.integrated-left p {
  color: #94A3B8;
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.integrated-list {
  list-style: none;
  padding: 0;
  margin: 0 0 3rem 0;
}

.integrated-list li {
  color: #FFFFFF;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.check-icon {
  color: #65C62A;
}

.integrated-right {
  flex: 1;
}

.integrated-image-wrapper {
  position: relative;
  height: 500px;
}

.integrated-img-inner {
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  background-color: #2D3748;
}

.floating-checklist-card {
  position: absolute;
  top: 50%;
  left: -40px;
  transform: translateY(-50%);
  background-color: #FFFFFF;
  padding: 2.5rem;
  color: var(--heading);
}

.floating-checklist-card h4 {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.3;
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
  text-transform: none;
}

.small-title {
  color: #65C62A;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: block;
}

.small-checklist {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0 0;
}

.small-checklist li {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.check-green {
  color: #65C62A;
}

.service-content p {
  color: var(--text-main);
  margin-bottom: 2rem;
  flex: 1;
  /* Pushes CTA to the bottom */
}

.service-link {
  color: var(--primary);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
}

.service-card:hover .service-link {
  opacity: 1;
  transform: translateY(0);
}

.service-link svg {
  transition: var(--transition);
}

.service-card:hover .service-link svg {
  transform: translateX(5px);
}

/* Clean Corporate Sectors Grid */
.sectors {
  padding: 5rem 0;
  background-color: var(--bg-main);
  border-top: 1px solid var(--line);
}

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

.sector-card {
  position: relative;
  height: 300px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  border-radius: 20px;
  display: flex;
  align-items: flex-end;
  padding: 2rem;
  transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.sector-card:hover {
  transform: scale(1.02);
  box-shadow: 0 30px 60px rgba(21, 67, 160, 0.2);
}

.sector-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(10, 31, 74, 1.0) 0%, rgba(10, 31, 74, 0.8) 30%, rgba(21, 67, 160, 0.4) 60%, transparent 100%);
  transition: var(--transition);
  z-index: 1;
}

.sector-card:hover .sector-overlay {
  background: linear-gradient(to top, rgba(10, 31, 74, 0.95) 0%, rgba(21, 67, 160, 0.9) 100%);
}

.sector-content {
  position: relative;
  z-index: 2;
  transition: var(--transition);
  width: 100%;
}

.sector-content h3 {
  color: #FFFFFF;
  margin: 0;
  font-size: 1.25rem;
  text-transform: uppercase;
  font-weight: 850;
  letter-spacing: 1px;
  transition: transform 0.4s ease;
}

.sector-desc {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-top: 1rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
  height: 0;
  visibility: hidden;
}

.sector-card:hover .sector-content h3 {
  transform: translateY(-5px);
}

.sector-card:hover .sector-desc {
  opacity: 1;
  transform: translateY(0);
  height: auto;
  visibility: visible;
}

/* Modern Core Values */
.values-section {
  padding: 8rem 0;
  background-color: var(--heading);
  position: relative;
  overflow: hidden;
}

/* Background stylistic elements */
.values-section::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 80vw;
  height: 80vw;
  max-width: 800px;
  max-height: 800px;
  background: radial-gradient(circle, rgba(21, 67, 160, 0.4) 0%, transparent 60%);
  border-radius: 50%;
  z-index: 0;
}

.values-modern-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
  position: relative;
  z-index: 1;
}

.modern-value-card {
  position: relative;
  padding: 3rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  transition: var(--transition);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.modern-value-card:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-10px);
  border-color: rgba(174, 202, 46, 0.5);
  /* var(--secondary) with opacity */
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.value-number {
  font-size: 6rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.03);
  position: absolute;
  top: 0.5rem;
  right: 1.5rem;
  line-height: 1;
  transition: var(--transition);
}

.modern-value-card:hover .value-number {
  color: rgba(174, 202, 46, 0.1);
  transform: scale(1.1) rotate(5deg);
}

.value-content {
  position: relative;
  z-index: 2;
  margin-top: 3rem;
}

.modern-value-card h4 {
  font-size: 1.4rem;
  color: #FFFFFF;
  margin-bottom: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.modern-value-card p {
  color: #94A3B8;
  font-size: 1rem;
}

/* Process Grid */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.process-step {
  position: relative;
  padding: 3rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: var(--transition);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.process-step:hover {
  border-color: transparent;
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
}

.process-number {
  font-size: 4rem;
  font-weight: 900;
  color: var(--line);
  line-height: 1;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.process-step:hover .process-number {
  color: var(--secondary);
}

.process-step h4 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--heading);
}

.process-step p {
  font-size: 0.95rem;
  color: var(--text-main);
}

/* Testimonials */
.testimonials {
  padding: 5rem 0;
  background-color: var(--surface);
}

.test-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.test-card {
  background: var(--surface);
  padding: 3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
  transition: var(--transition);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.test-card:hover {
  border-color: transparent;
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
}

.test-quote {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-main);
  margin-bottom: 2rem;
}

.test-author {
  font-weight: 800;
  color: var(--heading);
  text-transform: uppercase;
  font-size: 1rem;
}

.test-company {
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

/* CTA & Footer */
.cta-section {
  padding: 5rem 0;
  background: var(--primary);
  text-align: center;
}

.cta-section h2 {
  color: #FFFFFF;
  font-size: 3rem;
  margin-bottom: 1.5rem;
}


/* Premium Profile Section */
.premium-profile-section {
  padding: 4rem 0;
  background-color: #f8fafc;
  position: relative;
  overflow: hidden;
}

.premium-profile-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(var(--line) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.5;
}

.profile-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 8rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.profile-image-area {
  position: relative;
}

.profile-img-frame {
  position: relative;
  display: inline-block;
  width: 100%;
}

.profile-img-frame::before {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  background-color: #65C62A;
  z-index: 1;
}

.profile-img-frame img {
  width: 100%;
  height: 550px;
  object-fit: cover;
  position: relative;
  z-index: 2;
  box-shadow: 20px 20px 40px rgba(0, 0, 0, 0.1);
  display: block;
}

.img-overlay-blur {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  z-index: 3;
  pointer-events: none;
}

.experience-card {
  position: absolute;
  top: -20px;
  left: -20px;
  background-color: #111D2A;
  color: #FFFFFF;
  padding: 3rem;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.2);
}

.exp-num {
  font-size: 4rem;
  font-weight: 900;
  color: #65C62A;
  line-height: 1;
}

.exp-text {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  color: #94A3B8;
}

.premium-h2 {
  font-size: 2rem;
  color: #111D2A;
  line-height: 1.2;
  margin-bottom: 1rem;
  font-weight: 800;
  text-transform: none;
  letter-spacing: -0.5px;
}

.profile-lead {
  font-size: 1.05rem;
  color: #334155;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 1rem;
  max-width: 95%;
}

.profile-details p {
  font-size: 0.95rem;
  color: #526071;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.profile-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.p-num {
  display: block;
  font-size: 1.75rem;
  font-weight: 900;
  color: #111D2A;
  margin-bottom: 0.25rem;
}

.p-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  color: #65C62A;
}

@media (max-width: 1024px) {
  .profile-layout {
    grid-template-columns: 1fr;
    gap: 5rem;
  }

  .profile-img-frame {
    padding-right: 20px;
    padding-bottom: 20px;
  }
}

.main-footer {
  background-color: #111D2A;
  color: #94A3B8;
  padding: 6rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.main-footer .container {
  display: grid;
  grid-template-columns: 2.5fr 1.5fr 1.5fr 2fr;
  gap: 4rem;
  margin-bottom: 5rem;
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 2rem;
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.5rem;
  width: 30px;
  height: 2px;
  background-color: #65C62A;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 0.9rem;
}

.footer-col a {
  color: #94A3B8;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-col a:hover {
  color: #65C62A;
  transform: translateX(5px);
}

.brand-col .footer-logo {
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-col .footer-logo img {
  height: 40px;
  width: auto;
}

.brand-col .logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.5px;
}

.brand-col .logo-text-light {
  font-weight: 300;
  color: #94A3B8;
  /* White Gray */
}

.footer-cta-link {
  color: #65C62A !important;
  font-weight: 700;
  margin-top: 0.5rem;
}

.brand-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 90%;
}

.footer-credentials {
  font-size: 0.8rem;
  line-height: 1.6;
  opacity: 0.7;
  margin-bottom: 2rem;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #FFFFFF;
  transition: all 0.3s ease;
}

.footer-socials a:hover {
  background: #65C62A;
  transform: translateY(-3px) !important;
}

/* Contact Column */
.footer-contact-item {
  margin-bottom: 1.5rem;
}

.contact-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #65C62A;
  margin-bottom: 0.25rem;
}

.contact-value {
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  color: #FFFFFF !important;
}

.contact-value.highlight {
  font-size: 1.4rem !important;
  color: #65C62A !important;
}

.footer-deployment {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.license-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.4rem 0.8rem;
  font-size: 0.75rem;
  border-radius: 4px;
  margin-top: 1rem;
  color: #FFFFFF;
  font-weight: 600;
}

/* Bottom Bar */
.footer-bottom {
  background: rgba(0, 0, 0, 0.2);
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
}

.bottom-flex p {
  margin: 0;
  white-space: nowrap;
  color: #64748B;
  font-size: 0.85rem;
}

.bottom-links {
  display: flex;
  gap: 2rem;
  flex-shrink: 0;
}

.bottom-links a {
  color: #64748B;
  text-decoration: none;
  font-size: 0.85rem;
}

.legal-text h3 {
  margin-top: 3.5rem;
  margin-bottom: 1.5rem;
  color: #111D2A;
  font-size: 1.4rem;
  font-weight: 800;
  border-bottom: 2px solid #65C62A;
  display: inline-block;
  padding-bottom: 0.25rem;
}

.legal-text h3:first-child {
  margin-top: 0;
}

.legal-text p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
  color: #4A5568;
  font-size: 1.05rem;
}

.legal-text ul {
  margin-bottom: 2rem;
  padding-left: 1.5rem;
}

.legal-text li {
  margin-bottom: 0.75rem;
  position: relative;
  list-style-type: none;
  padding-left: 1rem;
}

.legal-text li::before {
  content: '';
  position: absolute;
  left: -0.5rem;
  top: 0.7rem;
  width: 6px;
  height: 6px;
  background-color: #65C62A;
  border-radius: 50%;
}

@media (max-width: 1024px) {
  .main-footer .container {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .main-footer .container {
    grid-template-columns: 1fr;
  }

  .bottom-flex {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}

@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
  }

  .hero-bg {
    mask-image: none;
    opacity: 0.05;
  }

  .hero-form-wrapper {
    margin-top: 2rem;
    margin-bottom: 0;
    z-index: 1;
  }

  .about {
    padding-top: 8rem;
  }

  .bento-grid {
    grid-template-columns: 1fr 1fr;
  }

  .bento-large {
    grid-column: span 1;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sectors-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-modern-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .test-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-header-split {
    flex-direction: column;
    gap: 2rem;
  }

  .integrated-split {
    flex-direction: column;
    gap: 4rem;
  }

  .floating-checklist-card {
    position: relative;
    top: auto;
    left: 0;
    transform: none;
    margin-top: 0;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }

  .integrated-image-wrapper {
    height: auto !important;
  }

  .integrated-img-inner {
    height: 300px !important;
  }
}

@media (max-width: 768px) {

  .header-actions .header-contact,
  .nav-links,
  .top-bar {
    display: none;
  }

  /* Mobile Menu Styles */
  .mobile-menu-active .nav-links {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100vh - 60px);
    background: #FFFFFF;
    padding: 2rem;
    gap: 0;
    overflow-y: auto;
    z-index: 1001;
  }

  .mobile-menu-active .nav-links a {
    padding: 1.25rem 0 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    width: 100%;
    justify-content: space-between;
  }

  .mobile-menu-active .nav-item-dropdown {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .mobile-menu-active .nav-dropdown,
  .mobile-menu-active .mega-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    padding: 0 0 1rem 1.5rem;
    width: 100%;
    display: none;
    /* Toggle via JS */
    background: #F8FAFC;
    border-radius: 0;
  }

  .mobile-menu-active .nav-item-dropdown.open .nav-dropdown,
  .mobile-menu-active .nav-item-dropdown.open .mega-menu {
    display: block;
  }

  /* Simplify mega menu for mobile */
  .mega-menu-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .mega-title {
    padding-top: 1rem;
    margin-bottom: 0.5rem;
    font-size: 0.7rem;
  }

  .mobile-menu-active .nav-item-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
  }

  .mobile-menu-btn {
    display: block !important;
  }

  .btn-header-quote {
    padding: 0.6rem 1.2rem;
    font-size: 0.75rem;
  }

  .mobile-menu-btn {
    display: block;
    color: var(--heading);
    border: none;
    background: transparent;
  }

  .bento-grid {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .sectors-grid,
  .process-grid,
  .values-modern-grid,
  .test-grid {
    grid-template-columns: 1fr;
  }

  .main-footer .container {
    grid-template-columns: 1fr;
  }

  /* Global Mobile Typography Refinement */
  h1 {
    font-size: 2.25rem !important;
  }

  h2 {
    font-size: 1.75rem !important;
  }

  h3 {
    font-size: 1.5rem !important;
  }

  .hero-content h1 {
    font-size: clamp(2rem, 8vw, 2.5rem) !important;
    letter-spacing: -1px !important;
  }

  .hero-content p {
    font-size: 1rem !important;
  }

  .services-header-left h2,
  .integrated-header-center h2,
  .cta-section h2,
  .about-page h1 {
    font-size: 1.85rem !important;
    letter-spacing: -0.5px !important;
  }

  .section-label {
    font-size: 0.75rem !important;
    margin-bottom: 1rem !important;
  }

  .services-info-bar {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
    padding: 2rem;
  }

  /* Hero Section Mobile Refinement */
  .hero-btns-container {
    flex-direction: column;
    gap: 0.85rem !important;
    width: 100%;
  }

  .hero-btns-container .btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 1rem !important;
  }

  .hero-feature-banner {
    flex-direction: column;
    max-width: 100%;
  }

  .hero-banner-item {
    flex-direction: row !important;
    align-items: center !important;
    gap: 1.5rem !important;
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.85rem 1.25rem !important;
    text-align: left !important;
  }

  .hero-banner-item .banner-num {
    font-size: 1.5rem !important;
    margin-bottom: 0 !important;
    min-width: 60px;
  }

  .hero-banner-item .banner-label {
    font-size: 0.65rem !important;
    line-height: 1.2 !important;
  }

  .hero-banner-item:last-child {
    border-bottom: none !important;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .header-right-btns {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .integrated-header-center h2 {
    font-size: 1.75rem;
  }

  .integrated-left h3 {
    font-size: 1.5rem;
  }

  .integrated-image-wrapper {
    height: 400px;
  }
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 50px;
  height: 50px;
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 10px 25px rgba(21, 67, 160, 0.3);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  bottom: 30px;
}

.back-to-top:hover {
  background-color: #111D2A;
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.back-to-top svg {
  transition: transform 0.3s ease;
}

.back-to-top:hover svg {
  transform: translateY(-2px);
}

/* Quote Page Styles */
.quote-page .page-hero {
  background: linear-gradient(135deg, #111D2A 0%, #1A202C 100%);
}

.quote-info-area {
  padding-right: 2rem;
}

.quote-info-area h3 {
  letter-spacing: -0.5px;
}

.quote-form-container {
  position: relative;
}

.quote-form-container .btn-hero-green:hover {
  background-color: #111D2A !important;
  color: #FFFFFF !important;
}

.quote-form-container .form-control:focus {
  background-color: #FFFFFF !important;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border-bottom: 2px solid #65C62A !important;
}

@media (max-width: 992px) {
  .quote-page section {
    padding: 5rem 0 !important;
  }
}

.quote-page .page-hero+section {
  padding-top: 6rem !important;
}

/* Industry Pages: Redesigned Premium Hero (No BG Image) */
.page-hero {
  position: relative;
  background-color: #0B1120;
  /* Deep obsidian */
  padding: clamp(4rem, 8vw, 6rem) 0 4rem !important;
  overflow: hidden;
  z-index: 1;
}

/* Subtle Geometric Grid Layer (CSS-only) */
.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(101, 198, 42, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(101, 198, 42, 0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  z-index: 0;
  pointer-events: none;
}

/* Glowing Atmospheric Shapes */
.hero-accent-shape {
  position: absolute;
  top: -20%;
  right: -5%;
  width: 60vw;
  height: 60vw;
  max-width: 800px;
  background: radial-gradient(circle, rgba(21, 67, 160, 0.25) 0%, transparent 65%);
  z-index: 0;
  pointer-events: none;
  filter: blur(40px);
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, rgba(101, 198, 42, 0.15) 0%, transparent 70%);
  z-index: 0;
  filter: blur(60px);
}

.page-hero .container {
  position: relative;
  z-index: 5;
}

.page-hero .hero-content {
  max-width: 800px;
  text-align: left;
}

.page-hero .section-label {
  color: #65C62A;
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(101, 198, 42, 0.08);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.8rem;
}

.page-hero h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  color: #FFFFFF;
  line-height: 1.15;
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
  letter-spacing: -1px;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.page-hero p {
  color: #94A3B8;
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 650px;
}


.industry-layout-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2.5rem;
  align-items: flex-start;
}

.industry-sidebar {
  position: sticky;
  top: 100px;
  z-index: 10;
}

.sticky-cta-card {
  background: #111D2A;
  padding: 3.5rem 3rem;
  border-radius: 12px;
  color: #FFFFFF;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.industry-content-main {
  background: #FFFFFF;
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: 0 15px 40px rgba(17, 29, 42, 0.03);
}

.industry-content-main h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  text-transform: none;
  margin-bottom: 2rem;
  letter-spacing: -1px;
}

.industry-content-main h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.75rem);
  text-transform: none;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

.industry-content-main p {
  color: #64748B;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.industry-image-box {
  border-radius: 12px;
  overflow: hidden;
  margin: 3rem 0;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

@media (max-width: 1024px) {
  .industry-layout-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .industry-sidebar {
    order: -1;
    position: relative;
    top: 0;
  }

  .sticky-cta-card {
    position: relative;
    top: 0;
    padding: 3rem 2rem;
  }

  .industry-content-main {
    padding: 2.5rem 1.5rem;
  }
}