/* Contact FAB button */

/* Floating Contact Button */
.contact-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.fab-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: none;
  background: var(--accent);
  color: #fff;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(37,99,235,0.4);
  transition: transform 0.25s ease;
  animation: fabPulse 2.4s infinite;
}

.fab-btn:hover { transform: scale(1.08); }

.fab-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.fab-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.fab-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: #1e293b;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 18px;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease;
}

.fab-item:hover { transform: translateX(-4px); }
.fab-item.call:hover { background: #dcfce7; }
.fab-item.email:hover { background: #dbeafe; }

@keyframes fabPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(37,99,235,0.4); }
  50% { box-shadow: 0 8px 24px rgba(37,99,235,0.65), 0 0 0 8px rgba(37,99,235,0.12); }
}

@media (max-width: 560px) {
  .contact-fab { right: 16px; bottom: 16px; }
  .fab-btn { width: 50px; height: 50px; font-size: 20px; }
}


/* Before / After comparison slider */

  .before-after{
    padding: 80px 0;
    background: #f4f7fb;
  }

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

  .ba-card{
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  }

  .ba-slider{
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    overflow: hidden;
    cursor: ew-resize;
    user-select: none;
    background: #eee;
  }

  .ba-slider img{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
  }

  .ba-after-wrap{
    position: absolute;
    inset: 0;
    overflow: hidden;
    clip-path: inset(0 50% 0 0);
  }

  .ba-tag{
    position: absolute;
    top: 12px;
    font-family: 'Roboto', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 5px 10px;
    background: rgba(255,255,255,0.92);
    border-radius: 5px;
    color: #1e293b;
  }
  .ba-tag-before{ left: 12px; }
  .ba-tag-after{ right: 12px; color: var(--accent, #2563eb); }

  .ba-handle{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 0;
    transform: translateX(-50%);
    pointer-events: none;
  }
  .ba-handle::before{
    content: "";
    position: absolute;
    top: 0; bottom: 0; left: 50%;
    width: 3px;
    background: #fff;
    transform: translateX(-50%);
    box-shadow: 0 0 6px rgba(0,0,0,0.25);
  }

  .ba-grip{
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    width: 42px; height: 42px;
    border-radius: 50%;
    background: var(--accent, #2563eb);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(37,99,235,0.4);
  }
  .ba-grip svg{ width: 17px; height: 17px; }

  .ba-range{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: ew-resize;
    -webkit-appearance: none;
    appearance: none;
  }
  .ba-range:focus-visible ~ .ba-handle .ba-grip{
    outline: 2px solid var(--accent, #2563eb);
    outline-offset: 3px;
  }

  .ba-caption{
    font-family: 'Roboto Slab', serif;
    font-size: 17px;
    font-weight: 700;
    color: #1e293b;
    margin: 16px 4px 4px;
  }
  .ba-sub{
    font-family: 'Roboto', sans-serif;
    font-size: 13.5px;
    color: #64748b;
    margin: 0 4px;
    line-height: 1.5;
  }

  @media (max-width: 800px){
    .ba-grid{ grid-template-columns: 1fr; }
  }


/* Homepage gallery + lightbox */

.gallery {
  padding: 80px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 40px;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 8px;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.2);
}

.lightbox-close svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

@media (max-width: 560px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .lightbox {
    padding: 16px;
  }
}


/* About page - story timeline */

  .story{
    padding: 80px 0 100px;
    background: #fff;
  }

  .story-timeline{
    position: relative;
    max-width: 780px;
    margin: 20px auto 0;
    padding-left: 90px;
  }

  .story-timeline::before{
    content: "";
    position: absolute;
    top: 6px;
    bottom: 6px;
    left: 39px;
    width: 2px;
    background: #e2e8f0;
  }

  .story-item{
    position: relative;
    padding-bottom: 44px;
  }
  .story-item.last{ padding-bottom: 0; }

  .story-dot{
    position: absolute;
    top: 0;
    left: -90px;
    width: 78px;
    height: 34px;
    border-radius: 17px;
    background: var(--accent, #275B22);
    color: #fff;
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(39,91,34,.35);
  }

  .story-dot::after{
    content: "";
    position: absolute;
    left: 78px;
    top: 50%;
    width: 12px;
    height: 2px;
    background: #e2e8f0;
    transform: translateY(-50%);
  }

  .story-content h4{
    font-family: 'Roboto Slab', serif;
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin: 4px 0 8px;
  }

  .story-content p{
    font-family: 'Roboto', sans-serif;
    font-size: 14.5px;
    line-height: 1.7;
    color: #64748b;
    margin: 0;
  }

  @media (max-width: 900px){
    .story{ padding: 60px 0; }
    .story-timeline{ padding-left: 70px; }
  }

  @media (max-width: 640px){
    .story{ padding: 48px 0; }

    .story-timeline{
      padding-left: 50px;
      margin-top: 12px;
    }

    .story-timeline::before{ left: 21px; }

    .story-item{ padding-bottom: 32px; }

    .story-dot{
      left: -50px;
      width: 44px;
      height: 44px;
      font-size: 9.5px;
      line-height: 1.15;
      border-radius: 50%;
      padding: 0 3px;
      text-align: center;
      white-space: normal;
    }
    .story-dot::after{ left: 44px; width: 6px; }

    .story-content h4{
      font-size: 16px;
      margin: 2px 0 6px;
    }
    .story-content p{
      font-size: 13.5px;
      line-height: 1.6;
    }
  }

  @media (max-width: 400px){
    .story-timeline{ padding-left: 42px; }
    .story-dot{
      left: -42px;
      width: 36px;
      height: 36px;
      font-size: 8.5px;
    }
    .story-dot::after{ left: 36px; }
  }


/* Gallery page - grid + filters */

/* ==========================
   Gallery Grid
========================== */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .4s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item.gi-hidden {
    display: none;
}

.gallery-item-cat {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(0,0,0,.75);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
/* Floating Contact Button */
.contact-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.fab-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: none;
  background: var(--accent);
  color: #fff;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(37,99,235,0.4);
  transition: transform 0.25s ease;
  animation: fabPulse 2.4s infinite;
}

.fab-btn:hover { transform: scale(1.08); }

.fab-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.fab-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.fab-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: #1e293b;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 18px;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease;
}

.fab-item:hover { transform: translateX(-4px); }
.fab-item.call:hover { background: #dcfce7; }
.fab-item.email:hover { background: #dbeafe; }

@keyframes fabPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(37,99,235,0.4); }
  50% { box-shadow: 0 8px 24px rgba(37,99,235,0.65), 0 0 0 8px rgba(37,99,235,0.12); }
}

@media (max-width: 560px) {
  .contact-fab { right: 16px; bottom: 16px; }
  .fab-btn { width: 50px; height: 50px; font-size: 20px; }
}


/* Terms & Conditions page */

/* Floating Contact Button (same as main site) */
.contact-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.fab-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: none;
  background: var(--accent);
  color: #fff;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(37,99,235,0.4);
  transition: transform 0.25s ease;
  animation: fabPulse 2.4s infinite;
}
.fab-btn:hover { transform: scale(1.08); }
.fab-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}
.fab-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.fab-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: #1e293b;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 18px;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease;
}
.fab-item:hover { transform: translateX(-4px); }
.fab-item.call:hover { background: #dcfce7; }
.fab-item.email:hover { background: #dbeafe; }
@keyframes fabPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(37,99,235,0.4); }
  50% { box-shadow: 0 8px 24px rgba(37,99,235,0.65), 0 0 0 8px rgba(37,99,235,0.12); }
}
@media (max-width: 560px) {
  .contact-fab { right: 16px; bottom: 16px; }
  .fab-btn { width: 50px; height: 50px; font-size: 20px; }
}

