/* ==============================================================
   CORE AUTOMATION - Enterprise Corporate Grade Stylesheet
   Designed with 40-Year Senior Engineering & Dev Precision
   Inspired by Rexcon Framework with Brand Identity Adaptation
   ============================================================== */

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

:root {
  --font-base: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-heading: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  
  /* Brand Colors from Logo */
  --primary-color: #029b9c;
  --primary-hover: #008283;
  --primary-dark: #006061;
  --primary-light: #e6f6f6;
  --primary-glow: rgba(2, 155, 156, 0.22);
  
  /* Enterprise Industrial Slate & Navy */
  --navy-dark: #07131e;
  --navy-surface: #0c1c2b;
  --navy-card: #122436;
  --navy-border: #1c3248;
  
  --dark-color: #0d1b2a;
  --body-color: #334155;
  --heading-color: #0f172a;
  --muted-color: #64748b;
  --light-bg: #f8fafc;
  --light-card: #ffffff;
  --border-light: #e2e8f0;
  
  --transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Base Styles */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-base);
  color: var(--body-color);
  background-color: #ffffff;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--heading-color);
  font-weight: 700;
  line-height: 1.25;
}

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

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

img {
  max-width: 100%;
  height: auto;
}

/* ==============================================================
   Top Bar
   ============================================================== */
.topbar {
  background-color: var(--navy-dark);
  color: #94a3b8;
  font-size: 13.5px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar a {
  color: #cbd5e1;
}

.topbar a:hover {
  color: var(--primary-color);
}

.topbar-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.topbar-info li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.topbar-info i {
  color: var(--primary-color);
}

.topbar-social {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.topbar-social a {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
  font-size: 12px;
}

.topbar-social a:hover {
  background: var(--primary-color);
  color: #ffffff;
}

/* ==============================================================
   Header & Navigation (Rexcon Inspired)
   ============================================================== */
.header {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.4s ease;
  z-index: 1020;
}

.header.scrolled {
  background: #ffffff;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
  padding: 6px 0;
}

.header.scrolled .navmenu > ul > li > a {
  color: var(--heading-color);
}

.header.scrolled .navmenu > ul > li > a:hover,
.header.scrolled .navmenu > ul > li.active > a {
  color: var(--primary-color);
}

.header.scrolled .mobile-nav-toggle {
  color: var(--heading-color);
}

.logo-container,
.header .logo {
  display: inline-flex;
  align-items: center;
}

.logo-container img,
.header .logo img,
.logo img {
  max-height: 58px !important;
  height: auto;
  width: auto;
  object-fit: contain;
  transition: all 0.3s ease;
}

.header.scrolled .logo-container img,
.header.scrolled .header .logo img {
  max-height: 50px !important;
}

/* Desktop Navmenu */
.navmenu {
  display: flex;
  align-items: center;
}

.navmenu ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.navmenu > ul > li {
  position: relative;
  padding: 10px 0;
}

.navmenu > ul > li > a {
  color: var(--heading-color);
  font-weight: 600;
  font-size: 15px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
}

.navmenu > ul > li > a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--primary-color);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.navmenu > ul > li:hover > a::after,
.navmenu > ul > li.active > a::after {
  transform: scaleX(1);
}

.navmenu > ul > li:hover > a,
.navmenu > ul > li.active > a {
  color: var(--primary-color);
}

/* Dropdown Menus */
.navmenu .dropdown {
  position: relative;
}

.navmenu .dropdown > a i {
  font-size: 11px;
  transition: transform 0.3s ease;
}

.navmenu .dropdown:hover > a i {
  transform: rotate(180deg);
}

.navmenu .dropdown-menu {
  display: block;
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: #ffffff;
  padding: 12px 0;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-top: 3px solid var(--primary-color);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  transform: translateY(12px);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 1000;
}

.navmenu .dropdown:hover > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.navmenu .dropdown-menu li {
  list-style: none;
}

.navmenu .dropdown-menu a {
  padding: 9px 22px;
  color: var(--heading-color);
  font-size: 14.5px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-transform: none;
  transition: all 0.2s ease;
}

.navmenu .dropdown-menu a:hover {
  background: var(--primary-light);
  color: var(--primary-color);
  padding-left: 26px;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  font-size: 28px;
  color: var(--heading-color);
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}

.header.scrolled .mobile-nav-toggle {
  color: #ffffff;
}

/* ==============================================================
   Rexcon Signature Calypso Button
   ============================================================== */
.button {
  pointer-events: auto;
  cursor: pointer;
  background: var(--primary-color);
  border: none;
  padding: 12px 26px !important;
  margin: 0;
  font-family: var(--font-base);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  border-radius: 4px;
  color: #ffffff;
  text-decoration: none;
}

.button::before,
.button::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.button--calypso {
  overflow: hidden;
  color: #ffffff;
}

.button--calypso span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 10;
  color: #ffffff;
}

.button--calypso:hover span {
  animation: MoveScaleUpInitial 0.3s forwards, MoveScaleUpEnd 0.3s forwards 0.3s;
}

@keyframes MoveScaleUpInitial {
  to {
    transform: translate3d(0, -115%, 0) scale3d(1, 1.5, 1);
    opacity: 0;
  }
}

@keyframes MoveScaleUpEnd {
  from {
    transform: translate3d(0, 100%, 0) scale3d(1, 1.5, 1);
    opacity: 0;
  }
  to {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

.button--calypso::before {
  content: '';
  background: var(--primary-dark);
  width: 130%;
  height: 0;
  padding-bottom: 130%;
  top: -115%;
  left: -15%;
  border-radius: 50%;
  transform: translate3d(0, 68%, 0) scale3d(0, 0, 0);
}

.button--calypso:hover::before {
  transform: translate3d(0, 0, 0) scale3d(1, 1, 1);
  transition: transform 0.4s cubic-bezier(0.1, 0, 0.3, 1);
}

.button--calypso::after {
  content: '';
  background: var(--navy-dark);
  transform: translate3d(0, -100%, 0);
  transition: transform 0.4s cubic-bezier(0.1, 0, 0.3, 1);
}

.button--calypso:hover::after {
  transform: translate3d(0, 0, 0);
  transition-duration: 0.05s;
  transition-delay: 0.4s;
  transition-timing-function: linear;
}

/* Secondary Button Style */
.button--calypso2 {
  background: transparent !important;
  border: 2px solid rgba(255, 255, 255, 0.7) !important;
}

.button--calypso2 span {
  color: #ffffff !important;
}

.button--outline-dark {
  background: transparent !important;
  border: 2px solid var(--navy-dark) !important;
  color: var(--navy-dark) !important;
}

.button--outline-dark span {
  color: var(--navy-dark) !important;
}

.button--outline-dark:hover span {
  color: #ffffff !important;
}

/* ==============================================================
   Rexcon Image Hover Effects (Hover14 Sheen & Hover15 Circle)
   ============================================================== */
.fix-image {
  overflow: hidden;
  border-radius: 8px;
}

figure {
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.hover14 figure {
  position: relative;
  overflow: hidden;
}

.hover14 figure::before {
  position: absolute;
  top: 0;
  left: -85%;
  z-index: 2;
  display: block;
  content: '';
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.35) 100%);
  transform: skewX(-25deg);
}

.hover14 figure:hover::before {
  animation: shine 0.85s;
}

@keyframes shine {
  100% {
    left: 135%;
  }
}

.hover15 figure {
  position: relative;
  overflow: hidden;
}

.hover15 figure::before {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: block;
  content: '';
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 100%;
  transform: translate(-50%, -50%);
  opacity: 0;
}

.hover15 figure:hover::before {
  animation: circle 0.8s;
}

@keyframes circle {
  0% {
    opacity: 1;
  }
  40% {
    opacity: 1;
  }
  100% {
    width: 220%;
    height: 220%;
    opacity: 0;
  }
}

.zoom-effect img {
  transition: transform 0.6s ease;
}

.zoom-effect:hover img {
  transform: scale(1.06);
}

/* ==============================================================
   Hero Section & Swiper Slider
   ============================================================== */
.hero-slider {
  position: relative;
  min-height: 85vh;
  background-color: var(--navy-dark);
}

.hero-slide {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
}

.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 19, 30, 0.94) 0%, rgba(7, 19, 30, 0.82) 55%, rgba(7, 19, 30, 0.45) 100%);
  z-index: 1;
}

