.subservice-hero {
  padding: 32px 24px;
}

.subservice-inner {
  max-width: 1400px;
  margin: auto;
  background: #1e3163;
  border-radius: 28px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 460px;
  position: relative;
}

.subservice-left {
  padding: 50px 50px;
  color: #fff;
  z-index: 2;
  background-image: url("../images/grid.svg");
  background-repeat: repeat;
  background-size: 220px;
}

.subservice-left h1 {
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 18px;
  font-family: "Hedvig Letters SerifS", serif;
}

.subservice-left p {
  font-size: 24px;
  line-height: 1.6;
  color: #dbe2ff;
  margin-bottom: 28px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: #fff;
  color: #1e3163;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.25s ease;
}

.hero-btn span {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #1e3163;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 16px;
}

.hero-btn:hover {
  transform: translateY(-2px);
}

.subservice-right {
  position: relative;
}

.subservice-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to left,
    rgba(30, 49, 99, 0.15),
    rgba(30, 49, 99, 0.9)
  );
}

/* Responsive */
@media (max-width: 900px) {
  .subservice-inner {
    grid-template-columns: 1fr;
  }

  .subservice-left {
    padding: 48px 28px;
  }

  .subservice-left h1 {
    font-size: 25px;
  }

  .subservice-right {
    height: 260px;
  }
}
.payroll-matters {
  padding: 40px 24px;
  background: #fff;
}

.payroll-matters .intro-text {
  max-width: 900px;
  margin: 0 auto 60px;
  text-align: center;
  font-size: 18px;
  line-height: 1.7;
  color: #555;
}

.matters-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.matter-card {
  background: #fbf6ff; /* light lavender */
  border: 1px solid #eadff5;
  border-radius: 18px;
  padding: 32px;
}

.matter-card h3 {
  font-size: 24px;
  margin-bottom: 12px;
  color: #1e1e1e;
}

.matter-card p {
  font-size: 16px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 16px;
}

.matter-card ul {
  padding-left: 18px;
  font-size: 16px;
  color: #333;
}

.matter-card li {
  margin-bottom: 6px;
}

/* Mobile */
@media (max-width: 768px) {
  .matters-grid {
    grid-template-columns: 1fr;
  }
}
.payroll-services {
  padding: 60px 24px;
  background: #2f2f2f;
  color: #fff;
  text-align: center;
}

.ps-title {
  font-size: 45px;
  margin: 20px 0 80px;
  font-family: "Playfair Display", serif;
}

.ps-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.6fr;
  grid-template-rows: 170px 170px;
  grid-template-areas:
    "a b c"
    "a d e";
  gap: 28px;
}

.ps-card {
  border-radius: 22px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.18);
  display: flex;
  align-items: flex-end;
  padding: 26px;
  text-align: left;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  font-size: 18px;
}

/* Soft glow like Figma */
.ps-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 30% 80%,
    rgba(170, 60, 120, 0.35),
    transparent 60%
  );
}

/* Area mapping */
.card-a { grid-area: a; }
.card-b { grid-area: b; }
.card-c { grid-area: c; }
.card-d { grid-area: d; }
.card-e { grid-area: e; }

/* Mobile */
@media (max-width: 900px) {
  .ps-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas:
      "a"
      "b"
      "c"
      "d"
      "e";
  }

  .ps-title {
    font-size: 30px;
  }
}
.why-choose {
  padding: 120px 24px;
  text-align: center;
}

.wc-title {
  font-size: 44px;
  line-height: 1.2;
  margin-bottom: 60px;
  font-family: "Playfair Display", serif;
}

.wc-wrap {
  max-width: 1200px;
  margin: auto;
  padding: 18px;
  border-radius: 28px;
  background: linear-gradient(135deg, #ffe6f2, #f6ecff);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.wc-card {
  background: #fff;
  border-radius: 20px;
  padding: 28px 26px;
  text-align: left;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
}

.wc-card h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  margin-bottom: 18px;
}

.wc-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 16px;
}

