/* ================================================
   INDEX.CSS — Home page specific styles
   Libero Law Firm
   ================================================ */

/* ---------- Hero Section ---------- */
.hero-bg {
  background:
    linear-gradient(180deg, rgba(20,30,48,0.55), rgba(20,30,48,0.78)),
    url('../img/silder1.avif')
    center / cover no-repeat;
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* ---------- Press / Quote Background ---------- */
.press-bg {
  background:
    linear-gradient(rgba(120,90,50,0.6), rgba(120,90,50,0.78)),
    url('../img/justice.avif')
    center / cover no-repeat;
}

/* ---------- Blog Section Background ---------- */
.blog-bg {
  background:
    linear-gradient(rgba(15,20,35,0.78), rgba(15,20,35,0.88)),
    url('../img/silder2.jpeg')
    center / cover no-repeat;
}

/* ---------- Stats Sections ---------- */
.stat-bg-left {
  background:
    linear-gradient(rgba(20,26,44,0.82), rgba(20,26,44,0.9)),
    url('../img/slider3.jpg')
    center / cover no-repeat;
}

.stat-bg-right {
  background:
    linear-gradient(rgba(150,110,45,0.84), rgba(150,110,45,0.9)),
    url('../img/slider4.jpg')
    center / cover no-repeat;
}

/* ---------- Practice Area Cards ---------- */
.practice-card {
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.practice-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.practice-card img {
  transition: transform 0.5s ease;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.practice-card:hover img {
  transform: scale(1.08);
}

/* ---------- Service Icon Circles ---------- */
.service-icon-circle {
  text-align: center;
  transition: transform 0.3s ease;
}

.service-icon-circle:hover {
  transform: translateY(-4px);
}

.service-icon-circle img {
  transition: transform 0.4s ease;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-icon-circle:hover img {
  transform: scale(1.06);
}

/* ---------- Testimonial Dots ---------- */
.dot-nav span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  display: inline-block;
  cursor: pointer;
  transition: background 0.3s ease;
}

.dot-nav span.active {
  background: var(--gold);
}

/* ---------- Hero Slider Buttons ---------- */
.hero-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  background: transparent;
  color: rgba(255,255,255,0.7);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.hero-nav-btn:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(201,151,76,0.1);
}

/* ---------- Counter Number Animation ---------- */
.counter {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}
