/* Practice Areas Page Styles */

.pg-practice-areas-wrapper {
  background-color: #ffffff;
  color: #1b263b;
}

/* Practice Hero Section */
.pg-practice-hero {
  min-height: 50vh;
  position: relative;
  color: #f8f9fa;
}

.practice-hero-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.practice-hero-overlay-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(5, 27, 53, 0.85) 0%, rgba(5, 27, 53, 0.7) 50%, rgba(5, 27, 53, 0.3) 100%);
  z-index: 2;
}

.practice-hero-tag {
  font-size: 26px;
  color: #c59d5f;
  text-transform: none;
}

.practice-hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-transform: none;
}

.practice-hero-para {
  font-size: 1.2rem;
  line-height: 1.6;
  opacity: 0.95;
  font-weight: 600;
}

/* ===================================
   993px - 1199px (Small Desktop / Large Laptop)
   =================================== */
@media (min-width: 993px) and (max-width: 1199px) {
  .pg-practice-hero {
    min-height: 42vh;
    padding: 3.5rem 0 !important;
  }

  .practice-hero-tag {
    font-size: 21px;
  }

  .practice-hero-title {
    font-size: 2.7rem;
  }

  .practice-hero-para {
    font-size: 1.05rem;
  }
}

/* ===================================
   768px - 992px (Tablet)
   =================================== */
