/* ==========================================================================
   Design Tokens & Variables
   ========================================================================== */
:root {
  --color-primary: hsl(24, 75%, 42%);       /* Terracotta Orange (#c25e1a) */
  --color-primary-hover: hsl(24, 75%, 36%); /* Darker Terracotta */
  --color-bg-cream: hsl(38, 40%, 94%);      /* Off-white / Cream (#f4ebd9) */
  --color-dark-neutral: hsl(24, 10%, 15%);  /* Heading / Text color (#2a2725) */
  --color-text-muted: hsl(24, 8%, 40%);     /* Muted secondary body text */
  --color-white: hsl(0, 0%, 100%);
  --color-black: hsl(0, 0%, 0%);
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  
  --header-height-default: 90px;
  --header-height-sticky: 70px;
  
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
}

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

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

body {
  font-family: var(--font-body);
  color: var(--color-dark-neutral);
  background-color: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

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

/* ==========================================================================
   Utility Components / Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.6rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(194, 94, 26, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(5px);
}

.btn-secondary:hover {
  background-color: var(--color-white);
  color: var(--color-dark-neutral);
  border-color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.15);
}

.btn-secondary:active {
  transform: translateY(0);
}

.btn-large {
  padding: 1rem 2.2rem;
  font-size: 0.95rem;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--color-bg-cream);
  height: var(--header-height-default);
  display: flex;
  align-items: center;
  transition: all var(--transition-medium);
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
  
  /* Animations */
  opacity: 0;
  transform: translateY(-20px);
  animation: header-entrance 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.site-header.scrolled {
  height: var(--header-height-sticky);
  box-shadow: var(--shadow-md);
  background-color: rgba(244, 235, 217, 0.96);
  backdrop-filter: blur(10px);
}

.header-container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo Animation */
.logo-link {
  display: block;
  opacity: 0;
  transform: translateX(-30px);
  animation: logo-entrance 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

.site-logo {
  height: 95px;
  width: auto;
  transition: height var(--transition-medium);
}

.site-header.scrolled .site-logo {
  height: 75px;
}

/* Navigation Menu */
.nav-menu {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  gap: 2.5rem;
}

/* Menu Sequential Fade In */
.nav-item {
  opacity: 0;
  transform: translateY(-10px);
  animation: nav-item-entrance 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.nav-item:nth-child(1) { animation-delay: 0.2s; }
.nav-item:nth-child(2) { animation-delay: 0.28s; }
.nav-item:nth-child(3) { animation-delay: 0.36s; }
.nav-item:nth-child(4) { animation-delay: 0.44s; }
.nav-item:nth-child(5) { animation-delay: 0.52s; }

.nav-link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--color-dark-neutral);
  position: relative;
  padding: 0.5rem 0;
}

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

/* Hover underline effect */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-medium);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Header CTA Button Entrance */
.header-actions {
  opacity: 0;
  transform: scale(0.9);
  animation: logo-entrance 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

/* Mobile Hamburger Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.menu-toggle .bar {
  width: 100%;
  height: 2px;
  background-color: var(--color-dark-neutral);
  transition: all var(--transition-medium);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--header-height-default);
  overflow: hidden;
  color: var(--color-white);
}

/* Background & Parallax */
.hero-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 115%; /* Extra height to support parallax scroll */
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  
  /* Ken Burns Zoom Effect */
  animation: ken-burns-zoom 20s ease-in-out infinite alternate;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(0, 0, 0, 0.5) 100%
  );
  z-index: 1;
}

/* Hero Content Area */
.hero-container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 4rem 2rem 8rem;
  z-index: 2;
  position: relative;
}

.hero-content {
  max-width: 780px;
}

/* Heading animation: slides up line-by-line */
.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
}

.title-line {
  display: block;
  overflow: hidden;
  line-height: 1.2;
}

