/* Home page specific styles */



/* Before-After Gallery Section - Enhanced styles */
.gallery-section {
  padding: var(--space-2xl) 0;
}

.before-after-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

.comparison-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
  background-color: var(--color-bg);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.comparison-card.full-width {
  grid-column: 1 / -1;
}

.comparison-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.comparison-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.comparison-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.comparison-label {
  position: absolute;
  color: white;
  background-color: rgba(0, 0, 0, 0.7);
  padding: var(--space-xs) var(--space-md);
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 5;
  border-radius: var(--radius-full);
}

.before-label {
  top: var(--space-md);
  left: var(--space-md);
}

.after-label {
  top: var(--space-md);
  right: var(--space-md);
}

.comparison-before, .comparison-after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
}

.comparison-after {
  clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
}

.comparison-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  transform: translateX(-50%);
  background-color: var(--color-accent);
  z-index: 10;
  cursor: ew-resize;
}

.handle-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.handle-arrows {
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 1rem;
}

.comparison-wrapper.dragging .handle-circle {
  width: 46px;
  height: 46px;
  background-color: var(--color-accent-light);
}

.comparison-footer {
  padding: var(--space-md);
  text-align: center;
  background-color: var(--color-bg);
}

.comparison-title {
  font-weight: 600;
  color: var(--color-primary-dark);
  font-size: 1.1rem;
  margin-bottom: var(--space-xs);
}

.comparison-desc {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* Set aspect ratios for different comparison cards */
.comparison-wrapper {
  padding-bottom: 75%; /* Default aspect ratio */
}

.comparison-wrapper.ratio-1 {
  padding-bottom: 37.7%; /* 490x185 */
}

.comparison-wrapper.ratio-2 {
  padding-bottom: 75%; /* 448x336 */
}

.comparison-wrapper.ratio-3 {
  padding-bottom: 102%; /* 411x419 */
}

/* Tablet Styles */
@media (min-width: 768px) {
  .before-after-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .comparison-card.full-width {
    grid-column: 1 / 3;
  }
}

/* Desktop Styles */
@media (min-width: 1024px) {
 
  .comparison-card.full-width .comparison-wrapper {
    max-height: 400px;
  }
 
}
/* ============================================
   HOME PAGE STYLES - MOBILE FIRST
============================================ */

/* ===== HOME INTRO SECTION ===== */
.home-intro {
  padding: var(--space-xl) 0;
  background-color: var(--color-bg);
}

.home-intro .section-title {
  color: var(--color-primary-dark);
  font-family: var(--font-primary);
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  text-align: center;
  margin-bottom: var(--space-sm);
  line-height: var(--line-height-tight);
}

.home-intro .section-subtitle {
  color: var(--color-text-muted);
  font-family: var(--font-secondary);
  font-size: var(--font-size-md);
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-xl);
  line-height: var(--line-height-relaxed);
  padding: 0 var(--space-md);
}

.intro-content {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-lg);
  background-color: var(--color-bg-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.intro-content p {
  font-size: var(--font-size-base);
  line-height: var(--line-height-relaxed);
  color: var(--color-text);
  margin: 0;
  font-family: var(--font-secondary);
}

/* ===== OUR PROMISE SECTION ===== */
.promise-section {
  background: var(--color-bg-light);
  padding: var(--space-xl) 0;
}

.promise-section .section-title {
  color: var(--color-primary);
  font-family: var(--font-primary);
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  text-align: center;
  margin-bottom: var(--space-sm);
  line-height: var(--line-height-tight);
}

.promise-section .section-subtitle {
  color: var(--color-text-muted);
  font-family: var(--font-secondary);
  font-size: var(--font-size-md);
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-xl);
  line-height: var(--line-height-relaxed);
  padding: 0 var(--space-md);
}

/* Promises Grid - MOBILE FIRST: 1 column */
.promises-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* Promise Card */
.promise-card {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  transition: all var(--transition-normal);
  border: 1px solid rgba(27, 59, 117, 0.08);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.promise-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent-light);
}

/* Promise Icon */
.promise-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  color: white;
  box-shadow: var(--glow-primary);
}

.promise-icon svg {
  stroke-width: 1.5;
}

/* Promise Title */
.promise-title {
  color: var(--color-primary);
  font-family: var(--font-primary);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-sm);
  line-height: var(--line-height-tight);
}

