/* ================================================================
   D&D Advocates — Main Stylesheet
   Organized: Tokens → Base → Components → Pages → Responsive
   ================================================================ */

/* ────────────────────────────────────────────────────────────────
   1. DESIGN TOKENS
   ──────────────────────────────────────────────────────────────── */
:root {
  --blue:        #1058A7;
  --blue-dark:   #0b3d7a;
  --gold:        #C9A84C;
  --dark:        #111827;
  --body-text:   #374151;
  --muted:       #6B7280;
  --border:      #E5E7EB;
  --bg-light:    #F9FAFB;
  --shadow-sm:   0 1px 6px rgba(0,0,0,0.07);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.10);
}

/* ────────────────────────────────────────────────────────────────
   2. BASE & TYPOGRAPHY
   ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--body-text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: var(--dark);
  margin-bottom: 0;
}

a { color: inherit; }

p:last-child { margin-bottom: 0; }

/* ────────────────────────────────────────────────────────────────
   3. SECTION UTILITIES
   ──────────────────────────────────────────────────────────────── */
.sec-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.55rem;
}

.sec-title {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.22;
  margin-bottom: 0.9rem;
}

.sec-rule {
  width: 44px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 1.4rem;
}

.sec-desc {
  font-size: 0.94rem;
  color: var(--muted);
  line-height: 1.85;
  text-align: justify;
/*   max-width: 560px; */
}

/* .vis {
	text-align: justify;
} */

/* ────────────────────────────────────────────────────────────────
   4. BUTTONS
   ──────────────────────────────────────────────────────────────── */
.btn-primary-solid {
  display: inline-block;
  padding: 0.72rem 2rem;
  background: var(--blue);
  color: #fff;
  border: 1px solid var(--blue);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.22s, border-color 0.22s;
}
.btn-primary-solid:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: #fff;
}

.btn-dark-solid {
  display: inline-block;
  padding: 0.72rem 2rem;
  background: var(--dark);
  color: #fff;
  border: 1px solid var(--dark);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.22s;
}
.btn-dark-solid:hover { background: #1f2937; color: #fff; }

.btn-outline-blue {
  display: inline-block;
  padding: 0.72rem 2rem;
  background: transparent;
  color: var(--blue);
  border: 1px solid var(--blue);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.22s, color 0.22s;
}
.btn-outline-blue:hover { background: var(--blue); color: #fff; }

.btn-outline-light-hero {
  display: inline-block;
  padding: 0.72rem 2rem;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.55);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.22s, border-color 0.22s;
}
.btn-outline-light-hero:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
  color: #fff;
}

.btn-cta-white {
  display: inline-block;
  padding: 0.78rem 2.2rem;
  background: #fff;
  color: var(--blue);
  border: 1px solid #fff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.22s, color 0.22s, border-color 0.22s;
}
.btn-cta-white:hover { background: var(--dark); border-color: var(--dark); color: #fff; }

/* ────────────────────────────────────────────────────────────────
   5. DISCLAIMER MODAL
   ──────────────────────────────────────────────────────────────── */
.disclaimer-modal .modal-content {
  border: 1px solid var(--border);
  border-radius: 0;
  box-shadow: 0 12px 48px rgba(0,0,0,0.18);
}
.disclaimer-modal .modal-header {
  background: var(--dark);
  border-bottom: 2px solid var(--gold);
  border-radius: 0;
  padding: 1.3rem 1.8rem;
}
.disclaimer-modal .modal-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: #fff;
  font-weight: 600;
}
.disclaimer-modal .modal-body {
  padding: 2rem 1.8rem;
  font-size: 0.875rem;
  line-height: 1.85;
  color: var(--body-text);
}
.disclaimer-modal .modal-body ul { padding-left: 1.4rem; margin-bottom: 0; }
.disclaimer-modal .modal-body ul li { margin-bottom: 0.55rem; }
.disclaimer-modal .modal-footer {
  padding: 1rem 1.8rem;
  border-top: 1px solid var(--border);
  gap: 0.75rem;
}
.btn-agree {
  padding: 0.6rem 2rem;
  background: var(--blue);
  color: #fff;
  border: 1px solid var(--blue);
  border-radius: 0;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.2s;
}
.btn-agree:hover { background: var(--blue-dark); color: #fff; }
.btn-decline {
  padding: 0.6rem 1.6rem;
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 0;
  font-size: 0.82rem;
  transition: border-color 0.2s;
}
.btn-decline:hover { border-color: var(--muted); }

/* ────────────────────────────────────────────────────────────────
   6. TOP BAR
   ──────────────────────────────────────────────────────────────── */
.top-bar {
  background: var(--dark);
  color: rgba(255,255,255,0.68);
  font-size: 16px;
  padding: 12px;
}
.top-bar a {
  color: rgba(255,255,255,0.68);
  text-decoration: none;
  transition: color 0.2s;
}
.top-bar a:hover { color: var(--gold); }
.top-bar .sep { margin: 0 0.8rem; opacity: 0.28; }

/* ────────────���───────────────────────────────────────────────────
   7. NAVBAR
   ──────────────────────────────────────────────────────────────── */
.navbar-main {
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 0;
}
.navbar-main .container { min-height: 72px; }
.masa-service-logo img { height: 95px; width:auto; }

.nav-link-main {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--dark) !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.5rem 0.9rem !important;
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}
.nav-link-main::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0.9rem;
  right: 0.9rem;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform 0.22s;
}
.nav-link-main:hover { color: var(--blue) !important; }
.nav-link-main:hover::after,
.nav-link-main.active-link::after { transform: scaleX(1); }
.nav-link-main.active-link { color: var(--blue) !important; }

