/* ==========================================
   THEME VARIABLES (Derived from Logo)
   ========================================== */
:root {
  --purple-primary: #7c1a84;      /* Logo Main Deep Purple */
  --purple-accent: #a342b2;       /* Bright Accent Violet */
  --purple-dark: #280730;         /* Dark Purple for Overlays/Footer */
  --purple-light: #f7eff9;        /* Soft Lavender Background Tint */
  --purple-hover: #5e1164;        /* Dark Hover State */
  --text-dark: #222222;
  --text-muted: #666666;
  --white: #ffffff;
}

/* ==========================================
   RESET & BASE STYLES
   ========================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
  font-size: 19px;
}

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */
header {
  background: var(--white);
  padding: 1.5rem 5%; /* makes the white header taller */
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 3px solid var(--purple-primary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  z-index: 1000;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--purple-primary);
  letter-spacing: 0.5px;
}

nav ul {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 20px;
}

nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--purple-accent);
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn-primary {
  background: var(--purple-primary);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background: var(--purple-hover);
}

.btn {
  display: inline-block;
  background: var(--purple-accent);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn:hover {
  background: var(--purple-primary);
}

/* Outlined Read More Buttons */
.btn-read-more {
  display: inline-block;
  padding: 10px 24px;
  border: 1px solid var(--purple-primary);
  background-color: transparent;
  color: var(--purple-primary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-top: 10px;
  transition: all 0.2s ease-in-out;
}

.btn-read-more:hover {
  background-color: var(--purple-primary);
  color: var(--white);
}

.btn-read-more-blue {
  display: inline-block;
  align-self: flex-start;
  margin-top: 15px;
  padding: 10px 22px;
  border: 1px solid var(--white);
  background-color: transparent;
  color: var(--white);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  font-weight: 600;
  transition: all 0.2s ease-in-out;
}

.btn-read-more-blue:hover {
  background-color: var(--white);
  color: var(--purple-primary);
}

/* ==========================================
   HERO SLIDER SECTION
   ========================================== */
.hero {
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
}

.slides-track {
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  width: 300%;
  height: 100%;
  transition: transform 1s ease-in-out;
}

.slide {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: grayscale(100%) brightness(80%);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(40, 7, 48, 0.72); /* Rich Purple Tint */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 25px;
}

/* ==========================================
   SERVICES GRID
   ========================================== */
.services {
  padding: 80px 5%;
  background-color: var(--purple-light);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.card {
  background: var(--white);
  padding: 30px;
  border: 1px solid #e5d8eb;
  border-top: 4px solid var(--purple-primary);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

/* ==========================================
   WHY WRITE A WILL SECTION
   ========================================== */
.why-will-feature {
  padding: 80px 5%;
  background-color: var(--white);
}

.why-will-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 50px;
}

.why-will-image {
  flex: 1;
}

.why-will-image img {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(100%) contrast(90%);
}

.why-will-content {
  flex: 1;
}

.why-will-content h2 {
  font-size: 2.3rem;
  color: var(--purple-primary);
  font-weight: 400;
  margin-bottom: 12px;
}

.accent-line {
  width: 70px;
  height: 5px;
  background-color: var(--purple-accent);
  margin-bottom: 25px;
}

.why-will-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Card Grid Variant */
.why-will-section {
  padding: 80px 5%;
  background-color: var(--purple-light);
}

.container {
  max-width: 1000px;
  margin: auto;
}

.intro-text {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: var(--text-muted);
  text-align: center;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.why-card {
  background: var(--white);
  padding: 30px;
  border-top: 4px solid var(--purple-primary);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
}

.why-card h3 {
  color: var(--purple-primary);
  margin-bottom: 15px;
}

.cta-box {
  text-align: center;
  background: var(--purple-primary);
  padding: 40px;
  border-radius: 8px;
  color: var(--white);
}

.cta-box p {
  font-size: 1.4rem;
  margin-bottom: 20px;
}

/* ==========================================
   ABOUT FEATURE SECTION (PURPLE PANEL)
   ========================================== */
.about-feature {
  width: 100%;
  background-color: var(--white);
}

.about-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
}

.about-content {
  flex: 1;
  background-color: var(--purple-primary); /* Logo Purple Background */
  color: var(--white);
  padding: 50px 45px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-content h2 {
  font-size: 2.1rem;
  font-weight: 400;
  margin-bottom: 22px;
  color: var(--white);
}

.about-content p {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 16px;
  color: var(--white);
}

.about-content .life-changes p {
  margin-bottom: 4px;
}

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%);
}

/* ==========================================
   FOOTER
   ========================================== */
footer {
  text-align: center;
  padding: 40px 20px;
  background: var(--purple-dark);
  color: var(--white);
}

/* ==========================================
   MOBILE RESPONSIVENESS
   ========================================== */
@media (max-width: 768px) {
  .why-will-container,
  .about-container {
    flex-direction: column;
    gap: 30px;
  }

  .about-image {
    min-height: 300px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }
}


/* ==========================================
   DESKTOP NAVIGATION DEFAULTS
   ========================================== */
.hamburger {
  display: none; /* Hidden on desktop */
}

.menu-overlay {
  display: none; /* Hidden on desktop */
}

/* ==========================================
   MOBILE SLIDE-OUT MENU (768px & Below)
   ========================================== */
@media (max-width: 768px) {
  /* Show Hamburger Button */
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1002; /* Keeps icon above sidebar */
    padding: 0;
  }

  .hamburger .bar {
    width: 100%;
    height: 3px;
    background-color: var(--purple-primary);
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
  }

  /* Hamburger Animation to 'X' */
  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
  }

  /* Slide-out Sidebar Menu */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%; /* Hidden off-screen to the right */
    width: 270px;  /* Width of side drawer */
    height: 100vh;
    background-color: var(--white);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    padding: 100px 30px 40px 30px;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 1001;
  }

  /* Active Sidebar State */
  .nav-menu.active {
    right: 0; /* Slides into view */
  }

  /* Mobile Links Alignment */
  .nav-menu ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
    width: 100%;
  }

  .nav-menu ul li {
    width: 100%;
  }

  .nav-menu ul li a {
    display: block;
    font-size: 1.1rem;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--purple-light);
  }

  .nav-menu ul li a.btn-primary {
    text-align: center;
    border-bottom: none;
    margin-top: 10px;
  }

  /* Dark Overlay Behind Sidebar */
  .menu-overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(40, 7, 48, 0.5); /* Dimmed Purple Tint */
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
  }

  .menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }
}

