/* ===== WHY SECTION (Image Left / Text Right) ===== */
.why-section {
  padding: 100px 16px;

}

.why-grid {
  /* display: grid;
  grid-template-columns: 1fr 1fr;  */
  gap: 60px;
  align-items: center; /* vertical alignment */
  max-width: 1200px;
  margin: 0 auto;
}

.why-image img {
  width: 70%;       /* fills available column */
  height: 40vh;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
  display: block;

  /* ✅ Align right */
  margin-left: 0;
  margin-right: auto;
}


/* Left Image */
.why-grid {
  /* display: grid;
  grid-template-columns: 1fr 1fr; */
  gap: 50px;
  align-items: start; /* top-aligns image + text */
}


/* Right-hand Text */
.why-text {
  width: 100%;
  /* text-align: left; */
  /* margin-left: 0%;
  margin-right: auto; */
  /* background-color: red; */
}

.why-text h1 {
  font-size: 52px;
  font-weight: 700;
  color: #0b1220;
  margin-bottom: 18px;
  line-height: 1;
}

.why-text p {
  font-size: 24px;
  font-weight: 400;
  color: #444;
  /* margin-bottom: 32px; */
  line-height: 1.3;
  width: 70%;
}

.why-text-subtitle {
  margin-bottom: 42px;
  
}

/* ===== Steps Section (Two Blocks) ===== */
.why-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}

.why-step {
  background-color: rebeccapurple;
  padding: 30px 25px;
  border-radius: 12px;
  border: 2px solid #ff7f00;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.step-heading h2 {
  font-size: 24px;
  font-weight: 600;
  color: #444;
  margin-bottom: 12px;
}

.why-step p,
.why-step ol {
  font-size: 30px;
  font-weight: 400;
  color: #444;
  line-height: 1.6;
}

.why-step ol {
  margin-left: 30px;
  margin-top: 10px;
  padding-left: 10px;
}

.why-step ol li {
  margin-bottom: 8px;
}

/* ===== Responsive: stack on smaller screens ===== */
@media (max-width: 900px) {
  .why-grid {
    grid-template-columns: 1fr; /* stack image above text */
    gap: 40px;
  }

  .why-image {
    text-align: center;
  }

  .why-steps {
    grid-template-columns: 1fr; /* step boxes stacked */
  }
}

/* Steps wrapper: side by side on desktop */
.why-steps {
  display: grid;
  grid-template-columns: 1fr 1fr; /* two columns */
  gap: 40px;
  margin-top: 30px;
}

/* Each step (no border, no hover, no background) */
.why-step {
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
}

/* Heading with icon */
.step-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.step-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.why-step h2 {
  font-size: 22px;
  font-weight: 700;
  color: #0b1220;
  margin: 0;
}

.why-step p,
.why-step ol {
  font-size: 16px;
  color: #444;
  line-height: 1.6;
}

.why-step ol {
  margin-left: 20px;
  margin-top: 10px;
}

/* Responsive: stack vertically on smaller screens */
@media (max-width: 900px) {
  .why-steps {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}


/* Enhanced Full-Width Parallax */
.enhanced-parallax {
  position: relative;
  width: 100vw;
  left: 50%;
  margin-left: -50vw;

  /* Replace with your actual image path */
  background-image: url('../images/background.jpg'); 
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  min-height: 550px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 20px;

  color: yellowgreen; /* updated text color */
  text-align: center;
  overflow: hidden;
}

/* Overlay for better readability */
.enhanced-parallax::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5); /* dark overlay */
  z-index: 1;
}

/* Ensure content sits above overlay */
.enhanced-parallax .parallax-content {
  position: relative;
  z-index: 2;
}

/* Main Paragraph */
.enhanced-parallax p {
  font-size: 40px;
  font-weight: 700;
  line-height: 0.9;
  text-shadow: 1px 1px 6px rgba(0,0,0,0.5);
  margin-bottom: 30px;
}

/* Case Info (smaller text under main line) */
.enhanced-parallax p.case-info {
  font-size: 20px;
  font-weight: 400;
  margin-top: -10px;
}

/* Divider */
.divider {
  height: 2px;
  width: 60%;
  background: #ff7f00; /* theme orange */
  margin: 25px auto;
  border-radius: 2px;
}

/* Responsive */
@media (max-width: 900px) {
  .enhanced-parallax {
    padding: 60px 16px;
  }

  .enhanced-parallax .parallax-content {
    padding: 25px 20px;
  }

  .enhanced-parallax p {
    font-size: 20px;
  }

  .enhanced-parallax p.case-info {
    font-size: 14px;
  }
}

/* Fade-in animation */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Timeline Section */
.timeline-section {
  padding: 100px 20px;
  background: #fff;    /* full background edge to edge */
  width: 100%;
  margin: 0;
}