/* ────────────────────────────────────────────────────────────────
   8. PAGE BANNER (inner pages)
   ──────────────────────────────────────────────────────────────── */
.page-banner {
  background: var(--dark);
  padding: 58px 0 52px;
  border-bottom: 3px solid var(--gold);
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 38%;
  height: 100%;
  background: rgba(255,255,255,0.02);
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
}
.page-banner-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.55rem;
  display: block;
}
.page-banner-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.breadcrumb-wrap .breadcrumb {
  margin: 0;
  background: transparent;
  padding: 0;
}
.breadcrumb-wrap .breadcrumb-item {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
}
.breadcrumb-wrap .breadcrumb-item a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb-wrap .breadcrumb-item a:hover { color: #fff; }
.breadcrumb-wrap .breadcrumb-item.active { color: var(--gold); }
.breadcrumb-wrap .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255,255,255,0.25);
  content: "/";
}

/* ────────────────────────────────────────────────────────────────
   9. QUICK INFO BAR
   ──────────────────────────────────────────────────────────────── */
.quick-bar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.qb-item {
  padding: 1.35rem 1.8rem;
  border-right: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.qb-item:last-child { border-right: none; }
.qb-icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 1rem;
  flex-shrink: 0;
}
.qb-label {
  font-size: 0.7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 0.15rem;
}
.qb-value {
  font-size: 0.86rem;
  color: var(--dark);
  font-weight: 500;
}
.qb-value a { text-decoration: none; color: var(--dark); transition: color 0.2s; }
.qb-value a:hover { color: var(--blue); }

/* ────────────────────────────────────────────────────────────────
   10. STAT CARDS
   ──────────────────────────────────────────────────────────────── */
.stat-card {
  border: 1px solid var(--border);
  padding: 1.6rem 1.4rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.22s, transform 0.22s;
}
.stat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.stat-lbl {
  font-size: 0.74rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Tribunals / Tags box */
.tribunals-box {
  border: 1px solid var(--border);
  background: var(--bg-light);
  padding: 1.1rem 1.3rem;
  margin-top: 0.75rem;
}
.tribunals-box .tb-head {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  margin-bottom: 0.6rem;
}
.tribunals-box .tb-list {
  font-size: 0.8rem;
  color: var(--body-text);
  line-height: 1.9;
}

/* ────────────────────────────────────────────────────────────────
   11. PRACTICE AREA CARDS
   ──────────────────────────────────────────────────────────────── */
.practice-card {
  background: #fff;
  border: 1px solid var(--border);
  padding: 1.5rem;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.22s, transform 0.22s;
  position: relative;
  overflow: hidden;
}
.practice-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 0;
  background: var(--blue);
  transition: height 0.3s;
}
.practice-card:hover::before { height: 100%; }
.practice-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.pc-icon {
  width: 42px; height: 42px;
  border: 1px solid var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 1.05rem;
  margin-bottom: 0.9rem;
  flex-shrink: 0;
}
.practice-card h5 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.45rem;
}
.practice-card p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
  text-align:left;
}

