/* ============================================================
   Legal Page Styles  –  Primary: #004FB5
   ============================================================ */

/* ---- Hero ---- */
.legal-hero {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-bottom: 52px;
  padding-top: 100px;
}

.legal-hero .hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('./assets/images/legal/Banner.png');
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  z-index: 0;
}

.legal-hero .container { position: relative; z-index: 1; }

.legal-breadcrumb {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 14px;
}

.legal-breadcrumb a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
}

.legal-breadcrumb a:hover { color: #004FB5; }

.legal-breadcrumb span { margin: 0 6px; }

.legal-hero-tag {
  display: inline-block;
  background: rgba(0,79,181,0.15);
  border: 1px solid rgba(0,79,181,0.35);
  color: #5b9cf6;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.legal-hero h1 {
  font-size: 46px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.18;
}

.legal-hero p {
  color: rgba(255,255,255,0.72);
  font-size: 16px;
  max-width: 540px;
  margin: 0;
}

/* ---- Commitment Section ---- */
.legal-commitment {
  padding: 80px 0;
  background: #fff;
}

.legal-commitment .lc-tag {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #004FB5;
  margin-bottom: 12px;
}

.legal-commitment h2 {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.2;
  color: #1a1a1a;
  margin-bottom: 16px;
}

.legal-commitment h2 .accent { color: #004FB5; }

.legal-commitment p {
  color: #555;
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 28px;
}

.lc-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.btn-lc-primary {
  background: #004FB5;
  color: #fff;
  padding: 12px 28px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  display: inline-block;
}

.btn-lc-primary:hover { background: #003d8f; color: #fff; }

.btn-lc-outline {
  background: transparent;
  color: #004FB5;
  padding: 12px 28px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid #004FB5;
  transition: all 0.2s;
  display: inline-block;
}

.btn-lc-outline:hover { background: #004FB5; color: #fff; }

/* Stats 2x2 grid */
.lc-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  height: 100%;
  align-content: center;
}

.lc-stat-box {
  background: #f0f5ff;
  border: 1px solid #c5d9f5;
  border-radius: 10px;
  padding: 24px 20px;
  text-align: center;
}

.lc-stat-box .stat-val {
  font-size: 30px;
  font-weight: 800;
  color: #1e1e1e;
  line-height: 1;
  margin-bottom: 6px;
}

.lc-stat-box .stat-val span { color: #004FB5; }

.lc-stat-box .stat-key {
  font-size: 12px;
  color: #666;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ---- Legal Documents Section ---- */
.legal-docs-section {
  padding: 80px 0;
  background: #f8f9fc;
}

.legal-docs-section .ld-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #004FB5;
  margin-bottom: 10px;
}

.doc-card {
  background: #fff;
  border: 1px solid #e4ecf8;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: box-shadow 0.25s, transform 0.25s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.doc-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
  transform: translateY(-3px);
}

.doc-card .doc-preview {
  height: 180px;
  overflow: hidden;
  background: #f4f4f4;
  display: flex;
  align-items: center;
  justify-content: center;
}

.doc-card .doc-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.doc-card .doc-preview.icon-only {
  background: #eef4ff;
  flex-direction: column;
  gap: 10px;
}

.doc-card .doc-preview.icon-only .doc-icon {
  font-size: 42px;
  color: #004FB5;
  opacity: 0.7;
}

.doc-card .doc-info {
  padding: 14px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.doc-card .doc-name {
  font-size: 13.5px;
  font-weight: 600;
  color: #1e1e1e;
  margin-bottom: 10px;
  line-height: 1.3;
}

.doc-card .doc-link {
  font-size: 12px;
  font-weight: 700;
  color: #004FB5;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s;
}

.doc-card .doc-link:hover { color: #003d8f; text-decoration: underline; }

.doc-card .doc-tag {
  display: inline-block;
  background: #eef4ff;
  color: #004FB5;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 12px;
  margin-bottom: 6px;
}

/* ---- Sale Deed carousel zoom overlay ---- */
.saledeed_slider .thumb {
  position: relative;
  overflow: hidden;
}

.saledeed_slider .thumb a {
  display: block;
  cursor: zoom-in;
}

.saledeed-zoom-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 28px;
  opacity: 0;
  transition: all 0.3s ease;
}

.saledeed_slider .thumb:hover .saledeed-zoom-overlay {
  background: rgba(0, 0, 0, 0.55);
  opacity: 1;
}

/* ---- Sale Deed / Verified Purchases Section ---- */
.legal-saledeed-section {
  padding: 80px 0;
  background: #fff;
}

.legal-saledeed-section .sd-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #004FB5;
  margin-bottom: 10px;
}

/* ---- Process Section ---- */
.legal-process-section {
  padding: 80px 0;
  background: #f8f9fc;
}

.legal-process-section .lp-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #004FB5;
  margin-bottom: 10px;
}

.process-card {
  background: #fff;
  border: 1px solid #e4ecf8;
  border-radius: 12px;
  padding: 28px 24px;
  height: 100%;
  transition: box-shadow 0.25s, border-color 0.25s;
  position: relative;
}

.process-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.09);
  border-color: #a8c5eb;
}

.process-step-num {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 42px;
  font-weight: 900;
  color: rgba(0,79,181,0.07);
  line-height: 1;
}

.process-icon {
  width: 52px;
  height: 52px;
  background: #eef4ff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: #004FB5;
  font-size: 22px;
}

.process-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: #1e1e1e;
  margin-bottom: 8px;
}

