:root {
  --primary: #1d1d1f;
  --secondary: #556B2F;
  --accent: #556B2F;
  --accent-hover: #6B8E23;
  --accent-light: rgba(85, 107, 47, 0.06);
  --yellow-accent: #8a9d42;
  --yellow-light: rgba(138, 157, 66, 0.09);
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9f5;
  --bg-tertiary: #fafafa;
  --text-primary: #111112;
  --text-secondary: #5a5a5f;
  --text-tertiary: #6a6a6f;
  --text-light: #e8e8ea;
  --text-light: #f5f5f7;
  --glass-bg: rgba(255, 255, 255, 0.8);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-shadow: rgba(0, 0, 0, 0.05);
  --blur-effect: blur(20px);
  --gradient-primary: linear-gradient(140deg, #ffffff 0%, #f8f9f5 100%);
  --gradient-accent: linear-gradient(140deg, #556B2F 0%, #8a9d42 100%);
  --gradient-yellow: linear-gradient(140deg, #8a9d42 0%, #b3c36a 100%);
  --gradient-dark: linear-gradient(140deg, #2c2c2e 0%, #3a3a3c 100%);
  --transition-fast: 0.1s cubic-bezier(0.28, 0.11, 0.32, 1);
  --transition-medium: 0.2s cubic-bezier(0.28, 0.11, 0.32, 1);
  --transition-slow: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --font-primary: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', Arial, sans-serif;
  --font-secondary: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', Arial, sans-serif;
  --shadow-sm: 0 10px 30px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 15px 40px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.10);
  --shadow-xl: 0 12px 32px rgba(0, 0, 0, 0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-xxl: 40px;
  --spacing-xxxl: 56px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}

body {
  overflow-x: hidden;
  font-family: var(--font-secondary);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  font-weight: 400;
}

body, p, h1, h2, h3, h4, h5, h6, div, span, li, a, button, input, textarea {
  overflow-wrap: normal;
  word-wrap: normal;
  word-break: normal;
  -webkit-hyphens: none;
  -moz-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
}

.background-decoration {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  opacity: .4;
  background: radial-gradient(circle at top right, rgb(85 107 47 / .03), transparent 70%),
              radial-gradient(circle at bottom left, rgb(138 157 66 / .03), transparent 70%);
}

.main-content {
  padding-top: 0;
  position: relative;
  overflow: hidden;
}

.container {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--spacing-xl);
  position: relative;
  box-sizing: border-box;
}

/* Optimized Hero Section with REDUCED SPACING */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 45vh;
  padding: calc(var(--spacing-xxxl) + 20px) 0 var(--spacing-lg); /* REDUCED bottom padding */
  overflow: hidden;
  background-color: var(--bg-primary);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: .05;
  z-index: 0;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgb(0 0 0 / .06), transparent);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  padding: var(--spacing-md) 0 0; /* REDUCED bottom padding */
  box-sizing: border-box;
}

.hero h1 {
  font-family: var(--font-primary);
  font-size: clamp(2.5rem, 7vw, 4.2rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: var(--spacing-xl);
  color: var(--primary);
  letter-spacing: -.02em;
  max-width: 900px;
  position: relative;
}

.hero h1 span.gradient-text {
  background: linear-gradient(to right, var(--accent), var(--accent-hover));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
  font-weight: 600;
}

.highlight {
  position: relative;
  display: inline-block;
  z-index: 1;
  font-weight: 600;
}

.highlight::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 10px;
  background-color: var(--yellow-light);
  z-index: -1;
  transition: height var(--transition-fast), background-color var(--transition-fast);
}

.highlight:hover::after {
  height: 100%;
  background-color: rgba(138, 157, 66, 0.15);
}

.hero h1::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--yellow-accent);
  border-radius: 3px;
}

.hero p {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  font-weight: 400;
  color: var(--text-secondary);
  max-width: 650px;
  margin: var(--spacing-xl) auto var(--spacing-md); /* REDUCED bottom margin */
  line-height: 1.6;
  letter-spacing: -0.01em;
}

