/* Base Styles */
:root {
  /* Light Mode Colors */
  --teal: #2ae3a1;
  --dark-navy: #0f172a;
  --faded-teal: #edfcf5;
  --white: #f7fafc;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --background-primary: 247, 250, 252;
  --background-secondary: #edfcf5;
  --border-color: #e2e8f0;
  --footer-accent: #2ae3a1;
  --footer-spacing: 32px;
  --card-bg: #fffffffa; /* subtle white card for light mode */
  --error-color: #ef4444;
  --success-color: #22c55e;
}

.dark-mode {
  --text-primary: #f7fafc;
  --text-secondary: #cbd5e1;
  --background-primary: 15, 23, 42;
  --background-secondary: #1e293b;
  --border-color: #334155;
  --card-bg: #182132f2; /* subtle navy card for dark mode */
  --error-color: #f87171;
  --success-color: #4ade80;
}

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

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: rgb(var(--background-primary));
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body.menu-open {
  overflow: hidden;
}

main {
  flex: 1 0 auto;
  margin-top: 80px; /* Adjust this value based on your header height */
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  color: var(--teal);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #20c48a;
}

/* Header & Navigation */
header {
  padding: 20px 0;
  border-bottom: 1px solid var(--border-color);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  background-color: rgba(var(--background-primary), 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease;
  width: 100%;
}

.dark-mode header {
  background-color: rgba(15, 23, 42, 0.95);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1.25rem;
}

.logo-image {
  height: 28px;
  width: auto;
}

/* Logo wordmark animation */
.logo-text {
  position: relative;
  overflow: hidden;
  display: inline-block;
}

.logo-text-inner {
  display: inline-block;
  position: relative;
  transition: transform 0s;
}

.logo-text-clipper {
  position: absolute;
  top: 0;
  right: 0;
  width: 0%;
  height: 100%;
  background-color: rgb(var(--background-primary));
  transition: width 0.4s ease-in-out;
  z-index: 2;
}

.logo-hidden .logo-text-clipper {
  width: 100%;
}

.logo-appearing .logo-text-clipper {
  left: 0;
  right: auto;
  width: 0%;
}

/* Header right section with theme toggle and mobile menu button */
.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav a {
  color: var(--text-primary);
  font-weight: 500;
  padding: 5px 0;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--teal);
  transition: width 0.3s ease;
}

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

nav a.active {
  color: var(--teal);
}

/* Mobile Menu Styles - Improved */
.mobile-menu-button {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10;
  position: relative;
}

.mobile-menu-button .bar {
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 4px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-button.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-menu-button.active .bar:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.mobile-menu-button.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile close button */
.mobile-menu-close {
  display: none; /* Hide by default */
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-primary);
  transition: all 0.2s ease;
  z-index: 1001;
}

.mobile-menu-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.dark-mode .mobile-menu-close {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}

.dark-mode .mobile-menu-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
  .mobile-menu-button {
    display: flex;
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(var(--background-primary), 0.98);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: right 0.3s ease;
    padding: 80px 24px 24px;
    z-index: 1000;
  }

  .dark-mode nav {
    background: rgba(15, 23, 42, 0.98);
  }

  nav.active {
    right: 0;
  }

  nav.active .mobile-menu-close {
    display: flex;
  }

  nav ul.nav-menu {
    flex-direction: column;
    gap: 24px;
    align-items: center;
    margin-top: 20px;
  }

  nav li {
    opacity: 0;
    transform: translateY(20px);
    transition:
      opacity 0.3s ease,
      transform 0.3s ease;
    transition-delay: calc(var(--item-index) * 0.1s);
  }

  nav.active li {
    opacity: 1;
    transform: translateY(0);
  }

  nav a {
    font-size: 1.25rem;
    padding: 12px;
    display: inline-block;
    width: 100%;
    text-align: center;
  }

  nav a:hover {
    background: rgba(var(--background-primary), 0.1);
  }

  nav a::after {
    display: none;
  }

  nav a.active {
    color: var(--teal);
  }

  .header-right {
    gap: 24px;
  }
}

/* Fix body scroll when menu is open */
body.menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}

/* Theme Toggle */
#theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

#theme-toggle:hover {
  background-color: var(--background-secondary);
}

.light-mode .moon-icon {
  display: none;
}

.dark-mode .sun-icon {
  display: none;
}

/* Hero Section */
.hero {
  position: relative;
  overflow: visible;
  padding: 80px 0;
  margin-top: 0;
  text-align: center;
  width: 100%;
}

h1 {
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  line-height: 1.13;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 32px;
  letter-spacing: -1.5px;
}

h1 span {
  display: inline-block;
}

.hero-path-line {
  white-space: nowrap;
}

.hero-title-accent {
  width: 60px;
  height: 4px;
  background: #2ae3a1;
  border-radius: 2px;
  margin: 1.5rem auto 0;
  display: block;
}

.hero-description {
  font-size: 1.25rem;
  line-height: 1.5;
  font-weight: 400;
  max-width: 600px;
  margin: 2rem auto 3rem;
  color: var(--text-secondary);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

/* Buttons */
.btn {
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--teal);
  color: #000;
}

.btn-primary:hover {
  background-color: #20c48a;
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(42, 227, 161, 0.2);
}

