/* ============================================================
   Legal's Depart — Unified Stylesheet
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* --- Design Tokens --- */
:root {
  --bg-ivory: #FAF8F5;
  --surface-gray: #F3F2EF;
  --primary-charcoal: #2F3437;
  --secondary-plum: #5B2A6D;
  --cta-burgundy: #8B1E2D;
  --heading-black: #18181B;
  --body-slate: #5F6368;
  --border-light: #DDD9D4;
  --hover-plum: #472154;
  --success-green: #2F6B45;
  --white: #FFFFFF;
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.07);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.10);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Base Reset --- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  color: var(--body-slate);
  background-color: var(--bg-ivory);
  line-height: 1.7;
  font-size: 16px;
  margin: 0;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--heading-black);
  font-weight: 700;
  line-height: 1.25;
}

a {
  text-decoration: none;
  color: var(--secondary-plum);
  transition: var(--transition);
}
a:hover { color: var(--hover-plum); }

img { max-width: 100%; height: auto; }

/* ============================================================
   NAVBAR
   ============================================================ */
.ld-navbar {
  background: var(--white);
  box-shadow: 0 1px 12px rgba(0,0,0,0.05);
  padding: 12px 0;
  z-index: 1050;
}

.ld-navbar .navbar-brand img {
  height: 46px;
}

.ld-navbar .nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary-charcoal);
  padding: 8px 18px !important;
  position: relative;
  transition: var(--transition);
}

.ld-navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 18px;
  right: 18px;
  height: 2.5px;
  background: var(--secondary-plum);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.ld-navbar .nav-link:hover,
.ld-navbar .nav-link.active {
  color: var(--secondary-plum);
}

.ld-navbar .nav-link:hover::after,
.ld-navbar .nav-link.active::after {
  transform: scaleX(1);
}

.btn-cta-nav {
  background: var(--cta-burgundy);
  color: var(--white) !important;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--cta-burgundy);
  transition: var(--transition);
}
.btn-cta-nav:hover {
  background: transparent;
  color: var(--cta-burgundy) !important;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary-ld {
  background: var(--cta-burgundy);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 14px 32px;
  border: 2px solid var(--cta-burgundy);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
}
.btn-primary-ld:hover {
  background: var(--hover-plum);
  border-color: var(--hover-plum);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary-ld {
  background: var(--secondary-plum);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 12px 28px;
  border: 2px solid var(--secondary-plum);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
}
.btn-secondary-ld:hover {
  background: var(--hover-plum);
  border-color: var(--hover-plum);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-ld {
  background: transparent;
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 12px 28px;
  border: 2px solid var(--white);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
}
.btn-outline-ld:hover {
  background: var(--white);
  color: var(--cta-burgundy);
  transform: translateY(-2px);
}

/* ============================================================
   SECTION UTILITIES
   ============================================================ */
.section-pad {
  padding: 100px 0;
}

.section-pad-sm {
  padding: 70px 0;
}

.section-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--secondary-plum);
  margin-bottom: 12px;
  display: inline-block;
}

.section-title {
  font-size: 2.6rem;
  color: var(--heading-black);
  margin-bottom: 18px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--body-slate);
  max-width: 620px;
  line-height: 1.75;
}

.bg-surface { background-color: var(--surface-gray); }
.bg-ivory   { background-color: var(--bg-ivory); }
.bg-charcoal { background-color: var(--primary-charcoal); }

/* ============================================================
   HERO SECTION (Index)
   ============================================================ */
.hero-section {
  background: linear-gradient(145deg, var(--bg-ivory) 0%, var(--surface-gray) 100%);
  padding: 120px 0 80px;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-headline {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--heading-black);
  margin-bottom: 20px;
}

.hero-headline .highlight {
  color: var(--secondary-plum);
}

.hero-text {
  font-size: 1.1rem;
  color: var(--body-slate);
  margin-bottom: 28px;
  max-width: 500px;
  line-height: 1.8;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 10px;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--primary-charcoal);
  background: var(--white);
  padding: 8px 16px;
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
}

.trust-badge i {
  color: var(--success-green);
  font-size: 1rem;
}

/* Hero Form Card */
.hero-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  position: relative;
}

.hero-form-card::before {
  content: '';
  position: absolute;
  top: -3px; left: -3px; right: -3px; bottom: -3px;
  background: linear-gradient(135deg, var(--secondary-plum), var(--cta-burgundy));
  border-radius: calc(var(--radius-lg) + 3px);
  z-index: -1;
  opacity: 0.15;
}