/* ────────────────────────────────────────────────────────────────
   12. TEAM CARDS
   ──────────────────────────────────────────────────────────────── */
.team-card {
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.22s;
  height: 100%;
}
.team-card:hover { box-shadow: var(--shadow-md); }
.team-card img {
  width: 100%;
  height: 290px;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.tc-info {
  padding: 1.3rem 1.4rem;
  border-top: 1px solid var(--border);
}
.tc-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.2rem;
}
.tc-role {
  font-size: 0.74rem;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.55rem;
}
.tc-bio {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
  text-align:justify;
}

/* Team photo placeholder (no image available) */
.team-photo-placeholder {
  width: 100%;
  height: 290px;
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--muted);
}
.team-photo-placeholder i { font-size: 3.5rem; margin-bottom: 0.5rem; opacity: 0.4; }

/* Team detail card (team page) */
.team-detail-card {
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  height: 100%;
}
.team-detail-card img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.tdc-body { padding: 2rem 1.8rem; }
.tdc-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.2rem;
}
.tdc-role {
  font-size: 0.76rem;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.2rem;
}
.tdc-rule {
  width: 36px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 1.2rem;
}
.tdc-bio {
  font-size: 0.88rem;
  color: var(--body-text);
  line-height: 1.85;
  text-align:justify;
}

/* ────────────────────────────────────────────────────────────────
   13. WHY US SECTION (dark bg)
   ──────────────────────────────────────────────────────────────── */
.why-sec { padding: 35px 0; background: var(--dark); }
.why-sec .sec-label { color: var(--gold); }
.why-sec .sec-title { color: #fff; }
.why-sec .sec-rule { background: var(--gold); }

.why-card {
  border: 1px solid rgba(255,255,255,0.1);
  padding: 1.8rem;
  height: 100%;
  transition: border-color 0.22s;
}
.why-card:hover { border-color: rgba(255,255,255,0.22); }
.why-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.9rem;
}
.why-card h5 { color: #fff; font-size: 0.98rem; margin-bottom: 0.55rem; }
.why-card p { font-size: 0.83rem; color: rgba(255,255,255,0.5); line-height: 1.75; margin: 0; }

/* ────────────────────────────────────────────────────────────────
   14. CTA STRIP
   ──────────────────────────────────────────────────────────────── */
.cta-sec {
  padding: 68px 0;
  background: var(--blue);
  border-top: 3px solid var(--gold);
}
.cta-sec h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.15rem); margin-bottom: 0.4rem; }
.cta-sec p { color: rgba(255,255,255,0.72); font-size: 0.93rem; margin: 0; }

/* ────────────────────────────────────────────────────────────────
   15. HERO CAROUSEL (index only)
   ──────────────────────────────────────────────────────────────── */