.section-subtitle {
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: clamp(0.85rem, 1.8vw, 0.9rem);
  font-weight: 500;
  color: var(--accent);
  margin-bottom: var(--spacing-md);
  margin-top: var(--spacing-sm);
  display: inline-block;
  position: relative;
}

.section-subtitle::before,
.section-subtitle::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 25px;
  height: 1px;
  background-color: var(--accent-light);
}

.section-subtitle::before {
  left: -35px;
}

.section-subtitle::after {
  right: -35px;
}

.intro-content h2 {
  font-family: var(--font-primary);
  font-size: clamp(2rem, 6vw, 2.8rem);
  font-weight: 600;
  margin-bottom: var(--spacing-md);
  color: var(--primary);
  letter-spacing: -.02em;
  line-height: 1.2;
}

.intro-content p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 750px;
  margin: 0 auto;
  font-weight: 400;
}

/* Services Grid Section */
.services-grid {
  padding: var(--spacing-xxl) 0;
  position: relative;
  background-color: var(--bg-primary);
}

.services-grid-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.services-grid-header h2 {
  font-family: var(--font-primary);
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
  color: var(--primary);
  letter-spacing: -.02em;
  line-height: 1.2;
}

.services-grid-header p {
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto;
  font-weight: 400;
}

.services-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
}

.service-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s cubic-bezier(.25, .46, .45, .94), 
              box-shadow 0.2s cubic-bezier(.25, .46, .45, .94), 
              border-color 0.2s cubic-bezier(.25, .46, .45, .94);
  position: relative;
  border: 1px solid rgb(0 0 0 / .03);
  padding: var(--spacing-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgb(0 0 0 / .06);
  z-index: 2;
  box-shadow: var(--shadow-md);
}

.service-card:hover .service-icon {
  transform: scale(1.02);
  background: var(--accent);
  color: #fff;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--accent), var(--accent-hover));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-medium);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 10px;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--spacing-md);
  transition: transform var(--transition-medium), 
              background-color var(--transition-medium), 
              color var(--transition-medium);
  box-shadow: none;
}

.service-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.service-content h3 {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: clamp(1rem, 3vw, 1.2rem);
  margin-bottom: var(--spacing-sm);
  line-height: 1.3;
  color: var(--text-primary);
  letter-spacing: -.01em;
}

.service-content p {
  font-size: clamp(0.95rem, 2vw, 1rem);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-top: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
  flex-grow: 1;
  font-weight: 400;
}

.service-details-btn {
  margin-top: auto;
  background: none;
  border: none;
  color: var(--accent);
  font-weight: 500;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: var(--spacing-sm) var(--spacing-md);
  cursor: pointer;
  border-radius: var(--radius-sm);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity var(--transition-medium), 
              transform var(--transition-medium), 
              background-color var(--transition-fast);
}

.service-card:hover .service-details-btn {
  opacity: 1;
  transform: translateY(0);
}

.service-details-btn:hover {
  background-color: var(--accent-light);
}

.service-featured {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  background-color: var(--bg-secondary);
  border: none;
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--spacing-lg);
}

.service-featured .service-icon {
  width: 70px;
  height: 70px;
  min-width: 70px;
  font-size: 1.8rem;
  margin: 0 0 var(--spacing-lg) 0;
  background: var(--accent-light);
  color: var(--accent);
}

.service-featured:hover .service-icon {
  background: var(--accent);
  color: #fff;
}

.service-featured h3 {
  font-size: clamp(1.5rem, 4vw, 1.8rem);
  margin-bottom: var(--spacing-md);
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.02em;
}

.service-featured p {
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  color: var(--text-secondary);
  max-width: 700px;
  line-height: 1.8;
  margin-bottom: var(--spacing-lg);
  font-weight: 400;
}

.service-featured .btn-outline {
  padding: 12px 28px;
  font-size: .95rem;
  color: var(--accent);
  border-color: var(--accent-light);
}

.service-featured .btn-outline:hover {
  border-color: var(--accent);
  background: var(--accent-light);
}

/* Expertise Section with REDUCED SPACING */
.expertise-section {
  padding: var(--spacing-lg) 0 var(--spacing-xxl); /* REDUCED top padding */
  position: relative;
  overflow: hidden;
  background-color: var(--bg-primary);
}

