@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700&family=Source+Sans+3:wght@300;400;500;600;700&display=swap');

/* Design Tokens */
:root {
  --font-family-sans: 'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;
  --font-family-display: 'Playfair Display', 'Times New Roman', serif;

  --font-size-body: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --font-size-lead: clamp(1.125rem, 1.05rem + 0.45vw, 1.4rem);
  --font-size-small: 0.875rem;
  --font-size-h1: clamp(2.5rem, 2.05rem + 1.8vw, 3.75rem);
  --font-size-h2: clamp(2.125rem, 1.8rem + 1.2vw, 3rem);
  --font-size-h3: clamp(1.75rem, 1.6rem + 0.6vw, 2.25rem);
  --font-size-h4: 1.5rem;
  --font-size-h5: 1.25rem;
  --font-size-h6: 1.1rem;

  --letter-spacing-tight: -0.015em;
  --letter-spacing-normal: 0em;
  --letter-spacing-loose: 0.08em;

  --color-primary: #15769a;
  --color-primary-dark: #0f5c79;
  --color-primary-alt: #1f9dbc;
  --color-accent: #d64b4b;
  --color-highlight: #f6c343;
  --color-success: #2f8f6b;
  --color-brand-dark: #0b3551;
  --color-brand-darker: #08263a;

  --color-background: #f5f7fb;
  --color-background-alt: #eef1f6;
  --color-surface: #ffffff;
  --color-surface-alt: #f3f6fb;
  --color-surface-muted: #e8eef6;
  --color-surface-contrast: #1b2533;
  --color-border: #d6dde7;
  --color-border-strong: #b4c2d4;
  --color-neutral-700: #5a6878;
  --color-neutral-500: #8c99aa;
  --color-neutral-200: #dfe4ec;

  --color-heading: #1f2a37;
  --color-text: #2d3a4b;
  --color-text-strong: #1b2533;
  --color-text-muted: #607080;
  --color-text-light: #ffffff;
  --color-black: #000;

  --overlay-hero: rgba(11, 53, 81, 0.75);
  --overlay-light: rgba(255, 255, 255, 0.85);
  --overlay-technology: rgba(245, 247, 252, 0.9);
  --overlay-services: rgba(240, 244, 250, 0.86);
  --overlay-hero-dark: rgba(8, 38, 58, 0.82);
  --surface-primary-muted: rgba(21, 118, 154, 0.12);

  --gradient-hero: linear-gradient(135deg, rgba(21, 118, 154, 0.3), rgba(246, 195, 67, 0.18));
  --gradient-panel: linear-gradient(160deg, rgba(255, 255, 255, 0.9), rgba(238, 241, 246, 0.95));
  --gradient-section: linear-gradient(135deg, rgba(11, 53, 81, 0.04), rgba(214, 75, 75, 0.04));
  --pattern-soft-dots: radial-gradient(circle at 12% 18%, rgba(21, 118, 154, 0.18) 0%, rgba(21, 118, 154, 0) 65%);
  --pattern-diagonal: linear-gradient(135deg, rgba(246, 195, 67, 0.08) 0%, rgba(214, 75, 75, 0.08) 100%);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;

  --shadow-sm: 0 6px 18px rgba(15, 35, 52, 0.06);
  --shadow-md: 0 16px 32px rgba(15, 35, 52, 0.08);
  --shadow-lg: 0 28px 56px rgba(15, 35, 52, 0.14);
  --transition-base: 0.25s ease;
  --transition-accelerate: 0.18s cubic-bezier(0.4, 0, 0.2, 1);

  --max-width-container: 1200px;

  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 5rem;
}

/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  font-family: var(--font-family-sans);
  font-size: var(--font-size-body);
  line-height: 1.65;
  color: var(--color-text);
  background-color: var(--color-background);
  letter-spacing: var(--letter-spacing-normal);
  scroll-behavior: smooth;
}

p {
  margin-bottom: var(--space-md);
  color: inherit;
}

.lead {
  font-size: var(--font-size-lead);
  line-height: 1.5;
  color: var(--color-text-strong);
}

