@import url("https://fonts.googleapis.com/css2?family=Annie+Use+Your+Telescope&family=Cabin:ital,wdth,wght@0,87.5,600;1,87.5,600&family=Cedarville+Cursive&family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Edu+NSW+ACT+Cursive:wght@400..700&family=Figtree:ital,wght@0,300..900;1,300..900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Michroma&family=Montserrat:ital,wght@0,600;1,600&family=Mulish:ital,wght@0,200..1000;1,200..1000&family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Oswald:wght@200..700&family=Outfit:wght@100..900&family=Qwitcher+Grypen:wght@400;700&family=Roboto:ital,wght@0,100..900;1,100..900&family=Saira:ital,wght@0,100..900;1,100..900&display=swap");

body {
  font-family: "Montserrat", sans-serif;
}

/* Hero Section */
.hero-section {
  position: relative;
  background: url("./Streamlined-Invoicing-for-Legal-Firms-1.webp") center/cover no-repeat;
  height: 500px;
  display: flex;
  align-items: center;
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.4); /* Dark overlay */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 400px;
  background: rgba(255, 255, 255, 0.685);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  margin-left: 5%;
}

.hero-content h1 {
  font-size: 1.5rem;
  font-weight: bold;
  color: #222;
}

.hero-content p {
  margin-top: 15px;
  font-size: 1rem;
  color: #444;
}

.hero-buttons .btn {
  border-radius: 30px;
  padding: 0.6rem 1.5rem;
  font-weight: 500;
  font-size: 14px;
  margin-right: 10px;
  transition: all 0.3s ease;
}

.btn-dark {
  background-color: #000;
  border: none;
}

.btn-dark:hover {
  background-color: #333;
}

.btn-success {
  background-color: #2863a7;
  border: none;
}

.btn-success:hover {
  background-color: #2863a7;
}

/* Tablets (≤ 992px) */
@media (max-width: 992px) {
  .hero-section {
    height: 400px;
  }
  .hero-content {
    max-width: 80%;
    margin: 0 auto;
    text-align: center;
  }
  .hero-content h1 {
    font-size: 1.3rem;
  }
  .hero-content p {
    font-size: 0.95rem;
  }
  .hero-buttons .btn {
    font-size: 13px;
    padding: 0.5rem 1.2rem;
    margin: 5px;
  }
}

/* Mobile Landscape (≤ 768px) */
@media (max-width: 768px) {
  .hero-section {
    height: 350px;
  }
  .hero-content {
    padding: 1.5rem;
    border-radius: 10px;
  }
  .hero-content h1 {
    font-size: 1.2rem;
    line-height: 1.4;
  }
  .hero-content p {
    font-size: 0.9rem;
  }
}

/* Mobile Portrait (≤ 576px) */
@media (max-width: 576px) {
  .hero-section {
    height: auto;
    padding: 50px 15px;
  }
  .hero-content {
    max-width: 100%;
    padding: 1rem;
  }
  .hero-content h1 {
    font-size: 1.1rem;
  }
  .hero-content p {
    font-size: 0.85rem;
  }
  .hero-buttons .btn {
    font-size: 12px;
    padding: 0.45rem 1rem;
    width: 100%; /* full width buttons for small screens */
    margin: 8px 0;
  }
}

/* Title styling */
.client-overview-section h2 {
  font-size: 2rem;
  font-weight: 600;
  color: #003366;
  position: relative;
  padding-bottom: 10px;
}

.client-overview-section h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: #007bff;
  border-radius: 2px;
}

.client-overview-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.client-overview-section ul li {
  position: relative;
  margin-bottom: 16px;
  padding-left: 28px;
  font-size: 0.9rem;
  color: #787777;
  line-height: 1.6;
}

.client-overview-section ul li::before {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #007bff;
  font-size: 14px;
  position: absolute;
  left: 0;
  top: 3px;
}