.btn-outline {
  border: 2px solid #2ae3a1;
  color: #0f172a;
  background: white;
}

.btn-outline:hover {
  background-color: #2ae3a1;
  color: #0f172a;
  border-color: #2ae3a1;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(42, 227, 161, 0.2);
}

.btn-primary svg,
.btn-outline:hover svg {
  transition: transform 0.3s ease;
}

.btn-primary:hover svg,
.btn-outline:hover svg {
  transform: translateX(4px);
}

/* Hero Section Background SVG (Improved) */
.hero-bg {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  min-height: 600px;
  max-width: 1400px;
  z-index: -1;
  pointer-events: none;
  background: url('../assets/images/hero-asset-background-light.svg') center top/cover no-repeat;
  transition: background-image 0.3s;
  opacity: 0.82;
}

.dark-mode .hero-bg {
  background: url('../assets/images/hero-asset-background-dark.svg') center top/cover no-repeat;
  opacity: 1;
}

.hero .container {
  position: relative;
  z-index: 1;
  padding: 0;
  margin: 0 auto;
  max-width: 900px;
  text-align: center;
}

@media (max-width: 1200px) {
  .hero-bg {
    min-height: 420px;
    max-width: 100vw;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 60px 0;
  }

  .hero-bg {
    min-height: 320px;
    background-size: cover;
  }

  .hero-description {
    font-size: 1.1rem;
    line-height: 1.45;
    max-width: 450px;
    margin: 1.5rem auto 2.5rem;
  }

  .hero-buttons {
    margin-bottom: 1.5rem;
  }

  .value-pillars {
    padding: 60px 0;
  }
}

/* =============================
   Value Pillars Section (Polished)
   ============================= */
.value-pillars {
  position: relative;
  background-color: var(--background-secondary);
  padding: 80px 0;
  margin-top: 0;
  box-shadow: 0 2px 32px 0 rgba(42, 227, 161, 0.03);
  background-image: linear-gradient(
    180deg,
    rgba(42, 227, 161, 0.03) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  z-index: 1;
}
.value-pillars-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.pillars-title {
  font-size: clamp(2.1rem, 4vw, 2.8rem);
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  letter-spacing: -1px;
  color: var(--text-primary);
  position: relative;
}
.pillars-title-accent {
  width: 50%;
  max-width: 320px;
  min-width: 80px;
  height: 4px;
  background: #2ae3a1;
  margin: 0.5rem auto 1.5rem auto;
  border-radius: 2px;
  transition: width 0.3s;
}
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.section-description {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}
.pillar-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  background: #fff;
  border: 1.5px solid #2ae3a1;
  border-radius: 22px;
  padding: 2rem 2rem 1.7rem 2rem;
  box-shadow: 0 4px 32px 0 rgba(42, 227, 161, 0.07);
  transition:
    transform 0.22s cubic-bezier(0.4, 1.3, 0.6, 1),
    box-shadow 0.22s cubic-bezier(0.4, 1.3, 0.6, 1),
    border-color 0.22s;
  min-height: 140px;
}
.pillar-card:hover,
.pillar-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px 0 rgba(42, 227, 161, 0.13);
  border-color: #20c48a;
  z-index: 2;
}
.pillar-icon-img {
  margin-bottom: 0;
  margin-right: 1.7rem;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pillar-svg {
  width: 64px;
  height: 64px;
  display: block;
}
.pillar-card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.pillar-card h3 {
  margin-bottom: 0.7rem;
  font-weight: 700;
  font-size: 1.18rem;
  color: var(--text-primary);
}
.pillar-card p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 0;
}
.learn-more-container {
  text-align: center;
  margin-top: 2.5rem;
}
@media (max-width: 900px) {
  .pillars-grid {
    gap: 1.2rem;
  }
  .pillar-icon-img {
    margin-right: 1rem;
  }
  .pillar-card {
    padding: 1.1rem;
  }
}
@media (max-width: 768px) {
  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }
  .pillar-card {
    flex-direction: row;
    align-items: center;
    min-height: unset;
    padding: 1.5rem 1.1rem 1.5rem 1.1rem;
  }
  .pillar-icon-img {
    margin-right: 1.2rem;
    margin-bottom: 0;
    width: 80px;
    height: 80px;
  }
  .pillar-svg {
    width: 80px;
    height: 80px;
  }
  .pillar-card-content {
    align-items: flex-start;
  }
}
/* Dark mode for value pillars */
.dark-mode .value-pillars {
  background-color: #172136;
  background-image: linear-gradient(180deg, rgba(42, 227, 161, 0.06) 0%, rgba(23, 33, 54, 0) 100%);
}
.dark-mode .pillar-card {
  background: #10172a;
  border: 1.5px solid #2ae3a1;
}
.dark-mode .pillar-card h3,
.dark-mode .pillars-title {
  color: #fff;
}
.dark-mode .pillar-card p,
.dark-mode .section-description {
  color: #cbd5e1;
}
/* Swap SVGs for dark mode */
.dark-mode .pillar-svg-outcomes {
  content: url('../assets/images/value-pillar-outcomes-dark-mode.svg');
}
.dark-mode .pillar-svg-trust {
  content: url('../assets/images/value-pillar-trust-dark-mode.svg');
}
.dark-mode .pillar-svg-innovation {
  content: url('../assets/images/value-pillar-innovation-dark-mode.svg');
}
.dark-mode .pillar-svg-partnership {
  content: url('../assets/images/value-pillar-partnership-dark-mode.svg');
}