.hero-slide .container {
  position: relative;
  z-index: 2;
  padding: 120px 15px 80px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(2, 155, 156, 0.15);
  color: var(--primary-light);
  border: 1px solid rgba(2, 155, 156, 0.35);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 13.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(2.3rem, 5vw, 4rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 22px;
}

.hero-desc {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: #cbd5e1;
  max-width: 650px;
  margin-bottom: 35px;
  line-height: 1.6;
}

.hero-highlights-box {
  background: rgba(12, 28, 43, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 4px solid var(--primary-color);
  backdrop-filter: blur(10px);
  padding: 24px;
  border-radius: 8px;
}

.hero-highlights-box h4 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.hero-highlights-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-highlights-list li {
  padding: 7px 0;
  color: #e2e8f0;
  font-size: 15px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.hero-highlights-list li:last-child {
  border-bottom: none;
}

.hero-highlights-list i {
  color: var(--primary-color);
}

/* Hero Info Cards (Rexcon floating boxes below slider) */
.hero-info-section {
  position: relative;
  z-index: 5;
  margin-top: -55px;
  margin-bottom: 60px;
}

.hero-info-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  border-bottom: 3px solid transparent;
  transition: var(--transition);
  height: 100%;
}

.hero-info-card:hover {
  transform: translateY(-6px);
  border-bottom-color: var(--primary-color);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

.hero-info-badge {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary-color);
  background: var(--primary-light);
  padding: 4px 10px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 14px;
}

.hero-info-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

/* ==============================================================
   Global Section Titles & Badges
   ============================================================== */
.section-padding {
  padding: 90px 0;
}

.section-padding-sm {
  padding: 60px 0;
}

.section-tag {
  display: inline-block;
  color: var(--primary-color);
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  position: relative;
}

.section-tag.text-white {
  color: #5eead4 !important;
}

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 18px;
  color: var(--heading-color);
}

.section-title strong {
  color: var(--primary-color);
  font-weight: 800;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--muted-color);
  max-width: 720px;
  margin-bottom: 35px;
}

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

.bg-navy {
  background-color: var(--navy-dark);
  color: #ffffff;
}

.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4, .bg-navy h5, .bg-navy h6 {
  color: #ffffff;
}

.bg-navy .text-muted {
  color: #94a3b8 !important;
}

/* ==============================================================
   Service & Solutions Cards (Rexcon Inspired)
   ============================================================== */
.service-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-light);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: rgba(2, 155, 156, 0.3);
}

.service-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
}

.service-number {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  color: var(--primary-color);
  opacity: 0.85;
}

.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 14px;
}

.service-divider {
  height: 2px;
  background: var(--border-light);
  margin: 16px 0;
  position: relative;
}

.service-card:hover .service-divider::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 50px;
  background: var(--primary-color);
  transition: width 0.4s ease;
}

.service-card p {
  color: var(--body-color);
  font-size: 15px;
  flex-grow: 1;
  margin-bottom: 20px;
}

.service-image-box {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  margin-top: auto;
}

.service-image-box img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.service-action-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 15px;
}

.service-action-link i {
  transition: transform 0.3s ease;
}

.service-card:hover .service-action-link i {
  transform: translateX(6px);
}

/* ==============================================================
   Rexcon Accordion Horizontal Showcase Slider (Glitch-Free)
   ============================================================== */
.accordion-slider-wrapper {
  width: 100%;
  height: 520px;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  background: var(--navy-dark);
}

.accordion-slider {
  display: flex;
  height: 100%;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.accordion-slide {
  flex: 1 1 0%;
  min-width: 0;
  position: relative;
  cursor: pointer;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: flex 0.65s cubic-bezier(0.25, 1, 0.5, 1), filter 0.4s ease;
  overflow: hidden;
  filter: grayscale(0.85);
  will-change: flex;
}

.accordion-slide:hover,
.accordion-slide.active {
  filter: grayscale(0);
}

.accordion-slide.active {
  flex: 3.2 1 0%;
}

.accordion-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 19, 30, 0.3) 0%, rgba(7, 19, 30, 0.95) 85%);
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.accordion-slide.active::before {
  background: linear-gradient(180deg, rgba(7, 19, 30, 0.15) 0%, rgba(7, 19, 30, 0.88) 85%);
}

.slide-content-box {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  z-index: 5;
  color: #ffffff;
  pointer-events: none;
}

.accordion-slide.active .slide-content-box {
  pointer-events: auto;
}

.slide-num-tag {
  font-size: 32px;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 6px;
  line-height: 1;
  transition: font-size 0.3s ease, color 0.3s ease;
}

.accordion-slide.active .slide-num-tag {
  font-size: 40px;
  color: #38e1e3;
}

.slide-title {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 8px;
  transition: font-size 0.3s ease;
}

.slide-title .title-short {
  display: inline-block;
  white-space: normal;
}

.slide-title .title-full {
  display: none;
}

.accordion-slide.active .slide-title {
  font-size: 26px;
  margin-bottom: 14px;
}

.accordion-slide.active .slide-title .title-short {
  display: none;
}

.accordion-slide.active .slide-title .title-full {
  display: inline-block;
}

.slide-details {
  font-size: 14.5px;
  line-height: 1.6;
  color: #cbd5e1;
  margin-bottom: 18px;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease, max-height 0.35s ease;
  pointer-events: none;
}

.accordion-slide.active .slide-details {
  opacity: 1;
  max-height: 140px;
  transform: translateY(0);
  pointer-events: auto;
  transition-delay: 0.15s;
}

.slide-action-box {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

.accordion-slide.active .slide-action-box {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  transition-delay: 0.2s;
}

/* Accordion Nav Arrows */
.accordion-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  z-index: 20;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.accordion-nav-arrow:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #ffffff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 194, 186, 0.4);
}

.accordion-nav-arrow:focus {
  outline: none;
}

.accordion-nav-arrow.nav-prev {
  left: 20px;
}

.accordion-nav-arrow.nav-next {
  right: 20px;
}

@media (max-width: 767px) {
  .accordion-nav-arrow {
    width: 38px;
    height: 38px;
    font-size: 16px;
    top: auto;
    bottom: 15px;
    transform: none;
  }
  .accordion-nav-arrow:hover {
    transform: scale(1.08);
  }
  .accordion-nav-arrow.nav-prev {
    left: 15px;
  }
  .accordion-nav-arrow.nav-next {
    right: 15px;
  }
}

/* ==============================================================
   Continuous Text Marquee (Rexcon Ticker)
   ============================================================== */
.scroll-parent {
  position: relative;
  width: 100vw;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--navy-dark);
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.scroll-element {
  display: flex;
  white-space: nowrap;
  animation: scrollMarquee 28s linear infinite;
  gap: 40px;
}

