/* ===================================================================
   نيكسوس للبرمجيات والحلول الرقمية - NEXUS SOFTWARE & TECH SOLUTIONS
   Design System: Inspired by Amwerk Munich Corporate Engineering Style
   Light Mode Only - Sharp, Bold, Architectural Typography & Layout
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Alexandria:wght@300;400;500;600;700;800;900&family=Almarai:wght@300;400;700;800&family=Cairo:wght@400;500;600;700;800;900&family=Public+Sans:wght@400;500;600;700;800&family=Barlow:wght@500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap');

@font-face {
  font-family: 'AzaharDisplay';
  src: url('../fonts/29lt-azahar-display-black.otf') format('opentype'),
       url('https://edu-dashboard.el-rayyan.net/modules/website/fonts/29lt-azahar-display-black.otf') format('opentype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: '29LT Azahar Display';
  src: url('../fonts/29lt-azahar-display-black.otf') format('opentype'),
       url('https://edu-dashboard.el-rayyan.net/modules/website/fonts/29lt-azahar-display-black.otf') format('opentype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Amwerk Munich Core Color Palette - Pure Light Corporate */
  --bg-white: #ffffff;
  --bg-light: #f7f8fa;
  --bg-alt: #f0f2f5;
  --bg-card: #ffffff;
  --bg-dark: #12151b;
  --bg-darker: #0c0e12;

  --text-dark: #12151b;
  --text-body: #4a515e;
  --text-muted: #727a89;
  --text-light: #f8fafc;

  /* Amwerk Signature Red Accent */
  --accent: #de002c;
  --accent-hover: #b80024;
  --accent-soft: rgba(222, 0, 44, 0.08);

  /* Borders & Dividers */
  --border-light: #e5e8ed;
  --border-subtle: #edf0f5;
  --border-dark: #262b35;

  /* Shadows (Crisp Architectural) */
  --shadow-sm: 0 2px 8px rgba(18, 21, 27, 0.04);
  --shadow-md: 0 8px 24px rgba(18, 21, 27, 0.07);
  --shadow-lg: 0 16px 40px rgba(18, 21, 27, 0.1);
  --shadow-accent: 0 6px 20px rgba(222, 0, 44, 0.25);

  /* Geometry & Radius (Amwerk uses sharp, subtle 3px-4px radius) */
  --radius-sm: 3px;
  --radius-md: 5px;
  --radius-lg: 8px;
  --radius-none: 0px;

  /* Typography matching edu-dashboard.el-rayyan.net */
  --font-heading: 'AzaharDisplay', '29LT Azahar Display', 'Alexandria', 'Cairo', sans-serif;
  --font-body: 'Cairo', 'Almarai', 'Alexandria', 'Public Sans', sans-serif;
  --font-arabic: 'Cairo', 'Almarai', 'Alexandria', sans-serif;
  --font-code: 'JetBrains Mono', monospace;
  --container-max: 1240px;
}

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

html, body {
  width: 100%;
  min-height: 100%;
}

html {
  font-size: 16px;
  direction: rtl;
  scroll-behavior: smooth;
  background-color: var(--bg-white);
}

body {
  font-family: var(--font-arabic);
  background-color: var(--bg-white);
  color: var(--text-body);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--accent);
  color: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.3px;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Amwerk Signature Underline for Headings */
u, .underline-accent {
  text-decoration: none;
  border-bottom: 4px solid var(--accent);
  padding-bottom: 2px;
  color: var(--text-dark);
}

/* ===================================================================
   Amwerk Signature Watermark & Superheadline
   =================================================================== */
.headline-block {
  position: relative;
  margin-bottom: 2rem;
}

.superheadline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.6rem;
}

.superheadline::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 3px;
  background-color: var(--accent);
}

.outline-watermark {
  position: absolute;
  top: -2.2rem;
  right: -1rem;
  font-size: 5.5rem;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(18, 21, 27, 0.05);
  line-height: 1;
  pointer-events: none;
  z-index: 0;
  user-select: none;
  font-family: 'Barlow', 'Cairo', sans-serif;
  text-transform: uppercase;
  white-space: nowrap;
}

