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

:root {
  --primary-red: #e51a24;
  --primary-red-hover: #c8131c;
  --primary-red-light: #fef2f2;
  --text-dark: #0f172a;
  --text-slate: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border-color: #e2e8f0;
  --border-light: #f1f5f9;
  --dark-header: #111215;
  --dark-footer: #111215;
  --container-max: 100%;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 8px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 24px -4px rgba(0, 0, 0, 0.08);
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-dark);
  background-color: #ffffff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
}

.material-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1em;
  height: 1em;
  overflow: hidden;
  font-family: "Material Symbols Outlined";
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  font-feature-settings: "liga";
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Full Width Fluid Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(16px, 3.2vw, 56px);
  padding-right: clamp(16px, 3.2vw, 56px);
}

/* ==========================================================================
   Header & Navbar (Dark Theme, Full Width)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--dark-header);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  position: relative;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 2;
}

.brand-logo-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.brand-wrapper:hover .brand-logo-img {
  transform: scale(1.04);
}

.brand-title {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.4vw, 22px);
  list-style: none;
  margin-left: auto;
}

@media (min-width: 1400px) {
  .nav-links {
    gap: clamp(14px, 1.6vw, 26px);
    margin-left: auto;
  }
}

.nav-link {
  color: #cbd5e1;
  font-size: 13.5px;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: #ffffff;
}

.nav-link.active {
  color: var(--primary-red);
  font-weight: 700;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-red);
  border-radius: 2px;
}

/* ==========================================================================
   Services Navigation Dropdown Menu (Desktop & Tablet)
   ========================================================================== */
.nav-item-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-link-dropdown-wrap {
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.dropdown-chevron {
  width: 13px;
  height: 13px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
  flex-shrink: 0;
  color: #94a3b8;
  margin-top: 1px;
}

.nav-dropdown-toggle:hover .dropdown-chevron,
.nav-item-dropdown:hover .dropdown-chevron,
.nav-dropdown-toggle.active .dropdown-chevron {
  color: #ffffff;
}

.mobile-dropdown-toggle {
  display: none;
}

/* Desktop Dropdown Flyout */
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 620px;
  background-color: #0b1728;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65), 0 4px 16px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s;
  z-index: 10001;
}

/* Hover bridge to keep dropdown open smoothly */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}

.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown:focus-within .nav-dropdown-menu,
.nav-item-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-item-dropdown:hover .dropdown-chevron,
.nav-item-dropdown.is-open .dropdown-chevron {
  transform: rotate(180deg);
  color: var(--primary-red);
}

/* Dropdown Header */
.nav-dropdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 11px;
  margin-bottom: 11px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-dropdown-header-tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #94a3b8;
  text-transform: uppercase;
}

.nav-dropdown-header-count {
  font-size: 12px;
  font-weight: 600;
  color: #cbd5e1;
}

.nav-dropdown-header-link {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary-red);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.nav-dropdown-header-link:hover {
  color: #ff4d5a;
  transform: translateX(2px);
}

.nav-dropdown-header-link .header-link-arrow {
  transition: transform 0.2s ease;
}

.nav-dropdown-header-link:hover .header-link-arrow {
  transform: translateX(3px);
}

/* 2-Column Grid of 10 Services (9 Services + All Services Overview) */
.nav-dropdown-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 12px;
}

.dropdown-service-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 8px 10px;
  border-radius: 8px;
  text-decoration: none;
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.18s ease;
}

.dropdown-service-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
  transform: translateX(2px);
}

.dropdown-service-item.is-active {
  background: rgba(225, 29, 42, 0.1);
  border-color: rgba(225, 29, 42, 0.25);
}

/* 10th Card: All Services Overview highlight */
.dropdown-service-item--all {
  background: rgba(225, 29, 42, 0.08);
  border-color: rgba(225, 29, 42, 0.2);
}

.dropdown-service-item--all:hover {
  background: rgba(225, 29, 42, 0.16);
  border-color: rgba(225, 29, 42, 0.35);
}

.service-item-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 7px;
  background: rgba(225, 29, 42, 0.12);
  color: var(--primary-red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.service-item-icon svg {
  width: 17px;
  height: 17px;
}

.dropdown-service-item:hover .service-item-icon {
  background: var(--primary-red);
  color: #ffffff;
  transform: scale(1.05);
}

.service-item-icon--all {
  background: var(--primary-red) !important;
  color: #ffffff !important;
}

.service-item-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.service-item-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  transition: color 0.18s ease;
}

.dropdown-service-item:hover .service-item-title {
  color: #ff6b75;
}

.service-item-title--all {
  color: #ff6b75;
}

.dropdown-service-item--all:hover .service-item-title--all {
  color: #ffffff;
}