.title-line {
  opacity: 0;
  transform: translateY(100px);
  animation: slide-up-reveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.title-line:nth-child(1) { animation-delay: 0.1s; }
.title-line:nth-child(2) { animation-delay: 0.2s; }
.title-line:nth-child(3) { animation-delay: 0.3s; }
.title-line:nth-child(4) { animation-delay: 0.4s; }

/* Subtitle Animation */
.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 400;
  max-width: 600px;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.9);
  
  /* Fade In */
  opacity: 0;
  animation: fade-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

/* Hero Action Buttons */
.hero-actions {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  
  /* Slide Up + Fade In with Delay */
  opacity: 0;
  transform: translateY(20px);
  animation: fade-up-buttons 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards;
}

/* ==========================================================================
   Statistics Component (Glassmorphism Banner)
   ========================================================================== */
.hero-stats-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 3;
  padding: 0 2rem 2.5rem;
}

.hero-stats-container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 2rem;
  border-radius: 8px;
  
  /* Glassmorphism Styling */
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  
  /* Fade Up Entrance */
  opacity: 0;
  transform: translateY(30px);
  animation: fade-up-stats 1s cubic-bezier(0.16, 1, 0.3, 1) 1s forwards;
}

.stat-card {
  text-align: center;
  position: relative;
}

/* Add divider lines between cards */
.stat-card:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 15%;
  right: -0.75rem;
  width: 1px;
  height: 70%;
  background: rgba(255, 255, 255, 0.15);
}

.stat-number-wrapper {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.4rem;
  color: var(--color-white);
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
}

.stat-number {
  letter-spacing: -0.02em;
}

.stat-suffix {
  color: var(--color-primary);
  font-size: 2.2rem;
  font-weight: 700;
  margin-left: 0.1rem;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   Animations Keyframes
   ========================================================================== */
@keyframes header-entrance {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes logo-entrance {
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes nav-item-entrance {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ken-burns-zoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.08);
  }
}

@keyframes slide-up-reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  to {
    opacity: 1;
  }
}

@keyframes fade-up-buttons {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-up-stats {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-section {
  position: relative;
  background-color: var(--color-bg-cream);
  padding: 9rem 0 6.5rem; /* Increased top padding from 6.5rem to 9rem for breathing room */
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-top: 1px solid rgba(0, 0, 0, 0.02);
  box-shadow: inset 0 24px 48px -24px rgba(0, 0, 0, 0.08); /* Inset shadow to separate from dark hero */
}

.about-left-image-wrapper {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 20vw;
  max-width: 320px;
  min-width: 160px;
  z-index: 1;
  overflow: hidden;
}

.about-left-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center left;
  transition: transform var(--transition-slow);
}

.about-left-image-wrapper:hover .about-left-img {
  transform: scale(1.05);
}

.about-left-fade {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(244, 235, 217, 0) 25%, var(--color-bg-cream) 90%);
  z-index: 2;
  pointer-events: none;
}

.about-right-image-wrapper {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 32vw;
  max-width: 500px;
  min-width: 250px;
  z-index: 1;
  overflow: hidden;
}

.about-right-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform var(--transition-slow);
}

.about-right-image-wrapper:hover .about-right-img {
  transform: scale(1.05);
}

.about-right-fade {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, var(--color-bg-cream) 10%, rgba(244, 235, 217, 0) 80%);
  z-index: 2;
  pointer-events: none;
}

.about-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  z-index: 3;
  position: relative;
}

.about-content-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 5rem;
  align-items: flex-start;
  margin-left: clamp(80px, 10vw, 160px);
  margin-right: clamp(120px, 15vw, 240px);
}

.about-text-column {
  display: flex;
  flex-direction: column;
}

.about-subtitle {
  display: block;
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.8rem;
}

.about-title {
  color: var(--color-dark-neutral);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
  max-width: 100%;
}

.about-desc {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 1.8rem;
  max-width: 680px;
}

.about-desc:last-child {
  margin-bottom: 0;
}