/* Container inside timeline */
.timeline-container {
  max-width: 1200px;   /* keeps content centered */
  margin: 0 auto;      /* centers content */
}

/* Header */
.timeline-header h2 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #0b1220;
  text-align: center;
}

.timeline-header .subheading {
  font-size: 25px;
  color: #666;
  margin-bottom: 60px;
  text-align: center;
}

/* Images row */
.timeline-images {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  margin-bottom: 20px;
}

.timeline-image img {
  max-width: 150px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border: none;
  border-radius: 0;
  padding: 0;
}

/* Single Line */
.timeline-line {
  height: 4px;
  background: #ff7f00;
  width: 100%;
  margin-bottom: 40px;
}

/* Text row */
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.timeline-step {
  text-align: left;
}

.timeline-step h3 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 5px;
  color: black;
}

.timeline-step .step-subheading {
  font-size: 20px;
  font-weight: 700;
  color: #0b1220;
  margin-bottom: 15px;
}

.timeline-step p {
  font-size: 16px;
  font-weight: 400;
  color: #444;
  line-height: 1.6;
  margin-bottom: 15px;
}

.timeline-step .step-action {
  font-size: 16px;
  font-weight: 700;
  color: #ff7f00;
}

/* Responsive */
@media (max-width: 900px) {
  .timeline-images,
  .timeline-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }
}

.hidden-assets-section {
  background: #f5f5f5; /* or whatever background color you prefer */
  width: 100%;
  padding: 80px 20px 0px;
}

.hidden-assets-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.hidden-assets-container h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.hidden-assets-container .subheading {
  font-size: 20px;
  color: var(--muted);
  margin-bottom: 40px;
}

.asset-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.asset-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.asset-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
  flex-shrink: 0;
}

.asset-text h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
  text-align: left;
}

.asset-text p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
  text-align: left;
}

/* Divider with spacing */
.assets-divider {
  margin: 40px 0;       /* space before & after */
  height: 3px;          /* line thickness */
  background: grey;  /* line color */
  width: 100%;
}


/* Responsive adjustments */
@media (max-width: 900px) {
  .asset-grid {
    grid-template-columns: 1fr; /* stack items vertically (1 per row) */
  }

  .asset-item {
    flex-direction: row;         /* keep icon beside text */
    align-items: flex-start;     /* align top of icon with text */
    text-align: left;            /* keep text left aligned */
  }

  .asset-text h3,
  .asset-text p {
    text-align: left;            /* don't center text */
  }

  .asset-icon {
    margin-bottom: 0;            /* remove bottom margin */
    margin-right: 15px;          /* add spacing between icon and text */
  }
}

/* Section background */
.stats-section {
  position: relative;
  width: 100%;              /* ✅ use percentage, respects page width */
  margin: 0;                /* remove gaps */
  
  /* background-image: url('https://images.unsplash.com/photo-1520607162513-77705c0f0d4a?auto=format&fit=crop&w=1600&q=80'); */
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)) , url('https://images.unsplash.com/photo-1520607162513-77705c0f0d4a?auto=format&fit=crop&w=1600&q=80') center center;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  
  min-height: 550px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 100px 20px; 
  color: #fff;
  overflow: hidden;
}


/* Dark overlay */
/* .stats-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 1;
} */

/* Content container */
.stats-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  /* background-color: rebeccapurple; */

}

.stats-content h2 {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 15px;
  text-align: left;
  text-shadow: 1px 1px 6px rgba(0,0,0,0.5);
  color: wheat;
}

.stats-content .subheading {
  font-size: 25px;
  font-weight: 500;
  margin-bottom: 40px;
  color: wheat;
  text-align: left;
}

/* Stats styling */
.stats-wrapper {
  display: flex;
  flex-direction: column;
  text-align: right;
  gap: 25px;
  align-items: flex-end; /* align stat items to the right */
}

.stat-item {
  width: 100%;
  max-width: 500px; /* keep bars neat */
}

.stat-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 18px;
  font-weight: 600;
}

.stat-percent {
  font-size: 16px;
  font-weight: 600;
}

/* Progress bar */
.stat-bar {
  width: 100%;
  background: rgba(255,255,255,0.2);
  border-radius: 6px;
  overflow: hidden;
  height: 20px;
  margin-top: 8px;
}

.stat-fill {
  background: #ff7f00;
  height: 100%;
  border-radius: 6px 0 0 6px;
}

/* Responsive */
@media (max-width: 900px) {
  .stats-section {
    padding: 60px 16px;
    justify-content: center; /* center on mobile for readability */
  }

  .stats-content {
    text-align: center;
  }

  .stats-content h2 {
    font-size: 26px;
  }

  .stats-content .subheading {
    font-size: 16px;
  }

  .stat-label {
    font-size: 16px;
  }

  .stat-bar {
    height: 18px;
  }
}

