/* Skip to content link for keyboard accessibility */
.skip-to-content {
  position: absolute;
  left: -9999px;
  z-index: 999;
  padding: 1rem 1.5rem;
  background-color: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 0 0 4px 0;
  font-weight: 600;
  transition: all 0.3s ease;
}

.skip-to-content:focus {
  left: 0;
  top: 0;
  outline: 3px solid var(--accent-color);
  outline-offset: 2px;
}

/* ========================================
   Google Fonts Import
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

/* ========================================
   CSS Reset and Base Styles
   ======================================== */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* Offset for sticky header navigation */
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #EEF2F5;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(45deg, rgba(44, 62, 80, 0.03) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(44, 62, 80, 0.03) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(44, 62, 80, 0.03) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(44, 62, 80, 0.03) 75%);
  background-size: 60px 60px;
  background-position: 0 0, 0 30px, 30px -30px, -30px 0px;
  opacity: 0.4;
  z-index: -1;
  pointer-events: none;
}

/* ========================================
   CSS Custom Properties
   ======================================== */

:root {
  --primary-color: #FF6B35;
  --secondary-color: #2C3E50;
  --accent-color: #F7931E;
  --text-dark: #2C3E50;
  --text-light: #6C757D;
  --border-color: #E0E0E0;
  --bg-light: #EEF2F5;
  --bg-white: #FFFFFF;
  --success-color: #28A745;
  --error-color: #DC3545;

  --container-width: 1200px;
  --border-radius: 8px;
  --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --box-shadow-lg: 0 4px 20px rgba(0, 0, 0, 0.15);

  --transition: all 0.3s ease;
}

/* ========================================
   Typography
   ======================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

h1 {
  font-size: 2.5rem;
  font-weight: 800;
}

h2 {
  font-size: 2rem;
  font-weight: 700;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
}

h5 {
  font-size: 1.125rem;
  font-weight: 600;
}

h6 {
  font-size: 1rem;
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
  color: var(--text-light);
  font-size: 1.1rem;
}

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

a:hover {
  color: var(--accent-color);
}

.lead {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-dark);
}

/* ========================================
   Layout
   ======================================== */

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

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

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  margin-bottom: 0.5rem;
}

.section-header p {
  font-size: 1.25rem;
}

/* ========================================
   Navigation
   ======================================== */

header {
  background-color: var(--bg-white);
  box-shadow: var(--box-shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  padding: 1rem 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo a {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary-color);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-header {
  height: 32px;
  width: 32px;
  object-fit: contain;
  object-position: center;
  transition: var(--transition);
}

.logo-header:hover {
  transform: scale(1.05);
}

.logo-footer {
  height: 48px;
  width: 48px;
  object-fit: contain;
  object-position: center;
  transition: var(--transition);
}

.logo-footer:hover {
  transform: scale(1.05);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  color: var(--text-dark);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
  background-color: var(--primary-color);
  color: white;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--text-dark);
  margin: 3px 0;
  transition: var(--transition);
}

/* ========================================
   Hero Section
   ======================================== */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(45deg, rgba(255, 107, 53, 0.05) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255, 107, 53, 0.05) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255, 107, 53, 0.05) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255, 107, 53, 0.05) 75%);
  background-size: 60px 60px;
  background-position: 0 0, 0 30px, 30px -30px, -30px 0px;
  opacity: 0.3;
  z-index: 0;
}

.hero-content {
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.hero {
  position: relative;
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--text-dark) 100%);
  color: white;
  padding: 8rem 0;
  text-align: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: white;
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========================================
   Page Hero (smaller hero for internal pages)
   ======================================== */

.page-hero {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--text-dark) 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.page-hero h1 {
  color: white;
  margin-bottom: 0.5rem;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
}

/* ========================================
   Buttons
   ======================================== */

.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  font-family: 'Poppins', sans-serif;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:active::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
  background-color: var(--accent-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
  background-color: transparent;
  color: white;
  border-color: white;
}

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

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

/* ========================================
   Sections
   ======================================== */

section {
  padding: 5rem 0;
}

section:nth-child(even) {
  background-color: var(--bg-light);
}

/* ========================================
   Services Overview (Home Page)
   ======================================== */