.headline-content {
  position: relative;
  z-index: 1;
}

/* ===================================================================
   Top Bar (Amwerk Corporate Utility Bar)
   =================================================================== */
.topbar {
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 0.55rem 0;
}

.topbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar-info {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.topbar-item svg {
  color: var(--accent);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.topbar-socials {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.topbar-socials a {
  color: var(--text-muted);
  font-size: 0.88rem;
}

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

/* ===================================================================
   Main Navigation Header
   =================================================================== */
.navbar-wrapper {
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 85px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: var(--text-dark);
}

.brand-badge {
  background-color: var(--accent);
  color: #ffffff;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.2rem;
  border-radius: var(--radius-sm);
}

.brand-logo span.accent {
  color: var(--accent);
}

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

.nav-link {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-dark);
  padding: 1.8rem 0;
  position: relative;
  display: inline-block;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 3px;
  background-color: var(--accent);
  transition: width 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* ===================================================================
   Mega Menu / Dropdown Styles (Amwerk Munich Style)
   =================================================================== */
.has-dropdown {
  position: relative;
}

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
}

.dropdown-chevron {
  transition: transform 0.25s ease, color 0.25s ease;
}

.has-dropdown:hover .dropdown-chevron,
.has-dropdown:focus-within .dropdown-chevron {
  transform: rotate(180deg);
  color: var(--accent);
}

.nav-mega-menu {
  position: absolute;
  top: 100%;
  right: -120px;
  width: 780px;
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--accent);
  box-shadow: 0 16px 40px rgba(18, 21, 27, 0.12);
  padding: 1.5rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1005;
  pointer-events: none;
}

.has-dropdown:hover .nav-mega-menu,
.has-dropdown:focus-within .nav-mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.mega-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.85rem;
  margin-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-light);
}

.mega-menu-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.2px;
}

.mega-menu-all {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
  transition: color 0.2s ease;
}

.mega-menu-all:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

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

.mega-menu-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: all 0.2s ease;
  background-color: transparent;
}

.mega-menu-item:hover {
  background-color: var(--bg-light);
  border-color: var(--border-subtle);
  transform: translateX(-3px);
}

.mega-icon {
  width: 40px;
  height: 40px;
  background-color: var(--bg-alt);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  transition: all 0.2s ease;
  border: 1px solid var(--border-light);
}