/* Section wrapper */
.attorney-section {
  padding: 100px 20px;
  background: #fff;
  text-align: center;
}

/* Top header */
.attorney-header {
  margin-bottom: 60px;
}

.attorney-main-icon {
  width: 200px;
  height: 200px;
  margin-bottom: 20px;
}

.attorney-header h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
}

.attorney-header .subheading {
  font-size: 20px;
  font-weight: 400;
  color: #555;
}

/* Cards grid */
.attorney-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.attorney-card {
  border: 1px solid #ff7f00;   /* orange border */
  border-radius: 8px;
  padding: 30px 20px;
  background: #fafafa;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.attorney-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  border-color: #cc6600;   /* darker orange border */
  background: #fff5e6;     /* light orange background on hover */
}


/* Card icon */
.card-icon {
  width: 80px;
  height: 80px;
  border: 2px solid #ff7f00;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
}

.card-icon img {
  width: 40px;
  height: 40px;
}

/* Card title */
.attorney-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  text-align: center;
}

/* Divider */
.card-divider {
  width: 40px;
  height: 2px;
  background: #ff7f00;
  margin: 15px auto;
  border-radius: 2px;
}

/* Text */
.attorney-card p {
  font-size: 16px;
  color: #333;
  margin-bottom: 12px;
  line-height: 1.6;
  text-align: left;
}

/* Bullet list */
.attorney-card ul {
  text-align: left;
  margin: 12px 0;
  padding-left: 20px;
}

.attorney-card ul li {
  margin-bottom: 8px;
  list-style-type: disc;
  font-size: 16px;
  color: #333;
}