/* Promise Description */
.promise-description {
  color: var(--color-text);
  font-family: var(--font-secondary);
  font-size: var(--font-size-base);
  line-height: var(--line-height-relaxed);
  margin: 0;
}

/* ===== SERVICES CORE SECTION ===== */
.services-core {
  padding: var(--space-xl) 0;
  background: var(--color-bg);
}

.services-core .section-title {
  color: var(--color-primary);
  font-family: var(--font-primary);
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  text-align: center;
  margin-bottom: var(--space-sm);
  line-height: var(--line-height-tight);
}

.services-core .section-subtitle {
  color: var(--color-text-muted);
  font-family: var(--font-secondary);
  font-size: var(--font-size-md);
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-xl);
  line-height: var(--line-height-relaxed);
  padding: 0 var(--space-md);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.service-card {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  transition: all var(--transition-normal);
  border: 1px solid rgba(27, 59, 117, 0.08);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent-light);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  color: white;
  box-shadow: var(--glow-primary);
}

.service-icon svg {
  stroke-width: 1.5;
}

.service-badge {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-primary-dark);
  font-family: var(--font-primary);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
}

.service-title {
  color: var(--color-primary);
  font-family: var(--font-primary);
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-md);
  line-height: var(--line-height-tight);
}

.service-description {
  color: var(--color-text);
  font-family: var(--font-secondary);
  font-size: var(--font-size-base);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-md);
}

.service-list {
  text-align: left;
  margin: var(--space-md) 0;
  padding-left: 0;
  list-style: none;
}

.service-list li {
  color: var(--color-text);
  font-family: var(--font-secondary);
  font-size: var(--font-size-base);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-xs);
  position: relative;
  padding-left: var(--space-lg);
}

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

.service-link {
  display: inline-block;
  color: var(--color-primary);
  font-family: var(--font-primary);
  font-weight: var(--font-weight-semibold);
  text-decoration: none;
  margin-top: var(--space-md);
  transition: color var(--transition-fast);
}

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

.home-services-btn {
  display: flex;
  justify-content: center;
  padding: var(--space-xl) 0 0;
}

.home-services-btn .btn {
  padding: var(--space-md) var(--space-xl);
  font-size: var(--font-size-lg);
}

/* ===== WHY CHOOSE US SECTION ===== */
.why-choose-us {
  padding: var(--space-xl) 0;
  background: var(--color-bg-light);
}

.why-choose-us .section-title {
  color: var(--color-primary);
  font-family: var(--font-primary);
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  text-align: center;
  margin-bottom: var(--space-sm);
  line-height: var(--line-height-tight);
}

.why-choose-us .section-subtitle {
  color: var(--color-text-muted);
  font-family: var(--font-secondary);
  font-size: var(--font-size-md);
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-xl);
  line-height: var(--line-height-relaxed);
  padding: 0 var(--space-md);
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.benefit-card {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  transition: all var(--transition-normal);
  border: 1px solid rgba(27, 59, 117, 0.08);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent-light);
}

.benefit-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  color: white;
  box-shadow: var(--glow-primary);
}

.benefit-icon svg {
  stroke-width: 1.5;
}

.benefit-title {
  color: var(--color-primary);
  font-family: var(--font-primary);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-sm);
  line-height: var(--line-height-tight);
}

.benefit-description {
  color: var(--color-text);
  font-family: var(--font-secondary);
  font-size: var(--font-size-base);
  line-height: var(--line-height-relaxed);
  margin: 0;
}

/* ===== CTA SECTION ===== */
.cta-full-width {
  padding: var(--space-xl) 0;
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  color: white;
  text-align: center;
}

.cta-overlay {
  padding: 0 var(--space-md);
}

.cta-title {
  font-family: var(--font-primary);
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-md);
  line-height: var(--line-height-tight);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
  color: var(--color-accent) ;
}

.cta-text {
  font-family: var(--font-secondary);
  font-size: var(--font-size-base);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-xl);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.95;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  max-width: 300px;
  margin: 0 auto;
}

.cta-full-width .btn-outline {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.cta-full-width .btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
}

.cta-note {
  font-family: var(--font-secondary);
  font-size: var(--font-size-xs);
  margin-top: var(--space-xl);
  opacity: 0.8;
}