.process-card p {
  font-size: 13px;
  color: #666;
  line-height: 1.7;
  margin: 0;
}

/* ---- Documents List + Land Trading ---- */
.legal-docs-list-section {
  padding: 80px 0;
  background: #fff;
}

.docs-list-col .dl-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #004FB5;
  display: block;
  margin-bottom: 12px;
}

.docs-list-col h2 {
  font-size: 28px;
  font-weight: 800;
  color: #1e1e1e;
  margin-bottom: 24px;
  line-height: 1.25;
}

.docs-list-col h2 .accent { color: #004FB5; }

.key-docs-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.key-docs-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #444;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
  line-height: 1.5;
}

.key-docs-list li:last-child { border-bottom: none; }

.key-docs-list li .check {
  width: 20px;
  height: 20px;
  background: #eef4ff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #004FB5;
  font-size: 10px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Land Trading column */
.land-trading-col .lt-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #004FB5;
  display: block;
  margin-bottom: 12px;
}

.land-trading-col h2 {
  font-size: 28px;
  font-weight: 800;
  color: #1e1e1e;
  margin-bottom: 14px;
  line-height: 1.25;
}

.land-trading-col h2 .accent { color: #004FB5; }

.land-trading-col > p {
  color: #555;
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 22px;
}

.land-trading-col .need-help-label {
  font-size: 12px;
  font-weight: 700;
  color: #888;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.btn-request-consult {
  display: block;
  width: 100%;
  text-align: center;
  background: #111827;
  color: #fff;
  padding: 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  margin-bottom: 18px;
}

.btn-request-consult:hover { background: #000; color: #fff; }

.buyer-advisory-box {
  background: #f0f5ff;
  border: 1px solid #b8d0f0;
  border-radius: 10px;
  padding: 20px 20px;
}

.buyer-advisory-box .ba-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.buyer-advisory-box .ba-icon {
  width: 36px;
  height: 36px;
  background: #eef4ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #004FB5;
  font-size: 16px;
  flex-shrink: 0;
}

.buyer-advisory-box .ba-title {
  font-size: 14px;
  font-weight: 700;
  color: #1e1e1e;
}

.buyer-advisory-box p {
  font-size: 13px;
  color: #666;
  line-height: 1.7;
  margin: 0;
}

/* ---- CTA Section ---- */
.legal-cta-section {
  background: #111827;
  padding: 60px 0;
  text-align: center;
}

.legal-cta-section h2 {
  font-size: 30px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}

.legal-cta-section p {
  color: rgba(255,255,255,0.65);
  font-size: 15px;
  margin-bottom: 28px;
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
  .legal-hero h1 { font-size: 34px; }
  .lc-stats-grid { margin-top: 40px; }
  .legal-commitment h2 { font-size: 26px; }
}

@media (max-width: 767px) {
  .legal-hero h1 { font-size: 26px; }
  .lc-stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .lc-stat-box .stat-val { font-size: 24px; }
  .legal-docs-list-section .land-trading-col { margin-top: 50px; }
}