.about-features-column {
  display: flex;
  flex-direction: column;
  margin-top: 1.6rem;
}

.about-features-list {
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
}

.about-feature-item {
  display: flex;
  align-items: flex-start;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.25;
  color: var(--color-dark-neutral);
  transition: transform var(--transition-fast);
}

.about-feature-item:hover {
  transform: translateX(5px);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  margin-right: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
  transition: transform var(--transition-fast);
}

.about-feature-item:hover .feature-icon {
  transform: scale(1.15);
}

.feature-icon svg {
  width: 12px;
  height: 12px;
}

.feature-text {
  max-width: 280px;
}

/* ==========================================================================
   Scroll Reveal System
   ========================================================================== */
.reveal {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-fade-up {
  transform: translateY(30px);
}

.reveal-fade-left {
  transform: translateX(-40px);
}

.reveal-fade-right {
  transform: translateX(40px);
}

.reveal.revealed {
  opacity: 1;
  transform: translate(0);
}

/* Delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-section {
  background-color: var(--color-dark-neutral);
  padding: 8rem 0;
  overflow: hidden;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.services-container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem;
}

.services-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4rem;
}

.services-title {
  color: var(--color-white);
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  font-family: var(--font-heading);
}

.services-nav {
  display: flex;
  gap: 1rem;
}

.nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.15);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  outline: none;
}

.nav-btn:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.nav-btn:active {
  transform: translateY(0);
}

.nav-btn svg {
  width: 20px;
  height: 20px;
}

/* Carousel Container */
.services-carousel-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.services-carousel-track {
  display: flex;
  gap: 2rem;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

/* Service Card Styles */
.service-card {
  flex: 0 0 calc((100% - 4rem) / 3);
  background-color: var(--color-bg-cream);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.card-image-wrapper {
  width: 100%;
  height: 230px;
  overflow: hidden;
  position: relative;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.service-card:hover .card-img {
  transform: scale(1.06);
}

.card-content {
  padding: 2.2rem 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--color-primary);
  margin-right: 0.85rem;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

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

.card-icon svg {
  width: 26px;
  height: 26px;
}

.card-title {
  color: var(--color-dark-neutral);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.card-desc {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}


/* ==========================================================================
   Featured Projects Section
   ========================================================================== */
.projects-section {
  background-color: var(--color-bg-cream);
  padding: 8rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.03);
  box-shadow: inset 0 24px 48px -24px rgba(0, 0, 0, 0.04);
}

.projects-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.projects-title {
  text-align: center;
  color: var(--color-dark-neutral);
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  margin-bottom: 4rem;
  font-family: var(--font-heading);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.project-card {
  display: block;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 1 / 1.1;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

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

.project-image-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.project-card:hover .project-img {
  transform: scale(1.08);
}

/* Hover overlay style */
.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(194, 94, 26, 0.95) 0%,
    rgba(42, 39, 37, 0.4) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity var(--transition-medium);
  z-index: 2;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-category {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
  transform: translateY(15px);
  transition: transform var(--transition-medium) var(--transition-fast);
}

.project-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 1rem;
  transform: translateY(15px);
  transition: transform var(--transition-medium) var(--transition-fast);
  line-height: 1.2;
}

.project-view-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--color-white);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(15px);
  opacity: 0;
  transition: transform var(--transition-medium) var(--transition-fast), opacity var(--transition-medium) var(--transition-fast);
}

.project-card:hover .project-category,
.project-card:hover .project-name,
.project-card:hover .project-view-btn {
  transform: translateY(0);
  opacity: 1;
}

.project-view-btn svg {
  width: 18px;
  height: 18px;
}


/* ==========================================================================
   Why Choose Us & How We Work Section
   ========================================================================== */
.why-choose-us-section {
  background-color: var(--color-bg-cream);
  padding: 8rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.03);
}

.why-choose-us-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.why-how-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 4.5rem;
  align-items: flex-start;
}

.why-choose-us-half {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3rem;
  align-items: flex-start;
}

.why-content-col {
  display: flex;
  flex-direction: column;
}

.why-title {
  color: var(--color-dark-neutral);
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.why-subtitle {
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.8rem;
  letter-spacing: 0.02em;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.why-item {
  display: flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-dark-neutral);
}

.why-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: var(--color-primary);
  margin-right: 0.85rem;
  flex-shrink: 0;
}

.why-check svg {
  width: 16px;
  height: 16px;
}

.why-item-text {
  line-height: 1.3;
}

.why-image-col {
  width: 100%;
}

.why-image-wrapper {
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 1 / 1;
}

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

/* How We Work Half */
.how-we-work-half {
  display: flex;
  flex-direction: column;
  border-left: 1px solid rgba(0, 0, 0, 0.08);
  padding-left: 4.5rem;
}

.how-title {
  color: var(--color-dark-neutral);
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 3.5rem;
  letter-spacing: -0.01em;
}

.how-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.how-step-card {
  display: flex;
  flex-direction: column;
}

.how-step-card:not(:last-child) {
  border-right: 1px solid rgba(0, 0, 0, 0.08);
  padding-right: 1.5rem;
}

.step-icon {
  width: 48px;
  height: 48px;
  color: var(--color-dark-neutral);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: start;
  transition: transform var(--transition-fast);
}

.how-step-card:hover .step-icon {
  transform: scale(1.1) rotate(5deg);
}

.step-icon svg {
  width: 42px;
  height: 42px;
  stroke-width: 1.2px;
}

.step-name {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 900;
  color: var(--color-dark-neutral);
  margin-bottom: 0.6rem;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.step-desc {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
}


/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-section {
  display: flex;
  min-height: 540px;
  width: 100%;
}

.contact-info-column {
  flex: 1;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 6rem 4rem;
  color: var(--color-white);
}

.contact-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0.45) 100%
  );
  z-index: 1;
}