small {
  font-size: var(--font-size-small);
  color: var(--color-text-muted);
}

h1, h2, h3 {
  font-family: var(--font-family-display);
  font-weight: 600;
  color: var(--color-heading);
  letter-spacing: var(--letter-spacing-tight);
  margin-bottom: var(--space-sm);
}

h4, h5, h6 {
  font-family: var(--font-family-sans);
  font-weight: 600;
  color: var(--color-heading);
  letter-spacing: -0.01em;
  margin-bottom: var(--space-xs);
}

h1 { font-size: var(--font-size-h1); line-height: 1.1; }
h2 { font-size: var(--font-size-h2); line-height: 1.2; }
h3 { font-size: var(--font-size-h3); line-height: 1.3; }
h4 { font-size: var(--font-size-h4); line-height: 1.35; }
h5 { font-size: var(--font-size-h5); line-height: 1.4; }
h6 {
  font-size: var(--font-size-h6);
  line-height: 1.45;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-loose);
}

ul,
ol {
  margin-bottom: var(--space-md);
  padding-left: calc(1.25rem + var(--space-xs));
  color: inherit;
}

a {
  text-decoration: none;
  color: var(--color-primary);
  transition: color var(--transition-base), transform var(--transition-accelerate);
  font-weight: 600;
  letter-spacing: 0.01em;
}

a:hover,
a:focus-visible {
  color: var(--color-primary-dark);
}

a:focus-visible {
  outline: 2px solid var(--color-highlight);
  outline-offset: 3px;
  transform: translateY(-1px);
}

/* Layout Utilities */
.container {
  width: min(100%, var(--max-width-container));
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  width: min(100%, var(--max-width-container));
  margin: 0 auto;
  padding: var(--space-3xl) var(--space-md);
}

.section--tight {
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
}

.section--wide {
  padding-top: var(--space-4xl);
  padding-bottom: var(--space-4xl);
}

.section--full {
  width: 100%;
  max-width: none;
}

.stack {
  display: grid;
  gap: var(--space-md);
}

.stack--sm { gap: var(--space-sm); }
.stack--lg { gap: var(--space-lg); }
.stack--xl { gap: var(--space-xl); }

.cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-sm);
}

.surface-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
  padding: var(--space-lg);
}

.surface-card--muted {
  background: var(--color-surface-alt);
  border-color: var(--color-border-strong);
  box-shadow: none;
}

/* Buttons */
.button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  font-family: var(--font-family-sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--transition-base), color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-accelerate);
}

.button:focus-visible,
button.button:focus-visible {
  outline: 2px solid var(--color-highlight);
  outline-offset: 4px;
  box-shadow: 0 0 0 4px rgba(246, 195, 67, 0.25);
  transform: translateY(-1px);
}

.button[disabled],
button.button[disabled],
.button.is-disabled,
button.button.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
  pointer-events: none;
}

.button-primary,
button.button-primary {
  background: var(--color-primary);
  color: var(--color-text-light);
  box-shadow: var(--shadow-sm);
}

.button-primary:hover,
.button-primary:focus-visible,
button.button-primary:hover,
button.button-primary:focus-visible {
  background: var(--color-primary-dark);
  color: var(--color-text-light);
  box-shadow: var(--shadow-md);
}

.button-secondary,
button.button-secondary {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.button-secondary:hover,
.button-secondary:focus-visible,
button.button-secondary:hover,
button.button-secondary:focus-visible {
  background: rgba(21, 118, 154, 0.12);
  color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
}

.button-ghost {
  background: transparent;
  color: var(--color-heading);
  border-color: transparent;
}

.button-ghost:hover,
.button-ghost:focus-visible {
  background: var(--color-surface-alt);
  color: var(--color-heading);
}

/* Container */
.technology-overview {
  background: var(--gradient-section);
  color: var(--color-text);
  text-align: center;
  padding: var(--space-3xl) var(--space-md);
  position: relative;
  overflow: hidden;
}

.technology-overview::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--pattern-soft-dots);
  background-size: 420px 420px;
  opacity: 0.35;
  pointer-events: none;
}