.scroll-element span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #ffffff;
}

.scroll-element span i {
  color: var(--primary-color);
  font-size: 14px;
}

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

/* ==============================================================
   Logos Showcase (Brands & Esteemed End Users)
   ============================================================== */
.logo-card,
.brand-logo-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 105px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  cursor: pointer;
}

.logo-card:hover,
.brand-logo-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 30px rgba(2, 155, 156, 0.16);
  border-color: var(--primary-color);
  background: #ffffff;
}

.logo-card::before,
.brand-logo-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.logo-card:hover::before,
.brand-logo-card:hover::before {
  opacity: 1;
}

.logo-card img,
.brand-logo-card img {
  max-height: 52px;
  max-width: 88%;
  object-fit: contain;
  filter: grayscale(1) opacity(0.65);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-card:hover img,
.brand-logo-card:hover img {
  filter: grayscale(0) opacity(1);
  transform: scale(1.1);
}

/* Individual balance adjustments for wider logos */
.logo-card img[src*="siemens"],
.brand-logo-card img[src*="siemens"] {
  max-height: 44px;
  max-width: 95%;
}

.logo-card img[src*="schneider"],
.brand-logo-card img[src*="schneider"] {
  max-height: 48px;
  max-width: 95%;
}

.logo-card img[src*="rockwell"],
.brand-logo-card img[src*="rockwell"] {
  max-height: 46px;
  max-width: 92%;
}

.logo-card img[src*="qatarfoundation"],
.brand-logo-card img[src*="qatarfoundation"] {
  max-height: 64px;
  max-width: 94%;
}

.logo-card img[src*="kahramaa"],
.brand-logo-card img[src*="kahramaa"] {
  max-height: 62px;
  max-width: 94%;
}

.logo-card img[src*="qatarsteel"],
.brand-logo-card img[src*="qatarsteel"] {
  max-height: 52px;
  max-width: 92%;
}

/* ==============================================================
   Feature / Pillar Items (Why Core Automation)
   ============================================================== */
.feature-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 28px;
  transition: var(--transition);
  height: 100%;
}

.feature-box:hover {
  border-color: var(--primary-color);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.07);
  transform: translateY(-5px);
}

.feature-idx {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 12px;
  display: block;
}

.feature-box h4 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-box p {
  font-size: 15px;
  color: var(--body-color);
  margin: 0;
}

/* ==============================================================
   About Page: Core Capabilities (10 Solution Boxes)
   ============================================================== */
.expertise-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.expertise-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  opacity: 0;
  transition: opacity 0.35s ease;
}

.expertise-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 194, 186, 0.35);
  box-shadow: 0 16px 35px rgba(7, 19, 30, 0.08);
}

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

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

.expertise-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  background: rgba(0, 194, 186, 0.08);
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.expertise-card:hover .expertise-icon-box {
  background: var(--primary-color);
  color: #ffffff;
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(0, 194, 186, 0.35);
}

.expertise-idx {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.expertise-card:hover .expertise-idx {
  color: var(--primary-color);
}

.expertise-card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.expertise-card-body h4 {
  font-size: 19px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 10px;
  line-height: 1.35;
  transition: color 0.25s ease;
}

.expertise-card:hover .expertise-card-body h4 {
  color: var(--primary-color);
}

.expertise-divider {
  width: 36px;
  height: 2px;
  background: #e2e8f0;
  margin-bottom: 14px;
  transition: all 0.35s ease;
}

.expertise-card:hover .expertise-divider {
  width: 60px;
  background: var(--primary-color);
}

.expertise-card-body p {
  font-size: 14.5px;
  line-height: 1.65;
  color: #64748b;
  margin: 0;
  flex-grow: 1;
}

/* ==============================================================
   About Page: Step Timeline (04. Our Approach)
   ============================================================== */
.step-card {
  position: relative;
  background: #ffffff;
  padding: 34px 28px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.step-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary-color);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.step-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-color);
  box-shadow: 0 18px 40px rgba(7, 19, 30, 0.1);
}

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

/* Background Number Watermark */
.step-watermark {
  position: absolute;
  right: 15px;
  top: 10px;
  font-family: var(--font-heading);
  font-size: 76px;
  font-weight: 900;
  line-height: 1;
  color: #07131e;
  opacity: 0.04;
  pointer-events: none;
  transition: all 0.35s ease;
}

.step-card:hover .step-watermark {
  opacity: 0.08;
  color: var(--primary-color);
  transform: scale(1.05);
}

.step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  position: relative;
  z-index: 2;
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(0, 194, 186, 0.1);
  color: var(--primary-color);
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  border: 1px solid rgba(0, 194, 186, 0.25);
  transition: all 0.35s ease;
}

.step-card:hover .step-badge {
  background: var(--primary-color);
  color: #ffffff;
  border-color: var(--primary-color);
  box-shadow: 0 6px 16px rgba(0, 194, 186, 0.35);
  transform: scale(1.06);
}

.step-icon {
  font-size: 26px;
  color: #94a3b8;
  transition: all 0.3s ease;
}

.step-card:hover .step-icon {
  color: var(--primary-color);
  transform: rotate(6deg);
}

.step-card h4 {
  font-size: 19px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 12px;
  line-height: 1.35;
  position: relative;
  z-index: 2;
  transition: color 0.25s ease;
}

.step-card:hover h4 {
  color: var(--primary-color);
}

.step-card p {
  font-size: 14px;
  line-height: 1.65;
  color: #64748b;
  margin: 0;
  position: relative;
  z-index: 2;
}

.step-number {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 14px;
}

/* ==============================================================
   Tectxon Style Services / Industry Grid (services-2.html Inspired)
   ============================================================== */
.heading-seperator {
  position: relative;
  display: block;
  margin: 16px auto 24px;
  height: 4px;
  width: 80px;
}

.heading-seperator:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.heading-seperator span:after {
  content: "";
  position: absolute;
  left: 58px;
  bottom: 0;
  width: 18px;
  height: 3px;
  background-color: #cbd5e1;
  border-radius: 2px;
}

/* Featured Item Container */
.featured-item.ttm-box-view-topimage {
  position: relative;
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
  border: 1px solid #e9eef5;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-item.ttm-box-view-topimage:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(7, 19, 30, 0.12);
  border-color: #dbeafe;
}

/* Top Thumbnail */
.featured-item .featured-thumbnail {
  position: relative;
  overflow: hidden;
  height: 200px;
  width: 100%;
  background: #07131e;
}

.featured-item .featured-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-item:hover .featured-thumbnail img {
  transform: scale(1.08);
}

.featured-thumbnail .featured-index-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(7, 19, 30, 0.7);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  padding: 3px 11px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  z-index: 3;
  transition: all 0.3s ease;
}

.featured-item:hover .featured-thumbnail .featured-index-badge {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #ffffff;
}

/* Style5 Content Box */
.featured-box.style5 {
  position: relative;
  padding: 0 24px 28px;
  background-color: #ffffff;
  z-index: 5;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

/* Floating Overlapping Icon */
.featured-box.style5 .featured-icon {
  display: inline-block;
  margin-top: -30px;
  margin-bottom: 18px;
  position: relative;
  z-index: 10;
}

.featured-box .featured-icon.icon-shape-square i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 60px;
  font-size: 26px;
  color: #ffffff;
  background-color: var(--primary-color);
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0, 194, 186, 0.35);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-item:hover .featured-icon.icon-shape-square i {
  background-color: var(--navy-dark);
  box-shadow: 0 8px 22px rgba(7, 19, 30, 0.4);
  transform: translateY(-2px) scale(1.05);
}