/* =============================
   Footer Styles (LumaPath)
   ============================= */
.site-footer {
  flex-shrink: 0;
  font-size: clamp(0.9rem, 1.2vw, 1.05rem);
  padding-bottom: 24px;
  padding-top: 24px;
  background: url('../assets/images/footer-background.svg') left top/cover no-repeat;
  position: relative;
  width: 100%;
  color: #fff;
  overflow: hidden;
  margin-top: 0;
  font-family: 'Inter', sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 32px 0 48px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.footer-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.2rem;
}

.footer-logo-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.3rem;
  padding-top: 16px;
}

.footer-logo {
  width: 32px;
  height: 32px;
  vertical-align: middle;
}

.footer-wordmark {
  font-size: 1.1rem;
  margin-left: -5px;
  font-weight: 700;
  letter-spacing: -1px;
  color: #fff;
  align-self: center;
  line-height: 1;
}

.footer-tagline {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  line-height: 1.08;
  color: #fff;
  margin-top: 0.5rem;
  max-width: 1000px;
  min-width: 350px;
  letter-spacing: -1px;
  text-align: left;
}

.footer-heading {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.2em;
  letter-spacing: 0.01em;
}

.footer-contact-main {
  display: flex;
  flex-direction: column;
  gap: 0.3em;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 0.6em;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-link:hover,
.footer-link:focus {
  color: var(--footer-accent, #2ae3a1);
}
.footer-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: var(--footer-accent, #2ae3a1);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  transition:
    transform 0.2s,
    color 0.2s,
    background 0.2s;
}
.footer-link:hover .footer-icon,
.footer-link:focus .footer-icon {
  transform: scale(1.08);
  color: #fff;
  background: var(--footer-accent, #2ae3a1);
}
.footer-link svg {
  stroke: currentColor;
  transition: stroke 0.2s;
}

.footer-address {
  display: flex;
  align-items: flex-start;
  gap: 0.7em;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 500;
  color: #fff;
  line-height: 1.3;
  pointer-events: none;
}
.footer-address-text,
.footer-flag {
  pointer-events: auto;
}
.footer-flag {
  font-size: 1.5em;
  margin-top: 0.1em;
}
.footer-address-text {
  font-weight: 500;
  color: #fff;
  display: inline-block;
}

/* Footer Bottom Row (Legal) */
.footer-bottom-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px 18px 48px;
  max-width: 1200px;
  margin: 2rem auto 0 auto;
  width: 100%;
  flex-wrap: nowrap;
  overflow-x: auto;
}
.footer-bottom-row .footer-copyright {
  color: rgba(255, 255, 255, 0.5);
  font-size: clamp(0.6rem, 0.9vw, 0.9rem);
  font-weight: 400;
  text-align: left;
  margin: 0;
  padding: 0;
  line-height: 1.5;
  white-space: nowrap;
}
.footer-legal-links {
  display: flex;
  gap: 18px;
}
.footer-legal-link {
  color: rgba(255, 255, 255, 0.5);
  font-size: clamp(0.6rem, 0.9vw, 0.9rem);
  font-weight: 400;
  text-decoration: none;
  margin: 0;
  padding: 0;
  line-height: 1.5;
  white-space: nowrap;
}
.footer-legal-link u {
  text-underline-offset: 2px;
}
.footer-legal-link:hover,
.footer-legal-link:focus {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .footer-container {
    gap: 24px;
    padding-left: 24px;
    padding-right: 16px;
  }
}
@media (max-width: 767px) {
  .footer-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 8px 0 18px;
    gap: 32px;
  }
  .footer-section {
    align-items: flex-start;
    min-width: unset;
    width: 100%;
    gap: 0.8rem;
    text-align: left;
  }
  .footer-logo-row {
    justify-content: flex-start;
    width: 100%;
  }
  .footer-wordmark {
    font-size: 1.1rem;
    align-self: center;
  }
  .footer-tagline {
    font-size: clamp(1.5rem, 7vw, 2.2rem);
    max-width: 98vw;
    text-align: left;
  }
  .footer-bottom-row {
    padding: 0 12px 18px 18px;
  }
  .footer-legal-links {
    gap: 12px;
  }
}

/* Animation Classes */
.fade-in-section {
  opacity: 1;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.fade-in-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-element {
  opacity: 1;
  transform: translateY(20px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
  transition-delay: calc(var(--delay, 0) * 0.2s);
}

.fade-in-element.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Services Page Specific Styles */
.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 60px 0;
}

.service-card {
  background-color: var(--background-primary);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.service-icon {
  color: var(--teal);
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

.service-card h3 {
  margin-bottom: 15px;
  font-weight: 600;
  font-size: 1.25rem;
}

.service-card p {
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--teal);
  transition: gap 0.3s ease;
}

.service-link:hover {
  gap: 12px;
}

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

.service-link:hover svg {
  transform: translateX(4px);
}

.industries-section {
  padding: 80px 0;
  background-color: var(--background-secondary);
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.industry-card {
  background: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  text-decoration: none;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.industry-image {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center;
  margin: 0;
  padding: 0;
}

.industry-card h3 {
  font-size: clamp(1.25rem, 2vw, 1.4rem);
  font-weight: 600;
  margin: 24px 24px 12px;
  color: var(--text-primary);
  line-height: 1.3;
}

.industry-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0 24px 24px;
  flex-grow: 1;
}

@media (max-width: 992px) {
  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .industry-image {
    height: 220px;
  }
}

@media (max-width: 768px) {
  .industry-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .industry-card {
    margin: 0;
  }

  .industry-image {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .industry-grid {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .industry-card {
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 12px !important;
    width: 100% !important;
    box-sizing: border-box;
  }
  .industry-image {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 12px 12px 0 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block;
  }
  .industry-card h3,
  .industry-card p {
    margin-left: 16px;
    margin-right: 16px;
  }
}

.development-section {
  padding: 80px 0;
  background: var(--background-secondary);
}

.dev-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 12px;
}

.dev-step-card {
  background: var(--card-bg);
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.07);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 36px 28px 32px 28px;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
  position: relative;
  min-height: 220px;
}

.dev-step-card:hover {
  box-shadow: 0 8px 32px rgba(42, 227, 161, 0.13);
  transform: translateY(-4px) scale(1.02);
}

.dev-step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 2px 8px rgba(42, 227, 161, 0.08);
}

.dev-step-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.dev-step-content p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 992px) {
  .dev-steps-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .dev-steps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 4px;
  }
  .dev-step-card {
    padding: 24px 14px 20px 14px;
    min-height: 0;
  }
  .dev-step-number {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
    margin-bottom: 12px;
  }
}

.availability-section {
  padding: 80px 0;
  background-color: var(--background-secondary);
}

.availability-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.availability-icon {
  color: var(--teal);
  font-size: 4rem;
  flex-shrink: 0;
}

.availability-text {
  flex: 1;
}

.availability-text h2 {
  margin-bottom: 20px;
}

.availability-text p {
  margin-bottom: 30px;
  color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 992px) {
  h1 {
    font-size: 2.5rem;
  }
  h2 {
    font-size: 2rem;
  }
  .hero {
    padding: 60px 0;
  }
  .value-pillars {
    padding: 80px 0;
  }
  .service-cards,
  .industry-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .dev-steps-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .dev-step-card {
    padding: 24px 14px 20px 14px;
    min-height: 0;
  }
  .dev-step-number {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
    margin-bottom: 12px;
  }
  .availability-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  nav ul {
    gap: 15px;
  }
  h1 {
    font-size: 2rem;
  }
  .hero-description {
    font-size: 1rem;
    max-width: 350px;
  }
  .footer-content {
    flex-direction: column;
  }
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  .service-cards,
  .industry-cards {
    grid-template-columns: 1fr;
  }
  .dev-steps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 4px;
  }
  .dev-step-card {
    padding: 24px 14px 20px 14px;
    min-height: 0;
  }
  .dev-step-number {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
    margin-bottom: 12px;
  }
  .site-footer {
    background-position: 20% top !important;
    background-repeat: no-repeat;
    background-color: #10172a;
  }
}