.technology-overview__container {
  max-width: var(--max-width-container);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.technology-overview__title {
  color: var(--color-heading);
  margin-bottom: var(--space-md);
}

.technology-overview__description {
  font-size: var(--font-size-lead);
  color: var(--color-text);
  font-weight: 400;
  margin-bottom: var(--space-2xl);
  line-height: 1.6;
}
/* Background Treatments */
.background-neutral {
  background: var(--color-background-alt);
}

.background-gradient-brand {
  background-image: var(--gradient-section);
}

.background-gradient-hero {
  background-image: var(--gradient-hero);
}

.background-panel {
  background-color: var(--color-surface);
  background-image: var(--gradient-panel);
  box-shadow: var(--shadow-sm);
}

.background-texture-soft {
  background-color: var(--color-background);
  background-image: var(--pattern-soft-dots);
  background-repeat: no-repeat;
  background-size: 520px 520px;
}

.background-texture-diagonal {
  background-image: var(--pattern-diagonal);
}

/* Header */
header {
  background: linear-gradient(110deg, rgba(11, 53, 81, 0.95), rgba(21, 118, 154, 0.9));
  color: var(--color-text-light);
  padding: var(--space-md) 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
}

header .logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  cursor: pointer;
}

header .logo img {
  display: block;
  height: 56px;
  width: auto;
}

header .logo .company-name {
  font-family: var(--font-family-display);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: var(--letter-spacing-tight);
  color: var(--color-text-light);
}

header ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

header ul li {
  padding-left: 0;
}

nav .menu-toggle {
  display: none;
}

/* Navigation Styles */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-lg);
}

nav .menu {
  list-style: none;
  display: flex;
  gap: var(--space-lg);
  align-items: center;
}

nav .menu li {
  position: relative;
  display: flex;
  align-items: center;
}

nav .menu li a {
  position: relative;
  color: var(--color-text-light);
  font-size: 1.25rem;
  text-decoration: none;
  display: block;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-loose);
  font-weight: 600;
  padding: var(--space-xs) 0;
}

nav .menu li a:hover,
nav .menu li a:focus-visible {
  color: var(--color-highlight);
}

nav .menu li:hover .dropdown {
  display: block;
}

/* Dropdown Menu */
nav .menu-item {
  position: relative;
}

nav .menu-item .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 240px;
  background: var(--color-surface);
  color: var(--color-text);
  padding: var(--space-xs) 0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  z-index: 999;
}

nav .menu-item .dropdown li {
  padding: 0;
}

nav .menu-item .dropdown li a {
  color: var(--color-text);
  font-size: 0.95rem;
  padding: var(--space-sm) var(--space-md);
  letter-spacing: 0.04em;
}

nav .menu-item .dropdown li a:hover,
nav .menu-item .dropdown li a:focus-visible {
  color: var(--color-primary);
  background: var(--color-surface-alt);
}

/* Dropdown Visibility */
nav .menu-item:hover .dropdown {
  display: block;
}


/* Cart Icon */
.menu-item--icon a {
  padding: 0;
  text-transform: none;
}

.cart-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  transition: background-color var(--transition-base);
}

.cart-link__inner {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  padding-left: 10px;
}

.cart-link img {
  display: block;
  width: 22px;
  height: 22px;
}

.cart-link:hover,
.cart-link:focus-visible {
  background-color: rgba(255, 255, 255, 0.12);
}


/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
  padding: var(--space-4xl) 0 var(--space-3xl);
  background: var(--gradient-hero);
  color: var(--color-text-strong);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--pattern-soft-dots);
  background-size: 460px 460px;
  opacity: 0.45;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(11, 53, 81, 0.05) 65%, transparent 100%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--space-xl);
  align-items: center;
  text-align: left;
}

.hero h1 {
  color: var(--color-heading);
}

.hero p {
  font-size: var(--font-size-lead);
  max-width: 52ch;
  font-weight: 400;
  color: var(--color-text);
}