.contact-info-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 540px;
}

.contact-left-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 0.8rem;
  letter-spacing: -0.01em;
}

.contact-left-subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.8rem;
  line-height: 1.5;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
}

.info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  margin-right: 1.2rem;
  flex-shrink: 0;
  margin-top: 3px;
}

.info-icon svg {
  width: 20px;
  height: 20px;
}

.info-link, .info-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-white);
  line-height: 1.4;
}

.info-link {
  transition: color var(--transition-fast);
}

.info-link:hover {
  color: var(--color-primary);
}

/* Right Half Form Column */
.contact-form-column {
  flex: 1;
  background-color: var(--color-dark-neutral);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 6rem 4rem;
}

.contact-form-content {
  width: 100%;
  max-width: 580px;
}

.contact-form-title {
  color: var(--color-bg-cream);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.contact-form {
  width: 100%;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}

.form-group-full {
  grid-column: span 2;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  padding: 0.9rem 1.2rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-white);
  outline: none;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--color-primary);
  background-color: rgba(0, 0, 0, 0.35);
}

.form-input::placeholder, .form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

/* Custom Dropdown select layout */
.select-wrapper {
  position: relative;
  width: 100%;
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 2.5rem;
}

.select-wrapper::after {
  content: '';
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 6px;
  background-color: rgba(255, 255, 255, 0.5);
  clip-path: polygon(100% 0, 0 0, 50% 100%);
  pointer-events: none;
}

.form-textarea {
  resize: vertical;
}

.form-submit-btn {
  width: 100%;
  background-color: var(--color-primary);
  color: var(--color-white);
  border: none;
  border-radius: 4px;
  padding: 1.1rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.form-submit-btn:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(194, 94, 26, 0.3);
}

.form-submit-btn:active {
  transform: translateY(0);
}

/* sr-only accessibility styling */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}


/* ==========================================================================
   Site Footer
   ========================================================================== */
