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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Baloo Bhaijaan 2", sans-serif;
  font-weight: 400;
  color: #111;
  background: #f4f4f4;
  line-height: 1.6;
}

.parallax {
  position: relative;
  min-height: 70vh;
  overflow: hidden;
  clip-path: inset(0);
}

.parallaxBg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 0;
  overflow: hidden;
}

.heroVideo {
  position: fixed;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  object-position: center top;
  transform: translate(-50%, 0) scale(1.6);
  transform-origin: center top;
  z-index: 0;
  opacity: 1;
  transition: opacity 1s linear;
}

.heroVideoFade {
  opacity: 0;
}

.heroBg {
  background: transparent;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.75);
  z-index: 1;
}

.heroInner {
  position: relative;
  z-index: 2;
  padding: 40px 20px;
}

.logo {
  width: 220px;
  max-width: 60vw;
  height: auto;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.tagline {
  font-size: 1.25rem;
  margin-bottom: 30px;
}

.cta {
  display: inline-block;
  background: #111;
  color: #fff;
  padding: 14px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
}

.cta:hover {
  background: #333;
}

.panel {
  background: #fff;
  max-width: 900px;
  margin: 60px auto;
  padding: 50px 40px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 2;
}

.panelNarrow {
  max-width: 640px;
  padding: 40px 35px;
}

.heroPanels {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 30px;
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.heroPanels .panel {
  flex: 1 1 360px;
  margin: 0;
  max-width: 480px;
}

.panelKicker {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 12px;
  text-align: center;
  letter-spacing: 0.3px;
}

.panel h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 20px;
  text-align: center;
}

.panel p {
  font-size: 1.1rem;
  text-align: center;
}

.intro {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  margin-top: 30px;
  text-align: left;
}

.introBlock {
  padding: 20px;
  border-left: 4px solid #111;
  background: #fafafa;
  border-radius: 6px;
}

.introBlock h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.introBlock p {
  font-size: 1rem;
  text-align: left;
}

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.service {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
}

.service h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.service p {
  font-size: 0.95rem;
}

.beforeAfter {
  position: relative;
  width: 100%;
  max-width: 800px;
  height: 480px;
  margin: 30px auto 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.beforeAfterImg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

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

.sliderHandle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: #fff;
  transform: translateX(-50%);
  pointer-events: none;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
}

.sliderHandle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 36px;
  height: 36px;
  background: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.sliderRange {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  margin: 0;
}

.beforeAfterImg .label {
  position: absolute;
  bottom: 20px;
  padding: 8px 16px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-weight: 600;
  border-radius: 20px;
  font-size: 1rem;
}

.beforeAfterImg.before .label {
  left: 20px;
}

.beforeAfterImg.after .label {
  right: 20px;
}

.contact {
  list-style: none;
  text-align: center;
  margin-top: 20px;
  font-size: 1.1rem;
}

.contact li {
  margin: 10px 0;
}

.contact a {
  color: #111;
  text-decoration: none;
  border-bottom: 2px solid #111;
}

.contactBtnRow {
  text-align: center;
}

.whatsappBtn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 12px 22px;
  background: #1f3a2e;
  color: #f1f5f1;
  border-radius: 14px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  letter-spacing: 0.2px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.whatsappBtn:hover {
  background: #2a4d3d;
  transform: translateY(-1px);
}

.footer {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 30px 20px;
}

@media (max-width: 900px) {
  .panel {
    max-width: none;
    margin: 40px 20px;
    padding: 40px 25px;
  }
  .intro,
  .services {
    gap: 16px;
  }
}

@media (max-width: 700px) {
  body {
    line-height: 1.5;
  }
  .parallax {
    min-height: 45vh;
  }
  .fasadBg {
    background-position: 50% 30%;
  }
  .heroVideo {
    transform: translate(-50%, 0) scale(1.25);
    object-position: center center;
  }
  .hero {
    min-height: 90vh;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .tagline {
    font-size: 1rem;
    margin-bottom: 24px;
  }
  .cta {
    padding: 14px 24px;
    font-size: 1rem;
  }
  .panel {
    margin: 25px 12px;
    padding: 30px 18px;
    border-radius: 10px;
  }
  .panel h2 {
    font-size: 1.6rem;
  }
  .panelNarrow {
    padding: 28px 18px;
  }
  .panelKicker {
    font-size: 1.2rem;
  }
  .panel p {
    font-size: 1rem;
  }
  .whatsappBtn {
    width: 100%;
    justify-content: center;
  }
  .intro,
  .services {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .introBlock {
    padding: 16px;
  }
  .service {
    padding: 16px;
  }
  .beforeAfter {
    height: 280px;
    margin: 20px auto 0;
  }
  .sliderHandle::after {
    width: 44px;
    height: 44px;
  }
  .contact {
    font-size: 1rem;
  }
}

@media (max-width: 380px) {
  .hero h1 {
    font-size: 1.7rem;
  }
  .logo {
    width: 160px;
  }
  .beforeAfter {
    height: 220px;
  }
}