.services-overview {
  background-color: #EEF2F5;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.service-card {
  background-color: var(--bg-white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

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

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  color: var(--accent-color);
}

.service-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  color: var(--primary-color);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.service-card p {
  margin-bottom: 1.5rem;
  font-size: 1.15rem;
}

.service-link {
  color: var(--primary-color);
  font-weight: 600;
  transition: var(--transition);
}

.service-link:hover {
  color: var(--accent-color);
}

/* ========================================
   Features Grid
   ======================================== */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature {
  text-align: center;
  padding: 2rem;
  border-radius: var(--border-radius);
  background-color: var(--bg-white);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.feature::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  opacity: 0.1;
  transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

.feature:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.feature:hover::before {
  height: 100%;
}

.feature h3,
.feature p {
  position: relative;
  z-index: 1;
}

.feature-number {
  display: inline-block;
  width: 60px;
  height: 60px;
  line-height: 60px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 10px rgba(255, 107, 53, 0.3);
}

.feature:hover .feature-number {
  transform: scale(1.15) rotate(5deg);
  background-color: var(--accent-color);
  box-shadow: 0 8px 20px rgba(247, 147, 30, 0.4);
}

/* ========================================
   Why Choose Us Section
   ======================================== */

.why-choose-us {
  background-color: var(--bg-light);
}

/* ========================================
   CTA Section
   ======================================== */

.cta-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  color: white;
  text-align: center;
}

.cta-content h2 {
  color: white;
  margin-bottom: 1rem;
}

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

/* ========================================
   Service Detail Pages
   ======================================== */

.service-detail {
  padding: 4rem 0;
}

.service-detail-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.service-detail-reverse .service-detail-content {
  direction: rtl;
}

.service-detail-reverse .service-detail-text {
  direction: ltr;
}

.service-detail-text h2 {
  margin-bottom: 1rem;
}

.service-detail-text h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.service-list {
  list-style: none;
  margin: 1rem 0 2rem 0;
}

.service-list li {
  padding: 0.5rem 0 0.5rem 2rem;
  position: relative;
  color: var(--text-light);
}

.service-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.placeholder-image {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, var(--bg-light) 0%, #e0e0e0 100%);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
}

.placeholder-image svg {
  width: 100px;
  height: 100px;
}

/* Service Image Styling - matches placeholder dimensions exactly */
.service-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
}

.service-image:hover {
  transform: scale(1.01);
}

/* House Building Image - wider horizontally to show full house */
.house-image {
  width: 110%;
  height: 400px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
  margin-left: -5%;
}

.house-image:hover {
  transform: scale(1.01);
}

/* Remodeling Image - larger both horizontally and vertically */
.remodel-image {
  width: 110%;
  height: 450px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
  margin-left: -5%;
}

.remodel-image:hover {
  transform: scale(1.01);
}

/* ========================================
   Additional Services
   ======================================== */

.additional-services {
  background-color: var(--bg-light);
}

.additional-services h2 {
  text-align: center;
}