@media (max-width: 480px) {
  .navbar {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    width: 100%;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  h1 {
    font-size: 1.75rem;
  }

  .dev-steps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 4px;
  }

  .dev-step-card {
    padding: 24px 14px 20px 14px;
    min-height: 0;
  }

  .dev-step-number {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
    margin-bottom: 12px;
  }
}

.dark-mode .hero h1,
.dark-mode .hero .dynamic-title {
  color: #fff;
  text-shadow: none !important;
}

/* Policy/Legal Page Formatting */
.policy-page main {
  background: var(--card-bg);
  max-width: 900px;
  margin: 40px auto 60px auto;
  padding: 40px 32px 48px 32px;
  border-radius: 16px;
  box-shadow: 0 2px 24px 0 rgba(15, 23, 42, 0.06);
}

.policy-page h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: var(--text-primary);
  letter-spacing: -1px;
}

.policy-page h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--teal);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.25em;
}

.policy-page h3,
.policy-page h4 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.policy-page p,
.policy-page ul,
.policy-page ol,
.policy-page address {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 1.1em;
}

.policy-page ul,
.policy-page ol {
  padding-left: 1.5em;
  margin-bottom: 1.2em;
}

.policy-page li {
  margin-bottom: 0.5em;
}

.policy-page address {
  font-style: normal;
  color: var(--text-primary);
}

@media (max-width: 800px) {
  .policy-page main {
    padding: 24px 8vw 32px 8vw;
    margin: 24px 0 40px 0;
  }
  .policy-page h1 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .policy-page main {
    padding: 12px 2vw 20px 2vw;
    border-radius: 0;
  }
  .policy-page h1 {
    font-size: 1.4rem;
  }
  .policy-page h2 {
    font-size: 1.1rem;
  }
}

/* Why Us Hero Section */
.why-hero {
  position: relative;
  overflow: hidden;
  padding: 120px 0 300px;
  text-align: center;
}

.hexagon-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* Center hexagon with perfect aspect ratio */
.hexagon-center {
  position: absolute;
  width: min(116rem, 90vw);
  height: auto;
  aspect-ratio: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
}

/* Side hexagons with specified styling */
.hexagon-left {
  position: absolute;
  width: 18rem;
  height: auto;
  aspect-ratio: 1;
  top: 8rem;
  left: -6rem;
  z-index: 0;
}