.hero-wrap { position: relative; }
.hero-slide {
  height: 65vh;
  min-height: 440px;
  position: relative;
  overflow: hidden;
}
.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 9s ease;
}
.carousel-item.active .slide-bg { transform: scale(1.05); }
.slide-overlay {
  position: absolute;
  inset: 0;
  background: rgb(8 16 32 / 10%);
}
.slide-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: center;
}
.slide-tag {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.32rem 0.9rem;
  margin-bottom: 1.15rem;
}
.slide-h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.1rem, 5.2vw, 3.75rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.17;
  margin-bottom: 1.2rem;
}
.slide-h1 em { color: var(--gold); font-style: italic; }
.slide-p {
  font-size: 1rem;
  color: rgba(255,255,255,0.78);
  max-width: 510px;
  line-height: 1.75;
  margin-bottom: 2rem;
  font-weight: 300;
}
.slide-btns { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.carousel-control-prev,
.carousel-control-next {
  width: 50px;
  height: 50px;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid rgba(255,255,255,0.38);
  background: rgba(255,255,255,0.06);
  border-radius: 0;
  opacity: 1;
  transition: background 0.22s, border-color 0.22s;
}
.carousel-control-prev { left: 2.5rem; }
.carousel-control-next { right: 2.5rem; }
.carousel-control-prev:hover,
.carousel-control-next:hover { background: var(--blue); border-color: var(--blue); }
.carousel-control-prev-icon,
.carousel-control-next-icon { width: 17px; height: 17px; }

.carousel-indicators { bottom: 1.8rem; margin-bottom: 0; }
.carousel-indicators [data-bs-target] {
  width: 26px;
  height: 2px;
  background: rgba(255,255,255,0.45);
  border: none;
  border-radius: 0;
  margin: 0 4px;
  transition: width 0.3s, background 0.3s;
}
.carousel-indicators .active { background: var(--gold); width: 46px; }

.slide-counter {
  position: absolute;
  bottom: 2.1rem;
  right: 3rem;
  color: rgba(255,255,255,0.45);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  z-index: 10;
}
.slide-counter strong { color: #fff; font-weight: 600; }

/* ────────────────────────────────────────────────────────────────
   16. ABOUT PAGE
   ──────────────────────────────────────────────────────────────── */
.about-sec { padding: 35px 0; background: #fff; }
.about-body-sec { padding: 80px 0; text-align:justify; }

.info-block {
  border-left: 3px solid var(--gold);
  padding-left: 1.4rem;
  margin-bottom: 1.8rem;
}
.info-block h5 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.4rem;
}
.info-block p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.8;
  margin: 0;
}

.client-tag {
  display: inline-block;
  border: 1px solid var(--border);
  padding: 0.38rem 0.9rem;
  font-size: 0.78rem;
  color: var(--body-text);
  margin: 0.2rem;
  transition: border-color 0.2s, color 0.2s;
}
.client-tag:hover { border-color: var(--blue); color: var(--blue); }

.court-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}
.court-item:last-child { border-bottom: none; }
.court-item i { color: var(--blue); margin-top: 0.12rem; flex-shrink: 0; }
.court-item span { font-size: 0.88rem; color: var(--body-text); }

/* ────────────────────────────────────────────────────────────────
   17. PRACTICE AREAS PAGE
   ──────────────────────────────────────────────────────────────── */
.practice-sec { padding: 35px 0; background: var(--bg-light); }
.practice-page-sec { padding: 80px 0; background: var(--bg-light); }

/* ────────────────────────────────────────────────────────────────
   18. CONTACT PAGE
   ──────────────────────────────────────────────────────────────── */
.contact-sec { padding: 80px 0; }

.office-card {
  border: 1px solid var(--border);
  padding: 2rem;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.22s;
}
.office-card:hover { box-shadow: var(--shadow-md); }
.office-card .office-tag {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.28rem 0.8rem;
  margin-bottom: 1.2rem;
}
.office-card h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
}
.office-detail {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.85rem;
}
.office-detail i { color: var(--blue); font-size: 0.9rem; margin-top: 0.14rem; flex-shrink: 0; }
.office-detail span { font-size: 0.86rem; color: var(--body-text); line-height: 1.65; }
.office-detail a { color: var(--body-text); text-decoration: none; transition: color 0.2s; }
.office-detail a:hover { color: var(--blue); }

/* Contact Form */
.contact-form-wrap {
  border: 1px solid var(--border);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  background: #fff;
}
.contact-form-wrap .form-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--dark);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.contact-form-wrap .form-control,
.contact-form-wrap .form-select {
  border: 1px solid var(--border);
  border-radius: 0;
  font-size: 0.88rem;
  color: var(--body-text);
  padding: 0.65rem 0.9rem;
  box-shadow: none;
  transition: border-color 0.22s;
}
.contact-form-wrap .form-control:focus,
.contact-form-wrap .form-select:focus {
  border-color: var(--blue);
  box-shadow: none;
}
.contact-form-wrap textarea.form-control { resize: vertical; min-height: 130px; }

/* ────────────────────────────────────────────────────────────────
   19. FOOTER
   ──────────────────────────────────────────────────────────────── */