/* ===== TERMS PAGE CONTENT ===== */
.terms-hero{
  background: #0f172a;
  padding: 120px 0 60px;
  text-align: center;
}
.terms-hero .sec-label{
  justify-content: center;
  margin-bottom: 14px;
}
.terms-hero h1{
  font-family: 'Roboto Slab', serif;
  font-weight: 800;
  font-size: clamp(30px, 4.5vw, 46px);
  color: #fff;
  margin: 0 0 12px;
}
.terms-hero p{
  font-family: 'Roboto', sans-serif;
  color: #94a3b8;
  font-size: 15px;
  max-width: 520px;
  margin: 0 auto;
}

.terms-section{
  padding: 70px 0 90px;
  background: #fff;
}
.terms-wrap{
  max-width: 840px;
  margin: 0 auto;
}

.terms-item{
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid #e2e8f0;
}
.terms-item:first-child{ padding-top: 0; }
.terms-item:last-child{ border-bottom: none; padding-bottom: 0; }

.terms-num{
  font-family: 'Roboto Slab', serif;
  font-weight: 800;
  font-size: 28px;
  color: var(--accent, #2563eb);
  opacity: 0.85;
  line-height: 1;
}

.terms-body h2{
  font-family: 'Roboto Slab', serif;
  font-weight: 700;
  font-size: 19px;
  color: #1e293b;
  margin: 0 0 10px;
}
.terms-body p{
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  line-height: 1.75;
  color: #64748b;
  margin: 0;
}

.terms-note{
  max-width: 840px;
  margin: 40px auto 0;
  padding: 20px 24px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  font-family: 'Roboto', sans-serif;
  font-size: 13.5px;
  color: #1e40af;
  line-height: 1.6;
}

@media (max-width: 640px){
  .terms-hero{ padding: 100px 0 44px; }
  .terms-section{ padding: 48px 0 60px; }
  .terms-item{
    grid-template-columns: 40px 1fr;
    gap: 14px;
    padding: 22px 0;
  }
  .terms-num{ font-size: 20px; }
  .terms-body h2{ font-size: 17px; }
  .terms-body p{ font-size: 14px; }
}