.section-intro {
  text-align: center;
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.additional-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.additional-service {
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.additional-service::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  opacity: 0.1;
  transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

.additional-service:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.additional-service:hover::before {
  height: 100%;
}

.additional-service h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.additional-service p {
  position: relative;
  z-index: 1;
}

.additional-service:hover h3 {
  color: var(--accent-color);
  transform: translateX(5px);
}

/* ========================================
   About Page
   ======================================== */

.about-intro {
  padding: 4rem 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image .placeholder-image {
  height: 500px;
}

.our-values {
  background-color: var(--bg-light);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.value-card {
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.value-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  opacity: 0.1;
  transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

.value-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.value-card:hover::before {
  height: 100%;
}

.value-card h3,
.value-card p {
  position: relative;
  z-index: 1;
}

.value-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  color: var(--primary-color);
  position: relative;
  z-index: 1;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.value-icon svg {
  width: 100%;
  height: 100%;
}

.value-card:hover .value-icon {
  transform: scale(1.15) rotate(5deg);
  color: var(--accent-color);
}

.why-us {
  padding: 4rem 0;
}

.why-us-content h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.reasons-list {
  max-width: 900px;
  margin: 0 auto;
}

.reason {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  padding: 2rem;
  background-color: var(--bg-light);
  border-radius: var(--border-radius);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.reason::before {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  opacity: 0.05;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

.reason:hover {
  transform: translateX(5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.reason:hover::before {
  width: 100%;
}

.reason-number {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  line-height: 60px;
  text-align: center;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 10px rgba(255, 107, 53, 0.3);
}

.reason:hover .reason-number {
  transform: scale(1.15) rotate(10deg);
  background-color: var(--accent-color);
  box-shadow: 0 8px 20px rgba(247, 147, 30, 0.4);
}

.reason-content {
  position: relative;
  z-index: 1;
}

.reason-content h3 {
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.reason:hover .reason-content h3 {
  color: var(--primary-color);
}

.our-process {
  background-color: var(--bg-light);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.process-step {
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.process-step::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  opacity: 0.1;
  transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

.process-step:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.process-step:hover::before {
  height: 100%;
}

.process-step h3,
.process-step p {
  position: relative;
  z-index: 1;
}

.step-number {
  display: inline-block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 10px rgba(255, 107, 53, 0.3);
}

.process-step:hover .step-number {
  transform: scale(1.15) rotate(5deg);
  background-color: var(--accent-color);
  box-shadow: 0 8px 20px rgba(247, 147, 30, 0.4);
}

.commitment {
  padding: 4rem 0;
}

.commitment-content {
  max-width: 800px;
  margin: 0 auto;
}

.commitment-content h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.commitment-content>p {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.commitment-list {
  list-style: none;
}

.commitment-list li {
  padding: 0.75rem 0 0.75rem 2.5rem;
  position: relative;
  color: var(--text-light);
  font-size: 1.05rem;
}

.commitment-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1.5rem;
}

/* ========================================
   Contact Page
   ======================================== */

.contact-section {
  padding: 4rem 0;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
}

.contact-intro h2 {
  margin-bottom: 1rem;
}

.contact-details {
  margin-top: 2rem;
}

.contact-detail {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background-color: var(--bg-light);
  border-radius: var(--border-radius);
}

.contact-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  color: var(--primary-color);
}

.contact-icon svg {
  width: 100%;
  height: 100%;
}

.contact-detail-text h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.contact-detail-text p {
  margin-bottom: 0.25rem;
}

.detail-note {
  font-size: 0.9rem;
  color: #999;
}

/* ========================================
   Contact Form
   ======================================== */

.contact-form {
  background-color: var(--bg-light);
  padding: 2rem;
  border-radius: var(--border-radius);
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

.required {
  color: var(--error-color);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

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

.checkbox-group {
  margin-bottom: 2rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  cursor: pointer;
}

.error-message {
  display: block;
  color: var(--error-color);
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

.form-message {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--border-radius);
  display: none;
}

.form-message.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  display: block;
}

.form-message.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  display: block;
}

/* ========================================
   What to Expect Section
   ======================================== */

.what-to-expect {
  background-color: var(--bg-light);
}

.what-to-expect h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.expect-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.expect-item {
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.expect-item::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  opacity: 0.1;
  transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

.expect-item:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.expect-item:hover::before {
  height: 100%;
}

.expect-item h3,
.expect-item p {
  position: relative;
  z-index: 1;
}

.expect-number {
  display: inline-block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 10px rgba(255, 107, 53, 0.3);
}

.expect-item:hover .expect-number {
  transform: scale(1.15) rotate(5deg);
  background-color: var(--accent-color);
  box-shadow: 0 8px 20px rgba(247, 147, 30, 0.4);
}

/* ========================================
   FAQ Section
   ======================================== */

.faq-preview {
  padding: 4rem 0;
}

.faq-preview h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 2rem;
  padding: 2rem;
  background-color: var(--bg-light);
  border-radius: var(--border-radius);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.faq-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  opacity: 0.05;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

.faq-item:hover {
  transform: translateX(5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.faq-item:hover::before {
  width: 100%;
}

.faq-item h3 {
  color: var(--primary-color);
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.faq-item p {
  position: relative;
  z-index: 1;
}

.faq-item:hover h3 {
  color: var(--accent-color);
  transform: translateX(5px);
}

/* ========================================
   Footer
   ======================================== */

footer {
  background-color: var(--secondary-color);
  color: white;
  padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
  color: white;
  margin-bottom: 1rem;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
}

.footer-section ul {
  list-style: none;
}

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

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.footer-section a:hover {
  color: var(--primary-color);
}

.contact-info li {
  color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
}

.footer-logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.footer-logo-container h3 {
  margin-bottom: 0;
}

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

@media (max-width: 968px) {

  .service-detail-content,
  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .service-detail-reverse .service-detail-content {
    direction: ltr;
  }

  .reason {
    flex-direction: column;
    text-align: center;
  }

  .reason-number {
    margin: 0 auto 1rem;
  }

  /* Mobile image fixes - fit entire image in container */
  .house-image,
  .remodel-image {
    width: 100%;
    margin-left: 0;
    height: 250px;
    object-fit: scale-down;
    object-position: center;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  .hero {
    padding: 5rem 0;
  }

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

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: var(--bg-white);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: var(--box-shadow);
    padding: 2rem 0;
    gap: 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    margin: 0.5rem 0;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }

  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }

  /* Mobile logo adjustments */
  .logo-header {
    height: 28px;
    width: 28px;
  }

  .logo-footer {
    height: 40px;
    width: 40px;
  }

  .logo a {
    gap: 0.5rem;
    font-size: 1.5rem;
  }

  section {
    padding: 3rem 0;
  }

  .services-grid,
  .features-grid,
  .values-grid,
  .process-steps,
  .additional-services-grid,
  .expect-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

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

  .btn {
    width: 100%;
  }

  .hero-buttons .btn {
    width: auto;
    min-width: 200px;
  }
}