:root {
  --brand:#00aa88;
}

body {
  margin:0;
  font-family:"Segoe UI", sans-serif;
  color:#333;
  background:#fff;
}

/* ---------- HERO SLIDER ---------- */
.hero { position:relative; height:100vh; }
.hero-slider { height:100%; }
.carousel-cell {
  width:100%; height:100%;
  background-size:cover; background-position:center;
  position:relative;
}
.overlay {
  position:absolute; inset:0;
  background:rgba(0,0,0,0.4);
}
.inner {
  position:absolute; top:50%; left:50%;
  transform:translate(-50%,-50%);
  text-align:center; color:#fff;
}
.subtitle { font-size:2.5rem; margin-bottom:1rem; }
.btn {
  background:var(--brand); color:#fff;
  padding:0.7rem 1.4rem; border-radius:30px;
  text-decoration:none; font-weight:600;
  transition:background 0.3s;
}
.btn:hover { background:#008f74; }
.scroll-down {
  position:absolute; bottom:20px; left:50%;
  transform:translateX(-50%);
  font-size:2rem; color:#fff;
  animation:bounce 2s infinite;
}
@keyframes bounce {
  0%,20%,50%,80%,100% {transform:translate(-50%,0);}
  40% {transform:translate(-50%,-10px);}
  60% {transform:translate(-50%,-5px);}
}

/* ---------- RESULTS GRID ---------- */
.container { padding:4rem 2rem; }
.section-title {
  text-align:center; color:var(--brand);
  font-size:2.2rem; margin-bottom:3rem;
}
/* .grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:2rem;
} */

.grid {
  display: grid;
  grid-template-columns: 1fr; /* default: 1 column */
  gap: 2rem;
}

@media (min-width: 768px) {
  .grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet/desktop */
  }
}

.grid-item { position:relative; }



/* ----- TwentyTwenty responsive ----- */
.twentytwenty-container {
  width:100%;
  border:4px solid var(--brand);
  border-radius:10px;
  overflow:hidden;
}
.twentytwenty-container img {
  width:100%;
  height:auto;
  display:block;
  object-fit:cover;
}

/* badges inside plugin-generated halves */
.twentytwenty-before,
.twentytwenty-after { position:relative; }

.twentytwenty-before::before,
.twentytwenty-after::before {
  position:absolute;
  top:10px;
  padding:6px 12px;
  border-radius:18px;
  font-weight:700;
  font-size:0.9rem;
  color:#fff;
  background:rgba(0,170,136,0.9);
  pointer-events:none; /* allow slider drag */
  white-space:nowrap;
  z-index:9;
}
.twentytwenty-before::before { content:"Before"; left:12px; }
.twentytwenty-after::before  { content:"After";  right:12px; }

/* ----- service info under each slider ----- */
.service-info {
  margin-top:1rem;
  text-align:center;
  position:relative;
}
.learn-btn {
  background:var(--brand); color:#fff;
  padding:0.5rem 1rem; border-radius:20px;
  text-decoration:none;
}
.learn-btn:hover { background:#008f74; }
.whatsapp-icon {
  _position:absolute;
  top:0; right:0;
  _transform:translate(40%, -40%);
}
.whatsapp-icon img { width:40px; height:40px; }

/* ----- floating global WhatsApp ----- */
.floating-whatsapp {
  position:fixed;
  bottom:20px; right:20px;
  z-index:999;
}
.floating-whatsapp img { width:60px; height:60px; }

/* responsive tweaks */
@media (max-width:360px) {
  .subtitle { font-size:1.6rem; }
  .learn-btn { font-size:0.9rem; }
  .twentytwenty-before::before,
  .twentytwenty-after::before {
    font-size:0.8rem; padding:5px 10px; top:8px;
  }
}

.twenty-public-container { position: relative; width:100%; max-width:600px; margin:auto; }
.before-wrap, .after-wrap { position: relative; }
.badge-before, .badge-after {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0,170,136,0.85);
  color: #fff;
  padding: 4px 10px;
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 4px;
  pointer-events: none;
}
.badge-after { left: auto; right: 10px; }
.service-info { margin-top:15px; text-align:center; }
.learn-btn {
  display:inline-block; padding:6px 12px;
  background:#00aa88; color:#fff; text-decoration:none; border-radius:4px;
}
.whatsapp-icon img { width:32px; margin-right:10px; vertical-align:middle; }