.hero-form-card h3 {
  font-size: 1.35rem;
  margin-bottom: 6px;
  color: var(--heading-black);
}

.hero-form-card .form-subtitle {
  font-size: 0.88rem;
  color: var(--body-slate);
  margin-bottom: 22px;
}

/* ============================================================
   FORMS
   ============================================================ */
.ld-form .form-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--primary-charcoal);
  margin-bottom: 6px;
}

.ld-form .form-control,
.ld-form .form-select {
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.92rem;
  color: var(--primary-charcoal);
  background: var(--bg-ivory);
  transition: var(--transition);
}

.ld-form .form-control:focus,
.ld-form .form-select:focus {
  border-color: var(--secondary-plum);
  box-shadow: 0 0 0 3px rgba(91, 42, 109, 0.1);
  background: var(--white);
}

.ld-form .form-control.is-invalid,
.ld-form .form-select.is-invalid {
  border-color: var(--cta-burgundy);
  box-shadow: 0 0 0 3px rgba(139, 30, 45, 0.08);
}

.ld-form .invalid-feedback {
  font-size: 0.8rem;
  color: var(--cta-burgundy);
  font-weight: 500;
}

.ld-form .form-control.is-valid {
  border-color: var(--success-green);
}

.phone-input-group {
  display: flex;
  gap: 8px;
}

.phone-input-group .country-select {
  max-width: 120px;
  flex-shrink: 0;
}

.phone-input-group .phone-number {
  flex: 1;
}

/* ============================================================
   PROCESS SECTION (Staggered Cards)
   ============================================================ */
.process-section {
  background: var(--bg-ivory);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
}

.process-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  border: 1px solid var(--border-light);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}


.process-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-plum), var(--cta-burgundy));
  opacity: 0;
  transition: var(--transition);
}

.process-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.process-card:hover::before { opacity: 1; }

.process-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--white);
}

.process-icon.icon-plum    { background: var(--secondary-plum); }
.process-icon.icon-burgundy { background: var(--cta-burgundy); }
.process-icon.icon-green   { background: var(--success-green); }

.process-card h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.process-card p {
  font-size: 0.92rem;
  color: var(--body-slate);
  line-height: 1.7;
}

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.service-card-body {
  padding: 28px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card-body h4 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.service-card-body p {
  font-size: 0.92rem;
  color: var(--body-slate);
  flex: 1;
}

.service-card-body .btn-link-ld {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--secondary-plum);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  transition: var(--transition);
}

.service-card-body .btn-link-ld:hover {
  color: var(--hover-plum);
  gap: 10px;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--cta-burgundy) 0%, #6b1522 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  top: -200px; right: -100px;
}

.cta-banner::after {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  bottom: -150px; left: -50px;
}

.cta-banner h2 {
  color: var(--white);
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.cta-banner p {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  max-width: 540px;
  margin: 0 auto 30px;
}

.cta-banner .cta-logo {
  height: 40px;
  margin-bottom: 24px;
  opacity: 0.9;
}

/* ============================================================
   FOOTER
   ============================================================ */
.ld-footer {
  background: var(--primary-charcoal);
  padding: 60px 0 30px;
  color: rgba(255,255,255,0.7);
}

.ld-footer .footer-logo {
  height: 42px;
  margin-bottom: 16px;
}

.ld-footer .footer-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  max-width: 300px;
  line-height: 1.7;
}

.ld-footer h6 {
  font-family: var(--font-heading);
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.ld-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ld-footer ul li {
  margin-bottom: 10px;
}

.ld-footer ul li a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: var(--transition);
}

.ld-footer ul li a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 40px;
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
}

/* ============================================================
   PAGE HERO (Inner Pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(145deg, var(--surface-gray) 0%, var(--bg-ivory) 100%);
  padding: 130px 0 60px;
  text-align: center;
}

.page-hero h1 {
  font-size: 2.8rem;
  margin-bottom: 14px;
}

.page-hero p {
  font-size: 1.1rem;
  color: var(--body-slate);
  max-width: 560px;
  margin: 0 auto;
}

.page-hero .breadcrumb {
  justify-content: center;
  margin-top: 18px;
}

.page-hero .breadcrumb-item a {
  color: var(--secondary-plum);
  font-weight: 500;
}

.page-hero .breadcrumb-item.active {
  color: var(--body-slate);
}

/* ============================================================
   OFFERS PAGE
   ============================================================ */
.success-banner {
  background: linear-gradient(135deg, rgba(47,107,69,0.08) 0%, rgba(47,107,69,0.03) 100%);
  border: 1px solid rgba(47,107,69,0.2);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.success-badge {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--success-green);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.4rem;
  flex-shrink: 0;
}