.footer-main { background: #0c1322; color: rgba(255,255,255,0.55); padding: 40px 0 0; }
.footer-logo { height: 52px; margin-bottom: 1.1rem; }
.footer-tagline { font-size: 0.84rem; line-height: 1.8;}
.footer-heading {
  font-family: 'Inter', sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.3rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.55rem; }
.footer-links a {
  color: rgba(255,255,255,0.52);
  text-decoration: none;
  font-size: 0.84rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }
.footer-contact-row {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  align-items: flex-start;
}
.footer-contact-row i { color: var(--blue); font-size: 0.88rem; margin-top: 0.18rem; flex-shrink: 0; }
.footer-contact-row span { font-size: 0.82rem; line-height: 1.65; }
.footer-contact-row a { color: rgba(255,255,255,0.52); text-decoration: none; transition: color 0.2s; }
.footer-contact-row a:hover { color: var(--gold); }
.footer-bottom {
  margin-top: 3rem;
  padding: 1.2rem 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.76rem;
}
.footer-bottom a { color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.2s; }
.footer-bottom a:hover { color: var(--gold); }

/* ────────────────────────────────────────────────────────────────
   20. SCROLL ANIMATIONS
   ──────────────────────────────────────────────────────────────── */
.fu {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.52s ease, transform 0.52s ease;
}
.fu.vis { opacity: 1; transform: translateY(0); }

/* ────────────────────────────────────────────────────────────────
   21. RESPONSIVE
   ──────────────────────────────────────────────────────────────── */
@media (max-width: 991px) {
  .hero-slide { height: 72vh; min-height: 480px; }
  .carousel-control-prev { left: 1rem; }
  .carousel-control-next { right: 1rem; }
  .qb-item { border-right: none; border-bottom: 1px solid var(--border); }
  .about-sec, .practice-sec, .team-sec, .why-sec, .practice-page-sec,
  .about-body-sec, .contact-sec { padding: 64px 0; }
  .contact-form-wrap { padding: 1.8rem; }
}

@media (max-width: 767px) {
  .hero-slide { height: 50vh; }
  .slide-h1 { font-size: 1.85rem; }
  .slide-p { font-size: 0.9rem; }
  .navbar-brand img { height: 60px; }
  .page-banner { padding: 44px 0 40px; }
  .page-banner-title { font-size: 1.8rem; }
  .about-sec, .practice-sec, .team-sec, .why-sec, .practice-page-sec,
  .about-body-sec, .contact-sec { padding: 52px 0; }
}

/* ────────────────────────────────────────────────────────────────
   22. BLOG — LISTING & DETAIL
   (WordPress-ready: maps to .entry-*, .wp-block-*, archive, single)
   ──────────────────────────────────────────────────────────────── */

/* Layout */
.blog-layout  { padding: 72px 0; background: #fff; }
.blog-sidebar { padding-left: 2rem; }

/* ── Post Card (listing) ──────────────────────────────────────── */
.post-card {
  border: 1px solid var(--border);
  background: #fff;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.22s, transform 0.22s;
}
.post-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.post-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  border-bottom: 1px solid var(--border);
}

.post-card-body {
  padding: 1.4rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
  margin-bottom: 0.75rem;
}
.post-cat {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.22rem 0.7rem;
  text-decoration: none;
}
.post-cat:hover { background: var(--blue-dark); color: #fff; }
.post-date {
  font-size: 0.76rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.post-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 0.6rem;
}
.post-card-title a {
  color: var(--dark);
  text-decoration: none;
  transition: color 0.2s;
}
.post-card-title a:hover { color: var(--blue); }

.post-card-excerpt {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1.1rem;
  flex: 1;
}

.post-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--bg-light);
}
.post-read-more {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--blue);
  text-decoration: none;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap 0.2s;
}
.post-read-more:hover { gap: 0.6rem; color: var(--blue-dark); }
.post-read-time {
  font-size: 0.74rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* ── Featured Post (first/large card) ───────────────────────── */
.post-card-featured .post-card-thumb { height: 320px; }
.post-card-featured .post-card-title { font-size: 1.35rem; }

/* ── Sidebar Widgets ─────────────────────────────────────────── */
.widget {
  border: 1px solid var(--border);
  padding: 1.4rem;
  background: #fff;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.widget-title {
  font-family: 'Inter', sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 1.1rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--gold);
}

/* Category list */
.widget-cat-list { list-style: none; padding: 0; margin: 0; }
.widget-cat-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
}
.widget-cat-list li:last-child { border-bottom: none; }
.widget-cat-list a { color: var(--body-text); text-decoration: none; transition: color 0.2s; }
.widget-cat-list a:hover { color: var(--blue); }
.widget-cat-list .count {
  background: var(--bg-light);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.72rem;
  padding: 0.1rem 0.5rem;
}