.service-item-desc {
  font-size: 11.5px;
  font-weight: 400;
  color: #94a3b8;
  line-height: 1.35;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dropdown-service-item:hover .service-item-desc {
  color: #cbd5e1;
}

.nav-toggle-btn {
  display: none;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  flex-shrink: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5.5px;
  z-index: 10002;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 10px;
  margin: 0;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
}

.nav-toggle-btn span {
  display: block;
  width: 24px;
  height: 2.5px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
  pointer-events: none;
}

.nav-toggle-btn.is-active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle-btn.is-active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle-btn.is-active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   1. HERO SECTION (Unified Height, Padding & Spacing with Solutions Reference)
   ========================================================================== */
.hero-section {
  position: relative;
  width: 100%;
  height: 436px;
  min-height: 436px;
  background-color: #f8fafc;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  padding: 48px 0 0 0;
  border-bottom: 1px solid var(--slate-200);
  box-sizing: border-box;
}

.hero-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  opacity: 1;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  display: block;
}

.hero-gradient-overlay {
  display: none;
}

.hero-container-wide {
  width: 100%;
  max-width: 100%;
  padding-left: clamp(20px, 3.8vw, 64px);
  padding-right: clamp(20px, 3.8vw, 64px);
  position: relative;
  z-index: 2;
}

.hero-layout-wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.hero-content {
  width: 100%;
  max-width: min(100%, 860px);
  position: relative;
  z-index: 3;
}

.hero-tag-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  max-width: 100%;
}

.hero-tag-bar {
  display: none !important;
}

.hero-tag-text {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: var(--primary-red);
  text-transform: uppercase;
  line-height: 1.3;
}

.hero-heading {
  font-size: clamp(28px, 2.7vw, 40px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.8px;
  color: #0f172a;
  margin-bottom: 10px;
}

.hero-heading .highlight-red {
  color: var(--primary-red);
}

.hero-sublead {
  font-size: clamp(14px, 1.05vw, 15px);
  line-height: 1.55;
  color: var(--slate-600);
  max-width: 520px;
  margin-bottom: 16px;
}

/* 3 Capability Feature Cards (Matching user mockup) */
.hero-features-strip {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(10px, 1.2vw, 14px);
  align-items: stretch;
  width: auto;
  max-width: 100%;
  margin-bottom: 18px;
}

.hero-feat-item {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1vw, 11px);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 10px;
  padding: 8px clamp(10px, 1vw, 14px);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
  flex: 0 0 auto;
}

.hero-feat-item:hover {
  transform: translateY(-2px);
  border-color: #fca5a5;
  box-shadow: 0 6px 16px rgba(220, 38, 38, 0.08);
}

.hero-feat-icon-box {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background-color: #fee2e2;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary-red);
  box-shadow: none;
  transition: transform 0.2s ease;
}

.hero-feat-icon-box svg {
  width: 17px;
  height: 17px;
  stroke-width: 2.2;
}

.hero-feat-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.hero-feat-line1 {
  font-size: clamp(11.5px, 0.85vw, 12.5px);
  font-weight: 700;
  color: #0b192c;
  line-height: 1.25;
  margin: 0;
  white-space: nowrap;
}

.hero-feat-line2 {
  font-size: clamp(10px, 0.75vw, 10.5px);
  color: #64748b;
  margin: 2px 0 0;
  line-height: 1.25;
  white-space: nowrap;
}

.hero-feat-divider {
  width: 1px;
  height: 24px;
  background-color: #cbd5e1;
  flex-shrink: 0;
  margin: 0 11px;
}

/* CTA Buttons Group */
.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-hero-red {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--primary-red);
  color: #ffffff;
  padding: 10px 24px;
  border-radius: 7px;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  border: 1.5px solid var(--primary-red);
  box-shadow: 0 2px 8px rgba(225, 29, 72, 0.22);
  transition: all 0.2s ease;
}

.btn-hero-red:hover {
  background-color: #be123c;
  border-color: #be123c;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.32);
}

.btn-hero-red .btn-arrow {
  width: 15px;
  height: 15px;
  transition: transform 0.2s ease;
}

.btn-hero-red:hover .btn-arrow {
  transform: translateX(3px);
}

.btn-hero-white-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: #ffffff;
  color: var(--primary-red);
  padding: 10px 24px;
  border-radius: 7px;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  border: 1.5px solid var(--primary-red);
  transition: all 0.2s ease;
}

.btn-hero-white-outline:hover {
  background-color: #fff1f2;
  transform: translateY(-1px);
}

.btn-hero-white-outline .btn-arrow {
  width: 15px;
  height: 15px;
  transition: transform 0.2s ease;
}

.btn-hero-white-outline:hover .btn-arrow {
  transform: translateX(3px);
}

/* ==========================================================================
   2. BRAND PARTNERS STRIP (Full Width)
   ========================================================================== */
.brand-strip-section {
  padding: clamp(24px, 2.4vw, 36px) 0;
  background-color: #ffffff;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.brand-track-wrapper {
  overflow: hidden;
  width: 100%;
}