.main-content > section + section {
  margin-top: 0; /* Ensure no additional margin between sections */
}

.expertise-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-xl);
}

.expertise-image {
  flex: 1 1 45%;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  min-width: 280px;
}

.expertise-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform var(--transition-slow), filter var(--transition-slow);
  filter: brightness(.9);
}

.expertise-image:hover img {
  transform: scale(1.03);
  filter: brightness(.5);
}

.expertise-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: var(--spacing-lg);
  color: #fff;
  z-index: 2;
  text-align: center;
  background: linear-gradient(
    135deg, 
    rgba(0, 0, 0, 0.1) 0%, 
    rgba(0, 0, 0, 0.4) 50%, 
    rgba(0, 0, 0, 0.7) 100%
  );
  backdrop-filter: blur(2px);
  opacity: 1; 
  transition: opacity var(--transition-medium);
}

/* Hover state - darker background for even better readability */
.expertise-image:hover .expertise-image-overlay {
  background: linear-gradient(
    135deg, 
    rgba(0, 0, 0, 0.3) 0%, 
    rgba(0, 0, 0, 0.5) 50%, 
    rgba(0, 0, 0, 0.7) 100%
  );
  backdrop-filter: blur(3px);
}

.expertise-image-overlay::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  border: 1px solid rgb(255 255 255 / .3);
  z-index: -1;
  opacity: 0;
  transition: opacity var(--transition-medium) 0.1s;
}

.expertise-image:hover .expertise-image-overlay::before {
  opacity: 1;
}

/* Add text shadows for better readability */
.expertise-image-overlay .overlay-title,
.expertise-image-overlay .overlay-text {
  text-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.8),
    0 1px 2px rgba(0, 0, 0, 0.9);
  backdrop-filter: none;
}

.overlay-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
  letter-spacing: -.01em;
  opacity: 1; /* Always visible */
  transform: translateY(0); /* Always in position */
  transition: opacity var(--transition-medium) 0.1s, transform var(--transition-medium) 0.1s;
}

.overlay-text {
  font-size: clamp(0.9rem, 2vw, 1rem);
  font-weight: 400;
  max-width: 90%;
  line-height: 1.5;
  opacity: 1; /* Always visible */
  transform: translateY(0); /* Always in position */
  transition: opacity var(--transition-medium) 0.2s, transform var(--transition-medium) 0.2s;
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 6px 12px;
  align-items: center;
  max-width: 90%;
}

.mission-grid span {
  font-size: clamp(0.9rem, 2vw, 1rem);
  font-weight: 400;
  line-height: 1.5;
  color: #fff;
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.8),
    0 1px 2px rgba(0, 0, 0, 0.9);
}

.mission-left {
  text-align: right;
}

.mission-sep {
  text-align: center;
  opacity: 0.5;
}

.mission-right {
  text-align: left;
}

.mission-center {
  grid-column: 1 / -1;
  text-align: center;
}

.expertise-content {
  flex: 1 1 55%;
  padding-right: 0;
}

.expertise-content h2 {
  font-family: var(--font-primary);
  font-size: clamp(2rem, 6vw, 2.6rem);
  font-weight: 600;
  margin-bottom: var(--spacing-lg);
  color: var(--primary);
  letter-spacing: -.02em;
  line-height: 1.2;
}

.expertise-content p {
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-lg);
  font-weight: 400;
}

.expertise-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--spacing-lg) 0;
}

.expertise-item {
  position: relative;
  padding-left: 28px;
  margin-bottom: var(--spacing-md);
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  color: var(--text-primary);
  line-height: 1.8;
  font-weight: 400;
}

.expertise-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 14px;
  background-color: var(--accent-light);
  border-radius: 3px;
}

.expertise-item::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 11px;
  width: 4px;
  height: 4px;
  background-color: var(--accent);
  border-radius: 50%;
}