/* ============================================
   TABLET BREAKPOINT (≥600px)
============================================ */
@media (min-width: 600px) {
  /* Home Intro */
  .home-intro {
    padding: var(--space-2xl) 0;
  }
  
  .home-intro .section-title {
    font-size: var(--font-size-3xl);
  }
  
  .home-intro .section-subtitle {
    font-size: var(--font-size-lg);
    padding: 0;
  }
  
  .intro-content {
    padding: var(--space-xl);
  }
  
  .intro-content p {
    font-size: var(--font-size-md);
  }
  
  /* Promise Section */
  .promises-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
    padding: 0 var(--space-lg);
  }
  
  .promise-section {
    padding: var(--space-xl) 0 var(--space-2xl);
  }
  
  .promise-section .section-title {
    font-size: var(--font-size-2xl);
  }
  
  .promise-section .section-subtitle {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-2xl);
    padding: 0;
  }
  
  .promise-card {
    padding: var(--space-xl);
  }
  
  .promise-icon {
    width: 72px;
    height: 72px;
    margin-bottom: var(--space-lg);
  }
  
  .promise-title {
    font-size: var(--font-size-xl);
  }
  
  /* Services Core */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
    padding: 0 var(--space-lg);
  }
  
  .services-core {
    padding: var(--space-2xl) 0;
  }
  
  .services-core .section-title {
    font-size: var(--font-size-3xl);
  }
  
  .services-core .section-subtitle {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-2xl);
    padding: 0;
  }
  
  .service-card {
    padding: var(--space-xl);
  }
  
  .service-icon {
    width: 90px;
    height: 90px;
    margin-bottom: var(--space-lg);
  }
  
  .service-title {
    font-size: var(--font-size-xl);
  }
  
  .service-description {
    font-size: var(--font-size-md);
  }
  
  /* Why Choose Us */
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
    padding: 0 var(--space-lg);
  }
  
  .why-choose-us {
    padding: var(--space-2xl) 0;
  }
  
  .why-choose-us .section-title {
    font-size: var(--font-size-3xl);
  }
  
  .why-choose-us .section-subtitle {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-2xl);
    padding: 0;
  }
  
  .benefit-card {
    padding: var(--space-xl);
  }
  
  .benefit-icon {
    width: 80px;
    height: 80px;
    margin-bottom: var(--space-lg);
  }
  
  .benefit-title {
    font-size: var(--font-size-xl);
  }
  
  .benefit-description {
    font-size: var(--font-size-md);
  }
  
  /* CTA */
  .cta-full-width {
    padding: var(--space-2xl) 0;
  }
  
  .cta-overlay {
    padding: 0 var(--space-lg);
  }
  
  .cta-title {
    font-size: var(--font-size-2xl);
  }
  
  .cta-text {
    font-size: var(--font-size-lg);
  }
  
  .cta-buttons {
    flex-direction: row;
    justify-content: center;
    max-width: none;
    gap: var(--space-lg);
  }
  
  .cta-buttons .btn {
    min-width: 200px;
  }
}

/* ============================================
   DESKTOP BREAKPOINT (≥1024px)
============================================ */
@media (min-width: 1024px) {
  /* Promise Section */
  .promises-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    padding: 0;
  }
  
  .promise-section {
    padding: var(--space-2xl) 0;
  }
  
  .promise-section .section-title {
    font-size: var(--font-size-3xl);
  }
  
  .promise-section .section-subtitle {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-2xl);
  }
  
  .promise-card {
    padding: var(--space-xl);
  }
  
  /* Services Core */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
    padding: 0;
  }
  
  /* Why Choose Us */
  .benefits-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    padding: 0;
  }
  
  .why-choose-us .section-title {
    font-size: var(--font-size-3xl);
  }
  
  .why-choose-us .section-subtitle {
    font-size: var(--font-size-xl);
  }
  
  /* CTA */
  .cta-full-width {
    padding: var(--space-2xl) 0;
  }
  
  .cta-title {
    font-size: var(--font-size-3xl);
  }
  
  .cta-text {
    font-size: var(--font-size-xl);
  }
}

/* ============================================
   LARGE DESKTOP ENHANCEMENT (≥1400px)
============================================ */
@media (min-width: 1400px) {
  .promises-grid,
  .benefits-grid {
    gap: calc(var(--space-xl) * 1.5);
  }
  
  .services-grid {
    gap: calc(var(--space-xl) * 1.5);
    max-width: 1400px;
  }
}