.brand-track {
  display: flex;
  align-items: center;
  gap: clamp(48px, 6vw, 92px);
  width: max-content;
  animation: scroll-brands 38s linear infinite;
  will-change: transform;
}

.brand-track:hover {
  animation-play-state: paused;
}

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

.brand-track-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-img {
  height: clamp(34px, 3.2vw, 46px);
  width: auto;
  max-width: 160px;
  object-fit: contain;
  opacity: 1;
  image-rendering: -webkit-optimize-contrast;
  filter: contrast(1.05) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.04));
  transition: opacity 0.2s ease, transform 0.2s ease, filter 0.2s ease;
}

.brand-img:hover {
  opacity: 1;
  transform: scale(1.08);
  filter: contrast(1.1) drop-shadow(0 3px 6px rgba(0, 0, 0, 0.08));
}

.brand-img.logo-witek {
  height: clamp(46px, 4.4vw, 64px);
  max-width: 210px;
}

/* ==========================================================================
   3. MAIN 3-COLUMN DASHBOARD SECTION (Full Width Design)
   ========================================================================== */
.dashboard-section {
  padding: clamp(32px, 3.5vw, 52px) 0;
  background-color: #f8fafc;
  width: 100%;
}

.dashboard-container {
  width: 100%;
  max-width: 100%;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(280px, 330px) 1fr minmax(280px, 330px);
  gap: clamp(18px, 1.8vw, 28px);
  align-items: start;
  width: 100%;
}

/* Common Card Styling */
.dash-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: clamp(16px, 1.5vw, 22px);
  margin-bottom: 20px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.dash-card:last-child {
  margin-bottom: 0;
}

.dash-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f1f5f9;
}

.dash-card-title {
  font-size: clamp(14px, 1vw, 15.5px);
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.2px;
}

.dash-view-link {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--primary-red);
  white-space: nowrap;
}

.dash-view-link:hover {
  text-decoration: underline;
}

/* Left Sidebar - Resources */
.resources-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.resource-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-bottom: 11px;
  border-bottom: 1px solid #f1f5f9;
}

.resource-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.resource-thumb {
  width: 92px;
  height: 62px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.resource-item:hover .resource-thumb {
  transform: scale(1.02);
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.09);
}

.resource-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  overflow: hidden;
}

.resource-title {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  color: #1e293b;
}

.resource-title a:hover {
  color: var(--primary-red);
}

.resource-date {
  font-size: 10.5px;
  color: #94a3b8;
  font-weight: 500;
}

/* Left Sidebar - Brochures (No ash background, clean white with border) */
.brochures-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.brochure-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  transition: var(--transition);
}

.brochure-item:hover {
  border-color: var(--primary-red);
  background-color: #fff8f8;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.08);
}

.pdf-icon-wrap {
  width: 30px;
  height: 30px;
  background-color: #fee2e2;
  color: var(--primary-red);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pdf-icon-wrap svg {
  width: 15px;
  height: 15px;
}

.brochure-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brochure-name {
  font-size: 11.5px;
  font-weight: 600;
  color: #1e293b;
}

.brochure-size {
  font-size: 10px;
  color: #94a3b8;
}

/* Left Sidebar - Need Expert Advice Card */
.expert-promo-card {
  position: relative;
  background-color: #0f1d38;
  background-image: url('../images/expert-advice-bg.png');
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
  color: #ffffff;
  border: none;
  padding: clamp(22px, 2vw, 28px) 20px 24px;
  overflow: hidden;
  border-radius: 14px;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-shadow: 0 8px 24px -4px rgba(15, 29, 56, 0.25);
  transition: var(--transition);
}

.expert-promo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px -4px rgba(15, 29, 56, 0.35);
}

.expert-promo-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.expert-badge-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.2);
  color: #f59e0b;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.expert-badge-icon svg {
  width: 19px;
  height: 19px;
}

.expert-promo-title {
  font-size: clamp(15px, 1.2vw, 17px);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

.expert-promo-desc {
  font-size: 12px;
  color: #cbd5e1;
  line-height: 1.45;
  margin-bottom: 14px;
}

.btn-expert-white {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: #ffffff;
  color: #0f172a;
  font-size: 12px;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 6px;
  margin-bottom: 14px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
}

.btn-expert-white:hover {
  background: #f1f5f9;
  color: var(--primary-red);
}

.btn-expert-white svg {
  width: 13px;
  height: 13px;
}

/* ==========================================================================
   CENTER MAIN COLUMN
   ========================================================================== */
.dashboard-center-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.dash-section-block {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: clamp(18px, 2vw, 26px);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.dash-block-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.sub-label-red {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary-red);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  display: block;
  margin-bottom: 3px;
}

.dash-block-title {
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  letter-spacing: -0.3px;
  margin-bottom: 4px;
}

.dash-block-subtitle {
  font-size: clamp(12px, 0.9vw, 13.5px);
  color: #64748b;
  line-height: 1.45;
}

.dash-view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary-red);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 4px;
  transition: color 0.25s ease, transform 0.25s ease;
}