/* CTA Section */
.cta-section {
  padding: var(--spacing-xxl) 0;
  background: linear-gradient(140deg, #2c2c2e 0%, #3a3a3c 100%);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: .1;
  z-index: 0;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.cta-section .section-subtitle {
  color: var(--yellow-accent);
}

.cta-section .section-subtitle::before,
.cta-section .section-subtitle::after {
  background-color: rgba(255, 255, 255, 0.2);
}

.cta-content h2 {
  font-family: var(--font-primary);
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  font-weight: 600;
  margin-bottom: var(--spacing-md);
  letter-spacing: -.02em;
  line-height: 1.2;
}

.cta-subtitle {
  font-size: clamp(0.8rem, 2vw, 0.85rem);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: var(--spacing-md);
  color: var(--yellow-accent);
  font-weight: 500;
}

.cta-content p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  margin-bottom: var(--spacing-xl);
  color: rgb(255 255 255 / .8);
  line-height: 1.8;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
}

.btn-container {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.cta-button,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  text-decoration: none;
  font-weight: 600;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  border-radius: 6px;
  transition: all var(--transition-fast);
  border: 2px solid transparent;
  cursor: pointer;
  line-height: 1.2;
  min-width: 150px;
}

.cta-button {
  background: var(--accent);
  color: #fff;
  box-shadow: none;
}

.cta-button:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgb(0 0 0 / .15);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgb(255 255 255 / .3);
}

.btn-outline:hover {
  border-color: rgb(255 255 255 / .5);
  background: rgb(255 255 255 / .08);
  transform: translateY(-2px);
}

.cta-button i,
.btn-outline i {
  margin-right: var(--spacing-sm);
  font-size: 1.1em;
}

/* Animation Classes */
.animate-fadeIn {
  opacity: 0;
  animation: fadeIn 0.8s ease-out forwards;
}

.animate-fadeInUp {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-out forwards;
}

.animation-delay-100 {
  animation-delay: 100ms;
}

.animation-delay-200 {
  animation-delay: 200ms;
}