/* ==========================================
   LOGO IMAGE STYLING
   ========================================== */
.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.site-logo {
  height: 50px;           /* Controls the logo height in header */
  width: auto;            /* Maintains proper aspect ratio */
  max-height: 55px;       /* Prevents stretching out the header */
  object-fit: contain;
  display: block;
}

/* Optional adjustment for mobile screens if needed */
@media (max-width: 768px) {
  .site-logo {
    height: 40px;         /* Slightly smaller on mobile phones */
  }
}

/* Header Base */
header {
  background: var(--white);
  padding: 0.5rem 5%;
  position: sticky;
  top: 0;
  border-bottom: 3px solid var(--purple-primary);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  z-index: 1000;
}

/* Header Container (Constrains width so logo & menu aren't too far apart) */
.header-container {
  max-width: 1200px; /* Adjust to 1100px if you want them even closer */
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

/* Larger, Readable Logo Styling */
.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.site-logo {
  height: 75px;        /* Increased size so text/shield are clearly readable */
  width: auto;
  max-height: 85px;
  object-fit: contain;
  display: block;
}

/* Mobile Adjustment */
@media (max-width: 768px) {
  .site-logo {
    height: 50px;      /* Fits comfortably on mobile phones */
  }
}



/* ==========================================
   CONTACT PAGE SECTION
   ========================================== */
.contact-section {
  padding: 60px 5%;
  background-color: var(--purple-light);
}

.contact-section .section-header {
  text-align: center;
  margin-bottom: 40px;
}

.contact-section .section-header h2 {
  font-size: 2.2rem;
  color: var(--purple-primary);
  margin-bottom: 10px;
  font-weight: 600;
}

.contact-section .section-header p {
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
  font-size: 0.95rem;
}

/* Layout Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  align-items: start;
}

.contact-grid .card h3 {
  color: var(--purple-primary);
  font-size: 1.35rem;
  margin-bottom: 20px;
}

/* Contact Form Styling */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.input-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.input-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form input[type="number"],
.contact-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #d1c2d6;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-dark);
  background-color: var(--white);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--purple-accent);
  box-shadow: 0 0 0 3px rgba(163, 66, 178, 0.15);
}