.dash-view-all-btn svg {
  width: 13px;
  height: 13px;
  transition: transform 0.25s ease;
}

.dash-view-all-btn:hover {
  color: var(--primary-red-hover);
  text-decoration: none;
  transform: translateX(2px);
}

.dash-view-all-btn:hover svg {
  transform: translateX(4px);
}

/* 2x2 Solutions Grid */
.solutions-2x2-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 1.8vw, 24px);
}

.sol-item-card {
  background: #ffffff;
  border: 1px solid #edf2f7;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.sol-item-card:hover {
  border-color: #cbd5e1;
  transform: translateY(-4px);
  box-shadow: 0 12px 28px -6px rgba(15, 23, 42, 0.12);
}

.sol-item-media {
  width: 100%;
  height: clamp(260px, 22vw, 300px);
  overflow: hidden;
  background: #f8fafc;
  position: relative;
}

.sol-item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Primary Image */
.sol-item-img-primary {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.5s ease;
}

/* Secondary (Hover) Image */
.sol-item-img-hover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
}

/* ==========================================================================
   DESKTOP (Mouse Pointer & Large Screens): Hover-Only Image Change
   ========================================================================== */
@media (min-width: 1025px) and (hover: hover) and (pointer: fine) {
  .sol-item-card .sol-item-img-hover {
    animation: none !important;
    opacity: 0;
  }

  .sol-item-card:hover .sol-item-img-hover,
  .sol-item-card.is-hovered .sol-item-img-hover {
    opacity: 1;
    transform: scale(1);
  }

  .sol-item-card:hover .sol-item-img-primary,
  .sol-item-card.is-hovered .sol-item-img-primary {
    transform: scale(1.05);
  }

  .sol-item-card:hover .sol-item-media > img:only-child,
  .sol-item-card.is-hovered .sol-item-media > img:only-child {
    transform: scale(1.05);
    transition: transform 0.5s ease;
  }
}

/* ==========================================================================
   MOBILE & TABLET (Touch Screens & Screens <= 1024px): Automatic Smooth Cycle
   ========================================================================== */
@keyframes autoItemImgFade {
  0%, 42% {
    opacity: 0;
    transform: scale(1.04);
    visibility: hidden;
  }
  48% {
    visibility: visible;
  }
  50%, 92% {
    opacity: 1;
    transform: scale(1);
    visibility: visible;
  }
  98% {
    visibility: visible;
  }
  100% {
    opacity: 0;
    transform: scale(1.04);
    visibility: hidden;
  }
}

@keyframes autoItemImgPrimary {
  0%, 42% {
    opacity: 1;
    transform: scale(1);
  }
  50%, 92% {
    opacity: 0.15;
    transform: scale(1.04);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 1024px), (hover: none), (pointer: coarse) {
  .sol-item-card .sol-item-img-hover {
    animation: autoItemImgFade 5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  }

  .sol-item-card .sol-item-img-primary {
    animation: autoItemImgPrimary 5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  }

  .sol-item-card:nth-child(2n) .sol-item-img-hover,
  .sol-item-card:nth-child(2n) .sol-item-img-primary {
    animation-delay: 1.25s;
  }

  .sol-item-card:nth-child(3n) .sol-item-img-hover,
  .sol-item-card:nth-child(3n) .sol-item-img-primary {
    animation-delay: 2.5s;
  }
}

/* Object positions - Primary */
.sol-item-media img[src*="cctv"]:not([src*="hover"]) {
  object-position: center 20%;
}

.sol-item-media img[src*="access"]:not([src*="hover"]) {
  object-position: center center;
}

.sol-item-media img[src*="gates"]:not([src*="hover"]) {
  object-position: center center;
}

.sol-item-media img[src*="metal"] {
  object-position: center center;
}

/* Object positions - Hover */
.sol-item-media img[src*="cctv-hover"] {
  object-position: center 25%;
}

.sol-item-media img[src*="access-hover"] {
  object-position: center center;
}

.sol-item-media img[src*="gates-hover"] {
  object-position: center center;
}

.sol-item-media img[src*="metal-hover"] {
  object-position: center center;
}

.sol-item-body {
  padding: clamp(16px, 1.4vw, 22px);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.sol-item-title {
  font-size: clamp(14px, 1.05vw, 16px);
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
  line-height: 1.3;
}

.sol-item-desc {
  font-size: clamp(11.5px, 0.85vw, 13px);
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 14px;
  flex-grow: 1;
}

.sol-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.sol-badge {
  background: #f1f5f9;
  color: #475569;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 7px;
  border-radius: 4px;
}

.sol-link-red {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--primary-red);
  margin-top: auto;
}

.sol-link-red svg {
  width: 11px;
  height: 11px;
}

.sol-link-red:hover {
  gap: 8px;
}

/* 2x3 Services Grid */
.services-2x3-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(10px, 1.2vw, 16px);
}

