.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 {
  background: #ffffff;
  padding:10px 16px 120px;
}

.faq-wrap {
  max-width: 980px;
  margin: 0 auto;
}

.faq-top {
  text-align: center;
  margin-bottom: 28px;
}

.faq-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body, "Inter", system-ui, sans-serif);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0f172a;
}

.faq-tag .dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #1f2a5a;
}

.faq-title {
  margin: 16px 0 0;
  font-family: var(--font-heading, "Hedvig Letters Serif", Georgia, serif);
  font-weight: 500;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.12;
  color: #0b1220;
}

/* LIST */
.faq-list {
  margin: 26px auto 0;
  max-width: 620px;
  border-top: 1px solid #eef2f6;
}

.faq-item {
  border-bottom: 1px solid #eef2f6;
}

.faq-question {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 16px 0;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;

  text-align: left;
  font-family: var(--font-body, "Inter", system-ui, sans-serif);
  font-size: 14px;
  font-weight: 500;
  color: #0f172a;
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: #1f2a5a;
  color: #ffffff;
  font-size: 14px;
  line-height: 1;

  transform: rotate(0deg);
  transition: transform 0.2s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  font-family: var(--font-body, "Inter", system-ui, sans-serif);
  font-size: 13px;
  line-height: 1.7;
  color: #475569;
  padding: 0;
}

.faq-item.active .faq-answer {
  max-height: 240px;
  padding: 0 0 16px 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

@media (max-width: 640px) {
  .faq-list {
    max-width: 100%;
  }
  .faq-question {
    font-size: 14px;
  }
}

/* =========================
   TESTIMONIALS SECTION
========================= */

.testimonial-section {
  background: #ffffff;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

/* HEADER */
.testimonial-header {
  text-align: center;
  margin-bottom: 60px;
}

.testimonial-header h2 {
  font-size: 42px;
  font-weight: 500;
  color: #0f172a;
  line-height: 1.25;
}

/* =========================
   SLIDER WRAPPER
========================= */

.testimonial-slider {
  position: relative;
  max-width: 1100px;
  margin: auto;
  overflow: hidden;
}

/* TRACK */
.testimonial-track {
  display: flex;
  align-items: center;
  gap: 32px;
  transition: transform 0.5s ease;
  will-change: transform;
}

/* =========================
   CARD
========================= */

.testimonial-card {
  flex: 0 0 280px;
  background: #ffffff;
  border-radius: 22px;
  padding: 30px 24px;
  text-align: center;

  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);

  opacity: 0.45;
  transform: scale(0.9);
  transition: all 0.4s ease;
}

/* IMAGE */
.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: 10px;
}

/* TEXT */
.testimonial-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #475569;
}

/* ACTIVE CENTER CARD */
.testimonial-card.active {
  opacity: 1;
  transform: scale(1.08);
}

/* =========================
   NAVIGATION BUTTONS
========================= */

.testimonial-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: #ffffff;
  color: #1f3570;
  font-size: 26px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  z-index: 5;
}

.testimonial-nav.left {
  left: -10px;
}

.testimonial-nav.right {
  right: -10px;
}

.testimonial-nav:hover {
  transform: translateY(-50%) scale(1.08);
}

/* =========================
   TABLET
========================= */

@media (max-width: 992px) {

  .testimonial-header h2 {
    font-size: 32px;
  }

  .testimonial-card {
    flex: 0 0 240px;
  }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 576px) {

  .testimonial-section {
    padding: 60px 16px;
  }

  .testimonial-track {
    gap: 18px;
  }

  .testimonial-card {
    flex: 0 0 85%;
    margin: auto;
    opacity: 1;
    transform: scale(1);
  }

  .testimonial-nav {
    width: 38px;
    height: 38px;
    font-size: 22px;
  }

  .testimonial-nav.left {
    left: 6px;
  }

  .testimonial-nav.right {
    right: 6px;
  }
}

/* =========================
   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;
}