/* Content Area */
.featured-box.style5 .featured-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.featured-box.style5 .featured-title h5 {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 12px;
}

.featured-box.style5 .featured-title h5 a {
  color: var(--heading-color);
  text-decoration: none;
  transition: color 0.25s ease;
}

.featured-item:hover .featured-title h5 a {
  color: var(--primary-color);
}

.featured-box.style5 .featured-desc {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.featured-box.style5 .featured-desc p {
  font-size: 13.5px;
  line-height: 1.6;
  color: #64748b;
  margin-bottom: 22px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Inline Action Button */
.ttm-btn.btn-inline {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  margin-top: auto;
  padding-top: 6px;
  transition: all 0.25s ease;
}

.ttm-btn.btn-inline i {
  font-size: 17px;
  transition: transform 0.25s ease, color 0.25s ease;
}

.featured-item:hover .ttm-btn.btn-inline {
  color: var(--navy-dark);
}

.featured-item:hover .ttm-btn.btn-inline i {
  transform: translateX(5px);
  color: var(--primary-color);
}

/* Retain industry-card backwards-compatibility */
.industry-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* ==============================================================
   Page Banner / Breadcrumbs Header
   ============================================================== */
.page-header {
  position: relative;
  padding: 130px 0 75px;
  min-height: 420px;
  display: flex;
  align-items: center;
  background-color: var(--navy-dark);
  color: #ffffff;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(7, 19, 30, 0.95) 0%, rgba(12, 28, 43, 0.9) 100%);
  z-index: 1;
}

.page-header .container {
  width: 100%;
  position: relative;
  z-index: 2;
}

.page-header h1 {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  color: #ffffff;
  font-weight: 800;
  margin-bottom: 16px;
}

.page-header p {
  color: #cbd5e1;
  font-size: 1.15rem;
  max-width: 760px;
  margin-bottom: 24px;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14.5px;
  color: #94a3b8;
}

.breadcrumb-list a {
  color: #cbd5e1;
}

.breadcrumb-list a:hover {
  color: var(--primary-color);
}

.breadcrumb-list .active {
  color: var(--primary-color);
  font-weight: 600;
}

/* ==============================================================
   Call to Action (CTA) Section
   ============================================================== */
.cta-box-modern {
  position: relative;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-surface) 100%);
  padding: 60px 40px;
  color: #ffffff;
  overflow: hidden;
  border: 1px solid rgba(2, 155, 156, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.cta-box-modern::after {
  content: '';
  position: absolute;
  right: -50px;
  bottom: -50px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  pointer-events: none;
}

/* ==============================================================
   Footer
   ============================================================== */
.footer {
  background-color: var(--navy-dark);
  color: #94a3b8;
  font-size: 15px;
  padding-top: 80px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  padding-bottom: 50px;
}

.footer .logo-container {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  padding: 10px 22px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.footer .logo-container img {
  max-height: 52px;
  width: auto;
  margin-bottom: 0;
}

.footer-desc {
  color: #94a3b8;
  font-size: 14.5px;
  line-height: 1.7;
}

.footer h4 {
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 10px;
}

.footer h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 35px;
  height: 2px;
  background: var(--primary-color);
}

.footer-links {
  padding: 0;
  margin: 0;
}

.footer-links ul {
  list-style: none !important;
  list-style-type: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.footer-links li {
  list-style: none !important;
  list-style-type: none !important;
  margin-bottom: 12px;
}

.footer-links a {
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.footer-links a i {
  font-size: 12px;
  color: var(--primary-color);
}

.footer-links a:hover {
  color: var(--primary-color);
  padding-left: 6px;
}

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

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  color: #cbd5e1;
}

.footer-contact-list i {
  color: var(--primary-color);
  font-size: 18px;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-bottom {
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
}

/* ==============================================================
   Scroll Top Button & Preloader
   ============================================================== */
.scroll-top {
  position: fixed;
  right: 25px;
  bottom: 25px;
  width: 44px;
  height: 44px;
  border-radius: 6px;
  background: var(--primary-color);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.scroll-top.active {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--navy-dark);
  color: #ffffff;
  transform: translateY(-3px);
}

/* ==============================================================
   Responsive Styles
   ============================================================== */
@media (max-width: 1199px) {
  .accordion-slider-wrapper {
    height: 460px;
  }
}

@media (max-width: 767px) {
  .topbar {
    display: none;
  }
  
  .hero-slide {
    min-height: 75vh;
  }
  
  .hero-slide .container {
    padding: 85px 15px 50px;
  }
  
  .hero-info-section {
    margin-top: 20px;
  }
  
  .accordion-slider {
    flex-direction: column;
  }
  
  .accordion-slider-wrapper {
    height: 600px;
  }
  
  .accordion-slide.active {
    flex: 3;
  }
  
  .cta-box-modern {
    padding: 35px 20px;
  }
  
  .featured-item.ttm-box-view-topimage {
    margin-bottom: 24px;
  }
}

/* ==============================================================
   Homepage: Engineering That Connects Systems and Outcomes (Enhanced)
   ============================================================== */
.engineering-outcomes-container {
  background: linear-gradient(135deg, #07131e 0%, #0d2235 50%, #07131e 100%);
  border: 1px solid rgba(2, 155, 156, 0.25);
  border-radius: 16px;
  padding: 48px 36px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(7, 19, 30, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.engineering-outcomes-container::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 20%;
  width: 60%;
  height: 180%;
  background: radial-gradient(circle, rgba(2, 155, 156, 0.16) 0%, transparent 70%);
  pointer-events: none;
}

.outcomes-header {
  position: relative;
  z-index: 2;
  margin-bottom: 35px;
}

.outcomes-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(2, 155, 156, 0.15);
  border: 1px solid rgba(2, 155, 156, 0.35);
  color: #38e1e3;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.outcomes-title {
  color: #ffffff;
  font-size: clamp(1.4rem, 2.5vw, 1.95rem);
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 0;
}

.outcomes-grid {
  position: relative;
  z-index: 2;
}

.outcome-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px 22px;
  text-align: center;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  backdrop-filter: blur(8px);
}

.outcome-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: rgba(2, 155, 156, 0.12);
  border: 1px solid rgba(2, 155, 156, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #38e1e3;
  margin-bottom: 18px;
  transition: all 0.35s ease;
}

.outcome-heading {
  color: #ffffff;
  font-size: 17.5px;
  font-weight: 700;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.outcome-desc {
  color: #94a3b8;
  font-size: 13.5px;
  line-height: 1.5;
  margin-bottom: 0;
  transition: color 0.3s ease;
}

.outcome-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(2, 155, 156, 0.6);
  box-shadow: 0 16px 36px rgba(2, 155, 156, 0.22), 0 0 20px rgba(2, 155, 156, 0.15);
}

.outcome-card:hover .outcome-icon-wrap {
  background: var(--primary-color);
  color: #ffffff;
  border-color: var(--primary-color);
  transform: scale(1.1) rotate(4deg);
  box-shadow: 0 8px 20px rgba(2, 155, 156, 0.4);
}

.outcome-card:hover .outcome-heading {
  color: #38e1e3;
}

.outcome-card:hover .outcome-desc {
  color: #e2e8f0;
}

/* ==============================================================
   Solutions Page: Corporate Capabilities Box & Hover Effects
   ============================================================== */
.capabilities-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: 4px solid var(--primary-color);
  border-radius: 12px;
  padding: 24px 26px;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.capabilities-box::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 90px;
  height: 90px;
  background: radial-gradient(circle, rgba(2, 155, 156, 0.1) 0%, transparent 70%);
  pointer-events: none;
  transition: all 0.4s ease;
}

.capabilities-box:hover {
  transform: translateY(-5px);
  border-color: rgba(2, 155, 156, 0.4);
  border-left-color: var(--primary-color);
  box-shadow: 0 16px 32px rgba(2, 155, 156, 0.12), 0 4px 12px rgba(15, 23, 42, 0.04);
}

.capabilities-box:hover::before {
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(2, 155, 156, 0.18) 0%, transparent 70%);
}

.capabilities-box .capabilities-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(2, 155, 156, 0.12);
}

.capabilities-box .capabilities-title i {
  font-size: 15px;
}

.capabilities-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.capabilities-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 6px;
  font-size: 13.5px;
  color: var(--text-color);
  line-height: 1.45;
  transition: all 0.25s ease;
}