.service-box-card {
  background: #ffffff;
  border: 1px solid #edf2f7;
  border-radius: 10px;
  padding: clamp(14px, 1.4vw, 18px) 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: var(--transition);
}

.service-box-card:hover {
  border-color: #cbd5e1;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px -3px rgba(15, 23, 42, 0.06);
}

.service-round-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid #fee2e2;
  background: #fff5f5;
  color: var(--primary-red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  flex-shrink: 0;
}

.service-round-icon svg {
  width: 20px;
  height: 20px;
}

.service-box-title {
  font-size: clamp(12.5px, 0.95vw, 13.5px);
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 3px;
}

.service-box-desc {
  font-size: 11px;
  color: #64748b;
  line-height: 1.35;
}

/* ==========================================================================
   RIGHT SIDEBAR
   ========================================================================== */
.asikase-app-card {
  text-align: center;
  padding: clamp(20px, 1.8vw, 26px) clamp(16px, 1.4vw, 20px);
  display: flex;
  flex-direction: column;
}

.asikase-title {
  font-size: clamp(14px, 1.05vw, 16.5px);
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
  letter-spacing: -0.2px;
}

.asikase-title .text-red {
  color: var(--primary-red);
}

.asikase-sub {
  font-size: 11.5px;
  color: #64748b;
  font-weight: 500;
  margin-bottom: 16px;
}

.asikase-mockup-frame {
  margin: 0 auto 12px;
  max-width: 255px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.asikaso-slider-viewport {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.asikaso-slider-track {
  display: flex;
  width: 100%;
  animation: asikaso-auto-scroll 16s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  will-change: transform;
}

.asikase-app-card:hover .asikaso-slider-track {
  animation-play-state: paused;
}

@keyframes asikaso-auto-scroll {
  0%, 18% {
    transform: translateX(0%);
  }
  24%, 42% {
    transform: translateX(-100%);
  }
  48%, 66% {
    transform: translateX(-200%);
  }
  72%, 90% {
    transform: translateX(-300%);
  }
  96%, 100% {
    transform: translateX(-400%);
  }
}

.asikaso-slide {
  min-width: 100%;
  width: 100%;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.asikase-app-screen {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 14px 28px rgba(15, 23, 42, 0.14));
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
}

.asikase-app-card:hover .asikase-app-screen {
  transform: translateY(-3px) scale(1.02);
  filter: drop-shadow(0 20px 36px rgba(15, 23, 42, 0.20));
}



.app-store-badges {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 6px;
}

.app-badge-img-btn {
  flex: 1;
  display: block;
  transition: transform 0.2s ease, filter 0.2s ease;
  line-height: 0;
}

.app-badge-img-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.app-badge-btn-img {
  width: 100%;
  height: auto;
  aspect-ratio: 1024 / 345;
  max-height: 46px;
  object-fit: contain;
  display: block;
}

/* Why Choose ASI Card */
.why-choose-card {
  padding: clamp(16px, 1.5vw, 20px);
}

.why-choose-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 12px;
}

.why-item-mini {
  background: #ffffff;
  border: 1px solid #edf2f7;
  border-radius: 8px;
  padding: 14px 6px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.why-item-mini:hover {
  border-color: #cbd5e1;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.04);
}

.why-mini-icon {
  color: var(--primary-red);
  width: 22px;
  height: 22px;
}

.why-mini-icon svg {
  width: 100%;
  height: 100%;
}

.why-mini-text {
  font-size: 11px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.25;
}

/* Quick Connect Card */
.quick-connect-card {
  padding: clamp(16px, 1.5vw, 20px);
}

.quick-connect-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 12px 0 16px;
}

.quick-connect-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 12px;
  color: #475569;
  line-height: 1.4;
}

.quick-icon {
  width: 15px;
  height: 15px;
  color: var(--primary-red);
  flex-shrink: 0;
  margin-top: 2px;
}

.quick-link {
  color: #1e293b;
  font-weight: 600;
}

.quick-link:hover {
  color: var(--primary-red);
}

.btn-request-quote {
  display: block;
  width: 100%;
  background: var(--primary-red);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  padding: 11px;
  border-radius: 6px;
  transition: var(--transition);
  box-shadow: 0 2px 6px rgba(229, 26, 36, 0.2);
}

.btn-request-quote:hover {
  background: var(--primary-red-hover);
  color: #ffffff;
  transform: translateY(-1px);
}

/* ==========================================================================
   4. RED STATISTICS FULL-WIDTH RIBBON
   ========================================================================== */
.stats-ribbon-section {
  background-color: var(--primary-red);
  padding: clamp(24px, 2.8vw, 38px) 0;
  color: #ffffff;
  width: 100%;
}

.stats-ribbon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: center;
  width: 100%;
}

.stat-ribbon-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.stat-ribbon-col:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255, 255, 255, 0.25);
}

.stat-ribbon-icon {
  margin-bottom: 6px;
  opacity: 0.95;
}