.hexagon-right {
  position: absolute;
  width: 18rem;
  height: auto;
  aspect-ratio: 1;
  bottom: 8rem;
  right: -6rem;
  z-index: 0;
}

/* Text block styling */
.why-inner {
  max-width: 800px;
  margin: 0 auto 80px;
  position: relative;
  z-index: 2;
  padding: 0 20px;
}

.why-hero h1 {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  margin-bottom: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
}

.why-hero p {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Updated result cards positioning for the new layout */
.why-hero .results-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 10;
}

/* Dark mode adjustments */
.dark-mode .hexagon-center path {
  fill: #172136;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .why-hero {
    padding: 100px 0 230px;
  }

  .why-hero .results-cards {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 500px;
  }
}

@media (max-width: 768px) {
  .why-hero h1 {
    font-size: 2.2rem;
  }

  .why-hero p {
    font-size: 1rem;
    margin-bottom: 50px;
  }

  /* Hide side hexagons on mobile as specified */
  .hexagon-left,
  .hexagon-right {
    display: none;
  }
}

/* Keep the existing result card styles */
.result-card {
  background-color: var(--background-primary);
  padding: 40px 30px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dark-mode .result-card {
  background-color: #0a0f1a;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
}

.result-icon {
  width: 80px;
  height: 80px;
  background-color: var(--faded-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 25px;
}

.dark-mode .result-icon {
  background-color: rgba(42, 227, 161, 0.1);
}

.result-icon svg {
  width: 40px;
  height: 40px;
  stroke: var(--teal);
}

.result-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-primary);
}

.result-card p {
  color: var(--text-secondary);
  line-height: 1.7;
}

@media (max-width: 992px) {
  .result-card {
    padding: 30px 20px;
  }
}

/* Contact Page Styles */
.contact-page {
  position: relative;
  min-height: calc(100vh - 80px);
  background-color: #0f172a;
  overflow: hidden;
}

.contact-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../assets/images/contact-us-background.png') center/cover no-repeat;
  opacity: 0.85;
  z-index: 1;
}

.contact-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

/* Contact Form Section */
.contact-form-section {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.contact-form-card {
  background: #fff;
  padding: 2.5rem;
  border-radius: 1rem;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.dark-mode .contact-form-card {
  background: #1e293b;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

.contact-form-card h2 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 1.75rem;
  color: #0f172a;
}

.dark-mode .contact-form-card h2 {
  color: #f8fafc;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #0f172a;
  font-size: 0.95rem;
}

.dark-mode .form-group label {
  color: #e2e8f0;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  background-color: #f8fafc;
}

.dark-mode .form-group input,
.dark-mode .form-group textarea {
  background-color: #334155;
  border-color: #475569;
  color: #f8fafc;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #94a3b8;
}

.dark-mode .form-group input::placeholder,
.dark-mode .form-group textarea::placeholder {
  color: #cbd5e1;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2ae3a1;
  box-shadow: 0 0 0 3px rgba(42, 227, 161, 0.1);
  background-color: #fff;
}

.dark-mode .form-group input:focus,
.dark-mode .form-group textarea:focus {
  background-color: #1e293b;
  box-shadow: 0 0 0 3px rgba(42, 227, 161, 0.2);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* Budget Slider - Improved */
.budget-group {
  margin-bottom: 1.5rem;
}

.budget-slider-container {
  position: relative;
  padding: 0.75rem 0 0.25rem;
}

.budget-slider {
  width: 100%;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: #e2e8f0;
  border-radius: 3px;
  outline: none;
}

.dark-mode .budget-slider {
  background: #475569;
}

.budget-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #2ae3a1;
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.15);
  transition: all 0.2s ease;
}

.dark-mode .budget-slider::-webkit-slider-thumb {
  border-color: #1e293b;
  box-shadow: 0 1px 4px rgba(42, 227, 161, 0.3);
}

.budget-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #2ae3a1;
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.15);
  transition: all 0.2s ease;
}

.dark-mode .budget-slider::-moz-range-thumb {
  border-color: #1e293b;
  box-shadow: 0 1px 4px rgba(42, 227, 161, 0.3);
}

.budget-slider::-webkit-slider-thumb:hover {
  transform: scale(1.1);
  box-shadow: 0 1px 6px rgba(42, 227, 161, 0.3);
}

.budget-slider::-moz-range-thumb:hover {
  transform: scale(1.1);
  box-shadow: 0 1px 6px rgba(42, 227, 161, 0.3);
}

.budget-range {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  color: #64748b;
  font-size: 0.8rem;
}

.dark-mode .budget-range {
  color: #94a3b8;
}

/* Submit Button */
.send-message-btn {
  width: 100%;
  padding: 0.9rem;
  font-size: 1rem;
  font-weight: 500;
  background: #2ae3a1;
  color: #0f172a;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 0.5rem;
}

.send-message-btn:hover {
  background: #21cb8f;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(42, 227, 161, 0.15);
}

.dark-mode .send-message-btn {
  color: #0f172a;
}

/* Contact Info Section */
.contact-info-section {
  color: #fff;
  padding: 2rem 0;
}

.contact-info-section h1 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 3rem;
  color: #fff;
  letter-spacing: -0.03em;
}

.value-points {
  margin-bottom: 3.5rem;
}