.capabilities-list li i {
  color: var(--primary-color);
  font-size: 14px;
  margin-top: 2px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.capabilities-list li:hover {
  background: rgba(2, 155, 156, 0.06);
  color: var(--heading-color);
  padding-left: 14px;
}

.capabilities-list li:hover i {
  transform: scale(1.2);
}

/* ==============================================================
   Business Units: Key Benefits & Applications Cards & Hover Effects
   ============================================================== */
.bu-feature-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 22px 20px;
  height: 100%;
  position: relative;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.bu-feature-card.benefits-card {
  border-top: 3px solid var(--primary-color);
}

.bu-feature-card.applications-card {
  border-top: 3px solid var(--navy-dark);
}

.bu-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(2, 155, 156, 0.12), 0 4px 12px rgba(15, 23, 42, 0.05);
  border-color: var(--primary-color);
}

.bu-feature-card .card-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f1f5f9;
}

.bu-feature-card.benefits-card .card-heading {
  color: var(--primary-color);
}

.bu-feature-card.applications-card .card-heading {
  color: var(--heading-color);
}

.bu-feature-card .card-heading i {
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(2, 155, 156, 0.1);
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.bu-feature-card:hover .card-heading i {
  background: var(--primary-color);
  color: #ffffff;
  transform: rotate(5deg) scale(1.08);
}

.bu-feature-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.bu-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-color);
  padding: 6px 8px;
  border-radius: 6px;
  line-height: 1.45;
  transition: all 0.25s ease;
}

.bu-feature-list li i {
  font-size: 14px;
  color: var(--primary-color);
  margin-top: 2px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.bu-feature-list li:hover {
  background: rgba(2, 155, 156, 0.06);
  color: var(--heading-color);
  padding-left: 12px;
}

.bu-feature-list li:hover i {
  transform: translateX(2px) scale(1.15);
}

/* ==============================================================
   Industries Page: Completely Redesigned Corporate Showcase
   ============================================================== */
.industry-filter-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 45px;
}

.industry-filter-btn {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: var(--text-color);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 22px;
  border-radius: 50px;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.industry-filter-btn:hover,
.industry-filter-btn.active {
  background: var(--primary-color);
  color: #ffffff;
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(2, 155, 156, 0.25);
}

.industry-showcase-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  position: relative;
}

.industry-showcase-card:hover {
  transform: translateY(-8px);
  border-color: rgba(2, 155, 156, 0.4);
  box-shadow: 0 20px 40px rgba(2, 155, 156, 0.12), 0 8px 16px rgba(15, 23, 42, 0.05);
}

.industry-card-media {
  position: relative;
  height: 250px;
  overflow: hidden;
  background-color: var(--navy-dark);
}

.industry-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.industry-showcase-card:hover .industry-card-media img {
  transform: scale(1.08);
}

.industry-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 19, 30, 0.15) 0%, rgba(7, 19, 30, 0.75) 100%);
  pointer-events: none;
}

.industry-card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(7, 19, 30, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #38e1e3;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 6px 14px;
  border-radius: 50px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.industry-card-icon {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(2, 155, 156, 0.95);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  z-index: 2;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  transition: all 0.35s ease;
}

.industry-showcase-card:hover .industry-card-icon {
  background: #ffffff;
  color: var(--primary-color);
  transform: scale(1.1) rotate(5deg);
}

.industry-card-body {
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.industry-card-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 6px;
  transition: color 0.3s ease;
}

.industry-showcase-card:hover .industry-card-title {
  color: var(--primary-color);
}

.industry-card-subheading {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 14px;
  line-height: 1.4;
}

.industry-card-desc {
  font-size: 14px;
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: 20px;
}

.industry-capabilities-box {
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 24px;
}

.industry-capabilities-title {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 800;
  color: var(--heading-color);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.industry-capabilities-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.industry-capabilities-list li {
  font-size: 13px;
  color: #475569;
  padding: 4px 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}

.industry-capabilities-list li i {
  color: var(--primary-color);
  font-size: 14px;
  margin-top: 1px;
  flex-shrink: 0;
}

.industry-card-footer {
  margin-top: auto;
}


.bu-feature-list li:hover i {
  transform: translateX(2px) scale(1.15);
}

/* ==============================================================
   RexCon Template Style: Services & Industries Architecture
   ============================================================== */
.bg-services {
  background: #f8fafc;
  padding: 80px 0;
}

.service-card-rex {
  background: #ffffff;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  transition: all 0.35s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card-rex:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.08);
  border-color: #cbd5e1;
}

.service-hover {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.services-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.services-title h2 {
  font-size: 19px;
  line-height: 1.3em;
  font-weight: 700;
  margin: 0;
}

.services-title h2 a {
  color: var(--heading-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.service-card-rex:hover .services-title h2 a {
  color: var(--primary-color);
}

.services-title h3 {
  font-size: 20px;
  line-height: 1.3em;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0;
  letter-spacing: -0.5px;
}

.service-card-rex hr {
  margin: 12px 0 14px;
  border-color: #e2e8f0;
  opacity: 1;
}

.service-card-rex .service-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: #64748b;
  margin-bottom: 16px;
}

.service-card-rex .hover15 {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  margin-top: auto;
  cursor: pointer;
}

.service-card-rex .hover15 figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.service-card-rex .hover15 figure img {
  width: 100%;
  height: 185px;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card-rex:hover .hover15 figure img {
  transform: scale(1.08);
}

.service-card-rex .hover15 figure i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  font-size: 38px;
  color: #ffffff;
  z-index: 10;
  opacity: 0;
  transition: all 0.35s ease-in-out;
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.6));
}

.service-card-rex:hover .hover15 figure i {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}

/* RexCon Watch Our Story / Mid Banner */
.watch-our-story-rex {
  position: relative;
  background: linear-gradient(135deg, rgba(7, 19, 30, 0.92) 0%, rgba(15, 23, 42, 0.88) 100%), url('../images/hero/hero-2.jpg') center/cover no-repeat;
  padding: 90px 0;
  color: #ffffff;
}

/* RexCon What We Do Section */
.what-we-do-box {
  width: 100%;
  background: #ffffff;
  padding: 28px 24px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  height: 100%;
}

.what-we-do-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
  border-color: #cbd5e1;
}

.what-we-do-box .icon-box {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: var(--primary-color);
  color: #ffffff;
  font-size: 24px;
  transition: all 0.35s ease;
}

.what-we-do-box:hover .icon-box {
  background: var(--heading-color);
  transform: scale(1.08);
}

/* RexCon FAQ Accordion */
.faq-rex-container {
  background: #f1f5f9;
  border-radius: 14px;
  padding: 32px;
  border: 1px solid #e2e8f0;
}

.faq-rex-container .accordion-item {
  position: relative;
  background: #ffffff;
  border-radius: 10px;
  margin-bottom: 16px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.faq-rex-container .accordion-item:last-child {
  margin-bottom: 0;
}

.faq-rex-container .accordion-header .accordion-button {
  font-size: 16px;
  font-weight: 700;
  padding: 18px 24px;
  color: var(--heading-color);
  box-shadow: none !important;
  background: #ffffff;
  transition: all 0.25s ease;
}

.faq-rex-container .accordion-header .accordion-button:not(.collapsed) {
  color: var(--primary-color);
  background: #fafcfc;
  border-bottom: 1px solid #f1f5f9;
}

.faq-rex-container .accordion-body {
  background: #ffffff;
  padding: 18px 24px;
  font-size: 14px;
  line-height: 1.65;
  color: #475569;
}

/* ==============================================================
   Corporate Grade Enterprise Polish: Non-Duplicate Unique Box Designs
   ============================================================== */

/* 1. Global Box Foundation & Hardware Acceleration */
.service-card,
.service-card-rex,
.feature-box,
.expertise-card,
.step-card,
.hero-info-card,
.what-we-do-box,
.card.rounded-3,
.card.shadow-sm,
.bu-feature-card,
.capabilities-box {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  will-change: transform, box-shadow;
}

/* 2. BOX DESIGN 1: .service-card (Solutions: Split Glass-Face Panel with Bottom Window) */
.service-card {
  border-radius: 14px !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04) !important;
  position: relative;
  overflow: hidden;
  background: #ffffff;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 5;
}

.service-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 20px 45px rgba(7, 19, 30, 0.1), 0 0 25px rgba(0, 194, 186, 0.06) !important;
  border-color: rgba(0, 194, 186, 0.45) !important;
}

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