.stat-ribbon-icon svg {
  width: 28px;
  height: 28px;
}

.stat-ribbon-number {
  font-size: clamp(28px, 2.8vw, 38px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.stat-ribbon-label {
  font-size: clamp(11.5px, 0.9vw, 13.5px);
  font-weight: 600;
  opacity: 0.95;
  margin-top: 3px;
}

/* ==========================================================================
   5. FEATURED PROJECTS SECTION (Full Width Grid)
   ========================================================================== */
.projects-section {
  padding: clamp(38px, 4vw, 56px) 0;
  background-color: #ffffff;
  width: 100%;
}

.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.section-head-left {
  max-width: 720px;
}

.projects-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.6vw, 24px);
  width: 100%;
}

.proj-box-card {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
  transition: var(--transition);
}

.proj-box-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

.proj-box-media {
  position: relative;
  width: 100%;
  height: clamp(180px, 16vw, 240px);
}

.proj-box-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.proj-box-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 16px;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.45) 70%, transparent 100%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  color: #ffffff;
}

.proj-box-name {
  font-size: clamp(13px, 1vw, 14.5px);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
  line-height: 1.25;
}

.proj-box-type {
  font-size: 11px;
  color: #cbd5e1;
}

.proj-arrow-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.proj-box-card:hover .proj-arrow-circle,
.proj-arrow-circle:hover {
  background-color: var(--primary-red);
  border-color: var(--primary-red);
  color: #ffffff;
  transform: rotate(-45deg);
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.3);
}

.proj-arrow-circle svg {
  width: 14px;
  height: 14px;
}

/* ==========================================================================
   6. WHAT OUR CLIENTS SAY (TESTIMONIALS)
   ========================================================================== */
.testimonials-section {
  padding: clamp(40px, 4vw, 60px) 0;
  background-color: #f8fafc;
  border-top: 1px solid #f1f5f9;
  width: 100%;
}

.testimonials-layout {
  display: grid;
  grid-template-columns: minmax(260px, 320px) 1fr;
  gap: clamp(24px, 3.5vw, 52px);
  align-items: center;
}

.testimonials-heading {
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
  line-height: 1.25;
}

.testimonials-subtext {
  font-size: clamp(12.5px, 0.95vw, 14px);
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 20px;
}

.testimonials-arrows {
  display: flex;
  gap: 12px;
  align-items: center;
}

.testi-arrow-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  z-index: 10;
  pointer-events: auto !important;
  touch-action: manipulation;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  user-select: none;
}

.testi-arrow-btn:hover {
  border-color: var(--primary-red);
  background: var(--primary-red);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
}

.testi-arrow-btn:active {
  transform: translateY(0);
}

.testi-arrow-btn svg {
  width: 16px;
  height: 16px;
  pointer-events: none;
  stroke: currentColor;
}

.testimonials-cards-wrap {
  width: 100%;
  min-width: 0;
  position: relative;
  overflow: hidden;
}

.testimonials-slider-track,
.testimonials-cards-grid {
  display: flex !important;
  gap: clamp(14px, 1.6vw, 22px);
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 8px 4px 20px;
  margin: 0;
}

.testimonials-slider-track::-webkit-scrollbar,
.testimonials-cards-grid::-webkit-scrollbar {
  display: none;
}

.testi-white-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: clamp(18px, 1.8vw, 24px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
  /* 3 cards visible on desktop */
  flex: 0 0 calc((100% - 2 * clamp(14px, 1.6vw, 22px)) / 3);
  width: calc((100% - 2 * clamp(14px, 1.6vw, 22px)) / 3);
  min-width: 260px;
  box-sizing: border-box;
  scroll-snap-align: start;
  scroll-snap-stop: normal;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  user-select: none;
}

.testi-white-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  border-color: #cbd5e1;
}

.testi-quote-mark {
  font-size: 28px;
  line-height: 1;
  font-family: serif;
  color: var(--primary-red);
  font-weight: 900;
  margin-bottom: 8px;
}

.testi-card-quote {
  font-size: clamp(11.5px, 0.85vw, 12.5px);
  color: #334155;
  line-height: 1.55;
  margin-bottom: 16px;
  font-style: italic;
}

.testi-client-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.testi-client-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
  flex-shrink: 0;
  background-color: #f1f5f9;
}

.testi-client-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testi-client-name {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}

.testi-client-role {
  font-size: 11px;
  color: #64748b;
}

.testi-dots-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.testi-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s ease;
}

.testi-dot:hover {
  background: #94a3b8;
}

.testi-dot.active {
  background: var(--primary-red);
  width: 22px;
  border-radius: 4px;
}

/* ==========================================================================
   FOOTER (Dark Theme, Full Width)
   ========================================================================== */
.site-footer {
  background-color: var(--dark-footer);
  color: #ffffff;
  padding: clamp(40px, 4vw, 60px) 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  width: 100%;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(24px, 3.5vw, 48px);
  margin-bottom: 30px;
  width: 100%;
}