/* Responsive */
@media (max-width: 1000px) {
  .attorney-cards {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .attorney-cards {
    grid-template-columns: 1fr;
  }
}

/* =========================
   HOW IT WORKS SECTION
   ========================= */
.how-it-works {
  background: #fff;
  color: #333;
  padding: 40px 20px;
  text-align: left; /* default for the section */
}

/* Header */
.how-it-works .how-header {
  text-align: left;
  margin-bottom: 40px;
  max-width: 700px;
}

.how-it-works .main-icon {
  width: 90px;
  height: 90px;
  border: 3px solid #ff7f00;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  background: #fff;
}

.how-it-works .main-icon img {
  width: 55px;
  height: 55px;
}

.how-it-works h2 {
  font-size: 30px;
  font-weight: 700;
  color: #222;
  margin-bottom: 8px;
}

.how-it-works .subheading {
  font-size: 17px;
  font-weight: 400;
  color: #555;
}

/* Divider */
.how-it-works .thin-line {
  border: none;
  border-top: 1px solid #eee;
  margin: 25px 0 35px;
}

/* =========================================
   FORCE LEFT ALIGNMENT INSIDE "HOW IT WORKS"
   ========================================= */

/* make sure the steps wrapper itself is left aligned */
.how-it-works .steps {
  text-align: left !important;
  display: block !important;
}

/* ensure each step is block (avoid inherited centering from flex/grid) */
.how-it-works .step {
  display: block !important;
  text-align: left !important;
}

/* step header stays a left-aligned flex row */
.how-it-works .step-header {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  text-align: left !important;
}

/* make titles in headers left */
.how-it-works .step-header .step-title,
.how-it-works .step-header h3,
.how-it-works .step-header span {
  text-align: left !important;
  margin: 0 !important;
}

/* *** THE IMPORTANT PART: force every element inside step-content to be left aligned *** */
.how-it-works .step-content,
.how-it-works .step-content * {
  text-align: left !important;
  direction: ltr !important;
}

/* tighten up paddings/margins so paragraphs don't get centered by layout */
.how-it-works .step-content {
  margin: 0 !important;
  padding: 18px 20px !important;
  line-height: 1.6;
  max-width: 900px; /* keeps reading width comfortable on very large screens */
}

/* paragraphs, emphasizes, strong — ensure left */
.how-it-works .step-content p,
.how-it-works .step-content em,
.how-it-works .step-content strong,
.how-it-works .step-content h3,
.how-it-works .step-content h4 {
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* lists: left aligned with proper indent */
.how-it-works .step-content ul,
.how-it-works .step-content ol {
  padding-left: 22px !important;
  margin-left: 0 !important;
  margin-bottom: 12px !important;
  text-align: left !important;
}

.how-it-works .step-content li {
  text-align: left !important;
  margin-bottom: 10px !important;
  list-style-position: outside !important;
}

/* also ensure the "subheading" class used in paragraph lines in steps does not center them */
.how-it-works .step-content .subheading {
  text-align: left !important;
  margin-left: 0 !important;
}

/* Accordion behavior */
.how-it-works .step-content {
  display: none;            /* hide by default */
}

.how-it-works .step.active .step-content {
  display: block;           /* show when step has "active" */
}


/* Responsive: keep everything left-aligned on small screens too */
@media (max-width: 900px) {
  .how-it-works .step-content,
  .how-it-works .step-content * {
    text-align: left !important;
  }

  .how-it-works .step-content {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}

/* Step header layout */
.how-it-works .step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  padding: 12px 16px;
  border: 1px solid #eee;
  border-radius: 6px;
  margin-bottom: 10px;
  background: #fafafa;
  transition: background 0.3s ease;
}

.how-it-works .step-header:hover {
  background: #fdf2e9; /* light orange hover */
}

/* Group icon + title in a row */
.how-it-works .step-left {
  display: flex;
  align-items: center;
  gap: 10px; /* spacing between icon and text */
}

/* Step Icon (circle) */
.how-it-works .step-icon {
  width: 45px;
  height: 45px;
  border: 2px solid #ff7f00;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fff;
}

.how-it-works .step-icon img {
  width: 60%;
  height: 60%;
  object-fit: contain;
}

/* Step Title */
.how-it-works .step-title {
  font-size: 18px;
  font-weight: 600;
  color: #222;
}


/* Plus sign (before active) */
.how-it-works .step-header .icon::before,
.how-it-works .step-header .icon::after {
  content: "";
  position: absolute;
  background: #333;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.how-it-works .step-header .icon::before {
  width: 10px;
  height: 2px;
}

.how-it-works .step-header .icon::after {
  width: 2px;
  height: 10px;
}

/* When active → minus sign */
.how-it-works .step.active .step-header .icon::after {
  display: none;
}

/* Step content */
.how-it-works .step-content {
  padding: 15px 20px;
  background: #fff;
  border-left: 3px solid #333;
  margin-bottom: 15px;
  display: none;
}

.how-it-works .step.active .step-content {
  display: block;
  animation: fadeIn 0.3s ease;
}

/* Step Icon */
.how-it-works .step-icon {
  width: 45px;
  height: 45px;
  border: 2px solid #ff7f00; /* orange border */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-right: 12px;
  background: #fff;
}

.how-it-works .step-icon img {
  width: 60%;
  height: 60%;
  object-fit: contain;
}


/* Simple fade-in */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== Testimonial Section ===== */
.testimonial {
  width: 100%;
  padding: 80px 20px;
  background: white; /* light background */
  display: flex;
  justify-content: center;
}

.testimonial-content {
  display: flex;              /* put image + text side by side */
  align-items: center;        /* vertical centering */
  gap: 30px;                  /* space between image and text */
  max-width: 900px;
  text-align: left;           /* text aligned left */
}

.testimonial-img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #ff7f00;
  box-shadow: 0 0 15px rgba(255,127,0,0.6);
  position: relative;
}

/* connector line */
.testimonial-img::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -60px;              /* distance between image and text */
  width: 50px;
  height: 3px;
  background: #ff7f00;
  transform: translateY(-50%);
}

/* arrow head pointing to text */
.testimonial-img::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -15px; /* arrow head position */
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid #ff7f00; /* orange arrowhead */
  transform: translateY(-50%);
}

.testimonial-text {
  flex: 1;                    /* text takes remaining space */
}

.testimonial h3 {
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
}

.testimonial p {
  font-size: 18px;
  line-height: 1.6;
  color: #555;
}


/* Responsive */
@media (max-width:980px) {
  .hero { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .container { padding: 8px; }
  .testimonial-content {
    flex-direction: column;   /* stack image above text */
    text-align: center;       /* center text */
  }
}

/* ===== CTA Section ===== */
.cta {
  width: 100%;
  padding: 80px 20px;
  background: orange;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
}

.cta-content {
  max-width: 600px;
  width: 100%;
}

.cta h2 {
  font-size: 28px;
  margin-bottom: 25px;
  font-weight: 600;
  line-height: 1.4;
}

/* CTA form */
.cta-form {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-form input {
  flex: 1;
  min-width: 250px;
  padding: 14px 18px;
  border-radius: 8px;
  border: none;
  font-size: 16px;
  outline: none;
}

.cta-form button {
  padding: 14px 28px;
  border: none;
  border-radius: 8px;
  background: #ff7f00;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.cta-form button:hover {
  background: black;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 600px) {
  .cta-form {
    flex-direction: column;
  }

  .cta-form input,
  .cta-form button {
    width: 100%;
  }
}

/* ===== Scroll Animation Base ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
