/*--------------------------------------------------------------
# Service Detail Pages
# Shared styles for all service pages (bookkeeping, taxation,
# payroll, vat, company-secretarial, financial-reporting,
# financial-consulting, statutory-registrations)
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Page Title Section
--------------------------------------------------------------*/
.service-detail-page .page-title-section {
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
}

.service-detail-page .page-title-section .page-label {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 1px;
  font-weight: 700;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--green-400, #95d5b2);
  border-radius: 50px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.service-detail-page .page-title-section h1 {
  font-size: 42px;
  font-weight: 700;
  font-family: var(--heading-font);
  color: #fff;
  margin-bottom: 16px;
}

.service-detail-page .page-title-section .page-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
}

/*--------------------------------------------------------------
# Service Overview
--------------------------------------------------------------*/
.service-overview {
  background: var(--warm-white, #fcfcfa);
}

.service-overview-content h2 {
  font-size: 32px;
  font-weight: 700;
  font-family: var(--heading-font);
  color: var(--heading-color);
  margin-bottom: 16px;
}

.service-overview-content .section-question {
  font-size: 18px;
  font-weight: 600;
  color: var(--green-primary, #2d6a4f);
  margin-bottom: 20px;
}

.service-overview-content p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--stone-600, #525252);
  margin-bottom: 16px;
}

.service-overview-content .btn-get-started {
  display: inline-block;
  margin-top: 12px;
  padding: 12px 36px;
  background: var(--green-primary, #2d6a4f);
  color: #fff;
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.service-overview-content .btn-get-started:hover {
  background: var(--green-primary-hover, #1b4332);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(45, 106, 79, 0.4);
}

/*--------------------------------------------------------------
# Service Offerings
--------------------------------------------------------------*/
.service-offerings {
  background: var(--green-surface-subtle, #f3faf5);
}

.service-offerings .section-title {
  text-align: center;
  padding-bottom: 50px;
}

.service-offerings .section-title h2 {
  font-size: 32px;
  font-weight: 700;
  font-family: var(--heading-font);
  color: var(--heading-color);
}

.offering-card {
  background: #fff;
  border-radius: 12px;
  padding: 32px 28px;
  height: 100%;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.offering-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.offering-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--green-100, #e9f5ec);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.offering-icon i {
  font-size: 24px;
  color: var(--green-primary, #2d6a4f);
}

.offering-card h3 {
  font-size: 20px;
  font-weight: 700;
  font-family: var(--heading-font);
  color: var(--heading-color);
  margin-bottom: 12px;
}

.offering-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--stone-600, #525252);
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Other Services (Image Cards)
--------------------------------------------------------------*/
.other-services {
  background: var(--warm-white, #fcfcfa);
}

.other-services .section-title,
.other-services .section-header {
  text-align: center;
  padding-bottom: 50px;
}

.other-services .section-title h2,
.other-services .section-header h2 {
  font-size: 32px;
  font-weight: 700;
  font-family: var(--heading-font);
  color: var(--heading-color);
  margin-bottom: 12px;
}

.other-services .section-title p,
.other-services .section-header p {
  font-size: 16px;
  color: var(--stone-500, #737373);
  max-width: 560px;
  margin: 0 auto;
}

.other-services .row {
  justify-content: center;
}

.service-link-card {
  display: block;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.service-link-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.service-link-card:focus-visible {
  outline: 3px solid var(--green-primary, #2d6a4f);
  outline-offset: 3px;
}

.service-link-img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.service-link-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.service-link-card:hover .service-link-img img {
  transform: scale(1.06);
}

.service-link-card h4 {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 48px 24px 24px;
  margin: 0;
  color: #fff;
  font-family: var(--heading-font);
  font-size: 1.2rem;
  font-weight: 700;
  background: linear-gradient(to top, rgba(27, 67, 50, 0.9) 0%, rgba(27, 67, 50, 0.4) 60%, transparent 100%);
  letter-spacing: 0.3px;
}

/*--------------------------------------------------------------
# Why Outsource
--------------------------------------------------------------*/
.why-outsource {
  background: var(--background-color, #fff);
}

.why-outsource.green-50 {
  background: var(--green-surface-subtle, #f3faf5);
}

.why-outsource-content h2,
.why-outsource h2 {
  font-size: 32px;
  font-weight: 700;
  font-family: var(--heading-font);
  color: var(--heading-color);
  margin-bottom: 20px;
}

.why-outsource-content p,
.why-outsource p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--stone-600, #525252);
  margin-bottom: 16px;
}

.why-outsource-content .btn-get-started,
.why-outsource .btn-get-started {
  display: inline-block;
  margin-top: 12px;
  padding: 12px 36px;
  background: var(--green-primary, #2d6a4f);
  color: #fff;
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.why-outsource-content .btn-get-started:hover,
.why-outsource .btn-get-started:hover {
  background: var(--green-primary-hover, #1b4332);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(45, 106, 79, 0.4);
}

/*--------------------------------------------------------------
# Why Choose Us
--------------------------------------------------------------*/
.why-choose-us {
  background: var(--green-surface-subtle, #f3faf5);
}

.why-choose-us .section-title {
  text-align: center;
  padding-bottom: 50px;
}

.why-choose-us .section-title h2 {
  font-size: 32px;
  font-weight: 700;
  font-family: var(--heading-font);
  color: var(--heading-color);
  margin-bottom: 12px;
}

.why-choose-us .section-title p {
  font-size: 16px;
  color: var(--stone-500, #737373);
  max-width: 600px;
  margin: 0 auto;
}

.why-choose-card {
  background: #fff;
  border-radius: 12px;
  padding: 32px 28px;
  text-align: center;
  height: 100%;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-choose-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.choose-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--green-100, #e9f5ec);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.choose-icon i {
  font-size: 28px;
  color: var(--green-primary, #2d6a4f);
}

.why-choose-card h3 {
  font-size: 20px;
  font-weight: 700;
  font-family: var(--heading-font);
  color: var(--heading-color);
  margin-bottom: 12px;
}

.why-choose-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--stone-600, #525252);
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Service CTA
--------------------------------------------------------------*/
.service-cta {
  text-align: center;
}

.cta-content h2 {
  font-size: 32px;
  font-weight: 700;
  font-family: var(--heading-font);
  color: #fff;
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

.cta-content .btn-get-started {
  display: inline-block;
  padding: 14px 40px;
  background: var(--green-primary, #2d6a4f);
  color: #fff;
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 50px;
  text-decoration: none;
  border: 2px solid var(--green-primary, #2d6a4f);
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-content .btn-get-started:hover {
  background: var(--green-primary-hover, #1b4332);
  border-color: var(--green-primary-hover, #1b4332);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(45, 106, 79, 0.4);
}

/*--------------------------------------------------------------
# Enterprise Types Page
--------------------------------------------------------------*/
.enterprise-block {
  background: #fff;
  border-radius: 12px;
  padding: 36px 32px;
  margin-bottom: 32px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.enterprise-block h3 {
  font-size: 24px;
  font-weight: 700;
  font-family: var(--heading-font);
  color: var(--heading-color);
  margin-bottom: 16px;
}

.enterprise-block p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--stone-600, #525252);
}

.enterprise-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}

.enterprise-table th,
.enterprise-table td {
  padding: 12px 16px;
  text-align: left;
  font-size: 15px;
  border-bottom: 1px solid var(--stone-200, #e5e5e5);
}

.enterprise-table th {
  background: var(--green-100, #e9f5ec);
  color: var(--green-900, #1b4332);
  font-weight: 600;
}

.enterprise-table tr:last-child td {
  border-bottom: none;
}

/*--------------------------------------------------------------
# FAQ Section
--------------------------------------------------------------*/
.service-faq {
  background: var(--warm-white, #fcfcfa);
}

.service-faq .section-title {
  text-align: center;
  padding-bottom: 50px;
}

.service-faq .section-title h2 {
  font-size: 32px;
  font-weight: 700;
  font-family: var(--heading-font);
  color: var(--heading-color);
}

.faq-item {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.faq-item .faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-size: 17px;
  font-weight: 600;
  font-family: var(--heading-font);
  color: var(--heading-color);
  transition: color 0.2s ease;
}

.faq-item .faq-question:hover {
  color: var(--green-primary, #2d6a4f);
}

.faq-item .faq-question i {
  font-size: 20px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-item .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-item .faq-answer p {
  padding: 0 24px 20px;
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--stone-600, #525252);
}

/*--------------------------------------------------------------
# Partners Marquee / Ticker
--------------------------------------------------------------*/
.partners-ticker {
  background: var(--green-surface-subtle, #f3faf5);
  padding: 60px 0;
  overflow: hidden;
}

.partners-ticker .ticker-header {
  text-align: center;
  margin-bottom: 40px;
}

.partners-ticker .ticker-header h2 {
  font-size: 28px;
  font-weight: 700;
  font-family: var(--heading-font);
  color: var(--heading-color);
  margin-bottom: 8px;
}

.partners-ticker .ticker-header h2 span {
  color: var(--green-primary, #2d6a4f);
}

.partners-ticker .ticker-header p {
  font-size: 15px;
  color: var(--stone-500, #737373);
  margin: 0;
}

.ticker-track-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Fade edges */
.ticker-track-wrapper::before,
.ticker-track-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.ticker-track-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--green-surface-subtle, #f3faf5), transparent);
}

.ticker-track-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--green-surface-subtle, #f3faf5), transparent);
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation: ticker-scroll 25s linear infinite;
}

.ticker-track:hover {
  animation-play-state: paused;
}

.ticker-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  opacity: 0.7;
  transition: opacity 0.3s ease;
  filter: grayscale(30%);
}

.ticker-item:hover {
  opacity: 1;
  filter: grayscale(0%);
}

.ticker-item img {
  max-height: 40px;
  width: auto;
  object-fit: contain;
}

.ticker-item .text-logo {
  font-family: var(--heading-font);
  font-size: 18px;
  font-weight: 700;
  color: var(--stone-700, #404040);
  white-space: nowrap;
  letter-spacing: 0.3px;
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .partners-ticker {
    padding: 40px 0;
  }

  .partners-ticker .ticker-header h2 {
    font-size: 24px;
  }

  .ticker-track {
    gap: 48px;
    animation-duration: 20s;
  }

  .ticker-item .text-logo {
    font-size: 16px;
  }

  .ticker-track-wrapper::before,
  .ticker-track-wrapper::after {
    width: 48px;
  }
}

/*--------------------------------------------------------------
# Privacy Policy Page
--------------------------------------------------------------*/
.privacy-content .prose {
  max-width: 800px;
  margin: 0 auto;
}

.privacy-content .prose h2 {
  font-size: 24px;
  font-weight: 700;
  font-family: var(--heading-font);
  color: var(--heading-color);
  margin-top: 36px;
  margin-bottom: 16px;
}

.privacy-content .prose h3 {
  font-size: 20px;
  font-weight: 600;
  font-family: var(--heading-font);
  color: var(--heading-color);
  margin-top: 28px;
  margin-bottom: 12px;
}

.privacy-content .prose p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--stone-600, #525252);
  margin-bottom: 16px;
}

.privacy-content .prose ul {
  padding-left: 24px;
  margin-bottom: 16px;
}

.privacy-content .prose ul li {
  font-size: 16px;
  line-height: 1.8;
  color: var(--stone-600, #525252);
  margin-bottom: 8px;
}

/*--------------------------------------------------------------
# Thank You Page
--------------------------------------------------------------*/
.thank-you-section {
  padding: 140px 0 80px;
  text-align: center;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.thank-you-section .check-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--green-100, #e9f5ec);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.thank-you-section .check-icon i {
  font-size: 36px;
  color: var(--green-primary, #2d6a4f);
}

.thank-you-section h1 {
  font-size: 36px;
  font-weight: 700;
  font-family: var(--heading-font);
  color: var(--heading-color);
  margin-bottom: 16px;
}

.thank-you-section p {
  font-size: 18px;
  color: var(--stone-600, #525252);
  max-width: 500px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

.thank-you-section .btn-get-started {
  display: inline-block;
  padding: 12px 36px;
  background: var(--green-primary, #2d6a4f);
  color: #fff;
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.thank-you-section .btn-get-started:hover {
  background: var(--green-primary-hover, #1b4332);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(45, 106, 79, 0.4);
}

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/
@media (max-width: 768px) {
  .service-detail-page .page-title-section {
    padding: 120px 0 60px;
  }

  .service-detail-page .page-title-section h1 {
    font-size: 32px;
  }

  .service-detail-page .page-title-section .page-subtitle {
    font-size: 16px;
  }

  .service-overview-content h2,
  .service-offerings .section-title h2,
  .other-services .section-title h2,
  .other-services .section-header h2,
  .why-outsource-content h2,
  .why-outsource h2,
  .why-choose-us .section-title h2,
  .cta-content h2,
  .service-faq .section-title h2 {
    font-size: 26px;
  }

  .service-link-card h4 {
    font-size: 1.1rem;
    padding: 40px 20px 20px;
  }

  .enterprise-block {
    padding: 24px 20px;
  }

  .enterprise-table {
    font-size: 14px;
  }

  .enterprise-table th,
  .enterprise-table td {
    padding: 10px 12px;
  }
}

@media (max-width: 480px) {
  .service-detail-page .page-title-section {
    padding: 110px 0 50px;
  }

  .service-detail-page .page-title-section h1 {
    font-size: 28px;
  }

  .offering-card {
    padding: 24px 20px;
  }

  .service-link-img {
    aspect-ratio: 16 / 10;
  }

  .service-link-card h4 {
    font-size: 1rem;
    padding: 36px 16px 16px;
  }

  .cta-content p {
    font-size: 16px;
  }
}
