.hero-section {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  color: white;
  background: url("../images/practice-area-hero.png") no-repeat center
    center/cover;
}

/* dark overlay for readability */
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 500px;
}

/* small top badge */
.badge-btn {
  background: white;
  color: #0066ff;
  border: none;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
}

/* main heading */
.hero-title {
  font-size: 40px;
  font-weight: 600;
  line-height: 1.2;
}

.hero-text {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-top: 15px;
}

/* buttons */
.btn-primary-custom {
  background: #0066ff;
  color: white;
  border: none;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 500;
}
ul {
  list-style: disc;
}
ul li {
  line-height: 2.4rem;
}

/* Practice Area */
.portfolio-section {
  padding: 80px 0;
  background: off-white;
}

/* HEADER */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 30px;
}

.header-content {
  max-width: 600px;
}

.badge-btn {
  border: none;
  background: #ffffff;
  padding: 10px 18px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.badge-btn img {
  width: 18px;
  height: 18px;
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
}

.section-desc {
  font-size: 1.05rem;
  color: #6c757d;
  margin: 0;
}

/* ARROWS */
.carousel-buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.custom-btn {
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background: #0066ff;
  color: #fff;
  font-size: 22px;
  transition: 0.3s;
}

.custom-btn:hover {
  background: #0066ff;
}

/* CARDS */
 .carousel-wrapper {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

 /* CARD BASE  */
.team-card {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  cursor: pointer;
  margin: 10px;
}

.team-card img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  transition: 0.5s;
}

.team-card:hover img {
  transform: scale(1.05);
}
/* OVERLAY  */
.overlay {
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 15px;
  background: rgba(245, 246, 247, 0.5);
  backdrop-filter: blur(8px);
  color: #000;
  padding: 25px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 1;
  text-align: center;
}

.overlay h6 {
  margin-bottom: 10px;
  font-weight: 700;
}

.overlay p {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 30px;
  }
  .hero-practice-container {
    flex-direction: column-reverse;
  }
  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-title {
    font-size: 2rem;
  }

  .carousel-buttons {
    margin-top: 10px;
  }
}
@media (min-width: 992px) {
  .team-card {
    min-width: 23%; /* 4 cards */
  }
}

@media (max-width: 991px) {
  .team-card {
    min-width: 94%; /* 1 card */
  }
}