.footer-desc {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.6;
  margin: 16px 0 20px;
  max-width: 380px;
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-circle-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: var(--primary-red);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-circle-btn:hover {
  background-color: var(--primary-red-hover);
  transform: translateY(-2px);
}

.social-circle-btn svg {
  width: 16px;
  height: 16px;
}

.social-circle-btn img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
}

.footer-col-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: -0.2px;
}

.footer-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-menu li a {
  font-size: 13px;
  color: #94a3b8;
  transition: color 0.2s ease;
}

.footer-menu li a:hover {
  color: #ffffff;
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.5;
}

.footer-contact-icon {
  width: 16px;
  height: 16px;
  color: var(--primary-red);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ==========================================================================
   ROBUST RESPONSIVE DESIGN FOR ALL SCREEN WIDTHS
   ========================================================================== */
@media (max-width: 1160px) {
  body.mobile-nav-open {
    overflow: hidden;
  }

  .nav-toggle-btn {
    display: flex;
    z-index: 10002;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    width: 100vw;
    background-color: #0b1728;
    flex-direction: column;
    align-items: stretch;
    padding: 14px 20px 24px;
    gap: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 3px solid var(--primary-red);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
    z-index: 99999;
    max-height: calc(100vh - 72px);
    max-height: calc(100dvh - 72px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: none !important;
  }

  .nav-links.is-open {
    display: flex !important;
  }

  .nav-links > li {
    width: 100%;
  }

  .nav-link {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 11px 4px;
    font-size: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    text-align: left;
  }

  .nav-link.active::after {
    display: none;
  }

  /* Mobile Services Dropdown Accordion */
  .nav-item-dropdown {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-link-dropdown-wrap {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .nav-link-dropdown-wrap .nav-link {
    width: auto;
    flex: 1;
    border-bottom: none;
    padding: 11px 4px;
  }

  .nav-dropdown-toggle .dropdown-chevron {
    display: none;
  }

  .mobile-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: #ffffff;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease;
  }

  .mobile-dropdown-toggle svg {
    width: 18px;
    height: 18px;
    transition: transform 0.25s ease;
    color: #cbd5e1;
  }

  .nav-item-dropdown.is-open .mobile-dropdown-toggle {
    background: rgba(225, 29, 42, 0.15);
    border-color: rgba(225, 29, 42, 0.35);
  }

  .nav-item-dropdown.is-open .mobile-dropdown-toggle svg {
    transform: rotate(180deg);
    color: var(--primary-red);
  }

  .nav-dropdown-menu {
    position: static;
    transform: none !important;
    width: 100%;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 8px 10px;
    margin: 2px 0 10px;
    box-shadow: none;
    display: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-item-dropdown.is-open .nav-dropdown-menu {
    display: block !important;
  }

  .nav-dropdown-header {
    padding-bottom: 8px;
    margin-bottom: 8px;
  }

  .nav-dropdown-grid {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .dropdown-service-item {
    padding: 8px 10px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.02);
  }

  .service-item-desc {
    white-space: normal;
  }

  .nav-dropdown-footer {
    display: none;
  }

  .dashboard-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  
  .dashboard-center-col {
    grid-column: 1 / -1;
    order: 1;
  }

  .dashboard-sidebar-left {
    order: 2;
  }

  .dashboard-sidebar-right {
    order: 3;
  }

  .testi-white-card {
    flex: 0 0 calc((100% - clamp(14px, 1.6vw, 22px)) / 2);
    width: calc((100% - clamp(14px, 1.6vw, 22px)) / 2);
    min-width: 250px;
  }
}

@media (max-width: 1024px) {
  .hero-section {
    height: auto;
    min-height: auto;
    padding: clamp(36px, 5vw, 48px) 0;
  }

  .hero-bg-wrapper {
    opacity: 1;
  }

  .hero-bg-img {
    object-position: center center;
  }

  .hero-layout-wrapper {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-content {
    max-width: 100%;
  }
  
  .hero-container-wide {
    padding-right: clamp(16px, 3.2vw, 56px);
  }

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

  .testimonials-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

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

  .dashboard-sidebar-left {
    grid-column: 1 / -1;
  }

  .dashboard-sidebar-right {
    grid-column: 1 / -1;
  }

  .stats-ribbon-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
  }

  .stat-ribbon-col:nth-child(2)::after {
    display: none;
  }

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

@media (max-width: 680px) {
  .solutions-2x2-grid {
    grid-template-columns: 1fr;
  }

  .sol-item-media {
    height: 260px;
  }

  .projects-grid-4 {
    grid-template-columns: 1fr;
  }

  .testi-white-card {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    scroll-snap-align: center;
  }

  .section-head-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .dash-block-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    height: auto;
    min-height: auto;
    padding: 24px 0 32px 0;
  }

  .hero-bg-wrapper {
    opacity: 1;
  }

  .hero-bg-img {
    object-position: left center;
  }

  .hero-features-strip {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: transparent;
    padding: 0;
    max-width: 420px;
  }

  .hero-feat-item {
    padding: 7px 11px;
    max-width: 420px;
  }

  .hero-feat-icon {
    width: 28px;
    height: 28px;
  }

  .hero-feat-line1 {
    font-size: 11.5px;
  }

  .hero-feat-line2 {
    font-size: 10px;
  }

  .hero-feat-divider {
    display: none;
  }
}

@media (max-width: 520px) {
  .sol-item-media {
    height: 240px;
  }

  .brand-logo-img {
    width: 38px;
    height: 38px;
  }

  .brand-title {
    font-size: 14px;
    letter-spacing: -0.3px;
    max-width: calc(100vw - 120px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .brand-wrapper {
    gap: 10px;
    min-width: 0;
  }

  .hero-tag-text {
    font-size: 10px;
    letter-spacing: 0.8px;
  }

  .hero-heading {
    font-size: 28px;
  }

  .hero-features-strip {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 0;
    width: 100%;
    max-width: min(340px, 100%);
  }

  .hero-feat-item {
    width: 100%;
    max-width: min(340px, 100%);
    padding: 6px 10px;
  }

  .hero-feat-icon {
    width: 24px;
    height: 24px;
  }

  .hero-feat-line1 {
    font-size: 11px;
  }

  .hero-feat-line2 {
    font-size: 9.5px;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-hero-red, .btn-hero-white-outline {
    width: 100%;
  }

  .services-2x3-grid {
    grid-template-columns: 1fr;
  }

  .stats-ribbon-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .stat-ribbon-col::after {
    display: none !important;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ==========================================================================
   GLOBAL PAGE TRANSITIONS & UNIVERSAL ARROW HOVER EFFECTS
   ========================================================================== */

/* 1. Page Transition Animation (Smooth, subtle, professional fade-in) */
@keyframes pageFadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

main {
  animation: pageFadeIn 0.28s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@media (prefers-reduced-motion: reduce) {
  main {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* 2. Universal Arrow Button Effects (Consistent across all pages) */
/* Action buttons with arrows */
.btn-arrow,
.btn-icon,
.arrow,
.btn-service-request .arrow,
.btn-cta-quote .arrow,
.btn-hero-talk .arrow,
.btn-hero-red .btn-arrow,
.btn-hero-white-outline .btn-arrow,
.cta-btn-primary svg,
.cta-btn-lg .btn-arrow,
.cta-btn-lg .btn-icon,
.sol-details-link .arrow,
.dash-view-all-btn svg {
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s ease !important;
  display: inline-block;
}

a:hover .btn-arrow,
a:hover .btn-icon,
a:hover .arrow,
button:hover .btn-arrow,
button:hover .btn-icon,
button:hover .arrow,
a:active .btn-arrow,
button:active .btn-arrow,
a:focus-visible .btn-arrow,
button:focus-visible .btn-arrow,
.btn-hero-red:hover .btn-arrow,
.btn-hero-red:active .btn-arrow,
.btn-hero-white-outline:hover .btn-arrow,
.btn-hero-white-outline:active .btn-arrow,
.btn-service-request:hover .arrow,
.btn-cta-quote:hover .arrow,
.btn-hero-talk:hover .arrow,
.cta-btn-primary:hover svg,
.cta-btn-lg:hover .btn-icon,
.cta-btn-lg:hover .btn-arrow,
.sol-details-link:hover .arrow,
.dash-view-all-btn:hover svg {
  transform: translateX(4px) !important;
}

/* Universal touch/active feedback for all action buttons across desktop and mobile */
.btn-hero-red:active,
.btn-hero-white-outline:active,
.btn-expert-white:active,
.btn-request-quote:active,
.dash-view-all-btn:active,
.filter-pill:active,
.filter-pill-btn:active,
.social-icon-btn:active,
.testi-arrow-btn:active {
  transform: scale(0.97) !important;
  transition: transform 0.1s ease !important;
}

/* Circular card arrow buttons (matching Projects page rotate -45deg) */
.proj-media-arrow-btn,
.standard-arrow-circle,
.proj-arrow-circle,
.service-arrow-btn {
  transition: background-color 0.25s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.25s cubic-bezier(0.4, 0, 0.2, 1),
              color 0.25s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.proj-media-arrow-btn:hover,
.standard-arrow-circle:hover,
.proj-arrow-circle:hover,
.service-arrow-btn:hover,
.featured-proj-card:hover .proj-media-arrow-btn,
.standard-proj-card:hover .standard-arrow-circle,
.proj-box-card:hover .proj-arrow-circle,
.service-card-item:hover .service-arrow-btn {
  background-color: var(--primary-red) !important;
  border-color: var(--primary-red) !important;
  color: #ffffff !important;
  transform: rotate(-45deg) !important;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.3) !important;
}