.mega-menu-item:hover .mega-icon {
  background-color: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

.mega-content {
  display: flex;
  flex-direction: column;
}

.mega-title {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.35;
  margin-bottom: 0.2rem;
  transition: color 0.2s ease;
}

.mega-menu-item:hover .mega-title {
  color: var(--accent);
}

.mega-desc {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

/* ===================================================================
   Page Title & Breadcrumb Hero (Amwerk Munich Style)
   =================================================================== */
.page-title-banner {
  background-color: var(--bg-light);
  border-bottom: 1px solid var(--border-light);
  padding: 4.5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.page-title-banner .outline-watermark {
  top: 1rem;
  right: 2rem;
  font-size: 7.5rem;
  -webkit-text-stroke: 2px rgba(18, 21, 27, 0.04);
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 1rem;
  font-weight: 600;
}

.breadcrumb-nav a:hover {
  color: var(--accent);
}

.breadcrumb-nav span.separator {
  color: var(--border-light);
}

/* ===================================================================
   Home Hero Section & Large Full-Width Architectural Slider
   =================================================================== */
.hero-section.hero-slider-wrapper {
  padding: 0;
  background-color: var(--bg-white);
  position: relative;
  overflow: hidden;
  width: 100%;
}

.hero-container-wide {
  max-width: 1440px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}

.hero-slider {
  position: relative;
  width: 100%;
}

.hero-slide {
  display: none;
  position: relative;
  width: 100%;
  min-height: 740px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 5.5rem 0 7rem;
}

.hero-slide.slide-1 {
  background-image: linear-gradient(to left, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 45%, rgba(255, 255, 255, 0.65) 75%, rgba(255, 255, 255, 0.3) 100%), url('../images/office-tech.jpg');
}

.hero-slide.slide-2 {
  background-image: linear-gradient(to left, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 45%, rgba(255, 255, 255, 0.65) 75%, rgba(255, 255, 255, 0.3) 100%), url('../images/about-hero.jpg');
}

.hero-slide.slide-3 {
  background-image: linear-gradient(to left, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 45%, rgba(255, 255, 255, 0.65) 75%, rgba(255, 255, 255, 0.3) 100%), url('../images/office-hq.jpg');
}

.hero-slide.active {
  display: block;
  animation: heroSlideFade 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes heroSlideFade {
  0% {
    opacity: 0;
    transform: translateY(14px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-slide .outline-watermark {
  top: 0.5rem;
  right: 1.5rem;
  font-size: 10.5rem;
  opacity: 0.85;
}

.hero-text {
  max-width: 1020px;
  position: relative;
  z-index: 2;
}

.hero-text h1 {
  font-size: 4.1rem;
  line-height: 1.15;
  margin-bottom: 1.6rem;
  letter-spacing: -0.5px;
}

.hero-text p.lead {
  font-size: 1.35rem;
  line-height: 1.85;
  color: var(--text-body);
  margin-bottom: 2.35rem;
  font-weight: 500;
  max-width: 860px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.hero-tech-pills {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px dashed var(--border-light);
}

.tech-pill {
  font-size: 0.84rem;
  font-weight: 700;
  font-family: var(--font-code);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-dark);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  letter-spacing: 0.2px;
}

/* Hero Slider Controls (Amwerk Architectural Bar Across Full Width) */
.hero-slider-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-light);
  padding: 1.15rem 0;
  z-index: 10;
}

.hero-slider-controls .hero-container-wide {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.slider-pagination {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  flex: 1;
}

.slider-dot {
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: all 0.25s ease;
  min-width: 210px;
  text-align: right;
}

.slider-dot .slide-meta {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.slider-dot .slide-num {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--text-muted);
  transition: color 0.25s ease;
  line-height: 1;
}

.slider-dot .slide-label {
  font-family: var(--font-arabic);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-body);
  transition: color 0.25s ease;
}

.slider-dot .slider-progress-track {
  width: 100%;
  height: 3px;
  background-color: var(--border-light);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.slider-dot .slider-progress-fill {
  display: block;
  height: 100%;
  width: 0%;
  background-color: var(--accent);
  transition: width 0.08s linear;
}

.slider-dot.active .slide-num {
  color: var(--accent);
}

.slider-dot.active .slide-label {
  color: var(--text-dark);
}

.slider-dot:hover .slide-label {
  color: var(--accent);
}

.slider-arrows {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.slider-arrow {
  width: 48px;
  height: 48px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
}

.slider-arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}

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

/* Amwerk Split Visual Box */
.hero-visual-card {
  position: relative;
}

.hero-visual-card .split-img-badge {
  top: 0;
  bottom: auto;
  left: 0;
  border-top: none;
  border-bottom: 3px solid var(--accent);
  z-index: 2;
}

.hero-slide .outline-watermark {
  top: 1.5rem;
  right: 1.5rem;
}

.hero-visual-main {
  background: var(--bg-dark);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  padding: 2.25rem 2.25rem 3.5rem;
  color: #ffffff;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
}

.hero-floating-stat {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  background: var(--accent);
  color: #ffffff;
  padding: 1.75rem 2rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-accent);
  z-index: 3;
}

.hero-floating-stat h3 {
  color: #ffffff;
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.hero-floating-stat p {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===================================================================
   Big Numbers / Stats Strip
   =================================================================== */
.stats-strip {
  background-color: var(--bg-light);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 3.5rem 0;
}

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

.am-stat-box {
  border-right: 3px solid var(--accent);
  padding-right: 1.5rem;
}

.am-stat-number {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1;
  margin-bottom: 0.5rem;
  font-family: 'Barlow', 'Cairo', sans-serif;
  display: inline-flex;
  align-items: baseline;
  gap: 0.2rem;
  direction: ltr;
}

.am-stat-number span.plus {
  color: var(--accent);
}

.am-stat-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

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

/* ===================================================================
   Split Content Section (Who We Are / Capabilities)
   =================================================================== */
.split-section {
  padding: 6rem 0;
  background-color: var(--bg-white);
}

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

.split-features {
  list-style: none;
  margin: 1.75rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.split-img-box {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

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

.split-img-box:hover img {
  transform: scale(1.03);
}

.split-img-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: var(--text-dark);
  color: #ffffff;
  padding: 1.25rem 1.75rem;
  font-weight: 800;
  font-size: 0.95rem;
  border-top: 3px solid var(--accent);
}

.split-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1.02rem;
  color: var(--text-dark);
  font-weight: 600;
}

.check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.check-icon svg {
  width: 12px;
  height: 12px;
  stroke: var(--accent);
  stroke-width: 3.5;
}

/* ===================================================================
   Progress Bars (Amwerk Style)
   =================================================================== */
.progress-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.progress-track {
  width: 100%;
  height: 8px;
  background-color: var(--border-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background-color: var(--accent);
  border-radius: var(--radius-sm);
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===================================================================
   Services Section (Amwerk Cards Grid)
   =================================================================== */
.services-section {
  padding: 6.5rem 0;
  background-color: var(--bg-light);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

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

.am-service-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 2.75rem 2.25rem;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.am-service-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 4px;
  background-color: var(--accent);
  transition: width 0.3s ease;
}

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

.am-service-card:hover::after {
  width: 100%;
}

.service-icon,
.am-service-icon {
  width: 58px;
  height: 58px;
  background-color: var(--bg-light);
  border: 1px solid var(--border-light);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.service-icon svg,
.am-service-icon svg {
  width: 26px;
  height: 26px;
  color: currentColor;
  stroke: currentColor;
  transition: transform 0.3s ease;
}

.am-service-card:hover .service-icon,
.am-service-card:hover .am-service-icon {
  background-color: var(--accent) !important;
  color: #ffffff !important;
  border-color: var(--accent) !important;
}

.am-service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.am-service-card p {
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.service-feature-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: var(--text-dark);
  font-weight: 600;
}

.service-feature-list .feature-check {
  width: 18px;
  height: 18px;
  background-color: var(--accent-soft);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--accent);
  text-transform: uppercase;
}

.card-link:hover {
  color: var(--accent-hover);
}

/* ===================================================================
   Team Cards (Amwerk People Grid)
   =================================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.am-team-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: all 0.3s ease;
}

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

.team-avatar-box {
  height: 290px;
  background: var(--bg-light);
  overflow: hidden;
  position: relative;
}

.team-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(15%);
  transition: all 0.4s ease;
}

.am-team-card:hover .team-avatar-img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.team-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  background: var(--accent);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.3rem 0.8rem;
}

.team-info {
  padding: 1.5rem;
  text-align: right;
}

.team-info h4 {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.team-info span.role {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  display: block;
  margin-bottom: 0.75rem;
}

.team-info p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===================================================================
   Partners & Clients Strip
   =================================================================== */
.partners-strip {
  padding: 3.5rem 0;
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
}

.partners-title-small {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.partners-flex {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2.5rem;
}

.partner-logo-box {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-dark);
  opacity: 0.65;
  transition: opacity 0.25s ease;
}

.partner-logo-box:hover {
  opacity: 1;
}

/* ===================================================================
   Footer (Amwerk Five Columns Corporate Dark)
   =================================================================== */
.footer {
  background-color: var(--bg-dark);
  color: #a0a6b5;
  padding: 5.5rem 0 2rem;
  border-top: 4px solid var(--accent);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.footer-brand h3 {
  color: #ffffff;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #9299a9;
  max-width: 320px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 24px;
  height: 2px;
  background-color: var(--accent);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-links a {
  color: #a0a6b5;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--accent);
  padding-right: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.92rem;
  color: #a0a6b5;
}

.footer-contact-item svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  color: #727a89;
}