.wc-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.wc-card li {
  margin-bottom: 16px;
}

.wc-card strong {
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
}

.wc-card p {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
}

/* Mobile */
@media (max-width: 900px) {
  .wc-wrap {
    grid-template-columns: 1fr;
  }

  .wc-title {
    font-size: 30px;
  }
}
.faq-section {
  padding: 0px 10px;
  text-align: center;
}

.faq-title {
  font-size: 44px;
  line-height: 1.2;
  margin-bottom: 60px;
  font-family: "Playfair Display", serif;
}

.faq-box {
  max-width: 900px;
  margin: auto;
  text-align: left;
  border-top: 1px solid #eee;
}

.faq-item {
  border-bottom: 1px solid #eee;
}

.faq-question {
  width: 100%;
  padding: 22px 0;
  background: none;
  border: none;
  text-align: left;
  font-size: 18px;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #1e3163;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 15px;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  font-size: 16px;
  color: #666;
  line-height: 1.6;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding-bottom: 20px;
}

/* Mobile */
@media (max-width: 768px) {
  .faq-title {
    font-size: 28px;
  }
}
/* =========================
   TESTIMONIALS SECTION
========================= */

.testimonial-section {
  background: #ffffff;
  padding: 100px 50px;;
}

.testimonial-header {
  text-align: center;
  margin-bottom: 90px;
}

.testimonial-header h2 {
  font-size: 42px;
  line-height: 1.25;
  font-weight: 500;
  color: #0f172a;
}

/* SLIDER */
.testimonial-slider {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* NAV */
.testimonial-nav {
  background: none;
  border: none;
  font-size: 45px;
  color: #1f3570;
  cursor: pointer;
}

/* TRACK */
.testimonial-track {
  display: flex;
  gap: 36px;
  align-items: center;
  justify-content: center;
  max-width: 980px;
  overflow: hidden;
}

/* CARD */
.testimonial-card {
  width: 260px;
  background: #ffffff;
  border-radius: 22px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
  opacity: 0.4;
  transform: scale(0.9);
  transition: all 0.4s ease;
}

.testimonial-card img {
  width: 90px;
  height: 90px;
  border-radius: 18px;
  object-fit: cover;
  margin-bottom: 16px;
}

/* NAME */
.testimonial-card h4 {
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 12px;
}

/* TEXT */
.testimonial-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #475569;
}

/* ACTIVE */
.testimonial-card.active {
  opacity: 1;
  transform: scale(1.08);
}
/* =========================
   CTA SECTION
========================= */

.cta-section {
  background: #ffffff;
  padding: 50px 100px;
}

.cta-box {
  background: #1f3570;
  border-radius: 28px;
  padding: 20px 40px;
  text-align: center;
  color: #ffffff;
}

/* HEADING */
.cta-box h2 {
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 18px;
}

/* TEXT */
.cta-box p {
  font-size: 15px;
  line-height: 1.7;
  color: #e5edff;
  max-width: 720px;
  margin: 0 auto 36px;
}

/* BUTTON */
.cta-btn {
  display: inline-block;
  padding: 14px 42px;
  background: #ffffff;
  color: #1f3570;
  font-size: 15px;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
}
/* =========================
   CASE STUDIES
========================= */

.case-section {
  background: #ffffff;
  padding: 50px 100px;;
}

.case-head {
  text-align: center;
  margin-bottom: 80px;
}

.case-head h2 {
  font-size: 42px;
  line-height: 1.25;
  font-weight: 500;
  color: #0f172a;
}

/* GRID */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}

/* CARD */
.case-card {
  position: relative;
  display: block;
  border-radius: 22px;
  overflow: hidden;
  text-decoration: none;
}

.case-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

/* OVERLAY */
.case-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.case-overlay h3 {
  color: #ffffff;
  font-size: 18px;
  font-weight: 500;
  text-align: center;
  padding: 0 20px;
}

/* HOVER */
.case-card:hover .case-overlay {
  opacity: 1;
}