/* Recent posts widget */
.widget-recent-post {
  display: flex;
  gap: 0.85rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
}
.widget-recent-post .img-placeholder {
    width: 60px;
    height: 60px;
    object-fit: cover;
    flex-shrink: 0;
}

.widget-recent-post:last-child { border-bottom: none; }
.widget-recent-post img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.widget-recent-post .wrp-title {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--dark);
  line-height: 1.4;
  margin-bottom: 0.25rem;
  text-decoration: none;
  display: block;
  transition: color 0.2s;
}
.widget-recent-post .wrp-title:hover { color: var(--blue); }
.widget-recent-post .wrp-date { font-size: 0.72rem; color: var(--muted); }

/* Tags cloud */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tag-cloud a {
  border: 1px solid var(--border);
  padding: 0.28rem 0.75rem;
  font-size: 0.76rem;
  color: var(--body-text);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.tag-cloud a:hover { border-color: var(--blue); color: var(--blue); }

/* Pagination */
/* Post Pagination */
.post-pagination .nav-links {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
 margin-top:30px;
}

.post-pagination .nav-links a,
.post-pagination .nav-links span {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--body-text);
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

/* Hover */
.post-pagination .nav-links a:hover {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

/* Active Page */
.post-pagination .nav-links .current {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

/* ── Blog Detail / Single Post ───────────────────────────────── */
.single-post { padding: 72px 0; background: #fff; }

/* Post hero image */
.post-hero-img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  display: block;
  border: 1px solid var(--border);
  margin-bottom: 2rem;
}

/* Article header */
.article-header { margin-bottom: 2rem; }
.article-header .post-meta { margin-bottom: 0.85rem; }
.article-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.22;
  color: var(--dark);
  margin-bottom: 1rem;
}
.article-byline {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.byline-avatar img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
}
.byline-name { font-size: 0.85rem; font-weight: 500; color: var(--dark); }
.byline-role { font-size: 0.74rem; color: var(--muted); }

/* Article body typography */
.article-body { font-size: 0.95rem; line-height: 1.9; color: var(--body-text); }
.article-body h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 2rem 0 0.9rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border);
}
.article-body h3 { font-size: 1.2rem; font-weight: 600; margin: 1.6rem 0 0.7rem; }
.article-body p { margin-bottom: 1.2rem; }
.article-body ul, .article-body ol { padding-left: 1.5rem; margin-bottom: 1.2rem; }
.article-body ul li, .article-body ol li { margin-bottom: 0.4rem; }
.article-body blockquote {
  border-left: 3px solid var(--gold);
  padding: 1rem 1.4rem;
  margin: 1.6rem 0;
  background: var(--bg-light);
  font-style: italic;
  color: var(--muted);
  font-size: 1rem;
}
.article-body strong { color: var(--dark); }
.article-body a { color: var(--blue); text-decoration: underline; }

/* Post tags + share */
.post-footer-strip {
  margin-top: 2.5rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
}
.share-label { font-size: 0.76rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; }
.share-icons { display: flex; gap: 0.5rem; }
.share-icon {
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--body-text);
  text-decoration: none;
  font-size: 0.88rem;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.share-icon:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

/* Author box */
.author-box {
  border: 1px solid var(--border);
  padding: 1.6rem;
  display: flex;
  gap: 1.4rem;
  align-items: flex-start;
  margin-top: 2.5rem;
  background: var(--bg-light);
}
.author-box img {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
  flex-shrink: 0;
}
.author-box-name { font-size: 1rem; font-weight: 600; color: var(--dark); margin-bottom: 0.15rem; }
.author-box-role { font-size: 0.74rem; color: var(--blue); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.6rem; }
.author-box-bio { font-size: 0.84rem; color: var(--muted); line-height: 1.75; margin: 0; }

/* Related posts */
.related-posts { padding: 60px 0; background: var(--bg-light); border-top: 1px solid var(--border); }

/* Disclaimer note inside article */
.article-disclaimer {
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  padding: 1rem 1.3rem;
  background: #fff;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 2rem;
}

/*  */
.text-align-justify {
	text-align:justify;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 991px) {
  .blog-sidebar { margin-top: 2.5rem; }
  .post-card-featured .post-card-thumb { height: 240px; }
  .single-post { padding: 52px 0; }
}