.contact-form textarea {
  resize: vertical;
}

/* Form Footer & Captcha */
.form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
  gap: 15px;
  flex-wrap: wrap;
}

.captcha-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--purple-light);
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid #e5d8eb;
}

.captcha-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--purple-primary);
}

.captcha-input {
  width: 55px !important;
  text-align: center;
  padding: 6px !important;
}

/* Remove spin buttons from number input */
.captcha-input::-webkit-outer-spin-button,
.captcha-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--purple-primary);
  color: var(--white);
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.submit-btn:hover {
  background: var(--purple-hover);
  transform: translateY(-1px);
}

/* Address Info Section */
.info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-dark);
}

.info-item .icon {
  font-size: 1.1rem;
  line-height: 1;
}

.info-item a {
  color: var(--purple-primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.info-item a:hover {
  color: var(--purple-accent);
  text-decoration: underline;
}

/* Social Buttons */
.social-links {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: var(--purple-light);
  color: var(--purple-primary);
  text-decoration: none;
  font-weight: bold;
  font-size: 0.85rem;
  border: 1px solid #e5d8eb;
  transition: all 0.3s ease;
}

.social-btn:hover {
  background: var(--purple-primary);
  color: var(--white);
  border-color: var(--purple-primary);
  transform: translateY(-2px);
}

/* Embedded Google Map */
.map-wrapper {
  width: 100%;
  height: 200px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #e5d8eb;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================
   MOBILE RESPONSIVENESS (CONTACT SECTION)
   ========================================== */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .input-row {
    grid-template-columns: 1fr;
  }

  .form-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .captcha-box {
    justify-content: center;
  }

  .submit-btn {
    width: 100%;
  }
}



/* ==========================================
   ABOUT PAGE SECTION
   ========================================== */

.about-page-section {
  width: 100%;
  background-color: #ffffff;
  color: #333333;
}

/* Grayscale Hero Image Banner */
.about-hero {
  width: 100%;
  max-height: 400px;
  overflow: hidden;
}

.about-hero-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: center;
  /* Applies the black-and-white filter seen in the screenshot */
  filter: grayscale(100%) contrast(95%);
  display: block;
}

/* Main Text Container */
.about-text-container {
  max-width: 950px;
  margin: 0 auto;
  padding: 50px 20px 40px 20px;
}

/* Heading color matches light blue from image */
.about-title {
  color: #7c1a84; /* Replace with var(--purple-primary) if you prefer your site's purple theme */
  font-size: 2.1rem;
  font-weight: 400;
  margin-bottom: 22px;
}

.about-paragraph {
  color: #555555;
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Full-Width Off-White Quote Banner */
.about-quote-section {
  width: 100%;
  background-color: #f4f4f6; /* Light gray background */
  padding: 45px 20px;
  text-align: center;
  border-top: 1px solid #eaeaee;
  border-bottom: 1px solid #eaeaee;
}

.about-quote {
  font-size: 1.55rem;
  font-style: italic;
  font-weight: 600;
  color: #111111;
  margin: 0;
  letter-spacing: 0.2px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .about-hero-img {
    height: 240px;
  }
  
  .about-text-container {
    padding: 30px 20px;
  }

  .about-title {
    font-size: 1.8rem;
  }

  .about-quote {
    font-size: 1.25rem;
  }
}
/* ==========================================
   WHY DO I NEED A WILL SECTION
   ========================================== */

.why-will-section {
  width: 100%;
  background-color: #ffffff;
  color: #333333;
  padding: 40px 0;
  font-family: inherit;
}

.why-will-section .container {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top Intro Layout */
.top-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  margin-bottom: 40px;
  align-items: start;
}

.main-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111111;
  margin-bottom: 4px;
}

.subtitle {
  font-size: 0.85rem;
  color: #555555;
  margin-bottom: 20px;
}

.illustration-wrapper {
  display: flex;
  justify-content: center;
}

.intro-right p {
  font-size: 0.99rem;
  line-height: 1.6;
  color: #333333;
  margin-bottom: 14px;
}

/* Full Width Dark Risks Banner */
.dark-banner {
  background-color: #1a1a1a;
  color: #ffffff;
  padding: 30px 0;
  text-align: center;
  margin-bottom: 40px;
}

.dark-banner h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #ffffff;
}

