/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Colors - Teal and Charcoal Palette */
  --primary: hsl(175, 60%, 45%);
  --primary-dark: hsl(175, 60%, 30%);
  --foreground: hsl(220, 15%, 20%);
  --foreground-muted: hsl(220, 10%, 50%);
  --background: hsl(0, 0%, 100%);
  --card-bg: hsl(0, 0%, 99%);
  --card-border: hsl(220, 10%, 92%);
  --section-alt-bg: hsl(220, 12%, 95%);
  
  /* Typography */
  --font-sans: 'Inter', 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  /* Spacing */
  --section-padding: 5rem 1.5rem;
  --section-padding-mobile: 3rem 1.5rem;
  --container-max-width: 1152px;
  
  /* Effects */
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 20px -4px rgba(0, 0, 0, 0.12), 0 4px 8px -4px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--foreground);
  background-color: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Section Styles */
.section {
  padding: var(--section-padding);
}

.section-alt {
  background-color: var(--section-alt-bg);
}

.section-header {
  margin-bottom: 4rem;
}

.section-header.centered {
  text-align: center;
}

.section-heading {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.section-subheading {
  font-size: 1.125rem;
  color: var(--foreground-muted);
  max-width: 42rem;
  margin: 0 auto;
}

.section-content.centered {
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--foreground);
  opacity: 0.8;
  margin-bottom: 1.5rem;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: white;
}

.hero-background {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, hsl(220, 15%, 18%) 0%, hsl(175, 60%, 25%) 50%, hsl(220, 15%, 12%) 100%);
}

.grid-pattern {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0.1;
}

.floating-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  animation: float 8s ease-in-out infinite;
}

.shape-1 {
  top: 25%;
  left: 25%;
  width: 16rem;
  height: 16rem;
  background-color: rgba(72, 187, 177, 0.2);
}

.shape-2 {
  bottom: 33%;
  right: 25%;
  width: 24rem;
  height: 24rem;
  background-color: rgba(72, 187, 177, 0.1);
  animation-delay: 1s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.hero-heading {
  font-size: clamp(2rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: white;
}

.hero-subheading {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  max-width: 56rem;
  margin: 0 auto 3rem;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  opacity: 0.6;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-size: 1.125rem;
  font-weight: 500;
  font-family: var(--font-sans);
  text-decoration: none;
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn-hero {
  background-color: white;
  color: hsl(220, 15%, 18%);
  box-shadow: var(--shadow-lg);
}

.btn-hero:hover {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 20px 30px -6px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.btn-primary {
  background-color: var(--primary);
  color: white;
  min-height: 2.75rem;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn .icon {
  flex-shrink: 0;
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: 2rem;
}

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

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

/* Cards */
.card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 0.375rem;
  padding: 2rem;
  transition: var(--transition);
}

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

.card-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.icon-green {
  background-color: rgba(34, 197, 94, 0.1);
  color: rgb(34, 197, 94);
}

.icon-emerald {
  background-color: rgba(16, 185, 129, 0.1);
  color: rgb(16, 185, 129);
}

.icon-blue {
  background-color: rgba(59, 130, 246, 0.1);
  color: rgb(59, 130, 246);
}

.icon-primary {
  background-color: rgba(72, 187, 177, 0.1);
  color: var(--primary);
}

.card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.card-description {
  font-size: 1rem;
  color: var(--foreground-muted);
  line-height: 1.6;
}

/* Service Items */
.service-item {
  display: flex;
  gap: 1rem;
}

.service-icon {
  flex-shrink: 0;
  margin-top: 0.25rem;
  color: var(--primary);
}

.service-content {
  flex: 1;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.service-description {
  font-size: 1rem;
  color: var(--foreground-muted);
  line-height: 1.6;
}

/* Our Approach */
.approach-content {
  max-width: 56rem;
  margin: 0 auto;
  position: relative;
  padding-left: 2rem;
}

.approach-accent {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: var(--primary);
  border-radius: 2px;
}

.approach-text {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  line-height: 1.6;
  color: var(--foreground);
  opacity: 0.9;
  font-style: italic;
}

/* Contact Section */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: 1152px;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .contact-layout {
    grid-template-columns: 3fr 2fr;
  }
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-family: var(--font-sans);
  color: var(--foreground);
  background-color: var(--background);
  border: 1px solid var(--card-border);
  border-radius: 0.375rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(72, 187, 177, 0.1);
}

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

/* Contact Info Card */
.info-card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 0.375rem;
  padding: 2rem;
  height: fit-content;
}

.info-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.info-description {
  color: var(--foreground-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.info-icon {
  flex-shrink: 0;
  margin-top: 0.125rem;
  color: var(--primary);
}

.info-label {
  font-size: 0.875rem;
  color: var(--foreground-muted);
  margin-bottom: 0.25rem;
}

.info-link {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--primary);
  text-decoration: none;
}

.info-link:hover {
  text-decoration: underline;
}

.info-note {
  padding-top: 1.5rem;
  border-top: 1px solid var(--card-border);
}

.info-note p {
  font-size: 0.875rem;
  color: var(--foreground-muted);
}

/* Footer */
.footer {
  padding: 3rem 1.5rem;
  background-color: var(--background);
  border-top: 1px solid var(--card-border);
  text-align: center;
}

.footer p {
  color: var(--foreground-muted);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .section {
    padding: var(--section-padding-mobile);
  }
  
  .section-header {
    margin-bottom: 2.5rem;
  }
  
  .hero-content {
    padding: 0 1.5rem;
  }
  
  .approach-content {
    padding-left: 1.5rem;
  }
}

/* Icon Styles */
.icon {
  display: inline-block;
  vertical-align: middle;
}