.service-card:hover .service-header i {
  transform: scale(1.15) rotate(5deg);
  color: var(--primary-color) !important;
}

.service-card:hover .service-number {
  transform: scale(1.08);
  color: var(--primary-color);
}

.service-card:hover h3 {
  color: var(--primary-color);
  transition: color 0.25s ease;
}

.service-card:hover .service-divider::after {
  width: 75px;
}

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

.service-card:hover .service-action-link {
  color: var(--navy-dark);
  gap: 12px;
}

.service-card:hover .service-action-link i {
  transform: translateX(5px);
  color: var(--primary-color);
}

/* 3. BOX DESIGN 2: .feature-box (Pillars: Executive Monolith with Left Cyan Status Bar) */
.feature-box {
  background: #ffffff;
  border: 1px solid #e2e8f0 !important;
  border-left: 4px solid var(--primary-color) !important;
  border-radius: 12px !important;
  padding: 30px 26px !important;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03) !important;
  display: flex;
  flex-direction: column;
}

.feature-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
  opacity: 0;
  transition: opacity 0.35s ease;
}

.feature-box:hover {
  transform: translateY(-6px) !important;
  border-left-width: 6px !important;
  border-color: rgba(0, 194, 186, 0.35) !important;
  border-left-color: var(--primary-color) !important;
  box-shadow: 0 18px 40px rgba(7, 19, 30, 0.08), 0 0 20px rgba(0, 194, 186, 0.06) !important;
  background: linear-gradient(90deg, rgba(0, 194, 186, 0.02) 0%, #ffffff 40%);
}

.feature-box:hover::before {
  opacity: 1;
}

.feature-box .feature-idx {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  color: var(--primary-color);
  letter-spacing: 1px;
  display: inline-block;
  margin-bottom: 12px;
  transition: transform 0.3s ease;
}

.feature-box:hover .feature-idx {
  transform: translateX(5px);
}

.feature-box h4 {
  font-size: 19px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 12px;
  line-height: 1.35;
  transition: color 0.25s ease;
}

.feature-box:hover h4 {
  color: var(--primary-color);
}

/* 4. BOX DESIGN 3: .expertise-card (About: Dual-Tone Capability Module with Rounded Icon Crest) */
.expertise-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.expertise-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  opacity: 0;
  transition: opacity 0.35s ease;
}

.expertise-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 194, 186, 0.35);
  box-shadow: 0 16px 35px rgba(7, 19, 30, 0.08);
}

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

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

.expertise-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  background: rgba(0, 194, 186, 0.08);
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.expertise-card:hover .expertise-icon-box {
  background: var(--primary-color);
  color: #ffffff;
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(0, 194, 186, 0.35);
}

.expertise-idx {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.expertise-card:hover .expertise-idx {
  color: var(--primary-color);
}

.expertise-card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.expertise-card-body h4 {
  font-size: 19px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 10px;
  line-height: 1.35;
  transition: color 0.25s ease;
}

.expertise-card:hover .expertise-card-body h4 {
  color: var(--primary-color);
}

.expertise-divider {
  width: 36px;
  height: 2px;
  background: #e2e8f0;
  margin-bottom: 14px;
  transition: all 0.35s ease;
}

.expertise-card:hover .expertise-divider {
  width: 60px;
  background: var(--primary-color);
}

.expertise-card-body p {
  font-size: 14.5px;
  line-height: 1.65;
  color: #64748b;
  margin: 0;
  flex-grow: 1;
}

/* 5. BOX DESIGN 4: .step-card (Approach: Chronological Process Stage with Watermark) */
.step-card {
  position: relative;
  background: #ffffff;
  padding: 34px 28px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.step-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary-color);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.step-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-color);
  box-shadow: 0 18px 40px rgba(7, 19, 30, 0.1);
}

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

.step-watermark {
  position: absolute;
  right: 15px;
  top: 10px;
  font-family: var(--font-heading);
  font-size: 76px;
  font-weight: 900;
  line-height: 1;
  color: #07131e;
  opacity: 0.04;
  pointer-events: none;
  transition: all 0.35s ease;
}

.step-card:hover .step-watermark {
  opacity: 0.08;
  color: var(--primary-color);
  transform: scale(1.05);
}

.step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  position: relative;
  z-index: 2;
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(0, 194, 186, 0.1);
  color: var(--primary-color);
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  border: 1px solid rgba(0, 194, 186, 0.25);
  transition: all 0.35s ease;
}

.step-card:hover .step-badge {
  background: var(--primary-color);
  color: #ffffff;
  border-color: var(--primary-color);
  box-shadow: 0 6px 16px rgba(0, 194, 186, 0.35);
  transform: scale(1.06);
}

.step-icon {
  font-size: 26px;
  color: #94a3b8;
  transition: all 0.3s ease;
}

.step-card:hover .step-icon {
  color: var(--primary-color);
  transform: rotate(6deg);
}

.step-card h4 {
  font-size: 19px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 12px;
  line-height: 1.35;
  position: relative;
  z-index: 2;
  transition: color 0.25s ease;
}

.step-card:hover h4 {
  color: var(--primary-color);
}

.step-card p {
  font-size: 14px;
  line-height: 1.65;
  color: #64748b;
  margin: 0;
  position: relative;
  z-index: 2;
}

/* 6. BOX DESIGN 5: .service-card-rex (Industries: Split Sector Card with Hover Action Magnifier) */
.service-card-rex {
  border-radius: 12px !important;
  border: 1px solid #e2e8f0 !important;
  position: relative;
  overflow: hidden;
  background: #ffffff;
}

.service-card-rex::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 5;
}