.hero-buttons {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.hero-list-items a {
    position: relative;
    z-index: 5;
}

/* Power Section */
.power-section {
  background: var(--gradient-section);
  color: var(--color-text);
  text-align: left;
  padding: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
}

.power-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--pattern-diagonal);
  opacity: 0.5;
  pointer-events: none;
}

.power-section__container {
  max-width: var(--max-width-container);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.power-section__title {
  margin-bottom: var(--space-2xl);
}

.power-section__features {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.power-section__feature-item {
  text-align: left;
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.power-section__icon {
  width: 72px;
  height: 72px;
  margin-bottom: var(--space-sm);
  display: block;
}

.power-section__feature-title {
  font-family: var(--font-family-sans);
  font-size: 1.25rem;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

.power-section__feature-description {
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
  .section {
    padding: var(--space-2xl) var(--space-sm);
  }

  .power-section {
    padding: var(--space-2xl) var(--space-sm);
  }

  .power-section__title {
    margin-bottom: var(--space-xl);
  }

  .power-section__features {
    grid-template-columns: 1fr;
  }

  .power-section__feature-item {
    padding: var(--space-md) var(--space-lg);
  }

  .power-section__icon {
    width: 60px;
    height: 60px;
  }
}


/* Cards */

.card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.card img {
  width: 100%;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

.card--muted {
  background: var(--color-surface-alt);
  border-color: var(--color-border-strong);
  box-shadow: none;
}

.card--highlight {
  border-color: rgba(21, 118, 154, 0.4);
  box-shadow: var(--shadow-md);
}

.card--minimal {
  padding: var(--space-md);
  box-shadow: none;
  border-radius: var(--radius-md);
}

.card__header {
  margin-bottom: var(--space-sm);
}

.card__eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-neutral-500);
  margin-bottom: var(--space-xs);
}

.card__title {
  font-size: 1.4rem;
  color: var(--color-heading);
  margin-bottom: var(--space-xs);
}

.card__body {
  color: var(--color-text);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.card__footer {
  margin-top: auto;
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.card-grid {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: repeat(var(--grid-cols, auto-fit), minmax(260px, 1fr));
}

.card-grid.card-grid--tight {
  gap: var(--space-md);
}


/* Responsive Design */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .card {
    margin-bottom: 1rem;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }
}

/* Featured Products Section */

.our-products {
  background: var(--surface-primary-muted);
  padding: 3rem 1rem;
  text-align: center;
}

.our-products .section-icon {
  display: inline-block;
  margin-bottom: 2rem;
}

.our-products .section-icon img {
  width: 50px;
  height: 50px;
  animation: rotate 3s linear infinite;
}

.our-products .page-heading {
  font-size: 4rem;
  font-weight: bold;
  color: var(--color-text);
  margin-bottom: 2rem;
}

/* Product List */
.product-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive grid */
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 1200px;
}

.product-list-item {
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-list-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.product-thumb-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.product-thumb-wrapper img {
  display: block;
  width: 100%; /* Ensure images fit within their container */
  height: auto;
  border-bottom: 1px solid var(--color-border);
  transition: transform var(--transition-base);
}

.product-thumb-wrapper img:hover {
  transform: scale(1.05); /* Slight zoom-in effect */
}

.product-item-details {
  padding: 1rem;
  text-align: center;
}

.product-item-details h5 {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.product-item-details p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.button-view {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  font-size: 0.95rem;
  color: var(--color-text-light);
  background: var(--color-primary);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background var(--transition-base);
}

.button-view:hover {
  background: var(--color-primary-dark);
}

/* Responsive Design */
@media (max-width: 768px) {
  .our-products .page-heading {
    font-size: 2.4em;
  }

  .product-item-details h5 {
    font-size: 1rem;
  }

  .product-item-details p {
    font-size: 0.9rem;
  }
}

/* Technology Overview Section */
.technology-overview {
  background: url('../images/SPRINTTRANS.svg') no-repeat center center;
  color: var(--color-text-light);
  background-size: 112%;
  background-position: bottom 0px;
  text-align: center;
  padding: 60px 20px;
  position: relative;
  overflow: hidden;
  height: 550px;
}

.technology-overview::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--overlay-technology);
  z-index: 1; 
}

.technology-overview__container {
  max-width: var(--max-width-container);
  margin: 0 auto;
  position: relative;
  z-index: 2;
  background: transparent;
}

.technology-overview__title {
  font-size: 2.5em; /* Reduced from 2.5em for better spacing */
  color: var(--color-accent);
    margin-bottom: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.technology-overview__description {
  font-size: 1.2em;
  color: var(--color-text-strong);
    font-weight: bold;
    margin-bottom: 40px;
    line-height: 1.6;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.technology-overview__process {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 150px; /* Fixed width for consistency */
}

.process-step__icon {
    width: 135px;
    height: 135px;
    margin-bottom: 10px;
}

.process-step__label {
  font-size: 1.1rem;
  color: var(--color-primary);
  font-weight: 600;
  text-align: center;
  font-family: var(--font-family-sans);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.process-step__connector {
  font-size: 3rem;
  color: var(--color-highlight);
  margin: 0 10px;
  align-self: center;
  font-family: var(--font-family-display);
}

.process-step__connector_down {
    display: none;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .process-step {
        width: 120px;
    }

    .process-step__icon {
        width: 50px;
        height: 50px;
    }

    .process-step__label {
        font-size: 0.95em;
    }

    .process-step__connector {
        font-size: 1.8em;
        margin: 0 8px;
    }
}

@media (max-width: 768px) {
    .technology-overview {
      background: url('../images/SPRINTTRANS-mobile.svg') no-repeat center center !important;
      background-size: 110% !important;
      background-position: top !important;
      height: 850px;
    }

    .technology-overview h2 {
      font-size: 1.5rem;
     }

    .technology-overview__description {
      font-size: 1rem;
     }

    .technology-overview__process {
        flex-direction: column;
    }

    .process-step__connector {
        display: none; /* Hide connectors on small screens for better readability */
    }

    .process-step__connector_down {
      display: block;
      font-size: 3.5em;
      color: var(--color-primary);
        align-self: center;
        line-height: 0.5;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }

    .process-step {
        width: 80%;
        max-width: 200px;
    }

    .process-step__icon {
        width: 50px;
        height: 50px;
    }

    .process-step__label {
        font-size: 1em;
    }
}

/* Custom Services Grid Section */
.custom-services-grid {
  background: url('../images/BG01_01b_ed.svg') no-repeat center center;
  color: var(--color-text-light);
  background-size: 150%;
  background-position: bottom 0px;
  text-align: center;
  padding: 60px 20px;
  position: relative;
  overflow: hidden;
  height: 860px;
  z-index: 0;
}

.custom-services-grid::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--overlay-services);
  z-index: 1;
}

.custom-services-grid__container {
  max-width: var(--max-width-container);
    margin: 0 auto;
    background: transparent;
    position: relative;
    z-index: 2;
}

.custom-services-grid__title {
  font-size: 2.2em; /* Slightly larger for emphasis */
  color: var(--color-heading);
    margin-bottom: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.custom-services-grid__description {
  font-size: 1em;
  color: var(--color-text-muted);
    margin-bottom: 50px;
    line-height: 1.6;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.custom-services-grid__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2x2 Grid Layout */
    background: transparent;
    z-index: 2;
    gap: 40px; /* Space between grid items */
}

.custom-services-grid__item {
  background-color: var(--color-surface);
  padding: 30px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
    transition: transform 0.3s, box-shadow 0.3s;
}

.custom-services-grid__item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.custom-services-grid__icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.custom-services-grid__service-title {
  font-size: 1.4em;
  color: var(--color-accent);
    margin-bottom: 15px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.custom-services-grid__service-description {
  font-size: 0.95em;
  color: var(--color-text-muted);
    margin-bottom: 25px;
    line-height: 1.6;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.custom-services-grid__button {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--color-primary);
  color: var(--color-text-light);
  border: none;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 0.95em;
  font-family: var(--font-family-display);
  transition: background-color var(--transition-base), transform var(--transition-base);
}

.custom-services-grid__button:hover {
  background-color: var(--color-primary-dark);
  transform: scale(1.05);
}

figcaption {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-style: italic;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .custom-services-grid {
      background: url('../images/BG01_01b_mobile.svg') no-repeat center center;
      background-size: 160%;
      background-position: bottom;
      height: 1280px;
    }
    .custom-services-grid__title {
        font-size: 2em;
    }

    .custom-services-grid__description {
        font-size: 0.95em;
      font-weight: bold;
      color: var(--color-brand-darker);
        margin-bottom: 40px;
    }

    .custom-services-grid__icon {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
    }

    .custom-services-grid__service-title {
        font-size: 1.3em;
    }

    .custom-services-grid__button {
        font-size: 0.9em;
        padding: 8px 16px;
    }
}

@media (max-width: 768px) {
    .custom-services-grid__grid {
        grid-template-columns: 1fr; /* Single column on small screens */
        gap: 30px;
    }

    .custom-services-grid__item {
        padding: 25px 15px;
    }

    .custom-services-grid__title {
        font-size: 2em;
    }

    .custom-services-grid__description {
        font-size: 0.9em;
        margin-bottom: 30px;
    }

    .custom-services-grid__icon {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
    }

    .custom-services-grid__service-title {
        font-size: 1.2em;
    }

    .custom-services-grid__button {
        font-size: 0.9em;
        padding: 8px 16px;
    }
}

.spacer {
  height: 5.5rem;
}

.spacer-sm {
  height: 1rem;
}

@media(max-width: 768px) {
  .spacer {
    height: 5rem;
  }
}

/* Footer */
footer {
  background: var(--color-surface-contrast);
  color: var(--color-text-light);
  padding: 2rem 1rem;
  font-size: 0.9rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive columns */
  gap: 2rem;
  margin-bottom: 1.5rem;
}

/* Footer Columns */
.footer-column {
  text-align: left;
}

.footer-column.align-right {
  text-align: right; /* Align the Contact Us and Follow Us sections to the right */
}

.footer-column h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--color-text-light);
  font-weight: bold;
}

/* Footer Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-base);
}

.footer-links a:hover {
  color: var(--color-highlight);
}

/* Contact Info */
.footer-column address {
  line-height: 1.6;
}

.footer-column address a {
  color: var(--color-primary);
  text-decoration: none;
}

.footer-column address a:hover {
  color: var(--color-highlight);
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 1rem;
  justify-content: flex-end; /* Aligns icons to the right within the column */
}

.social-icons a img {
  width: 24px;
  height: 24px;
  transition: opacity 0.3s ease;
}

.social-icons a:hover img {
  opacity: 0.7;
}

/* Copyright */
footer .copyright {
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-neutral-500);
}

.hidden {
  display: none;
}

.epi-bullets li {
  list-style: none;
  background: url("../images/logo-sm.png") no-repeat left top;
  background-size: 20px;
  padding-left: 20px;
  text-indent: 7px;
}


/* Responsive Design */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr; /* Single column layout for small screens */
    text-align: center;
  }

  .footer-column {
    text-align: center;
  }

  .footer-column.align-right {
    text-align: center; /* Re-aligns to center on smaller screens */
  }

  .social-icons {
    justify-content: center;
  }

  header .logo .company-name {
    display: none;  /* too large for mobile */
  }
  
  nav .menu {
    display: none;
    flex-direction: column;
    background: var(--color-brand-dark);
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    padding: 1rem 0;
    z-index: 999;
  }

  nav .menu.show {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    padding: 1rem 15px 1rem 15px;
    z-index: 999;
  }

  nav .menu-item .dropdown {
    position: static; /* Inline dropdown for mobile */
    padding-left: 1rem;
  }

  nav .menu-toggle {
    display: block;
    background: none;
    border: none;
    color: var(--color-text-light);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
  }
  
  .hero {
    height: 520px !important;
  }

  .hero h1 {
    font-size: 1.5rem !important;
    color: var(--color-primary-alt);
    font-weight: bold;
    margin-bottom: 1rem;
  }
  
  .hero p {
    font-size: 0.9rem !important;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 2rem;
    font-weight: bold;
  }
}