.success-banner h5 {
  font-size: 1.1rem;
  margin-bottom: 4px;
  color: var(--success-green);
}

.success-banner p {
  font-size: 0.92rem;
  color: var(--body-slate);
  margin: 0;
}

/* Offer Tabs */
.offer-tabs .nav-pills .nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--body-slate);
  background: var(--white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 12px 22px;
  margin-right: 10px;
  margin-bottom: 10px;
  transition: var(--transition);
}

.offer-tabs .nav-pills .nav-link.active,
.offer-tabs .nav-pills .nav-link:hover {
  background: var(--secondary-plum);
  color: var(--white);
  border-color: var(--secondary-plum);
}

/* Offer Cards */
.offer-card {
  background: var(--white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.offer-card:hover {
  border-color: var(--secondary-plum);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.offer-card .offer-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--secondary-plum);
  background: rgba(91,42,109,0.08);
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.offer-card h5 {
  font-size: 1.12rem;
  margin-bottom: 12px;
}

.offer-card .offer-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  flex: 1;
}

.offer-card .offer-benefits li {
  font-size: 0.9rem;
  color: var(--body-slate);
  padding: 6px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.offer-card .offer-benefits li i {
  color: var(--success-green);
  margin-top: 3px;
  flex-shrink: 0;
}

.offer-card .offer-timeline {
  font-size: 0.82rem;
  color: var(--body-slate);
  background: var(--surface-gray);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.offer-card .offer-timeline i {
  color: var(--secondary-plum);
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.story-section {
  overflow: hidden;
}

.story-image-frame {
  background: linear-gradient(135deg, var(--secondary-plum), var(--cta-burgundy));
  border-radius: var(--radius-lg);
  padding: 6px;
  position: relative;
}

.story-image-frame img {
  border-radius: calc(var(--radius-lg) - 4px);
  width: 100%;
  display: block;
}

.pillar-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 40px 28px;
  text-align: center;
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.pillar-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-plum), var(--cta-burgundy));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.pillar-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.pillar-card:hover::after {
  transform: scaleX(1);
}

.pillar-icon {
  width: 72px; height: 72px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 22px;
  color: var(--white);
  background: var(--secondary-plum);
}

.pillar-card h4 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.pillar-card p {
  font-size: 0.92rem;
  color: var(--body-slate);
}

/* ============================================================
   BLOG PAGE
   ============================================================ */
.featured-blog {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.featured-blog:hover {
  box-shadow: var(--shadow-lg);
}

.featured-blog-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.featured-blog-body {
  padding: 32px;
}

.blog-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cta-burgundy);
  background: rgba(139,30,45,0.07);
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.blog-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-body h5 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.blog-card-body p {
  font-size: 0.9rem;
  color: var(--body-slate);
  flex: 1;
}

.blog-card-body .read-more {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--secondary-plum);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
}

.blog-card-body .read-more:hover {
  color: var(--hover-plum);
  gap: 10px;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-info-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  height: 100%;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-info-item:last-child { margin-bottom: 0; }

.contact-info-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(91,42,109,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--secondary-plum);
  flex-shrink: 0;
}

.contact-info-item h6 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.contact-info-item p {
  font-size: 0.88rem;
  color: var(--body-slate);
  margin: 0;
}

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 36px 32px;
}

/* ============================================================
   LEGAL PAGES (Privacy / Terms)
   ============================================================ */
.legal-content {
  max-width: 820px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 40px;
  margin-bottom: 14px;
  color: var(--heading-black);
}

.legal-content h3 {
  font-size: 1.2rem;
  margin-top: 28px;
  margin-bottom: 10px;
}

.legal-content p,
.legal-content li {
  font-size: 0.95rem;
  color: var(--body-slate);
  line-height: 1.8;
}

.legal-content ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.legal-content ul li {
  margin-bottom: 6px;
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991.98px) {
  .hero-section { padding: 110px 0 60px; min-height: auto; }
  .hero-headline { font-size: 2.4rem; }
  .section-title { font-size: 2rem; }
  .process-grid { grid-template-columns: 1fr; }

  .page-hero h1 { font-size: 2.2rem; }
}

@media (max-width: 767.98px) {
  .hero-headline { font-size: 2rem; }
  .section-pad { padding: 60px 0; }
  .hero-form-card { margin-top: 36px; }
  .trust-badges { flex-direction: column; }
  .cta-banner h2 { font-size: 1.7rem; }
  .page-hero { padding: 110px 0 40px; }
  .page-hero h1 { font-size: 1.8rem; }
}
