/* ===== Service Page (front.service) ===== */

/* ===== "Simple" work gallery figures - reserve space so lazy-loaded
   images don't cause layout shift (CLS) while they arrive ===== */
.theme-hover figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}
.theme-hover figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== WRAPPER ===== */
.ls-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #0d1117;
  padding-top: 70px;
}

/* ===== LEFT: HERO ===== */
.ls-hero {
  padding: 40px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  position: relative;
  overflow: hidden;
  border-right: 1px solid #1e1e1e;
}
.ls-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url('../img/background/service-page-header.webp') center/cover no-repeat;
  opacity: 0.06;
}
.ls-hero-inner { position: relative; z-index: 1; }
.ls-hero-badge {
  display: inline-block;
  background: rgb(255 184 0 / 8%); color: #e9ac1e;
  font-size: 10px; font-weight: 700; letter-spacing: 1px;
  padding: 4px 14px; border-radius: 20px; margin-bottom: 12px;
  text-transform: uppercase;
}
.ls-hero h1 {
  font-size: clamp(22px, 2.8vw, 38px);
  font-weight: 800; color: #fff;
  line-height: 1.25; margin-bottom: 10px;
}
.ls-hero-sub {
  color: #b0bec5;
  font-size: clamp(13px, 1.2vw, 15px);
  max-width: 480px;
  line-height: 1.65;
  margin-bottom: 20px;
}
.ls-hero-actions {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-bottom: 24px;
}
.ls-btn-primary {
  background: #f5a623; color: #111;
  font-weight: 700; font-size: 14px;
  padding: 12px 24px; border-radius: 8px;
  display: inline-flex; align-items: center; gap: 6px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.ls-btn-primary:hover { background: #e0920f; transform: translateY(-1px); color: #111; }
.ls-btn-outline {
  border: 2px solid #f5a623; color: #f5a623;
  font-weight: 700; font-size: 14px;
  padding: 10px 22px; border-radius: 8px;
  text-decoration: none; transition: all 0.2s;
}
.ls-btn-outline:hover { background: #f5a623; color: #111; }
.ls-hero-stats {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  margin-top: 8px;
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid #2a2a2a;
  border-radius: 10px;
  overflow: hidden;
}
.ls-hero-stat {
  flex: 1;
  text-align: center;
  padding: 14px 16px;
  border-right: 1px solid #2a2a2a;
}
.ls-hero-stat:last-child { border-right: none; }
.ls-hero-stat .num { font-size: 22px; font-weight: 800; color: #f5a623; line-height: 1; }
.ls-hero-stat .lbl { font-size: 11px; color: #607d8b; margin-top: 4px; white-space: nowrap; }

/* ===== RIGHT: REFERRAL CARD ===== */
.ls-ref-side {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 28px;
  background: transparent;
}
.ls-ref-card {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  padding: 36px 32px;
  width: 100%;
  position: relative;
  overflow: hidden;
}
.ls-ref-watermark {
  position: absolute;
  right: -10px; bottom: -20px;
  font-size: 120px; font-weight: 900;
  color: rgba(245,166,35,0.06);
  line-height: 1;
  pointer-events: none; user-select: none;
}
.ls-ref-inner { position: relative; z-index: 1; }
.ls-ref-tag {
  font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: #f5a623; margin-bottom: 12px;
}
.ls-ref-headline {
  font-size: 18px; font-weight: 700;
  color: #fff; margin-bottom: 16px; line-height: 1.1;
}
.ls-ref-big {
  font-size: 56px; font-weight: 900;
  color: #f5a623; line-height: 1;
}
.ls-ref-per {
  font-size: 20px; color: #f5a623;
  font-weight: 700; margin-left: 2px;
}
.ls-ref-desc {
  font-size: 13px; color: #999;
  line-height: 1.65; margin-bottom: 18px;
}
.ls-ref-list {
  list-style: none; padding: 0;
  margin: 0 0 24px;
  display: flex; flex-direction: column; gap: 10px;
}
.ls-ref-list li {
  font-size: 13px; color: #ccc;
  display: flex; align-items: center; gap: 10px;
}
.ls-ref-list li::before {
  content: '✔'; color: #f5a623;
  font-size: 13px; flex-shrink: 0;
}
.ls-ref-btn {
  display: inline-flex; align-items: center; gap: 8px;
  border: 2px solid #f5a623; color: #f5a623;
  background: transparent; font-weight: 700; font-size: 14px;
  padding: 12px 24px; border-radius: 8px;
  text-decoration: none; transition: background 0.2s, color 0.2s;
}
.ls-ref-btn:hover { background: #f5a623; color: #111; }

/* ===== SLIDER ===== */
.ls-slider-wrap {
  background: #151515;
  padding: 20px 0;
  overflow: hidden;
  position: relative;
}
.ls-slider-wrap::before,
.ls-slider-wrap::after {
  content: ''; position: absolute;
  top: 0; width: 80px; height: 100%;
  z-index: 2; pointer-events: none;
}
.ls-slider-wrap::before { left: 0; background: linear-gradient(90deg, #151515, transparent); }
.ls-slider-wrap::after  { right: 0; background: linear-gradient(-90deg, #151515, transparent); }
.ls-slider-track {
  display: flex; gap: 10px;
  width: max-content;
  animation: ls-slide 30s linear infinite;
  padding: 4px 0;
}
.ls-slider-track:hover { animation-play-state: paused; }
@keyframes ls-slide {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.btn-yellow-chip {
  background: #1e1e1e; border: 1.5px solid #2a2a2a;
  color: #f5a623; font-size: 13px; font-weight: 600;
  padding: 8px 18px; border-radius: 30px;
  white-space: nowrap; cursor: pointer;
  text-decoration: none; display: inline-block;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.btn-yellow-chip:hover { background: #f5a623; color: #111; border-color: #f5a623; }

/* ===== 360° VIDEO GRID ===== */
.video-360-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0 0 25px;
}
.video-360-card {
  background: #181818;
  border: 1px solid #2a2a2a;
  border-radius: 10px;
  overflow: hidden;
}
.video-360-player {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #000;
  object-fit: cover;
}
.video-360-link {
  display: block;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #f5a623;
  text-decoration: none;
  border-top: 1px solid #2a2a2a;
}
.video-360-link:hover { text-decoration: underline; }

.ls-connect-heading {
  text-align: center;
  margin-bottom: 35px;
  margin-top: -49px;
}

/* ===== "Easy Ways to Connect" cards ===== */
.ls-connect-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}
.ls-connect-card {
  display: flex;
  flex-direction: column;
  background: #181818;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 30px;
  transition: transform 0.2s, border-color 0.2s;
}
.ls-connect-card:hover { transform: translateY(-3px); border-color: #f5a623; }
.ls-connect-card-title {
  color: #f5a623;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px;
}
.ls-connect-card-desc {
  color: #aaa;
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 22px;
  flex: 1;
}
.ls-connect-card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.ls-connect-card-actions .ls-btn-primary,
.ls-connect-card-actions .ls-btn-outline {
  padding: 10px 20px;
  font-size: 13px;
}
@media (max-width: 991px) {
  .ls-connect-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
  .ls-connect-grid { grid-template-columns: 1fr; }
  .ls-connect-card { padding: 25px 20px; }
  .ls-connect-card-actions a { flex: 1; text-align: center; }
}

/* ===== Service breadcrumb (dark) ===== */
.ls-service-breadcrumb {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
  display: flex;
  gap: 5px;
}
.ls-service-breadcrumb li,
.ls-service-breadcrumb a { color: #ffffff; text-decoration: none; }

/* ===== Toggle "Read More" button ===== */
.ls-toggle-btn {
  background: #b90808;
  padding: 10px;
  color: #fff;
  border: none;
  margin-bottom: 25px;
}
.ls-hidden-content { display: none; }

/* ===== Tables inside long description content (avoid squeezed columns on mobile) ===== */
#serviceLongContent table { min-width: 600px; }
@media (max-width: 767px) {
  #serviceLongContent .overflow-x-auto { -webkit-overflow-scrolling: touch; }
  #serviceLongContent table { min-width: 560px; }
}

/* ===== Misc service page text/layout ===== */
.ls-service-title {
  margin-top: 27px;
  margin-left: 10px;
  margin-right: 10px;
  min-height: 80px;
}
.ls-grid-pad { padding: 5px 5px !important; }
.ls-text-justify { text-align: justify; }
.ls-accent-text { color: #ba372a; }
.ls-faq-heading { margin-bottom: 20px; }
.ls-qa-label { color: #e03e2d; }
.ls-form-wrapper-pad { padding-bottom: 15px; }
.wptb-office-address { padding-bottom: 70px; }
.ls-textarea-sm { height: 55px; }

/* ===== Most Searched links grid ===== */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px 23px;
  padding-left: 20px;
  margin: 20px auto;
  list-style-type: disc;
}
.photo-grid li {
  display: flex;
  align-items: center;
  color: #e03e2d;
  font-weight: 400;
  line-height: 1.4;
}
.photo-grid li::marker { color: #FFFFFF; }
.photo-grid a { color: #e03e2d; text-decoration: none; }
.photo-grid a:hover { text-decoration: underline; }

.btn-yellow {
  display: inline-block;
  background-color: #FFD700;
  color: #000;
  padding: 10px 20px;
  margin-top: 5px;
  text-decoration: none;
  border-radius: 20px;
  font-weight: 600;
  transition: all 0.3s ease;
}
.btn-yellow:hover { background-color: #ff0000; color: #fff; }

/* ===== MOBILE / TABLET ===== */
@media (max-width: 991px) {
  .video-360-grid { grid-template-columns: repeat(2, 1fr); }
  .photo-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .ls-wrap { grid-template-columns: 1fr; padding-top: 60px; }
  .ls-hero {
    padding: 32px 20px; text-align: center;
    align-items: center; border-right: none;
    border-bottom: 1px solid #1e1e1e;
  }
  .ls-hero-sub { max-width: 100%; }
  .ls-hero-actions { justify-content: center; }
  .ls-hero-stats { justify-content: center; }
  .ls-hero-stat { text-align: center; }
  .ls-ref-side { padding: 16px; }
  .ls-ref-card { padding: 24px 20px; }
  .ls-ref-big { font-size: 40px; }
  .ls-ref-watermark { font-size: 80px; }

  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .video-360-grid { grid-template-columns: 1fr; }
}

/* ===== Our Clients - auto-scrolling logo marquee ===== */
.ls-clients-section {
  padding: 45px 0 55px;
  overflow: hidden;
}
.ls-clients-heading {
  text-align: center;
  font-weight: 700;
  margin-bottom: 30px;
}
.ls-clients-marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}
.ls-clients-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: ls-clients-scroll 35s linear infinite;
}
.ls-clients-marquee:hover .ls-clients-track { animation-play-state: paused; }
.ls-clients-logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 190px;
  height: 100px;
  margin: 0 18px;
  padding: 14px 20px;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ls-clients-logo:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border-color: #e03e2d;
}
.ls-clients-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: filter 0.3s ease, opacity 0.3s ease;
}
.ls-clients-logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
}
@keyframes ls-clients-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (max-width: 768px) {
  .ls-clients-logo { width: 140px; height: 80px; margin: 0 10px; padding: 10px 14px; }
  .ls-clients-track { animation-duration: 22s; }
}
@media (prefers-reduced-motion: reduce) {
  .ls-clients-track { animation: none; }
}