.value-point {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  font-size: 1.1rem;
}

.check-icon {
  color: #2ae3a1;
  flex-shrink: 0;
  background-color: rgba(42, 227, 161, 0.1);
  width: 28px;
  height: 28px;
  padding: 5px;
  border-radius: 50%;
}

.contact-info {
  margin-top: 4.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  color: #fff;
}

.contact-item svg {
  color: #2ae3a1;
}

.contact-item a,
.contact-item address {
  color: #fff;
  text-decoration: none;
  font-style: normal;
  font-size: 1.1rem;
  line-height: 1.5;
}

.contact-item a:hover {
  color: #2ae3a1;
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 1.5rem 3rem;
  }

  .contact-info-section {
    order: 2;
    text-align: center;
    padding: 1rem 1rem 2rem;
  }

  .contact-form-section {
    order: 1;
  }

  .contact-form-card {
    max-width: 600px;
    margin: 0 auto;
  }

  .contact-info-section h1 {
    font-size: 2.5rem;
    margin-top: 1rem;
  }

  .value-points {
    max-width: 500px;
    margin: 0 auto 2.5rem;
  }

  .contact-info {
    max-width: 500px;
    margin: 2.5rem auto 0;
  }

  .value-point,
  .contact-item {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .contact-form-card {
    padding: 1.5rem;
    border-radius: 0.75rem;
  }

  .contact-info-section h1 {
    font-size: 2rem;
  }

  .value-point,
  .contact-item {
    font-size: 1rem;
  }

  .contact-content {
    padding: 1.25rem 1rem 2rem;
  }
}

/* Form Validation Styles */
.form-group .error-message {
  display: block;
  color: var(--error-color);
  font-size: 0.875rem;
  margin-top: 0.25rem;
  min-height: 1.25rem;
}

.form-group input.invalid,
.form-group textarea.invalid {
  border-color: var(--error-color);
}

.form-group input.invalid:focus,
.form-group textarea.invalid:focus {
  border-color: var(--error-color);
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2);
}

/* Notification System */
.notification {
  position: fixed;
  top: 1rem;
  right: 1rem;
  padding: 1rem;
  border-radius: 0.5rem;
  background: var(--card-bg);
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 24rem;
  z-index: 1000;
  animation: slideIn 0.3s ease-out;
}

.notification.success {
  border-left: 4px solid var(--success-color);
}

.notification.error {
  border-left: 4px solid var(--error-color);
}

.notification-message {
  flex: 1;
  color: var(--text-primary);
  font-size: 0.875rem;
}

.notification-close {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 1.25rem;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.notification-close:hover {
  color: var(--text-primary);
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Loading Spinner */
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 0.8s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Budget Slider Enhancements */
.budget-tooltip {
  position: absolute;
  top: -2.5rem;
  transform: translateX(-50%);
  background: var(--card-bg);
  color: var(--text-primary);
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  pointer-events: none;
  display: none;
}

.budget-tooltip::after {
  content: '';
  position: absolute;
  bottom: -0.25rem;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 0.5rem;
  height: 0.5rem;
  background: var(--card-bg);
}

.budget-slider-container {
  position: relative;
}

/* Send Message Button Enhancement */
.send-message-btn {
  position: relative;
  min-height: 2.75rem;
}

.send-message-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Services Hero Section */
.services-hero {
  padding: 120px 0 80px;
  background-color: var(--background-primary);
  position: relative;
  overflow: visible;
  min-height: auto;
}

.services-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.services-hero h1 {
  font-size: clamp(2.8rem, 7vw, 4.2rem);
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--text-primary);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.services-hero-description {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto 60px;
  text-align: center;
  font-weight: 400;
}

.services-hero-cards {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 0 auto 80px;
  max-width: 1200px;
  padding: 0 24px;
}

.services-hero-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 28px;
  border: 1px solid rgba(42, 227, 161, 0.08);
  height: 100%;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.card-header {
  order: 1;
  margin-bottom: 0;
}

.card-header h3 {
  font-size: 1.6rem;
  color: var(--text-primary);
  margin: 0;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  flex: 1;
  order: 2;
}

.card-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  order: 0;
  margin-bottom: 8px;
}

.card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Fix icon display for different modes */
.dark-mode .light-mode-img {
  display: none;
}

.light-mode .dark-mode-img {
  display: none;
}

.card-body p {
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
  font-size: 1.05rem;
}

.card-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-weight: 600;
  color: var(--background-primary);
  background-color: var(--teal);
  padding: 16px min(32px, 6vw);
  border-radius: 12px;
  transition: all 0.3s ease;
  margin-top: auto;
  text-decoration: none;
  cursor: pointer;
  order: 3;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  width: 100%;
  min-height: 56px;
  text-align: center;
  line-height: 1.2;
}

.card-button svg {
  width: clamp(18px, 3vw, 22px);
  height: clamp(18px, 3vw, 22px);
  transition: transform 0.3s ease;
  stroke-width: 1.75;
  flex-shrink: 0;
}

.card-button:hover {
  background-color: #20c48a;
  color: var(--background-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(32, 196, 138, 0.2);
}

.card-button:hover svg {
  transform: translateX(4px);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .services-hero {
    padding: 80px 0 60px;
  }

  .services-hero-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding: 0 16px;
  }
}