.service-card-rex:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 20px 45px rgba(7, 19, 30, 0.1), 0 0 25px rgba(0, 194, 186, 0.06) !important;
  border-color: rgba(0, 194, 186, 0.45) !important;
}

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

.service-card-rex:hover .services-title h2 a {
  color: var(--primary-color);
}

.service-card-rex:hover .services-title h3 {
  transform: scale(1.12);
  color: var(--primary-color);
}

.service-card-rex:hover hr {
  border-color: var(--primary-color);
  opacity: 0.8;
}

.service-card-rex:hover .hover15 figure img {
  transform: scale(1.08);
}

.service-card-rex:hover .hover15 figure i {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}

/* 7. BOX DESIGN 6: .hero-info-card (Floating Telemetry Island) */
.hero-info-card {
  border-radius: 12px !important;
  border: 1px solid #e2e8f0 !important;
  padding: 32px 28px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06) !important;
  position: relative;
  overflow: hidden;
  background: #ffffff;
}

.hero-info-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 5;
}

.hero-info-card:hover {
  transform: translateY(-8px) !important;
  border-color: rgba(0, 194, 186, 0.4) !important;
  border-bottom-color: var(--primary-color) !important;
  box-shadow: 0 22px 50px rgba(7, 19, 30, 0.12), 0 0 25px rgba(0, 194, 186, 0.08) !important;
}

.hero-info-card:hover::before {
  opacity: 1;
}

.hero-info-card:hover .hero-info-badge {
  background: var(--primary-color);
  color: #ffffff;
}

.hero-info-card:hover h3 {
  color: var(--primary-color);
}

.hero-info-card:hover .service-action-link {
  color: var(--navy-dark);
  gap: 12px;
}

.hero-info-card:hover .service-action-link i {
  transform: translateX(5px);
  color: var(--primary-color);
}

/* 8. BOX DESIGN 7: .card.rounded-3 (Product Catalog & General Cards: Bottom Accent Indicator) */
.card.shadow-sm,
.card.rounded-3 {
  border-radius: 12px !important;
  border: 1px solid #e2e8f0 !important;
  border-bottom: 3px solid #cbd5e1 !important;
  position: relative;
  overflow: hidden;
  background: #ffffff;
}

.card.shadow-sm:hover,
.card.rounded-3:hover {
  transform: translateY(-6px) !important;
  border-color: rgba(0, 194, 186, 0.4) !important;
  border-bottom-color: var(--primary-color) !important;
  box-shadow: 0 18px 40px rgba(7, 19, 30, 0.08), 0 0 20px rgba(0, 194, 186, 0.05) !important;
}

.card:hover h4 {
  color: var(--primary-color);
  transition: color 0.25s ease;
}

.card:hover .service-action-link {
  color: var(--navy-dark);
}

.card:hover .service-action-link i {
  transform: translateX(4px);
  color: var(--primary-color);
}

/* 9. BOX DESIGN 8: .what-we-do-box (Feature Box with Icon Accent) */
.what-we-do-box {
  position: relative;
  overflow: hidden;
  border-radius: 12px !important;
}

.what-we-do-box:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 18px 40px rgba(7, 19, 30, 0.08), 0 0 20px rgba(0, 194, 186, 0.06) !important;
  border-color: rgba(0, 194, 186, 0.4) !important;
}

.what-we-do-box:hover .icon-box {
  background: var(--navy-dark) !important;
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(7, 19, 30, 0.3);
}

/* ==============================================================
   Mobile Navigation Offcanvas Drawer, Close Button & Backdrop (100% Responsive)
   ============================================================== */

/* Styled Hamburger Toggle Button */
.mobile-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: var(--heading-color);
  font-size: 24px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.mobile-nav-toggle:hover,
.mobile-nav-toggle.active {
  background: var(--primary-color);
  color: #ffffff;
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(0, 194, 186, 0.3);
}

/* Mobile Drawer Header & Close Button - Strictly Hidden on Desktop Viewports */
.mobile-nav-header,
.mobile-nav-brand,
.mobile-nav-close-btn {
  display: none !important;
}

@media (min-width: 1200px) {
  .mobile-nav-header,
  .mobile-nav-brand,
  .mobile-nav-close-btn,
  .mobile-nav-backdrop,
  .mobile-nav-toggle {
    display: none !important;
  }
}

/* Elevate header above backdrop when mobile nav is open */
body.mobile-nav-open .header,
.header.mobile-nav-open {
  z-index: 1060 !important;
}

/* Backdrop Dimmer & Blur (positioned behind navmenu at z-index 1040) */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: rgba(7, 19, 30, 0.65);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  z-index: 1040;
}

.mobile-nav-backdrop.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.mobile-nav-open {
  overflow: hidden !important;
}

@media (max-width: 1199px) {
  .mobile-nav-toggle {
    display: inline-flex !important;
  }

  /* Drawer Container */
  .navmenu {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    width: min(340px, 86vw) !important;
    height: 100vh !important;
    height: 100dvh !important;
    background: #ffffff !important;
    box-shadow: -15px 0 45px rgba(0, 0, 0, 0.25) !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    transform: translateX(100%) !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    z-index: 1050 !important;
  }

  .navmenu.active {
    transform: translateX(0) !important;
  }

  /* Drawer Top Sticky Header - 100% Full Width with Even Spacing */
  .mobile-nav-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    min-width: 100% !important;
    padding: 16px 20px !important;
    border-bottom: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    position: sticky !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 10 !important;
    box-sizing: border-box !important;
  }

  .mobile-nav-brand {
    display: inline-flex !important;
    align-items: center !important;
    flex: 0 1 auto !important;
  }

  .mobile-nav-brand img {
    height: 34px !important;
    max-height: 34px !important;
    max-width: 175px !important;
    width: auto !important;
    object-fit: contain !important;
    display: block !important;
  }

  /* Dedicated Close Button (X) - Crisp, Right-Aligned & Perfectly Centered */
  .mobile-nav-close-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    border-radius: 8px !important;
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    color: var(--heading-color) !important;
    cursor: pointer !important;
    margin-left: auto !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    transition: all 0.25s ease !important;
  }

  .mobile-nav-close-btn i {
    font-size: 16px !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .mobile-nav-close-btn:hover {
    background: #ef4444 !important;
    border-color: #ef4444 !important;
    color: #ffffff !important;
    transform: rotate(90deg) !important;
  }

  /* Navigation Items Inside Drawer */
  .navmenu > ul {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding: 16px 20px 30px;
    margin: 0;
    gap: 4px;
  }

  .navmenu > ul > li {
    width: 100%;
    padding: 0;
    border-bottom: 1px solid #f1f5f9;
  }

  .navmenu > ul > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 12px;
    font-size: 15px;
    font-weight: 700;
    color: var(--heading-color) !important;
    border-radius: 6px;
    transition: all 0.25s ease;
  }

  .navmenu > ul > li.active > a,
  .navmenu > ul > li > a:hover {
    color: var(--primary-color) !important;
    background: rgba(0, 194, 186, 0.06);
    padding-left: 16px;
  }

  .navmenu .dropdown > a i {
    transition: transform 0.3s ease;
  }

  .navmenu .dropdown.show > a i {
    transform: rotate(180deg);
    color: var(--primary-color);
  }

  .navmenu .dropdown-menu {
    position: static;
    display: none;
    background: #f8fafc;
    border: none;
    border-left: 2px solid var(--primary-color);
    border-radius: 0 0 8px 8px;
    padding: 8px 10px 10px 14px;
    margin: 4px 0 10px 12px;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .navmenu .dropdown.show > .dropdown-menu {
    display: block;
    animation: fadeInMenu 0.3s ease;
  }

  .navmenu .dropdown-menu li a {
    display: block;
    padding: 8px 10px;
    font-size: 13.5px;
    color: #475569;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.2s ease;
  }

  .navmenu .dropdown-menu li a:hover {
    color: var(--primary-color);
    background: rgba(0, 194, 186, 0.08);
    padding-left: 14px;
  }

  /* Contact CTA inside Mobile Menu */
  .navmenu > ul > li:last-child {
    border-bottom: none;
    margin-top: 15px;
    padding-top: 5px;
  }

  .navmenu > ul > li:last-child .button--calypso {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 12px 20px !important;
  }
}