.risks-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 800px;
  text-align: center;
}

.risks-list li {
  font-size: 0.85rem;
  margin-bottom: 8px;
  line-height: 1.4;
  color: #e2e2e2;
}

.risks-list strong {
  color: #ffffff;
}

/* Bottom Grid Section */
.bottom-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 30px;
  align-items: end; /* Aligns witness box to the right bottom side as shown */
}

.content-left {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #333333;
}

.content-left p {
  margin-bottom: 14px;
}

/* Vertical Left Accent Title Bar */
.accent-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #111111;
  border-left: 4px solid var(--purple-primary, #7c1a84);
  padding-left: 10px;
  margin-top: 25px;
  margin-bottom: 14px;
}

/* Witness Card Box */
.witness-card {
  background-color: #1a1a1a;
  color: #ffffff;
  padding: 24px;
  border-radius: 4px;
  font-size: 0.82rem;
  line-height: 1.5;
}

.witness-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.witness-card h3 .highlight {
  color: #ffffff;
  text-decoration: underline;
}

.witness-card ul {
  padding-left: 18px;
  margin-bottom: 20px;
}

.witness-card ul:last-child {
  margin-bottom: 0;
}

.witness-card li {
  margin-bottom: 6px;
  color: #d1d1d1;
}

/* Responsive Adjustments */
@media (max-width: 900px) {
  .top-grid,
  .bottom-grid {
    grid-template-columns: 1fr;
  }

  .illustration-wrapper {
    margin-bottom: 20px;
  }

  .bottom-grid {
    align-items: start;
  }
}


/* Grayscale Hero Banner */
.hero-image-banner {
  width: 100%;
  max-height: 380px;
  overflow: hidden;
  margin-bottom: 40px;
}

.hero-img-grayscale {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center;
  filter: grayscale(100%) contrast(95%);
  display: block;
}

.nextgen-why-will .container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Page Header */
.page-header {
  text-align: center;
  margin-bottom: 36px;
}

.page-header .badge {
  display: inline-block;
  background: #ffffff;
  color: var(--purple-primary, #7c1a84);
  border: 1px solid rgba(124, 26, 132, 0.25);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.page-header h1 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 6px;
}

.page-header .subtitle {
  font-size: 1.05rem;
  color: #6b7280;
}

/* --- Intro Grid --- */
.intro-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
}

.intro-card {
  background: #ffffff;
  padding: 32px;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03);
}

.main-text-card h2 {
  font-size: 1.4rem;
  color: var(--purple-primary, #7c1a84);
  margin-bottom: 16px;
  font-weight: 700;
}

.main-text-card p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #4b5563;
  margin-bottom: 14px;
}

.main-text-card p:last-child {
  margin-bottom: 0;
}

.highlight-card {
  background: linear-gradient(180deg, #ffffff 0%, var(--purple-light, #f9f5fa) 100%);
  border: 1px solid #e9d8ee;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.highlight-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.highlight-card h3 {
  font-size: 1.2rem;
  color: var(--purple-primary, #7c1a84);
  margin-bottom: 8px;
}

.highlight-card p {
  font-size: 0.9rem;
  line-height: 1.55;
  color: #6b7280;
}

/* --- Risks Dark Banner --- */
.risks-banner {
  background: #18131d;
  color: #ffffff;
  padding: 48px 36px;
  border-radius: 20px;
  margin-bottom: 48px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.risks-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 36px auto;
}

.risks-header h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: #ffffff;
}

.risks-header p {
  font-size: 0.95rem;
  color: #a193aa;
}

.risks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.risk-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.risk-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-3px);
  border-color: var(--purple-accent, #a342b2);
}