@media (min-width: 768px) and (max-width: 992px) {
  .pg-practice-hero {
    min-height: auto;
    padding: 3rem 0 !important;
  }

  .practice-hero-overlay-gradient {
    background: linear-gradient(to right, rgba(5, 27, 53, 0.9) 0%, rgba(5, 27, 53, 0.75) 60%, rgba(5, 27, 53, 0.45) 100%);
  }

  .practice-hero-tag {
    font-size: 18px;
    margin-bottom: 10px !important;
  }

  .practice-hero-title {
    font-size: 2.1rem;
    margin-bottom: 12px !important;
  }

  .practice-hero-para {
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .practice-hero-para br {
    display: none;
  }
}

/* ===================================
   576px - 767px (Large Mobile)
   =================================== */
@media (min-width: 576px) and (max-width: 767px) {
  .pg-practice-hero {
    min-height: auto;
    padding: 2.5rem 0 !important;
  }

  .practice-hero-overlay-gradient {
    background: linear-gradient(to bottom, rgba(5, 27, 53, 0.55) 0%, rgba(5, 27, 53, 0.9) 70%);
  }

  .practice-hero-tag {
    font-size: 16px;
    margin-bottom: 8px !important;
  }

  .practice-hero-title {
    font-size: 1.7rem;
    line-height: 1.25;
    margin-bottom: 10px !important;
  }

  .practice-hero-para {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .practice-hero-para br {
    display: none;
  }
}

/* ===================================
   Max 575px (Small Mobile)
   =================================== */
@media (max-width: 575px) {
  .pg-practice-hero {
    min-height: 30vh;
    padding: 2rem 0 !important;
  }

  /* .practice-hero-overlay-gradient {
    background: linear-gradient(to bottom, rgba(5, 27, 53, 0.6) 0%, rgba(5, 27, 53, 0.92) 65%);
  } */

  .practice-hero-tag {
    font-size: 13.5px;
    margin-bottom: 6px !important;
    letter-spacing: 0.01em;
  }

  .practice-hero-title {
    font-size: 1.4rem;
    line-height: 1.3;
    margin-bottom: 8px !important;
  }

  .practice-hero-para {
    font-size: 0.82rem;
    line-height: 1.5;
  }

  .practice-hero-para br {
    display: none;
  }
}

/* Grid Header */
.practice-main-title {
  font-size: 60px;
  color: #051b35;
}

.practice-grid-header-desc {
  font-size: 24px;
  line-height: 1.55;
  color: #000000 !important;
  font-weight: 500;
  display: inline-block;
  text-align: left;
}

.practice-detail-card {
  background: #ffffff;
  border: 1.5px solid #c59d5f;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.02);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.practice-detail-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(5, 27, 53, 0.08);
}

.practice-num-tab {
  background: #051b35;
  color: #ffffff;
  width: 85px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  font-weight: 800;
  border-top-left-radius: 18px;
  border-bottom-right-radius: 18px;
  border-top-right-radius: 0;
  border-bottom-left-radius: 0;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  margin-top: -24px; /* Align to the top-left edge inside card padding */
  margin-left: -24px;
}

.practice-card-title {
  font-size: 30px;
  color: #051b35;
  line-height: 1.3;
}

.practice-card-text {
  font-size: 24px;
  line-height: 1.6;
  color: #000000 !important;
  font-weight: 600;
}

/* Explore More Full Width Bottom Bar */
.explore-more-bar {
  background-color: #051b35;
  color: #e3ae57;
  border-top: 1px solid rgba(197, 157, 95, 0.15);
  padding: 14px 0;
  font-weight: 700;
  font-size: 26px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: block;
}

.explore-more-bar:hover {
  background-color: #e3ae57;
  color: #051b35;
}

/* ===================================
   993px - 1199px (Small Desktop / Large Laptop)
   =================================== */
@media (min-width: 993px) and (max-width: 1199px) {
  .practice-main-title {
    font-size: 42px;
  }

  .practice-grid-header-desc {
    font-size: 18px;
  }

  .practice-num-tab {
    width: 64px;
    height: 56px;
    font-size: 44px;
    margin-top: -18px;
    margin-left: -18px;
  }

  .practice-card-title {
    font-size: 22px;
  }

  .practice-card-text {
    font-size: 17px;
  }

  .explore-more-bar {
    font-size: 18px;
    padding: 12px 0;
  }
}

/* ===================================
   768px - 992px (Tablet)
   =================================== */
@media (min-width: 768px) and (max-width: 992px) {
  .pg-practice-areas-grid-section {
    padding: 3rem 0 !important;
  }

  .col-lg-6.text-center {
    text-align: left !important;
  }

  .practice-main-title {
    font-size: 32px;
  }

  .practice-grid-header-desc {
    font-size: 16px;
    margin-top: 12px;
  }

  .practice-card-content {
    padding: 20px !important;
  }

  .practice-card-content .d-flex.align-items-center.gap-3 {
    gap: 14px !important;
  }

  .practice-num-tab {
    width: 52px;
    height: 46px;
    font-size: 30px;
    margin-top: -20px;
    margin-left: -20px;
    border-top-left-radius: 14px;
    border-bottom-right-radius: 14px;
  }

  .practice-card-title {
    font-size: 19px;
  }

  .practice-card-text {
    font-size: 15px;
    line-height: 1.5;
  }

  .explore-more-bar {
    font-size: 16px;
    padding: 12px 0;
  }
}

/* ===================================
   576px - 767px (Large Mobile)
   =================================== */
@media (min-width: 576px) and (max-width: 767px) {
  .pg-practice-areas-grid-section {
    padding: 2.5rem 0 !important;
  }

  .col-lg-6.text-center {
    text-align: left !important;
  }

  .practice-main-title {
    font-size: 25px;
  }

  .practice-grid-header-desc {
    font-size: 14.5px;
    margin-top: 10px;
    line-height: 1.5;
  }

  .row.g-4 {
    row-gap: 16px !important;
  }

  .practice-detail-card {
    border-radius: 14px;
  }

  .practice-card-content {
    padding: 18px !important;
  }

  .practice-card-content .d-flex.align-items-center.gap-3 {
    gap: 12px !important;
    margin-bottom: 10px !important;
  }

  .practice-num-tab {
    width: 44px;
    height: 40px;
    font-size: 24px;
    margin-top: -18px;
    margin-left: -18px;
    border-top-left-radius: 12px;
    border-bottom-right-radius: 12px;
  }

  .practice-card-title {
    font-size: 16.5px;
  }

  .practice-card-text {
    font-size: 13.5px;
    line-height: 1.5;
  }

  .explore-more-bar {
    font-size: 14px;
    padding: 11px 0;
  }
}

/* ===================================
   Max 575px (Small Mobile)
   =================================== */
@media (max-width: 575px) {
  .pg-practice-areas-grid-section {
    padding: 2rem 0 !important;
  }

  .col-lg-6.text-center {
    text-align: left !important;
  }

  .practice-main-title {
    font-size: 21px;
  }

  .practice-grid-header-desc {
    font-size: 13px;
    margin-top: 8px;
    line-height: 1.5;
  }

  /* .row.g-4 {
    row-gap: 14px !important;
  } */

  .practice-detail-card {
    border-radius: 12px;
  }

  .practice-card-content {
    padding: 16px !important;
  }

  .practice-card-content .d-flex.align-items-center.gap-3 {
    gap: 10px !important;
    margin-bottom: 8px !important;
  }

  .practice-num-tab {
    width: 38px;
    height: 34px;
    font-size: 19px;
    margin-top: -16px;
    margin-left: -16px;
    border-top-left-radius: 10px;
    border-bottom-right-radius: 10px;
  }

  .practice-card-title {
    font-size: 14.5px;
    line-height: 1.35;
  }

  .practice-card-text {
    font-size: 12.5px;
    line-height: 1.5;
  }

  .explore-more-bar {
    font-size: 12.5px;
    padding: 10px 0;
    letter-spacing: 0.02em;
  }
}