@media (max-width: 768px) {
  .services-hero {
    padding: 60px 0 40px;
  }

  .services-hero-cards {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 min(24px, 5vw);
  }

  .services-hero-card {
    padding: min(24px, 5vw);
    max-width: 500px;
    margin: 0 auto;
    gap: 20px;
  }

  .services-hero-card {
    display: flex;
    flex-direction: column;
  }

  .card-content-wrapper {
    display: flex;
    gap: min(20px, 4vw);
    align-items: center;
    width: 100%;
  }

  .card-icon {
    width: 56px;
    height: 56px;
    margin: 0;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .card-text-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0; /* Prevent text overflow */
  }

  .card-header {
    margin: 0;
  }

  .card-header h3 {
    font-size: 1.25rem;
    line-height: 1.3;
    margin: 0;
  }

  .card-body {
    margin: 0;
  }

  .card-body p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .card-button {
    width: 100%;
    margin-top: 16px;
    padding: 14px min(28px, 5vw);
    min-height: 52px;
    font-size: clamp(0.9rem, 1.8vw, 1.05rem);
  }

  .card-button svg {
    width: 20px;
    height: 20px;
  }

  .services-hero-description {
    text-align: center;
    padding: 0 min(16px, 3vw);
  }
}

@media (max-width: 480px) {
  .services-hero-card {
    padding: min(20px, 4vw);
  }

  .card-content-wrapper {
    gap: min(16px, 3vw);
  }

  .card-icon {
    width: 64px;
    height: 64px;
  }

  .card-header h3 {
    font-size: 1.15rem;
  }

  .card-body p {
    font-size: 0.9rem;
  }

  .card-button {
    padding: 13px min(24px, 4vw);
    min-height: 48px;
    font-size: 0.95rem;
    gap: 8px;
  }

  .card-button svg {
    width: 18px;
    height: 18px;
  }
}

/* Industry Section */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.industry-card {
  background: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  text-decoration: none;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.industry-image {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center;
  margin: 0;
  padding: 0;
}

.industry-card h3 {
  font-size: clamp(1.25rem, 2vw, 1.4rem);
  font-weight: 600;
  margin: 24px 24px 12px;
  color: var(--text-primary);
  line-height: 1.3;
}

.industry-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0 24px 24px;
  flex-grow: 1;
}

@media (max-width: 992px) {
  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .industry-image {
    height: 220px;
  }
}

@media (max-width: 768px) {
  .industry-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .industry-card {
    margin: 0;
  }

  .industry-image {
    height: 200px;
  }
}

/* Support Section */
.support-section {
  padding: 80px 0;
  background-size: cover;
  background-position: center;
  position: relative;
  color: var(--white);
}

.support-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.7));
}

.support-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.support-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--white);
}

.support-content p {
  font-size: 1.1rem;
  margin-bottom: 40px;
  color: var(--white);
  opacity: 0.9;
}

.support-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.support-feature {
  display: flex;
  align-items: center;
  gap: 15px;
}

.support-feature svg {
  flex-shrink: 0;
  color: var(--teal);
}