.risk-icon {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 12px;
}

.risk-card h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 8px;
}

.risk-card p {
  font-size: 0.85rem;
  line-height: 1.5;
  color: #b3a8bc;
}

/* --- Details & Witness Section --- */
.details-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  align-items: start;
}

.info-block {
  background: #ffffff;
  padding: 32px;
  border-radius: 16px;
  margin-bottom: 24px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.info-block:last-child {
  margin-bottom: 0;
}

.block-badge {
  display: inline-block;
  background: var(--purple-light, #f9f5fa);
  color: var(--purple-primary, #7c1a84);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.info-block h3 {
  font-size: 1.25rem;
  color: #111827;
  margin-bottom: 12px;
}

.info-block p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: #4b5563;
  margin-bottom: 12px;
}

.info-block p:last-child {
  margin-bottom: 0;
}

/* Witness Widget */
.witness-widget {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px;
  border: 1px solid #e9d8ee;
  box-shadow: 0 10px 30px rgba(124, 26, 132, 0.06);
  position: sticky;
  top: 100px;
}

.widget-header {
  border-bottom: 1px solid #f0e6f3;
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.widget-header h3 {
  font-size: 1.2rem;
  color: var(--purple-primary, #7c1a84);
  margin-bottom: 4px;
}

.widget-header p {
  font-size: 0.85rem;
  color: #6b7280;
}

.witness-group {
  margin-bottom: 24px;
}

.witness-group:last-child {
  margin-bottom: 0;
}

.witness-group h4 {
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-weight: 600;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.status-dot.green { background-color: #10b981; }
.status-dot.red { background-color: #ef4444; }

.witness-group ul {
  list-style: none;
  padding: 0;
}

.witness-group li {
  font-size: 0.88rem;
  line-height: 1.5;
  color: #4b5563;
  padding-left: 18px;
  position: relative;
  margin-bottom: 6px;
}

.witness-group li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: #9ca3af;
}

.warning-note {
  margin-top: 10px;
  background: #fef2f2;
  border-left: 3px solid #ef4444;
  padding: 10px;
  border-radius: 4px;
  font-size: 0.78rem;
  color: #991b1b;
  line-height: 1.4;
}

/* Responsive Adjustments */
@media (max-width: 900px) {
  .hero-img-grayscale {
    height: 220px;
  }

  .intro-grid,
  .details-grid {
    grid-template-columns: 1fr;
  }

  .witness-widget {
    position: static;
  }
}

/* Target your hero section or image wrapper */
.hero-section, 
.hero-image {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

header, 
.site-header {
  margin-bottom: 0 !important;
  /* If the purple line is a border-bottom on the header, ensure no bottom padding exists inside */
  padding-bottom: 0 !important; 
}

.hero-section {
  overflow: hidden; /* Prevents child margins from pushing the parent container */
}

.hero-image img {
  display: block; /* Removes inline spacing quirks */
  width: 100%;
}



/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background-color: #7c1a84; /* Matches brand theme */
  color: #ffffff;
  border: none;
  border-radius: 50%;
  font-size: 22px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.2s ease;
  z-index: 999;
}

/* Shown state via JS */
.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: #5b1262;
  transform: translateY(-3px);
}

/* Active Navigation Link Highlight */
.nav-menu ul li a.active {
  color: #7c1a84;
  font-weight: 700;

}

.b1 {
  width: 60px;                    /* Sets the length of the underline */
  border-bottom: 3px solid #7c1a84; /* Line thickness and color */
  margin: 15px auto 20px auto;    /* Centers the line and adds top/bottom spacing */
}















/* ==========================================
   INCREASE FONT SIZES
   ========================================== */

/* General body text */
body {
  font-size: 17px;
}

/* Services / Why Will main content */
.content-left {
  font-size: 1rem;
  line-height: 1.75;
}

.content-left p {
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 18px;
}

/* Service headings */
.accent-title {
  font-size: 2rem;
  line-height: 1.3;
  margin-top: 30px;
  margin-bottom: 16px;
}

/* Standard Will section */
.intro-right p {
  font-size: 1.05rem;
  line-height: 1.75;
}

/* "What it covers" section */
.dark-banner h2 {
  font-size: 1.4rem;
}

.risks-list li {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 10px;
}

/* Witness information */
.witness-card {
  font-size: 0.95rem;
  line-height: 1.65;
}

.witness-card h3 {
  font-size: 1.05rem;
}

.witness-card li {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Page title */
.main-title {
  font-size: 1.8rem;
}

/* Subtitle */
.subtitle {
  font-size: 1rem;
}

/* Mobile */
@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

  .content-left p {
    font-size: 1rem;
    line-height: 1.7;
  }

  .accent-title {
    font-size: 1.7rem;
  }

  .intro-right p {
    font-size: 1rem;
  }

  .risks-list li {
    font-size: 0.95rem;
  }

  .witness-card {
    font-size: 0.95rem;
  }
}



/* ==========================================
   DIRECTORS & WILL WRITERS SECTION
   ========================================== */

.team-section {
  padding: 80px 5%;
  background-color: var(--);
}

.team-container {
  max-width: 1100px;
  margin: 0 auto;
}

.team-header {
  text-align: center;
  margin-bottom: 50px;
}

.team-header h2 {
  color: var(--purple-primary);
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.team-header p {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 650px;
  margin: 0 auto;
}

/* Section titles */
.team-category {
  text-align: center;
  margin-bottom: 30px;
}

.team-category h3 {
  color: var(--text-dark);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.team-category .team-line {
  width: 60px;
  height: 3px;
  background-color: var(--purple-primary);
  margin: 0 auto;
}

/* Team grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

/* Will writers: 2 centred cards */
.will-writers-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(250px, 350px));
  justify-content: center;
  gap: 30px;
}

/* Individual team card */
.team-card {
  background-color: var(--white);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e5d8eb;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(124, 26, 132, 0.15);
}

/* Face / profile picture */
.team-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
  background-color: #eee;
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: grayscale(100%);
  transition: filter 0.3s ease, transform 0.4s ease;
}

.team-card:hover .team-image img {
  filter: grayscale(0%);
  transform: scale(1.03);
}

/* Card information */
.team-info {
  padding: 22px 20px 25px;
}

.team-info h4 {
  color: var(--purple-primary);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.team-role {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.team-description {
  color: #555;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Purple accent at bottom of card */
.team-card::after {
  content: "";
  display: block;
  height: 4px;
  background-color: var(--purple-primary);
}

/* ==========================================
   MOBILE
   ========================================== */

@media (max-width: 900px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid .team-card:last-child {
    grid-column: 1 / -1;
    max-width: 350px;
    width: 100%;
    justify-self: center;
  }
}

@media (max-width: 600px) {
  .team-section {
    padding: 60px 5%;
  }

  .team-grid,
  .will-writers-grid {
    grid-template-columns: 1fr;
  }

  .team-grid .team-card:last-child {
    grid-column: auto;
    max-width: none;
  }

  .team-image {
    height: 280px;
  }

  .team-header h2 {
    font-size: 1.9rem;
  }
}





/* ==========================================
   SERVICES IMAGE
   ========================================== */

.services-image {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto 40px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.10);
  background: #fff;
}

.services-image img {
  width: 100%;
  height: 360px;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: grayscale(100%) contrast(95%);
  transition: transform 0.4s ease, filter 0.4s ease;
}

/* Subtle colour on hover */
.services-image:hover img {
  filter: grayscale(0%) contrast(100%);
  transform: scale(1.02);
}

/* Mobile */
@media (max-width: 768px) {
  .services-image {
    margin-bottom: 30px;
    border-radius: 6px;
  }

  .services-image img {
    height: 220px;
  }
}