.site-footer {
  background-color: hsl(24, 10%, 10%); /* slightly darker than dark-neutral */
  color: hsl(38, 30%, 80%);            /* soft warm cream text */
  position: relative;
}

/* Thin terracotta accent line at top */
.footer-top-border {
  width: 100%;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--color-primary) 30%,
    var(--color-primary) 70%,
    transparent 100%
  );
}

/* Main footer body */
.footer-main {
  padding: 5rem 0 3.5rem;
}

.footer-container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1.6fr 0.9fr 1.1fr;
  gap: 4rem;
  align-items: flex-start;
}

/* ---- Brand Column ---- */
.footer-brand-col {}

.footer-logo-link {
  display: inline-block;
  margin-bottom: 1.4rem;
  transition: opacity var(--transition-fast);
}

.footer-logo-link:hover {
  opacity: 0.85;
}

.footer-logo-full {
  height: 120px;
  width: auto;
  display: block;
  /* Invert the dark parts to look good on a dark background if needed.
     If the logo already has a transparent or dark-bg-friendly version, remove the filter. */
  filter: brightness(1.05);
}

.footer-tagline {
  font-size: 0.92rem;
  line-height: 1.7;
  color: hsl(38, 20%, 65%);
  max-width: 340px;
  margin-bottom: 1.8rem;
}

/* Social icon buttons */
.footer-social-row {
  display: flex;
  gap: 0.75rem;
}

.footer-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: hsl(38, 20%, 70%);
  transition: background-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast), border-color var(--transition-fast);
}

.footer-social-btn:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-3px);
}

.footer-social-btn svg {
  width: 16px;
  height: 16px;
}

/* ---- Quick Links Column ---- */
.footer-col-heading {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--color-white);
  text-transform: uppercase;
  margin-bottom: 1.6rem;
  padding-bottom: 0.75rem;
  position: relative;
}

.footer-col-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 2px;
  background-color: var(--color-primary);
  border-radius: 2px;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-link {
  font-size: 0.92rem;
  color: hsl(38, 20%, 65%);
  position: relative;
  padding-left: 0;
  display: inline-block;
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.footer-link::before {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-primary);
  transition: width var(--transition-medium);
}

.footer-link:hover {
  color: var(--color-white);
  padding-left: 6px;
}

.footer-link:hover::before {
  width: 100%;
}

/* ---- Contact Info Column ---- */
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer-contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(194, 94, 26, 0.15);
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 1px;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.footer-contact-item:hover .footer-contact-icon {
  background-color: var(--color-primary);
  color: var(--color-white);
  transform: scale(1.1);
}

.footer-contact-icon svg {
  width: 14px;
  height: 14px;
}

.footer-contact-link {
  font-size: 0.91rem;
  color: hsl(38, 20%, 65%);
  transition: color var(--transition-fast);
  padding-top: 0.4rem;
  line-height: 1.4;
}

.footer-contact-link:hover {
  color: var(--color-white);
}

.footer-contact-address {
  font-style: normal;
  font-size: 0.91rem;
  color: hsl(38, 20%, 65%);
  line-height: 1.7;
  padding-top: 0.2rem;
}

/* ---- Footer Bottom Bar ---- */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 1.4rem 0;
}

.footer-bottom-container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copyright,
.footer-credit {
  font-size: 0.82rem;
  color: hsl(38, 10%, 45%);
  letter-spacing: 0.03em;
}

.footer-credit {
  color: hsl(38, 10%, 38%);
  font-style: italic;
}


/* ==========================================================================
   Responsive Design Breakpoints
   ========================================================================== */