.support-feature span {
  font-size: 1.1rem;
  color: var(--white);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .services-hero-cards {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .support-content {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .services-hero h1 {
    font-size: clamp(2.4rem, 6vw, 2.8rem);
    margin-bottom: 20px;
  }

  .services-hero-cards {
    grid-template-columns: 1fr;
  }

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

  .support-content h2 {
    font-size: 2rem;
  }

  .support-feature {
    flex-direction: row;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .services-hero h1 {
    font-size: 2rem;
  }

  .services-hero-card,
  .industry-card {
    padding: 20px;
  }

  .support-content h2 {
    font-size: 1.75rem;
  }

  .support-feature span {
    font-size: 1rem;
  }
}

/* Card Badges */
.card-badge {
  display: inline-block;
  padding: 4px 12px;
  background-color: rgba(42, 227, 161, 0.1);
  color: var(--teal);
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.services-hero-card:hover .card-badge {
  background-color: var(--teal);
  color: var(--background-primary);
}

/* Scroll Indicator */
.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  color: var(--text-secondary);
  opacity: 0.7;
  transition: opacity 0.3s ease;
  cursor: pointer;
}

.scroll-indicator:hover {
  opacity: 1;
}

.scroll-text {
  font-size: 0.875rem;
  font-weight: 500;
}

.scroll-indicator svg {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Dark Mode Enhancements */
.dark-mode .hero-pattern {
  opacity: 0.3;
}

.dark-mode .card-badge {
  background-color: rgba(42, 227, 161, 0.15);
}

/* Add smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Service Framework Section */
.service-framework {
  padding: 80px 0;
  background-color: var(--background-primary);
}

.framework-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.framework-item {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.framework-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.framework-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: var(--faded-teal);
  border-radius: 50%;
  margin-bottom: 20px;
}

.dark-mode .framework-icon {
  background-color: var(--background-secondary);
}

.framework-icon svg {
  color: var(--teal);
  width: 24px;
  height: 24px;
}

.framework-item h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.framework-item p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 0;
}

@media (max-width: 1200px) {
  .framework-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .framework-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .framework-item {
    padding: 25px;
  }
}

/* Testimonials Section */
.testimonials-section {
  padding: 80px 0;
  background-color: var(--background-secondary);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.testimonial-card {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.testimonial-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-client h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  color: var(--text-primary);
}

.testimonial-client p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
}

.testimonial-content p {
  font-size: 1rem;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 992px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .testimonial-card {
    padding: 25px;
  }
}

/* CTA Section */
.cta-section {
  background-image: linear-gradient(45deg, var(--dark-navy), #164e63);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url('../assets/images/why-us-feature.png');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  color: white;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: white;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
}

.cta-content .btn-primary {
  background-color: var(--teal);
  color: var(--dark-navy);
  border: none;
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition:
    background-color 0.3s ease,
    transform 0.3s ease;
}

.cta-content .btn-primary:hover {
  background-color: #20c48a;
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .cta-content h2 {
    font-size: 2rem;
  }

  .cta-content p {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .cta-section {
    padding: 60px 0;
  }

  .cta-content h2 {
    font-size: 1.8rem;
  }

  .cta-content p {
    font-size: 1rem;
  }

  .cta-content .btn-primary {
    padding: 12px 25px;
    font-size: 1rem;
  }
}

/* Cookie Banner Styles - Matching home.css aesthetic */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid #e2e8f0;
  padding: 20px 24px;
  z-index: 9999;
  box-shadow:
    0 -10px 15px -3px rgba(0, 0, 0, 0.1),
    0 -4px 6px -2px rgba(0, 0, 0, 0.05);
  animation: slideInFromBottom 0.4s ease-out;
  font-family: 'SF Pro', 'Inter', Arial, sans-serif;
}

.dark-mode .cookie-banner {
  background-color: rgba(15, 23, 42, 0.98);
  border-top-color: #334155;
  box-shadow:
    0 -10px 15px -3px rgba(0, 0, 0, 0.3),
    0 -4px 6px -2px rgba(0, 0, 0, 0.2);
}

.cookie-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
}

.cookie-banner-text {
  flex: 1;
  min-width: 0;
}

.cookie-banner-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #10172a;
  margin: 0 0 8px 0;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.dark-mode .cookie-banner-title {
  color: #f7fafc;
}

.cookie-banner-description {
  font-size: 0.875rem;
  color: #475569;
  margin: 0;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.dark-mode .cookie-banner-description {
  color: #cbd5e1;
}

.cookie-banner-link {
  color: #2ae3a1;
  text-decoration: underline;
  transition: color 150ms ease-in-out;
}

.cookie-banner-link:hover {
  color: #0f172a;
}

.dark-mode .cookie-banner-link:hover {
  color: #f7fafc;
}

.cookie-banner-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  align-items: center;
}

/* Primary button - matching .btn-dark from home.css */
.cookie-btn-primary {
  background-color: #0f172a;
  color: #ffffff;
  border: 2px solid #0f172a;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 200ms ease;
  white-space: nowrap;
  font-family: inherit;
  letter-spacing: -0.01em;
}

.cookie-btn-primary:hover,
.cookie-btn-primary:focus {
  background-color: #2ae3a1;
  border-color: #2ae3a1;
  color: #0f172a;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(42, 227, 161, 0.25);
}

/* Secondary button - matching .btn-outline-dark from home.css */
.cookie-btn-secondary {
  background-color: transparent;
  color: #0f172a;
  border: 2px solid #e2e8f0;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 200ms ease;
  white-space: nowrap;
  font-family: inherit;
  letter-spacing: -0.01em;
}

.cookie-btn-secondary:hover,
.cookie-btn-secondary:focus {
  background-color: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.25);
}

.dark-mode .cookie-btn-primary {
  background-color: #2ae3a1;
  border-color: #2ae3a1;
  color: #0f172a;
}

.dark-mode .cookie-btn-primary:hover,
.dark-mode .cookie-btn-primary:focus {
  background-color: #f7fafc;
  border-color: #f7fafc;
  color: #0f172a;
}

.dark-mode .cookie-btn-secondary {
  color: #f7fafc;
  border-color: #334155;
}

.dark-mode .cookie-btn-secondary:hover,
.dark-mode .cookie-btn-secondary:focus {
  background-color: #f7fafc;
  border-color: #f7fafc;
  color: #0f172a;
}

@keyframes slideInFromBottom {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Mobile responsive styles */
@media (max-width: 992px) {
  .cookie-banner {
    padding: 20px;
  }

  .cookie-banner-content {
    gap: 24px;
  }

  .cookie-banner-actions {
    gap: 10px;
  }

  .cookie-btn-primary,
  .cookie-btn-secondary {
    padding: 12px 20px;
    font-size: 0.875rem;
  }
}

@media (max-width: 768px) {
  .cookie-banner {
    padding: 16px 20px;
  }

  .cookie-banner-content {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }

  .cookie-banner-actions {
    width: 100%;
    justify-content: center;
  }

  .cookie-btn-primary,
  .cookie-btn-secondary {
    flex: 1;
    padding: 14px 16px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .cookie-banner {
    padding: 16px;
  }

  .cookie-banner-content {
    gap: 16px;
  }

  .cookie-banner-actions {
    flex-direction: column;
    gap: 12px;
  }

  .cookie-btn-primary,
  .cookie-btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .cookie-banner-title {
    font-size: 1rem;
  }

  .cookie-banner-description {
    font-size: 0.813rem;
  }
}