/* ==============================================================
   Universal Device Responsiveness Fine-Tuning
   ============================================================== */

/* Ensure all cards take equal 100% height in grid rows */
.service-card,
.feature-box,
.expertise-card,
.step-card,
.hero-info-card,
.what-we-do-box,
.card.rounded-3,
.card.shadow-sm,
.bu-feature-card,
.capabilities-box,
.featured-item,
.service-card-rex {
  height: 100%;
}

/* Laptops & Tablets Landscape (992px to 1199px) */
@media (max-width: 1199px) {
  .section-padding {
    padding: 70px 0;
  }
  
  .service-card,
  .expertise-card,
  .step-card,
  .hero-info-card {
    padding: 26px 22px !important;
  }
}

/* Tablets Portrait (768px to 991px) */
@media (max-width: 991px) {
  .section-padding {
    padding: 60px 0;
  }
  
  .page-header {
    padding: 100px 0 55px;
    min-height: 320px;
  }
  
  .page-header h1 {
    font-size: 32px !important;
  }
  
  .hero-info-section {
    margin-top: -30px;
    margin-bottom: 45px;
  }

  .footer {
    padding-top: 60px;
  }

  .footer-top {
    padding-bottom: 35px;
  }
}

/* Mobile Devices (< 768px) */
@media (max-width: 767px) {
  .section-padding {
    padding: 50px 0;
  }
  
  .section-title {
    font-size: 1.75rem !important;
    line-height: 1.3;
  }
  
  .section-subtitle {
    font-size: 1rem !important;
    margin-bottom: 25px;
  }
  
  .page-header {
    padding: 85px 0 45px;
    min-height: 270px;
  }
  
  .page-header h1 {
    font-size: 26px !important;
  }
  
  .page-header p {
    font-size: 1rem !important;
  }

  .service-card,
  .service-card-rex,
  .feature-box,
  .expertise-card,
  .step-card,
  .hero-info-card,
  .what-we-do-box,
  .card.rounded-3,
  .card.shadow-sm,
  .bu-feature-card,
  .capabilities-box {
    padding: 22px 18px !important;
    border-radius: 10px !important;
  }
  
  /* On touch devices, keep transforms comfortable and subtle */
  .service-card:hover,
  .service-card-rex:hover,
  .feature-box:hover,
  .expertise-card:hover,
  .step-card:hover,
  .hero-info-card:hover,
  .what-we-do-box:hover,
  .card.shadow-sm:hover,
  .card.rounded-3:hover {
    transform: translateY(-4px) !important;
  }
  
  .step-watermark {
    font-size: 56px;
    top: 15px;
    right: 12px;
  }

  /* Accordion Slider Mobile Formatting */
  .accordion-slide.active .slide-content-box {
    padding: 20px !important;
  }

  .accordion-slide.active .slide-num-tag {
    font-size: 28px !important;
    margin-bottom: 4px !important;
  }

  .accordion-slide.active .slide-title {
    font-size: 20px !important;
    margin-bottom: 8px !important;
  }

  .accordion-slide.active .slide-details {
    font-size: 13.5px !important;
    line-height: 1.45 !important;
    margin-bottom: 14px !important;
    max-height: 110px !important;
  }

  .accordion-slide:not(.active) .slide-content-box {
    padding: 12px 18px !important;
  }

  .accordion-slide:not(.active) .slide-num-tag {
    font-size: 20px !important;
    margin-bottom: 2px !important;
  }

  .accordion-slide:not(.active) .slide-title {
    font-size: 15px !important;
  }

  /* Accordion Navigation Buttons on Mobile */
  .accordion-nav-arrow {
    width: 36px !important;
    height: 36px !important;
    font-size: 15px !important;
    bottom: 12px !important;
  }

  .accordion-nav-arrow.nav-prev {
    left: 12px !important;
  }

  .accordion-nav-arrow.nav-next {
    right: 12px !important;
  }

  /* Footer on Mobile */
  .footer {
    padding-top: 50px;
  }

  .footer-top {
    padding-bottom: 25px;
  }

  .footer h4 {
    font-size: 17px;
    margin-bottom: 16px;
    margin-top: 10px;
  }

  .footer-bottom {
    padding: 20px 0;
    font-size: 13px;
  }

  .footer-desc {
    font-size: 14px;
    line-height: 1.6;
  }
}

/* Small Handheld Phones (< 576px) */
@media (max-width: 575px) {
  .header {
    padding: 8px 0;
  }

  .logo-container img,
  .header .logo img,
  .logo img {
    max-height: 44px !important;
    max-width: 185px !important;
  }

  .mobile-nav-toggle {
    width: 40px !important;
    height: 40px !important;
    font-size: 22px !important;
  }

  .service-image-box img,
  .service-card-rex .hover15 figure img,
  .featured-item .featured-thumbnail {
    height: 175px !important;
  }
  
  .expertise-icon-box {
    width: 46px;
    height: 46px;
    font-size: 20px;
  }
  
  .step-badge {
    width: 42px;
    height: 42px;
    font-size: 16px;
  }
  
  .btn, .button, .button--calypso {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .hero-slide .d-flex.flex-wrap.gap-3 {
    flex-direction: column;
    width: 100%;
  }

  .hero-slide .d-flex.flex-wrap.gap-3 .button--calypso {
    width: 100% !important;
    margin: 0 !important;
  }

  .slide-action-box .button--calypso {
    width: auto !important;
    display: inline-flex !important;
    padding: 8px 18px !important;
    font-size: 13.5px !important;
  }

  .cta-box-modern {
    padding: 30px 18px;
    border-radius: 12px;
  }

  .cta-box-modern .btn,
  .cta-box-modern .button--calypso {
    width: 100%;
  }
}

/* Ultra-Compact Phones (<= 375px e.g. iPhone SE, Fold) */
@media (max-width: 375px) {
  .logo-container img,
  .header .logo img,
  .logo img {
    max-height: 38px !important;
    max-width: 155px !important;
  }

  .mobile-nav-toggle {
    width: 36px !important;
    height: 36px !important;
    font-size: 20px !important;
  }

  .mobile-nav-header {
    padding: 12px 16px !important;
  }

  .mobile-nav-brand img {
    height: 28px !important;
    max-height: 28px !important;
    max-width: 135px !important;
  }

  .mobile-nav-close-btn {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
  }

  .mobile-nav-close-btn i {
    font-size: 15px !important;
  }

  .page-header h1 {
    font-size: 22px !important;
  }

  .section-title {
    font-size: 1.5rem !important;
  }

  .section-tag {
    font-size: 11px !important;
    padding: 3px 10px !important;
  }

  .service-card,
  .service-card-rex,
  .feature-box,
  .expertise-card,
  .step-card,
  .hero-info-card,
  .card.rounded-3,
  .card.shadow-sm {
    padding: 18px 14px !important;
  }
}