.client-image {
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

/* Meta info pills */
.client-meta {
  gap: 10px;
}
.client-meta .info-box {
  background: #ecf5ff;
  padding: 8px 14px;
  border-radius: 20px;
  border: 1px solid #dce7f5;
  font-size: 0.9rem;
  color: #333;
  margin: 5px;
  white-space: nowrap;
  display: inline-block;
}

/* Paragraph */
.client-description {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

/* Needs list */
.client-needs {
  list-style: none;
  padding: 0;
  margin: 0;
}

.client-needs li {
  margin-bottom: 12px;
  font-size: 1rem;
  color: #444;
  display: flex;
  align-items: center;
}

.client-needs li i {
  color: #007bff; /* Accent color */
  margin-right: 10px;
  font-size: 1.2rem;
}

.section-titles {
  font-weight: 700;
  font-size: 28px;
}

.section-subtitle {
  font-size: 16px;
  color: #727272;
  max-width: 900px;
  margin: 0 auto;
}

.process-img {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
}

/* Step Layout */
.steps-container {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Step Card */
.step-card {
  display: flex;
  align-items: center; /* center vertically for one-line text */
  gap: 15px;
  padding: 10px 0;
  border-radius: 12px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

/* Icons */
.step-icon {
  width: 35px;
  height: 35px;
  background: linear-gradient(135deg, #5d5d5d, #000000);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  font-size: 16px;
  flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

/* Text */
.step-info p {
  color: #333;
  font-size: 15px;
  margin: 0;
  line-height: 1.4;
}

/* Hover effect */
.step-card:hover .step-icon {
  transform: scale(1.1);
  background: linear-gradient(135deg, #181818, #3c3c3c);
}

/* Responsive */
@media (max-width: 768px) {
  .steps-container {
    margin-top: 20px;
  }
  .step-card {
    flex-direction: row;
    align-items: flex-start;
  }
}

.result-card {
  display: flex;
  align-items: flex-start;
  background: #ffffff;
  border: 1px solid #e0e6f7;
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: 0 4px 10px rgba(0, 123, 255, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  height: 100%; /* keeps equal height cards */
}

.result-card:hover {
  box-shadow: 0 6px 16px rgba(0, 123, 255, 0.15);
}

.result-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #007bff1a; /* light blue background */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #007bff;
  font-size: 18px;
  margin-right: 15px;
}

.result-text h5 {
  margin: 0 0 10px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #2c3e50;
}

.result-text p {
  margin: 0;
  font-size:15px;
  color: #555;
  line-height: 1.5;
}

.cta-section {
  background: linear-gradient(
    135deg,
    #003366,
    #007bff
  ); /* Gradient background */
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.cta-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.cta-text {
  font-size: 1.1rem;
  margin-bottom: 25px;
  color: #f1f1f1;
}

.btn-cta {
  background: black;
  color: #fff;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 30px;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.btn-cta:hover {
  background: #002954;
  color: #fff;
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.impl-list {
  list-style: none;
  padding-left: 0;
}

.impl-list li {
  background: #f4f7ff;
  padding: 15px 18px;
  margin-bottom: 12px;
  border-radius: 10px;
  font-size: 15px;
  color: #444;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-left: 4px solid #007bff;
}

.impl-list strong {
  color: #222;
}

.impl-img {
  border-radius: 12px;
  height: 500px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

/* ✅ Mobile Responsive */
@media (max-width: 768px) {
  .impl-list li {
    font-size: 14px;
  }
  .impl-img {
    margin-top: 25px;
  }
}

.challenge-card {
  background: #edefff;
  border-radius: 10px;
  padding: 12px 18px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  position: relative;
  gap: 10px; /* space between tick and text */
}

/* Fix: Add display inline-block so the tick actually shows */
.challenge-card::before {
  content: "✔";
  display: inline-block;
  color: #4c5caf;
  font-weight: 700;
  font-size: 18px;
  font-family: "Poppins", sans-serif;
  margin-right: 8px;
  flex-shrink: 0;
}

.challenge-card p {
  margin: 0;
  font-size: 14px;
  color: #333;
  line-height: 1.5;
}

.challenge-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}