/* Large Tablets & Small Desktops (max 1024px) */
@media (max-width: 1024px) {
  :root {
    --header-height-default: 80px;
    --header-height-sticky: 65px;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }

  .about-left-image-wrapper,
  .about-right-image-wrapper {
    display: none;
  }

  .about-content-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-left: 0;
    margin-right: 0;
  }

  .about-section {
    padding: 5rem 0;
  }

  .service-card {
    flex: 0 0 calc((100% - 2rem) / 2);
  }

  .services-title {
    font-size: 2.2rem;
  }

  .services-section {
    padding: 6rem 0;
  }

  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
  }

  .projects-section {
    padding: 6rem 0;
  }

  .why-how-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .how-we-work-half {
    border-left: none;
    padding-left: 0;
  }
  
  .how-steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
  
  .how-step-card:not(:last-child) {
    border-right: none;
    padding-right: 0;
  }
  
  .why-choose-us-section {
    padding: 6rem 0;
  }

  .contact-section {
    flex-direction: column;
  }

  .contact-info-column, .contact-form-column {
    padding: 5rem 2rem;
    justify-content: center;
  }

  .contact-info-content, .contact-form-content {
    max-width: 600px;
    margin: 0 auto;
  }

  /* Footer tablet layout */
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .footer-brand-col {
    grid-column: 1 / -1; /* Brand spans full width at top */
  }

  .footer-tagline {
    max-width: 100%;
  }
}

/* Mobile & Mini Tablets (max 768px) */
@media (max-width: 768px) {
  .header-actions {
    display: none; /* Hide Header CTA on mobile to make space */
  }
  
  /* Responsive Navigation Menu toggle */
  .menu-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--color-bg-cream);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    justify-content: center;
    padding: 4rem 2rem;
    transition: right var(--transition-medium);
  }
  
  .nav-menu.open {
    right: 0;
  }
  
  .nav-list {
    flex-direction: column;
    gap: 2rem;
    align-items: center;
  }
  
  .nav-link {
    font-size: 1.1rem;
  }
  
  /* Mobile menu toggle animation */
  .menu-toggle.open .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .menu-toggle.open .bar:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.open .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  /* Adjust Hero Spacing */
  .hero-section {
    padding-top: 100px;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-container {
    padding: 4rem 1.5rem 6rem;
  }

  .about-title {
    font-size: 2rem;
  }

  .service-card {
    flex: 0 0 100%;
  }

  .services-header {
    margin-bottom: 2.5rem;
  }

  .services-title {
    font-size: 1.8rem;
  }

  .card-image-wrapper {
    height: 200px;
  }

  .services-section {
    padding: 5rem 0;
  }

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

  .projects-section {
    padding: 5rem 0;
  }

  .projects-title {
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
  }

  .why-choose-us-half {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .why-image-wrapper {
    aspect-ratio: 16 / 10;
  }
  
  .why-choose-us-section {
    padding: 5rem 0;
  }
  
  .why-title, .how-title {
    font-size: 1.8rem;
  }

  .contact-left-title {
    font-size: 2.2rem;
  }

  .contact-left-subtitle {
    margin-bottom: 2rem;
  }

  .contact-info-column, .contact-form-column {
    padding: 4rem 1.5rem;
  }

  /* Footer mobile layout */
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-brand-col {
    grid-column: auto;
  }

  .footer-main {
    padding: 3.5rem 0 2.5rem;
  }

  .footer-bottom-container {
    flex-direction: column;
    text-align: center;
    gap: 0.4rem;
  }
}

/* Smaller Mobiles (max 480px) */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-actions .btn {
    width: 100%;
  }

  .hero-container {
    padding: 3rem 1.25rem 4rem;
  }

  .about-title {
    font-size: 1.7rem;
  }

  .about-desc {
    font-size: 1rem;
  }

  .card-image-wrapper {
    height: 180px;
  }

  .card-content {
    padding: 1.8rem 1.5rem;
  }

  .card-title {
    font-size: 1.05rem;
  }

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

  .projects-title {
    font-size: 1.8rem;
  }

  .how-steps-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .form-group-full {
    grid-column: span 1;
  }

  .contact-left-title {
    font-size: 1.8rem;
  }

  .info-link, .info-text {
    font-size: 0.95rem;
  }
}