.animation-delay-300 {
  animation-delay: 300ms;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Styles with REDUCED SPACING */
@media (max-width: 1200px) {
  .services-container {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 992px) {
  .container {
    padding: 0 var(--spacing-lg);
  }
  
  .hero {
    padding: var(--spacing-xxl) 0 var(--spacing-md); /* REDUCED bottom padding */
    min-height: 40vh;
  }
  
  .hero h1 {
    font-size: clamp(2.2rem, 6vw, 3.5rem);
  }
  
  .hero h1::after {
    bottom: -15px;
  }
  
  .hero p {
    margin: var(--spacing-lg) auto var(--spacing-md);
  }
  
  .services-intro,
  .services-grid,
  .cta-section {
    padding: var(--spacing-xl) 0;
  }
  
  .expertise-section {
    padding: var(--spacing-md) 0 var(--spacing-xl); /* REDUCED top padding */
  }
  
  .hero-stats {
    gap: var(--spacing-md);
  }
  
  .expertise-container {
    flex-direction: column;
    gap: var(--spacing-xl);
  }
  
  .expertise-content {
    order: 1;
    text-align: center;
  }
  
  .expertise-list {
    display: inline-block;
    text-align: left;
    margin-bottom: var(--spacing-lg);
  }
  
  .expertise-image {
    order: 2;
    width: 100%;
    max-width: 500px;
  }
  
  .services-container {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  
  .container {
    padding: 0 var(--spacing-md);
  }
  
  .hero {
    padding: var(--spacing-lg) 0 var(--spacing-sm); /* REDUCED bottom padding */
    min-height: auto;
  }
  
  .hero h1 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    line-height: 1.2;
    margin-bottom: var(--spacing-lg);
  }
  
  .hero h1::after {
    bottom: -12px;
    width: 50px;
    height: 2px;
  }
  
  .highlight::after {
    height: 8px;
    bottom: 2px;
  }
  
  .hero p {
    font-size: clamp(1rem, 2vw, 1.1rem);
    margin: var(--spacing-lg) auto var(--spacing-sm); /* REDUCED bottom margin */
    line-height: 1.5;
  }
  
  .services-intro,
  .services-grid,
  .cta-section {
    padding: var(--spacing-lg) 0 var(--spacing-md);
  }
  
  .expertise-section {
    padding: var(--spacing-sm) 0 var(--spacing-md); /* REDUCED top padding */
  }
  
  body {
    line-height: 1.6;
  }
  
  .stat-number {
    font-size: 1.8rem;
  }
  
  .stat-label {
    font-size: .85rem;
  }
  
  .intro-content h2,
  .services-grid-header h2,
  .expertise-content h2,
  .cta-content h2 {
    line-height: 1.2;
    letter-spacing: -.01em;
  }
  
  .intro-content p,
  .services-grid-header p,
  .service-featured p,
  .expertise-content p,
  .cta-content p {
    font-size: 1rem;
    line-height: 1.6;
  }
  
  .service-content h3 {
    font-size: 1.1rem;
    line-height: 1.3;
  }
  
  .service-content p {
    font-size: .95rem;
    line-height: 1.6;
  }
  
  .service-featured {
    padding: var(--spacing-lg);
  }
  
  .service-featured h3 {
    font-size: 1.6rem;
    line-height: 1.3;
  }
  
  .expertise-item {
    font-size: .95rem;
    line-height: 1.5;
    margin-bottom: var(--spacing-md);
  }
  
  .cta-subtitle {
    font-size: .8rem;
    letter-spacing: 1.5px;
  }
  
  .services-container {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  
  .service-card {
    padding: var(--spacing-lg);
  }
  
  .service-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    font-size: 1.4rem;
    margin-bottom: var(--spacing-md);
  }
  
  .expertise-section {
    padding-bottom: var(--spacing-xl);
  }
  
  .cta-button,
  .btn-outline {
    width: 100%;
    padding: 16px 20px;
    font-size: 1rem;
  }
  
  .section-subtitle::before,
  .section-subtitle::after {
    display: none;
  }
}

@media (max-width: 576px) {
  html {
    font-size: 14px;
  }
  
  .container {
    padding: 0 var(--spacing-md);
  }
  
  .hero {
    min-height: auto;
    padding: var(--spacing-md) 0 var(--spacing-xs); /* REDUCED bottom padding */
  }
  
  .services-intro,
  .services-grid,
  .cta-section {
    padding: var(--spacing-md) 0;
  }
  
  .expertise-section {
    padding: var(--spacing-xs) 0 var(--spacing-md); /* REDUCED top padding */
  }
  
  .hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    margin-bottom: var(--spacing-md);
  }
  
  .hero h1::after {
    bottom: -10px;
    width: 40px;
    height: 2px;
  }
  
  .highlight::after {
    height: 6px;
    bottom: 2px;
  }
  
  .hero p {
    font-size: 1rem;
    margin: var(--spacing-md) auto var(--spacing-xs); /* REDUCED bottom margin */
    line-height: 1.5;
  }
  
  .intro-content h2 {
    font-size: 1.8rem;
  }
  
  .services-grid-header h2 {
    font-size: 1.7rem;
  }
  
  .service-card {
    padding: var(--spacing-lg) var(--spacing-md);
  }
  
  .service-content h3 {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
  }
  
  .service-featured h3 {
    font-size: 1.7rem;
  }
  
  .expertise-content h2 {
    font-size: 1.8rem;
  }
  
  .expertise-item {
    padding-left: 26px;
  }
  
  .expertise-item::before {
    top: 5px;
    width: 14px;
    height: 14px;
  }
  
  .expertise-item::after {
    left: 5px;
    top: 9px;
    width: 4px;
    height: 4px;
  }
  
  .cta-content h2 {
    font-size: 1.8rem;
  }
  
  .btn-container {
    flex-direction: column;
    gap: var(--spacing-md);
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }
  
  .cta-button,
  .btn-outline {
    padding: 16px 20px;
    font-size: 1rem;
    width: 100%;
    margin-bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .cta-button i,
  .btn-outline i {
    font-size: 1.1em;
    margin-right: var(--spacing-md);
  }
  
  .service-card:active {
    transform: translateY(-3px);
  }
  
  .cta-button:active,
  .btn-outline:active {
    transform: translateY(2px);
    opacity: .9;
  }
}
