/* ============================================
   APJ Accountancy — Homepage Styles
   ============================================ */

:root {
  --navy: #00205b;
  --navy-dark: #001845;
  --navy-light: #0a3a7a;
  --text: #333333;
  --text-muted: #6c757d;
  --bg-light: #f5f7fa;
  --bg-soft: #eef2f7;
  --white: #ffffff;
  --gold: #f5a623;
  --border: #e2e8f0;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 8px 30px rgba(0, 32, 91, 0.08);
  --font: "Poppins", sans-serif;
  --container: 1366px;
  --header-container: 1600px;
  --btn-radius: 12px 0 12px 0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  --nav-scrollbar-gap: 0px;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.25s ease, background 0.25s ease, opacity 0.25s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: var(--container);
  width: 100%;
}

.container-header {
  max-width: var(--header-container);
  width: 100%;
}

iframe,
video,
embed,
object {
  max-width: 100%;
}

.section-pad {
  padding: 90px 0;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.section-subtext {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.btn-primary {
  background-color: var(--navy) !important;
  border-color: var(--navy) !important;
  color: var(--white) !important;
  font-weight: 500;
  border-radius: var(--btn-radius) !important;
  padding: 10px 28px;
  transition: background 0.25s ease, transform 0.2s ease;
}

.btn,
.btn-header,
.btn-subscribe,
.btn-slider,
.btn-hero-outline {
  border-radius: var(--btn-radius) !important;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--navy-dark) !important;
  border-color: var(--navy-dark) !important;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1050;
  background: var(--white);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.25s ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(0, 32, 91, 0.1);
}

.navbar {
  padding: 18px 0;
}

.site-header .container-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 12px;
}

.site-header .navbar-brand {
  flex-shrink: 0;
  margin-right: 0;
}

.site-header .navbar-collapse {
  display: none !important;
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .nav-overlay-main.d-lg-none {
    display: block !important;
  }
}

@media (min-width: 1200px) {
  .site-header .navbar-collapse {
    display: flex !important;
    flex-grow: 1;
    flex-basis: auto;
    justify-content: center;
    min-width: 0;
  }

  .nav-overlay-main {
    display: none !important;
  }
}

body.nav-open {
  overflow: hidden;
  padding-right: var(--nav-scrollbar-gap);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 20, 50, 0.4);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-overlay-inner {
  position: absolute;
  top: 0;
  right: 0;
  width: min(480px, 92%);
  height: 100%;
  margin: 0;
  padding: 22px 28px 48px;
  background: var(--white);
  overflow-y: auto;
  box-shadow: -12px 0 40px rgba(0, 32, 91, 0.16);
  transform: translateX(100%);
  transition: transform 0.32s ease;
}

.nav-overlay.is-open .nav-overlay-inner {
  transform: translateX(0);
}

.nav-overlay-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.nav-overlay-logo {
  display: block;
}

.nav-overlay-logo img {
  height: 78px;
  width: auto;
}

.nav-overlay-close {
  flex-shrink: 0;
}

.icon-close {
  position: relative;
  display: block;
  width: 18px;
  height: 18px;
}

.icon-close::before,
.icon-close::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 18px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
}

.icon-close::before {
  transform: rotate(45deg);
}

.icon-close::after {
  transform: rotate(-45deg);
}

.nav-overlay-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #e6e8ec;
}

.nav-overlay-main {
  margin-bottom: 18px;
}

.nav-overlay-item {
  border-bottom: 1px solid #e6e8ec;
}

.nav-overlay-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 4px;
  color: #2d2d2d;
  font-size: 1.05rem;
  font-weight: 400;
  font-family: var(--font);
  background: none;
  border: none;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  line-height: 1.4;
}

.nav-overlay-link:hover,
.nav-overlay-link.is-active {
  color: var(--navy);
}

.nav-overlay-link i {
  font-size: 0.78rem;
  color: #8a8f98;
  transition: transform 0.2s ease;
}

.nav-overlay-item.has-sub.is-open > .nav-overlay-link i {
  transform: rotate(90deg);
}

.nav-overlay-sub {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0 4px 12px 18px;
}

.nav-overlay-item.has-sub.is-open > .nav-overlay-sub {
  display: block;
}

.nav-overlay-sub a {
  display: block;
  padding: 10px 0;
  color: #4a5568;
  font-size: 0.95rem;
  border-bottom: 1px solid #f0f2f5;
}

.nav-overlay-sub a:last-child {
  border-bottom: none;
}

.nav-overlay-sub a:hover,
.nav-overlay-sub a.is-active {
  color: var(--navy);
}

@media (max-width: 767.98px) {
  .nav-overlay-inner {
    padding: 16px 18px 40px;
  }

  .nav-overlay-logo img {
    height: 58px;
  }

  .nav-overlay-link {
    font-size: 1rem;
    padding: 16px 2px;
  }
}

.logo-img {
  height: 70px;
  width: auto;
}

.navbar-nav .nav-link {
  color: #6b7280;
  font-size: 0.95rem;
  font-weight: 400;
  padding: 0.5rem 0.9rem !important;
  position: relative;
}

.navbar-nav .nav-link:hover {
  color: var(--navy);
}

.navbar-nav .nav-link.active {
  color: var(--navy);
  font-weight: 600;
}

.navbar-nav .nav-link.active::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 2px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

.header-actions {
  gap: 10px;
  flex-shrink: 0;
}

.btn-header {
  background: var(--navy);
  color: var(--white);
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.2s ease;
}

.btn-header:hover,
.btn-header:focus {
  background: var(--navy-dark);
  color: var(--white);
}

.btn-header-icon {
  width: 48px;
  height: 48px;
  padding: 0;
  font-size: 1.05rem;
}

.icon-menu-bars {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  width: 24px;
}

.icon-menu-bars span {
  display: block;
  height: 3px;
  background: var(--white);
  border-radius: 3px;
}

.icon-menu-bars span:nth-child(1),
.icon-menu-bars span:nth-child(3) {
  width: 16px;
}

.icon-menu-bars span:nth-child(2) {
  width: 24px;
}

.btn-header-icon[aria-expanded="true"] .icon-menu-bars span:nth-child(1) {
  width: 24px;
}

.btn-header-icon[aria-expanded="true"] .icon-menu-bars span:nth-child(3) {
  width: 24px;
}

/* ---------- Hero ---------- */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url("../image/banner-bg.png")
    center/cover no-repeat;
  overflow: hidden;
  padding: 100px 15px 120px;
  border-bottom-left-radius: 100px;
  border-bottom-right-radius: 100px;
}

.hero-section .container-header {
  position: relative;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.hero-welcome {
  font-size: 1.05rem;
  font-weight: 400;
  margin-bottom: 10px;
  opacity: 0.95;
}

.hero-title {
  font-size: clamp(1.85rem, 5.4vw, 3.4rem);
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.hero-subtext {
  font-size: 0.95rem;
  font-weight: 300;
  max-width: 780px;
  margin-bottom: 32px;
  opacity: 0.95;
  line-height: 1.8;
}

.hero-subtext p {
  margin-bottom: 14px;
}

.hero-subtext p:last-child {
  margin-bottom: 0;
}

.hero-subtext strong {
  font-weight: 600;
}

.btn-hero {
  padding: 12px 36px !important;
  font-size: 0.95rem;
}

.btn-hero-outline {
  background: var(--white);
  color: var(--navy);
  border: 2px solid var(--white);
  padding: 11px 34px;
  font-size: 0.95rem;
  font-weight: 500;
}

.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy);
  border-color: var(--white);
}

/* ---------- Page Banner (inner pages) ---------- */
.page-banner {
  position: relative;
  width: 100%;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url("../image/banner-bg.png") center/cover no-repeat;
  overflow: hidden;
  padding: 100px 15px 110px;
  border-bottom-left-radius: 100px;
  border-bottom-right-radius: 100px;
}

.page-banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
  z-index: 1;
}

.page-banner .container-header {
  position: relative;
  z-index: 2;
}

.page-banner-content {
  color: var(--white);
  max-width: 720px;
  margin: 0 auto;
}

.page-banner-title {
  font-size: clamp(1.7rem, 5vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.page-banner-tagline {
  font-size: 1.05rem;
  font-weight: 400;
  margin-bottom: 6px;
  opacity: 0.95;
  line-height: 1.6;
}

.page-banner-guarantee {
  font-size: 1.05rem;
  font-weight: 300;
  margin-bottom: 0;
  opacity: 0.9;
  line-height: 1.6;
}

.page-banner-content-wide {
  max-width: 860px;
}

.about-banner-qmark {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.about-qmark-circle {
  width: min(280px, 42vw);
  height: min(280px, 42vw);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.55);
  font-size: clamp(4.5rem, 8vw, 6.5rem);
  box-shadow: 0 0 0 18px rgba(255, 255, 255, 0.06);
}

.about-qmark-circle i {
  font-weight: 700;
}

.about-banner .page-banner-content {
  z-index: 3;
  position: relative;
}

.about-banner .container-header {
  z-index: 3;
}

/* ---------- Refer Us ---------- */
.refer-banner {
  background: url("../image/refer-banner.png") center/cover no-repeat;
}

.refer-banner .page-banner-overlay {
  background: rgba(0, 0, 0, 0.42);
}

.refer-section {
  background: var(--white);
}

.refer-copy p {
  color: #5a677c;
  font-size: 0.98rem;
  line-height: 1.85;
  margin-bottom: 1.05rem;
}

.refer-copy a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}

.refer-copy a:hover {
  text-decoration: underline;
}

.refer-form-card {
  background: #f4f6fa;
  border-radius: 16px;
  box-shadow: 0 10px 36px rgba(0, 32, 91, 0.08);
  padding: 36px 32px;
}

.refer-form-fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.refer-privacy {
  margin: 16px 0 22px;
  font-size: 0.88rem;
  font-style: italic;
  color: #d32f2f;
}

@media (max-width: 575.98px) {
  .refer-form-card {
    padding: 26px 18px;
  }
}

/* ---------- Our Team ---------- */
.team-intro-section {
  background: var(--white);
  padding: 70px 0 20px;
}

.team-intro-card {
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 32, 91, 0.08);
  padding: 56px 72px;
  text-align: center;
}

.team-intro-card p {
  color: #707070;
  font-size: 0.98rem;
  line-height: 1.9;
  margin-bottom: 18px;
}

.team-intro-card p:last-child {
  margin-bottom: 0;
}

.team-intro-card strong {
  color: var(--text);
  font-weight: 700;
}

.team-intro-card a {
  color: var(--navy);
  text-decoration: underline;
  font-weight: 600;
}

.team-intro-card a:hover {
  color: var(--navy-dark);
}

/* ---------- About: Partnerships ---------- */
.partnership-section {
  background: var(--white);
}

.partnership-title {
  max-width: 420px;
}

.partnership-text p {
  color: #707070;
  font-size: 0.95rem;
  line-height: 1.85;
  margin-bottom: 18px;
}

.partnership-text p:last-child {
  margin-bottom: 0;
}

.partnership-visual {
  width: 100%;
}

.partnership-visual img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- About: Industries ---------- */
.industries-section {
  background: var(--white);
  padding: 20px 0 40px;
}

.industries-subtext {
  max-width: 720px;
}

.industries-track {
  display: flex;
  gap: 10px;
  height: 360px;
}

.industry-card {
  position: relative;
  flex: 0.7 1 0;
  min-width: 0;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
  background: #dbe3ee;
  cursor: pointer;
  transition: flex 0.45s ease;
}

.industry-card.is-open,
.industry-card:hover {
  flex: 4.8 1 0;
}

.industries-track:hover .industry-card:not(:hover) {
  flex: 0.7 1 0;
}

.industry-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.industry-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 58%;
  background: linear-gradient(to top, rgba(0, 32, 91, 0.96), transparent);
  pointer-events: none;
}

.industry-card-label {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 18px;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  writing-mode: vertical-rl;
  transform: translateX(-50%) rotate(180deg);
}

.industry-card.is-open .industry-card-label,
.industry-card:hover .industry-card-label {
  writing-mode: horizontal-tb;
  transform: none;
  left: 16px;
  right: 12px;
  bottom: 16px;
  white-space: normal;
  text-align: left;
}

.industries-track:hover .industry-card.is-open:not(:hover) .industry-card-label {
  writing-mode: vertical-rl;
  transform: translateX(-50%) rotate(180deg);
  left: 50%;
  right: auto;
  bottom: 18px;
  white-space: nowrap;
  text-align: initial;
}

/* ---------- About: Why choose ---------- */
.choose-apj-section {
  background: var(--white);
}

.choose-subtext {
  max-width: 760px;
}

.choose-card {
  background: var(--white);
  border: 1px solid #e6edf4;
  border-radius: 16px;
  padding: 28px 24px 26px;
  height: 100%;
  box-shadow: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.choose-card:hover {
  border-color: #8aa8cc;
  box-shadow: 0 14px 36px rgba(0, 32, 91, 0.14);
  transform: translateY(-4px);
}

.choose-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid #c5d0e0;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.choose-card h3 {
  color: var(--navy);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.choose-card p {
  color: #707070;
  font-size: 0.88rem;
  line-height: 1.7;
  margin: 0;
}

/* ---------- About: Process ---------- */
.process-section {
  background: var(--white);
  padding: 80px 0 40px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px 24px;
  position: relative;
}

.process-step {
  position: relative;
  text-align: center;
  max-width: none;
  margin: 0;
  z-index: 1;
}

.process-step:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 46px;
  left: calc(50% + 50px);
  width: calc(100% - 20px);
  border-top: 2px dashed #cfd7e3;
  z-index: 0;
}

.process-step:not(:last-child)::after {
  content: "\f054";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  top: 34px;
  right: -10px;
  z-index: 2;
  color: var(--navy);
  background: var(--white);
  padding: 0 6px;
  font-size: 0.85rem;
}

.process-icon {
  width: 92px;
  height: 92px;
  margin: 0 auto 18px;
  border-radius: 50%;
  border: 2px dashed #c5d0e0;
  background: var(--white);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  position: relative;
  z-index: 1;
}

.process-icon i {
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  display: block;
}

.process-step h3 {
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.process-step p {
  color: #707070;
  font-size: 0.88rem;
  line-height: 1.7;
  margin: 0;
  max-width: 250px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Difference We Make ---------- */
.difference-section {
  background: var(--white);
}

.difference-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.difference-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.difference-title {
  max-width: 420px;
}

.difference-text p {
  color: #707070;
  font-size: 0.95rem;
  line-height: 1.85;
  margin-bottom: 16px;
}

.difference-text p:last-child {
  margin-bottom: 0;
}

.difference-text strong {
  color: var(--text);
  font-weight: 700;
}

/* ---------- About ---------- */
.about-section {
  background: var(--white);
}

.about-intro {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 720px;
  line-height: 1.8;
}

.btn-view-more {
  white-space: nowrap;
  padding: 8px 22px !important;
  font-size: 0.85rem;
  margin-top: 4px;
}

.about-main-img,
.about-main-video {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
  background: #000;
}

.about-video-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  scroll-margin-top: 110px;
}

.about-video-wrap .about-main-video {
  border-radius: 0;
}

.about-video-play-btn {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 12px 28px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--btn-radius);
  cursor: pointer;
  transition: background 0.25s ease, opacity 0.25s ease, visibility 0.25s ease;
}

.about-video-play-btn:hover {
  background: var(--navy-dark);
}

.about-video-play-btn i {
  font-size: 0.8rem;
}

.about-video-wrap.is-playing .about-video-play-btn {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.about-features {
  margin-top: 8px;
}

.about-features .col-md-4:not(:last-child) .feature-item {
  border-right: 1px solid var(--border);
}

.feature-item {
  padding: 0 40px 0 0;
  height: 100%;
}

.about-features .col-md-4:not(:first-child) .feature-item {
  padding-left: 40px;
}

.about-features .col-md-4:last-child .feature-item {
  padding-right: 0;
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 22px;
}

.feature-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0;
  line-height: 1.8;
}

.feature-item p strong {
  color: var(--text);
  font-weight: 600;
}

/* ---------- Trust ---------- */
.trust-section {
  background: var(--white);
}

.trust-collage {
  width: 100%;
  max-width: 648px;
  margin: 0 auto;
}

.trust-collage-img {
  display: block;
  width: 100%;
  height: auto;
  background: transparent;
}

.trust-title {
  line-height: 1.35;
}

.trust-list-item {
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}

.trust-list-item:first-child {
  border-top: 1px solid var(--border);
}

.trust-list-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #e8f1fb;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  margin-top: 2px;
}

.trust-list-item h6 {
  color: var(--navy);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.trust-list-item p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 0;
  line-height: 1.75;
}

/* ---------- Services ---------- */
.services-section {
  background: var(--white);
}

.services-grid-wrap {
  padding: 30px 0;
}

.services-grid-wrap .col-lg-6 {
  overflow: visible;
}

.service-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 26px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  transition: border-color 0.25s ease;
  height: 100%;
  overflow: visible;
}

.service-hover-img {
  position: absolute;
  top: 50%;
  right: 20px;
  width: 220px;
  height: 160px;
  border-radius: 14px;
  overflow: visible;
  box-shadow: 0 18px 45px rgba(0, 32, 91, 0.22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-50%) rotate(-14deg) scale(0.88);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
  pointer-events: none;
  z-index: 2;
}

.service-hover-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

.service-item:hover .service-hover-img {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) rotate(-14deg) scale(1);
}

.service-item:hover {
  border-color: var(--border);
  color: inherit;
  z-index: 5;
}

.service-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}

.service-text {
  flex: 1;
  min-width: 0;
}

.service-text h6 {
  color: var(--navy);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 4px;
}

.service-text p {
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-bottom: 0;
  line-height: 1.55;
}

.service-arrow-wrap {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  position: relative;
}

.service-item:hover .service-arrow-wrap {
  position: static;
}

.service-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--navy);
  color: var(--navy);
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.35s ease, right 0.35s ease, top 0.35s ease;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 4;
}

.service-arrow-icon {
  width: 14px;
  height: 14px;
  display: block;
}

.service-item:hover .service-arrow {
  right: 52px;
  left: auto;
  top: 62%;
  transform: translateY(-50%) rotate(14deg);
  width: 40px;
  height: 40px;
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  box-shadow: 0 8px 20px rgba(0, 32, 91, 0.28);
}

.service-item:hover .service-arrow-icon {
  width: 15px;
  height: 15px;
}

/* ---------- Values ---------- */
.values-section {
  background: var(--white);
}

.values-subtext {
  max-width: 760px;
  line-height: 1.75;
}

.value-card {
  background: linear-gradient(135deg, #ffffff 0%, #f4f7fb 45%, #e8edf5 100%);
  border-radius: 24px;
  padding: 36px 32px 40px;
  height: 100%;
  box-shadow: 0 2px 18px rgba(0, 32, 91, 0.05);
}

.value-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 24px;
}

.value-card h5 {
  color: var(--navy);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 14px;
}

.value-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 0;
  line-height: 1.75;
}

/* ---------- Text Marquee ---------- */
.text-marquee-section {
  background: var(--white);
  padding: 18px 0;
  overflow: hidden;
}

.text-marquee {
  overflow: hidden;
  width: 100%;
}

.text-marquee-track {
  display: flex;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  width: max-content;
  animation: marquee-scroll 28s linear infinite;
}

.marquee-word {
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
  font-family: "Poppins", sans-serif;
}

.marquee-solid {
  color: var(--navy);
}

.marquee-outline {
  color: transparent;
  -webkit-text-stroke: 1.5px #9aa8b8;
}

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

/* ---------- Stats ---------- */
.stats-section {
  position: relative;
  background: var(--white);
  overflow: hidden;
}

.stats-subtext {
  max-width: 100%;
  line-height: 1.75;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.stat-card {
  background: linear-gradient(135deg, #ffffff 0%, #f4f7fb 45%, #e8edf5 100%);
  border-radius: 16px;
  padding: 28px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 155px;
  box-shadow: 0 2px 16px rgba(0, 32, 91, 0.05);
}

.stat-card.stat-image {
  padding: 0;
  overflow: hidden;
  background: none;
  box-shadow: 0 2px 16px rgba(0, 32, 91, 0.08);
}

.stat-card.stat-image img {
  width: 100%;
  height: 100%;
  min-height: 155px;
  object-fit: cover;
}

.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-bottom: 14px;
}

.stat-card h3 {
  color: var(--navy);
  font-weight: 700;
  font-size: 1.75rem;
  margin-bottom: 4px;
  line-height: 1.2;
}

.stat-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 0;
  font-weight: 500;
}

/* ---------- Partners ---------- */
.partners-section {
  padding: 0 0 70px;
  background: var(--white);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.partner-card {
  background: var(--white);
  border: 1px solid #edf1f5;
  border-radius: 16px;
  min-height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 20px;
  box-shadow: 0 4px 20px rgba(0, 32, 91, 0.06);
}

.partner-acca {
  background: #1a1a1a;
  color: var(--white);
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: 2px;
  padding: 14px 22px;
  line-height: 1;
}

.partner-growth {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}

.partner-growth-icon {
  color: #2e9e5b;
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.partner-growth-top {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #4a5568;
  line-height: 1.3;
}

.partner-growth-bottom {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #1a8a9a;
}

.partner-seal {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}

.partner-seal-top,
.partner-seal-bottom {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #8b6914;
  line-height: 1.2;
}

.partner-seal-center {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid #c9a227;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8b6914;
  font-size: 1.2rem;
  background: radial-gradient(circle, #fff9e6 0%, #f5e6b8 100%);
}

.partner-character {
  position: relative;
  width: 70px;
  height: 88px;
}

.partner-character-head {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f4c9a8;
  margin: 0 auto 4px;
  position: relative;
}

.partner-character-head::before,
.partner-character-head::after {
  content: "";
  position: absolute;
  background: #2c3e6b;
  border-radius: 50%;
}

.partner-character-head::before {
  width: 44px;
  height: 18px;
  top: -4px;
  left: -3px;
}

.partner-character-head::after {
  width: 22px;
  height: 8px;
  top: 16px;
  left: 8px;
  background: transparent;
  border: 2px solid #333;
  border-radius: 4px;
}

.partner-character-body {
  width: 56px;
  height: 42px;
  margin: 0 auto;
  background: #2c5aa0;
  border-radius: 10px 10px 4px 4px;
  position: relative;
}

.partner-character-body::before {
  content: "";
  position: absolute;
  width: 24px;
  height: 18px;
  background: #e74c3c;
  top: 8px;
  left: 16px;
  border-radius: 3px;
}

/* ---------- Testimonials ---------- */
.testimonials-section {
  background: var(--white);
}

.testimonials-subtext {
  max-width: 680px;
  line-height: 1.75;
}

.testimonials-viewport {
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  gap: 24px;
  transition: transform 0.45s ease;
  will-change: transform;
}

.testimonial-slide {
  flex: 0 0 auto;
  min-width: 0;
}

.testimonial-card {
  background: linear-gradient(135deg, #ffffff 0%, #f4f7fb 45%, #e8edf5 100%);
  border-radius: 18px;
  padding: 32px 28px 28px;
  height: 100%;
  box-shadow: 0 2px 18px rgba(0, 32, 91, 0.05);
  display: flex;
  flex-direction: column;
}

.quote-icon {
  color: #9eb3d4;
  font-size: 2.4rem;
  line-height: 1;
  margin-bottom: 16px;
}

.testimonial-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
}

.testimonial-rating i {
  color: #f5b301;
  font-size: 0.95rem;
}

.testimonial-text {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-style: italic;
  line-height: 1.75;
  margin-bottom: auto;
  padding-bottom: 28px;
}

.author-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.testimonial-author {
  margin-top: auto;
}

.testimonial-author h6 {
  color: var(--navy);
  font-weight: 700;
  font-size: 0.95rem;
}

.btn-slider {
  width: 44px;
  height: 44px;
  border-radius: 50% !important;
  background: var(--navy);
  color: var(--white);
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease;
  font-size: 0.85rem;
}

.btn-slider:hover {
  background: var(--navy-dark);
  transform: scale(1.05);
}

/* ---------- Meeting / Contact ---------- */
.meeting-section {
  background: var(--white);
}

.meeting-box {
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 32, 91, 0.08);
  padding:0px;
}

.meeting-image-wrap {
  padding: 0 32px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.meeting-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}

.meeting-form-wrap {
  padding: 50px;
}

.meeting-title {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.35;
  max-width: 480px;
  margin-bottom: 1.75rem !important;
}

.meeting-form-wrap .row.g-3 {
  --bs-gutter-y: 1rem;
  --bs-gutter-x: 1rem;
}

.form-control-custom {
  border: none;
  border-radius: 10px;
  padding: 15px 18px;
  font-size: 0.92rem;
  background: #f1f3f7;
  color: var(--navy);
  box-shadow: none !important;
}

.form-control-custom::placeholder {
  color: #8a96a8;
}

.form-control-custom:focus {
  background: #eef1f6;
  border: none;
  outline: none;
}

.meeting-privacy {
  margin: 16px 0 28px;
  font-size: 0.88rem;
  font-style: italic;
  color: var(--navy);
}

.btn-submit {
  padding: 14px !important;
  font-size: 1rem !important;
  border-radius: 10px !important;
}

/* ---------- Site Bottom (Newsletter + Footer) ---------- */
.site-bottom {
  background: #f4f7fa url("../image/footer-bg.png") center bottom / cover no-repeat;
  position: relative;
  padding: 44px 0 0;
  margin-top: 50px;
}

.site-bottom-inner {
  position: relative;
  z-index: 1;
}

/* ---------- Newsletter ---------- */
.newsletter-section {
  padding: 0 0 42px;
}

.newsletter-box {
  background: var(--navy);
  border-radius: 18px;
  padding: 36px 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: -100px;
}

.newsletter-title {
  color: var(--white);
  font-size: 1.45rem;
  font-weight: 700;
  flex-shrink: 0;
}

.newsletter-form {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  max-width: none;
  margin: 0;
}

.newsletter-input-wrap {
  display: flex;
  align-items: center;
  background: var(--white);
  border-radius: 50px;
  padding: 5px 5px 5px 22px;
  width: 100%;
  max-width: 460px;
}

.newsletter-input-wrap .form-control {
  border: none;
  box-shadow: none !important;
  background: transparent;
  padding: 11px 10px 11px 0;
  font-size: 0.88rem;
  border-radius: 0;
  flex: 1;
  min-width: 0;
}

.newsletter-input-wrap .form-control::placeholder {
  color: #8a96a8;
}

.btn-subscribe {
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 50px !important;
  padding: 11px 28px;
  font-weight: 500;
  font-size: 0.88rem;
  white-space: nowrap;
  height: auto;
  flex-shrink: 0;
}

.btn-subscribe:hover {
  background: var(--navy-dark);
  color: var(--white);
}

/* ---------- Footer ---------- */
.site-footer {
  background: transparent;
  padding: 0 0 0;
  position: relative;
}

.footer-main {
  padding-bottom: 10px;
}

.footer-logo {
  display: block;
  width: auto;
  max-width: 240px;
  height: 70px;
  object-fit: contain;
  object-position: left center;
}

.footer-about {
  color: #5a677c;
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 22px;
}

.footer-social-title {
  color: var(--navy);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 14px;
}

.social-links a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
}

.social-links a:hover {
  background: var(--navy-dark);
  color: var(--white);
}

.footer-heading {
  color: var(--navy);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 14px;
}

.footer-heading-line {
  display: block;
  width: 36px;
  height: 3px;
  background: var(--navy);
  margin-top: 8px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 11px;
}

.footer-links a {
  color: #5a677c;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a i {
  font-size: 0.7rem;
  color: var(--navy);
}

.footer-links a:hover {
  color: var(--navy);
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  color: #5a677c;
  font-size: 0.88rem;
  line-height: 1.6;
}

.footer-contact i {
  color: var(--navy);
  margin-top: 4px;
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}

.footer-contact a {
  color: #5a677c;
}

.footer-contact a:hover {
  color: var(--navy);
}

.footer-registration {
  border-radius: 10px;
  padding: 22px 24px;
  text-align: center;
  margin-top: 36px;
}

.footer-registration p {
  margin: 0;
  color: var(--navy);
  font-size: 0.88rem;
  line-height: 1.7;
}

.footer-registration p + p {
  margin-top: 6px;
}

.footer-bottom {
  margin-top: 0;
  padding: 22px 0 28px;
  color: #5a677c;
  font-size: 0.85rem;
}

.footer-legal a {
  color: var(--navy);
}

.footer-legal a:hover {
  color: var(--navy-dark);
}

.footer-legal span {
  margin: 0 10px;
  color: var(--navy);
}

/* ---------- Responsive ---------- */
@media (max-width: 1399.98px) {
  .navbar-nav .nav-link {
    font-size: 0.86rem;
    padding: 0.45rem 0.55rem !important;
  }

  .logo-img {
    height: 60px;
  }
}

@media (max-width: 1199.98px) {
  .industries-track {
    height: 300px;
  }

  .navbar-nav .nav-link.active::after {
    left: 0.5rem;
    right: 0.5rem;
  }
}

@media (max-width: 991.98px) {
  .hero-section {
    min-height: 440px;
    padding: 72px 15px 88px;
    border-bottom-left-radius: 70px;
    border-bottom-right-radius: 70px;
  }

  .page-banner {
    min-height: 320px;
    padding: 72px 15px 80px;
    border-bottom-left-radius: 70px;
    border-bottom-right-radius: 70px;
  }

  .team-intro-section {
    padding: 50px 0 10px;
  }

  .team-intro-card {
    padding: 40px 28px;
  }

  .section-pad {
    padding: 70px 0;
  }

  .section-title {
    font-size: 1.65rem;
  }

  .navbar-collapse {
    order: 3;
    width: 100%;
    padding-top: 16px;
  }

  .site-header .navbar-brand {
    flex: 1;
    min-width: 0;
  }

  .meeting-box {
    padding: 32px 24px;
  }

  .meeting-image-wrap {
    padding: 0 0 24px;
  }

  .meeting-form-wrap {
    padding: 0;
  }

  .meeting-title {
    font-size: 1.5rem;
  }

  .newsletter-box {
    flex-direction: column;
    align-items: stretch;
    padding: 28px 28px;
    gap: 20px;
    margin-top: -64px;
  }

  .newsletter-title {
    font-size: 1.25rem;
    text-align: center;
  }

  .newsletter-form {
    margin-left: 0;
    max-width: 100%;
    justify-content: stretch;
  }

  .newsletter-input-wrap {
    max-width: 100%;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-collage {
    max-width: 100%;
    margin-bottom: 20px;
  }

  .partnership-title,
  .difference-title {
    max-width: none;
  }

  .industries-track {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    height: auto;
    gap: 12px;
  }

  .industry-card,
  .industry-card.is-open,
  .industry-card:hover,
  .industries-track:hover .industry-card:not(:hover) {
    flex: none;
    height: 180px;
  }

  .industry-card-label,
  .industry-card.is-open .industry-card-label,
  .industry-card:hover .industry-card-label,
  .industries-track:hover .industry-card.is-open:not(:hover) .industry-card-label {
    writing-mode: horizontal-tb;
    transform: none;
    left: 14px;
    right: 12px;
    bottom: 14px;
    white-space: normal;
    text-align: left;
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 36px;
  }

  .process-step:not(:last-child)::before,
  .process-step:not(:last-child)::after {
    display: none;
  }

  .process-step {
    max-width: 280px;
    margin: 0 auto;
  }

  .service-hover-img,
  .service-item:hover .service-hover-img {
    display: none;
  }

  .service-item:hover .service-arrow {
    right: auto;
    left: 0;
    top: 0;
    transform: none;
    width: 38px;
    height: 38px;
    background: transparent;
    color: var(--navy);
    border-color: var(--navy);
    box-shadow: none;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 767.98px) {
  .hero-subtext {
    font-size: 0.92rem;
  }

  .about-main-img,
  .about-main-video,
  .difference-img {
    height: 220px;
  }

  .about-features .col-md-4:not(:last-child) .feature-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding-bottom: 28px;
    margin-bottom: 28px;
  }

  .about-features .col-md-4:not(:first-child) .feature-item,
  .about-features .col-md-4:last-child .feature-item {
    padding-left: 0;
    padding-right: 0;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .partner-card {
    min-height: 110px;
    padding: 18px 14px;
  }

  .section-pad {
    padding: 55px 0;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .process-step {
    max-width: none;
  }

  .process-section {
    padding: 50px 0 20px;
  }

  .value-card {
    padding: 28px 22px 32px;
  }

  .testimonial-card {
    padding: 26px 20px 22px;
  }

  .hero-btns .btn {
    width: 100%;
    max-width: 320px;
  }
}

@media (max-width: 575.98px) {
  .logo-img {
    height: 42px;
  }

  .navbar {
    padding: 12px 0;
  }

  .hero-section {
    min-height: 0;
    padding: 56px 12px 72px;
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
  }

  .page-banner {
    min-height: 0;
    padding: 56px 12px 64px;
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
  }

  .page-banner-tagline,
  .page-banner-guarantee {
    font-size: 0.92rem;
  }

  .team-intro-card {
    padding: 28px 16px;
  }

  .site-bottom {
    padding-top: 32px;
  }

  .newsletter-section {
    padding-bottom: 28px;
  }

  .newsletter-box {
    padding: 24px 16px;
    margin-top: -48px;
  }

  .newsletter-input-wrap {
    max-width: 100%;
    flex-direction: column;
    align-items: stretch;
    border-radius: 16px;
    padding: 12px;
    gap: 10px;
  }

  .newsletter-input-wrap .form-control {
    padding: 10px 12px;
    text-align: center;
  }

  .btn-subscribe {
    width: 100%;
  }

  .stats-grid,
  .partners-grid,
  .industries-track,
  .contact-info-grid {
    grid-template-columns: 1fr;
  }

  .industry-card,
  .industry-card.is-open,
  .industry-card:hover {
    height: 160px;
  }

  .about-video-play-btn {
    padding: 10px 18px;
    font-size: 0.85rem;
    bottom: 14px;
  }

  .meeting-box {
    padding: 22px 14px;
  }

  .feature-item {
    padding: 0;
  }

  .nav-overlay-inner {
    width: 100%;
  }
}

/* ---------- Expertise ---------- */
.expertise-intro-section {
  background: var(--white);
  padding: 72px 0 28px;
}

.expertise-intro-text {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.expertise-intro-text p {
  color: #5c6470;
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 22px;
}

.expertise-intro-text p:last-child {
  margin-bottom: 0;
}

.expertise-stages-section {
  background: var(--white);
  padding: 28px 0 20px;
}

.expertise-stages {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
}

.expertise-stage-card {
  flex: 0 1 calc(33.333% - 15px);
  max-width: 420px;
  background: #f4f6f8;
  border-radius: 8px;
  padding: 28px 26px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.expertise-stage-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  margin-top: 2px;
}

.expertise-stage-card h3 {
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 8px;
  line-height: 1.35;
}

.expertise-stage-card p {
  color: #6b7380;
  font-size: 0.9rem;
  line-height: 1.75;
  margin: 0;
}

.expertise-owners-section {
  background: var(--white);
  padding: 56px 0 40px;
}

.expertise-owners-lead {
  text-align: center;
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 500;
  margin: 0 auto 40px;
}

.expertise-owners-lead strong {
  font-weight: 700;
}

.expertise-owner-card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
  padding: 48px 36px 44px;
  text-align: center;
  height: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.expertise-owner-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.expertise-owner-card:hover::after {
  transform: scaleX(1);
}

.expertise-owner-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 20px;
  color: #3b71fe;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.expertise-owner-card h3 {
  color: var(--navy);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 14px;
  line-height: 1.35;
}

.expertise-owner-card p {
  color: #7a818c;
  font-size: 0.95rem;
  line-height: 1.75;
  margin: 0;
  max-width: 340px;
}

.expertise-book-section {
  background: var(--white);
  padding: 40px 0 20px;
}

.expertise-book-copy p {
  color: #5c6470;
  font-size: 0.98rem;
  line-height: 1.9;
  margin-bottom: 20px;
}

.expertise-book-copy p:last-child {
  margin-bottom: 0;
}

.expertise-book-copy strong {
  color: var(--navy);
  font-weight: 700;
}

.expertise-book-copy a {
  color: #3b71fe;
  font-weight: 600;
}

.expertise-book-copy a:hover {
  color: var(--navy);
}

.expertise-book-promo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.expertise-book-img {
  width: 100%;
  max-width: 520px;
  height: auto;
}

@media (max-width: 991.98px) {
  .expertise-stage-card {
    flex: 0 1 calc(50% - 11px);
  }

  .expertise-intro-section {
    padding: 48px 0 20px;
  }

  .expertise-owners-section {
    padding: 40px 0 24px;
  }
}

@media (max-width: 767.98px) {
  .expertise-stage-card {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .expertise-owners-lead {
    font-size: 1.05rem;
  }
}

/* ---------- Our Book ---------- */
.book-page-section {
  background: var(--white);
}

.book-cover-card {
  max-width: 460px;
  margin: 0 auto;
}

.book-cover-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px 8px 0 0;
}

.book-cover-ribbon {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.45;
  padding: 16px 18px;
  border-radius: 0 0 8px 8px;
}

.book-page-copy p {
  color: #707070;
  font-size: 0.95rem;
  line-height: 1.85;
  margin-bottom: 18px;
}

.book-page-copy p:last-child {
  margin-bottom: 0;
}

.book-page-copy strong {
  color: var(--text);
  font-weight: 600;
}

.book-page-copy a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
}

.book-page-copy a:hover {
  color: var(--navy-dark);
}

.book-section-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 28px 0 32px;
}

.book-section-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: #f4f6f9;
  border-radius: 14px;
  padding: 20px 22px;
}

.book-section-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--white);
}

.book-section-icon-blue {
  background: linear-gradient(145deg, #4aa8e8, #1a6fbf);
}

.book-section-icon-green {
  background: linear-gradient(145deg, #5ec98a, #2a9d5c);
}

.book-section-icon-orange {
  background: linear-gradient(145deg, #f0b14a, #d8891a);
}

.book-section-body {
  min-width: 0;
}

.book-section-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 8px;
}

.book-section-pill-blue {
  background: #d7ecfb;
  color: #1a6fbf;
}

.book-section-pill-green {
  background: #d8f4e4;
  color: #1f8a4d;
}

.book-section-pill-orange {
  background: #fde9cc;
  color: #c47a12;
}

.book-section-card h3 {
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 6px;
  line-height: 1.35;
}

.book-section-card p {
  color: #707070;
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0;
}

.book-page-close {
  margin-top: 8px;
}

@media (max-width: 991.98px) {
  .book-cover-card {
    margin-bottom: 8px;
  }
}

@media (max-width: 575.98px) {
  .book-section-card {
    padding: 16px;
    gap: 14px;
  }

  .book-section-icon {
    width: 48px;
    height: 48px;
    font-size: 1.05rem;
  }

  .book-cover-ribbon {
    font-size: 0.85rem;
  }
}

/* ---------- Contact page ---------- */
.contact-info-section {
  padding: 70px 0 40px;
  background: var(--white);
}

.contact-info-heading {
  margin-bottom: 40px;
  font-size: 2rem;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}

.contact-info-card {
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 10px 32px rgba(0, 32, 91, 0.08);
  padding: 32px 18px 28px;
  text-align: center;
  height: 100%;
}

.contact-info-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.contact-info-card h3 {
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.contact-info-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
}

.contact-info-card a {
  color: var(--text-muted);
}

.contact-info-card a:hover {
  color: var(--navy);
}

.contact-map-section {
  padding: 20px 0 40px;
}

.contact-map-wrap {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 32px rgba(0, 32, 91, 0.08);
  height: 420px;
}

.contact-map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.contact-reg-section {
  padding: 10px 0 20px;
}

.contact-reg-card {
  background: var(--white);
  border: 1px solid #e6ebf2;
  border-radius: 14px;
  padding: 28px 30px;
  height: 100%;
}

.contact-reg-card h3 {
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.contact-reg-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
  margin: 0;
}

.contact-reg-card a {
  color: #1a73e8;
}

.contact-reg-card a:hover {
  text-decoration: underline;
}

/* ---------- Documents ---------- */
.documents-section {
  padding: 48px 0 20px;
}

.documents-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.documents-search-wrap {
  position: relative;
  flex: 1;
  max-width: 420px;
}

.documents-search {
  height: 52px;
  border: none;
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(0, 32, 91, 0.08);
  padding: 0 48px 0 20px;
  font-size: 0.95rem;
  color: var(--navy);
}

.documents-search::placeholder {
  color: #8a96a8;
}

.documents-search:focus {
  box-shadow: 0 8px 24px rgba(0, 32, 91, 0.12);
  outline: none;
}

.documents-search-wrap i {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--navy);
  font-size: 0.95rem;
  pointer-events: none;
}

.documents-storage-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 32, 91, 0.08);
  padding: 12px 20px 12px 14px;
  min-width: 230px;
}

.documents-storage-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #e8f1fb;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}

.documents-storage-label {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
}

.documents-storage-value {
  margin: 2px 0 0;
  font-size: 0.82rem;
  color: #5a677c;
}

.documents-dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 280px;
  border: 2px dashed #cfd8e3;
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
  padding: 40px 24px;
  margin: 0;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.documents-dropzone.is-dragover {
  border-color: var(--navy);
  background: #f4f8fd;
}

.documents-dropzone.is-locked {
  cursor: pointer;
}

.documents-file-input {
  display: none;
}

.documents-dropzone-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #e8f1fb;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 18px;
}

.documents-dropzone-title {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
}

.documents-dropzone-hint {
  margin: 0;
  font-size: 0.88rem;
  color: #8a96a8;
}

.documents-feedback {
  margin: 12px 0 0;
  font-size: 0.9rem;
  color: #b42318;
}

.documents-auth-bar,
.documents-user-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
  padding: 16px 22px;
  border: 1px solid #b7d4f0;
  border-radius: 8px;
  background: #eef6fd;
}

.documents-auth-copy {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-size: 0.95rem;
}

.documents-auth-copy i {
  color: #2b6cb0;
  font-size: 1.05rem;
}

.documents-auth-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.documents-btn-login {
  min-width: 110px;
  padding: 8px 22px !important;
}

.documents-btn-register {
  min-width: 170px;
  padding: 8px 18px !important;
  background: var(--white) !important;
  color: var(--navy) !important;
  border: 1px solid var(--navy) !important;
  font-weight: 500;
}

.documents-btn-register:hover,
.documents-btn-register:focus {
  background: var(--navy) !important;
  color: var(--white) !important;
}

.documents-list-wrap {
  margin-top: 36px;
}

.documents-list-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}

.documents-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.documents-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 18px;
}

.documents-list-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.documents-list-meta i {
  color: var(--navy);
  font-size: 1.2rem;
}

.documents-list-name {
  margin: 0;
  font-weight: 600;
  color: var(--navy);
  word-break: break-word;
}

.documents-list-size {
  margin: 0;
  font-size: 0.82rem;
  color: #5a677c;
}

.documents-list-remove {
  border: none;
  background: transparent;
  color: #8a96a8;
  cursor: pointer;
  padding: 6px;
}

.documents-list-remove:hover {
  color: #b42318;
}

.documents-auth-modal .modal-content {
  border: none;
  border-radius: 16px;
  box-shadow: 0 16px 50px rgba(0, 32, 91, 0.16);
}

.documents-auth-modal .modal-header {
  border-bottom: none;
  padding: 24px 24px 0;
}

.documents-auth-modal .modal-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
}

.documents-auth-modal .modal-body {
  padding: 20px 24px;
}

.documents-auth-modal .modal-footer {
  border-top: none;
  padding: 0 24px 24px;
}

.documents-modal-error {
  margin: 12px 0 0;
  color: #b42318;
  font-size: 0.88rem;
}

@media (max-width: 767.98px) {
  .documents-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .documents-search-wrap {
    max-width: none;
  }

  .documents-storage-card {
    min-width: 0;
  }

  .documents-auth-bar,
  .documents-user-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .documents-auth-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .documents-btn-login,
  .documents-btn-register {
    flex: 1;
  }

  .documents-dropzone {
    min-height: 220px;
  }
}

@media (max-width: 1199.98px) {
  .contact-info-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767.98px) {
  .contact-info-section {
    padding: 50px 0 24px;
  }

  .contact-info-heading {
    font-size: 1.55rem;
    margin-bottom: 28px;
  }

  .contact-info-grid {
    grid-template-columns: 1fr;
  }

  .contact-map-wrap {
    height: 280px;
  }

  .contact-reg-card {
    padding: 22px 20px;
  }
}

/* ---------- Useful Tools ---------- */
.tools-cards-section {
  background: var(--white);
  padding: 90px 0 30px;
}

.tools-card {
  position: relative;
  background: var(--white);
  border: 1px solid #e8edf3;
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(0, 32, 91, 0.06);
  padding: 52px 28px 32px;
  height: 100%;
}

.tools-card-icon {
  position: absolute;
  top: -28px;
  left: 28px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 8px 18px rgba(0, 32, 91, 0.16);
}

.tools-card-icon-purple {
  background: linear-gradient(180deg, #7c5cff 0%, #5b3fe8 100%);
}

.tools-card-icon-orange {
  background: linear-gradient(180deg, #ff9a4d 0%, #f07a22 100%);
}

.tools-card-icon-blue {
  background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
}

.tools-card h2 {
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 18px;
  line-height: 1.4;
}

.tools-card-links {
  list-style: disc;
  padding-left: 18px;
  margin: 0;
}

.tools-card-links li {
  color: #5b6573;
  margin-bottom: 10px;
}

.tools-card-links li::marker {
  color: #8a94a3;
}

.tools-card-links a {
  color: #5b6573;
  font-size: 0.92rem;
  line-height: 1.55;
}

.tools-card-links a:hover {
  color: var(--navy);
}

.tools-online-section {
  background: var(--white);
  padding: 50px 0 20px;
}

.tools-visual {
  position: relative;
  max-width: 540px;
}

.tools-visual img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 90px 18px 90px 18px;
  box-shadow: 18px 22px 0 0 rgba(0, 32, 91, 0.18);
}

.tools-visual-chart {
  position: absolute;
  right: 22px;
  bottom: 28px;
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 10px 24px rgba(0, 32, 91, 0.16);
}

.tools-online-copy {
  color: #6b7380;
  font-size: 0.98rem;
  line-height: 1.85;
  margin-bottom: 28px;
}

.tools-check-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.98rem;
}

.tools-check-link i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e8eef8;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
}

.tools-check-link:hover {
  color: var(--navy-dark);
}

@media (max-width: 991.98px) {
  .tools-cards-section {
    padding: 56px 0 20px;
  }

  .tools-card {
    margin-top: 18px;
  }

  .tools-visual {
    max-width: 100%;
  }

  .tools-visual img {
    height: 320px;
    box-shadow: 12px 16px 0 0 rgba(0, 32, 91, 0.16);
  }
}

@media (max-width: 767.98px) {
  .tools-visual img {
    height: 260px;
    border-radius: 60px 14px 60px 14px;
  }

  .tools-online-copy {
    font-size: 0.94rem;
  }
}

/* ---------- Guides & Resources ---------- */
.guides-intro-section {
  background: var(--white);
  padding: 70px 0 10px;
}

.guides-intro {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.guides-intro p {
  color: #6b7380;
  font-size: 0.98rem;
  line-height: 1.9;
  margin-bottom: 16px;
}

.guides-intro-note {
  font-style: italic;
  margin-bottom: 0 !important;
}

.guides-cards-section {
  background: var(--white);
  padding: 40px 0 20px;
}

.guide-card {
  background: var(--white);
  border: 1px solid #e8edf3;
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(0, 32, 91, 0.08);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.guide-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  color: var(--white);
}

.guide-card-header h2 {
  margin: 0;
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 700;
}

.guide-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.guide-card-header-purple {
  background: linear-gradient(180deg, #7c5cff 0%, #5b3fe8 100%);
}

.guide-card-header-orange {
  background: linear-gradient(180deg, #ff9a4d 0%, #f07a22 100%);
}

.guide-card-header-red {
  background: linear-gradient(180deg, #ef5b4c 0%, #d93a32 100%);
}

.guide-card-body {
  padding: 24px 26px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.guide-card-body p {
  color: #6b7380;
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 18px;
}

.guide-card-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.guide-card-links li {
  margin-bottom: 8px;
}

.guide-card-links a {
  color: #2563eb;
  font-size: 0.95rem;
  font-weight: 500;
}

.guide-card-links a:hover {
  color: var(--navy);
  text-decoration: underline;
}

@media (max-width: 991.98px) {
  .guides-intro-section {
    padding: 50px 0 10px;
  }

  .guides-cards-section {
    padding: 24px 0 10px;
  }
}

@media (max-width: 767.98px) {
  .guides-intro p {
    font-size: 0.94rem;
  }
}

/* ---------- Blog listing ---------- */
.blog-banner .page-banner-content {
  position: relative;
  z-index: 3;
}

.blog-banner .container-header {
  z-index: 3;
}

.blog-banner-watermark {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  font-size: clamp(4.5rem, 16vw, 11rem);
  font-weight: 800;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.12);
  text-transform: uppercase;
  line-height: 1;
}

.blog-listing-section {
  background: var(--white);
  padding-top: 70px;
  padding-bottom: 20px;
}

.blog-card {
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(0, 32, 91, 0.08);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 32, 91, 0.12);
}

.blog-card-image {
  height: 210px;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-date {
  color: #8a94a3;
  font-size: 0.82rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.blog-card-date i {
  color: var(--navy);
}

.blog-card-title {
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
}

.blog-card-excerpt {
  color: #6b7380;
  font-size: 0.92rem;
  line-height: 1.75;
  margin-bottom: 18px;
  flex: 1;
}

.blog-card-more {
  color: var(--navy);
  font-weight: 600;
  font-size: 0.92rem;
  margin-top: auto;
}

.blog-card-more:hover {
  color: var(--navy-light);
}

.blog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 48px 0 10px;
}

.blog-pagination a,
.blog-pagination span {
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
  background: transparent;
}

.blog-pagination a:hover {
  background: #e8eef8;
}

.blog-pagination a.is-active {
  background: var(--navy);
  color: var(--white);
}

.blog-pagination-ellipsis {
  letter-spacing: 2px;
}

.blog-pagination-next {
  padding: 0 18px !important;
}

@media (max-width: 991.98px) {
  .blog-listing-section {
    padding-top: 50px;
  }

  .blog-card-image {
    height: 190px;
  }
}

@media (max-width: 767.98px) {
  .blog-card-title {
    font-size: 1.05rem;
  }

  .blog-pagination {
    margin-top: 32px;
  }
}

/* ---------- Blog detail ---------- */
.blog-detail-section {
  background: var(--white);
  padding-top: 70px;
  padding-bottom: 20px;
}

.blog-article-image {
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 22px;
}

.blog-article-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.blog-article-meta {
  color: #8a94a3;
  font-size: 0.92rem;
  margin-bottom: 14px;
}

.blog-article-title {
  color: var(--navy);
  font-size: 2.15rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 22px;
}

.blog-article-body {
  color: #4b5563;
  font-size: 0.98rem;
  line-height: 1.85;
}

.blog-article-body p {
  margin-bottom: 1rem;
}

.blog-article-body a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.blog-article-body ul {
  padding-left: 1.15rem;
  margin: 8px 0 22px;
}

.blog-article-body li {
  margin-bottom: 12px;
}

.blog-comment {
  margin-top: 48px;
  padding-top: 8px;
}

.blog-comment-title {
  color: var(--navy);
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.blog-comment-note {
  color: #8a94a3;
  font-size: 0.9rem;
  margin-bottom: 22px;
}

.blog-comment .form-control-custom {
  min-height: 56px;
}

.blog-comment textarea.form-control-custom {
  min-height: 180px;
  resize: vertical;
}

.blog-comment-submit {
  margin-top: 22px;
  padding: 14px 28px;
}

.blog-sidebar-col {
  position: sticky;
  top: 120px;
  height: fit-content;
}

.blog-sidebar {
  position: sticky;
  top: 120px;
}

.blog-sidebar-title {
  color: var(--navy);
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 28px;
}

.blog-sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.blog-sidebar-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.blog-sidebar-item img {
  width: 92px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.blog-sidebar-item h4 {
  color: var(--navy);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 8px;
}

.blog-sidebar-item p {
  color: #8a94a3;
  font-size: 0.82rem;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.blog-sidebar-item p i {
  color: var(--navy);
}

.blog-sidebar-item:hover h4 {
  color: var(--navy-light);
}

@media (max-width: 991.98px) {
  .blog-detail-section {
    padding-top: 50px;
  }

  .blog-article-image img {
    height: 280px;
  }

  .blog-article-title {
    font-size: 1.7rem;
  }

  .blog-sidebar-col,
  .blog-sidebar {
    position: static;
    top: auto;
    height: auto;
  }
}

@media (max-width: 767.98px) {
  .blog-article-image img {
    height: 220px;
  }

  .blog-article-title,
  .blog-comment-title,
  .blog-sidebar-title {
    font-size: 1.45rem;
  }
}

/* ---------- Free Special Report ---------- */
.report-section {
  background: var(--white);
}

.report-title {
  max-width: 640px;
}

.report-cover-wrap {
  max-width: 520px;
  margin: 8px 0 28px;
}

.report-cover-img {
  width: 100%;
  height: auto;
  display: block;
}

.report-copy p {
  color: #707070;
  font-size: 0.95rem;
  line-height: 1.85;
  margin-bottom: 18px;
}

.report-copy p:last-child {
  margin-bottom: 0;
}

.report-copy strong {
  color: var(--text);
  font-weight: 600;
}

.report-form-col {
  position: sticky;
  top: 120px;
  height: fit-content;
  z-index: 2;
}

.report-form-card {
  background: #f4f6fa;
  border-radius: 16px;
  box-shadow: 0 10px 36px rgba(0, 32, 91, 0.08);
  padding: 36px 32px;
}

.report-form-fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.report-privacy {
  margin: 16px 0 22px;
  font-size: 0.88rem;
  font-style: italic;
  color: #d32f2f;
}

@media (max-width: 991.98px) {
  .report-cover-wrap {
    margin-left: auto;
    margin-right: auto;
  }

  .report-form-col {
    position: static;
    top: auto;
  }
}

@media (max-width: 575.98px) {
  .report-form-card {
    padding: 26px 18px;
  }
}

/* ---------- Growing Your Business / BGS ---------- */
.bgs-intro-section {
  background: var(--white);
}

.bgs-collage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.bgs-collage img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

.bgs-experience {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 148px;
  height: 148px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
  box-shadow: 0 10px 28px rgba(0, 32, 91, 0.28);
  border: 6px solid var(--white);
  padding: 12px;
}

.bgs-experience-years {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 6px;
}

.bgs-experience-label {
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.25;
  max-width: 90px;
}

.bgs-intro-text p {
  color: #707070;
  font-size: 0.95rem;
  line-height: 1.85;
  margin-bottom: 16px;
}

.bgs-intro-text p:last-child {
  margin-bottom: 0;
}

.bgs-intro-text strong {
  color: var(--navy);
  font-weight: 700;
}

.bgs-reasons-section {
  background: #f7f9fc;
  padding: 70px 0 80px;
}

.bgs-reasons-heading {
  color: var(--navy);
  font-size: 1.55rem;
  font-weight: 700;
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
  line-height: 1.4;
}

.bgs-reasons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.bgs-reason-card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(0, 32, 91, 0.07);
  padding: 28px 26px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  border-bottom: 4px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.bgs-reason-card:hover {
  border-bottom-color: var(--navy);
  box-shadow: 0 12px 32px rgba(0, 32, 91, 0.1);
}

.bgs-reason-wide {
  grid-column: 1 / -1;
}

.bgs-reason-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #e8eef8;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.bgs-reason-card h3 {
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.bgs-reason-card h3::after {
  content: "";
  display: block;
  width: 72px;
  height: 2px;
  background: var(--navy);
  margin-top: 8px;
}

.bgs-reason-card p {
  color: #6b7380;
  font-size: 0.92rem;
  line-height: 1.75;
  margin: 0;
}

.bgs-video-section {
  background: var(--white);
}

.bgs-video-copy p {
  color: #707070;
  font-size: 0.98rem;
  line-height: 1.85;
  margin-bottom: 18px;
}

.bgs-video-copy p:last-child {
  margin-bottom: 0;
}

.bgs-video-copy a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}

.bgs-video-copy a:hover {
  text-decoration: underline;
}

.bgs-video-frame {
  position: relative;
}

.bgs-video-tab {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 8px 16px;
  border-radius: 8px 8px 0 0;
}

.bgs-video-wrap {
  border-radius: 0 12px 12px 12px;
}

.bgs-video-caption {
  margin: 12px 0 0;
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
}

@media (max-width: 767.98px) {
  .bgs-collage img {
    height: 140px;
  }

  .bgs-experience {
    width: 118px;
    height: 118px;
  }

  .bgs-experience-years {
    font-size: 1.55rem;
  }

  .bgs-reasons-grid {
    grid-template-columns: 1fr;
  }

  .bgs-reasons-heading {
    font-size: 1.25rem;
  }
}

/* ---------- Why SUPER Accountants ---------- */
.super-intro-section {
  padding: 72px 0 28px;
  background: var(--white);
}

.super-intro-copy {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.super-intro-copy p {
  color: #6b7380;
  font-size: 1.02rem;
  line-height: 1.85;
  margin-bottom: 18px;
}

.super-intro-copy p:last-child {
  margin-bottom: 0;
}

.super-intro-copy strong {
  color: var(--navy);
  font-weight: 700;
}

.super-points-section {
  padding: 28px 0 20px;
  background: var(--white);
}

.super-points-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.super-point-card {
  position: relative;
  border-radius: 16px;
  padding: 36px 32px 32px 92px;
  min-height: 100%;
}

.super-point-wide {
  grid-column: 1 / -1;
}

.super-point-num {
  position: absolute;
  left: 24px;
  top: 32px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.super-point-card p {
  color: #5c6573;
  font-size: 0.95rem;
  line-height: 1.8;
  margin: 0;
}

.super-point-card strong {
  color: var(--navy);
  font-weight: 700;
}

.super-point-blue {
  background: #e8f4fc;
}

.super-point-blue .super-point-num {
  background: #4aa3dc;
}

.super-point-amber {
  background: #fdf3dc;
}

.super-point-amber .super-point-num {
  background: #e0a73a;
}

.super-point-yellow {
  background: #fbf6c9;
}

.super-point-yellow .super-point-num {
  background: #d4b82e;
}

.super-point-green {
  background: #e4f6ea;
}

.super-point-green .super-point-num {
  background: #4caf70;
}

.super-point-rose {
  background: #fde8e4;
}

.super-point-rose .super-point-num {
  background: #e06b5c;
}

.super-cta-section {
  padding: 36px 0 12px;
  background: var(--white);
}

.super-cta-copy {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  color: #6b7380;
  font-size: 1.02rem;
  line-height: 1.85;
}

.super-cta-copy strong {
  color: var(--navy);
  font-weight: 700;
}

.super-instance-section {
  padding: 48px 0 40px;
  background: var(--white);
}

.super-instance-title {
  margin-bottom: 36px;
}

.super-instance-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.super-instance-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.super-instance-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.15rem;
}

.super-instance-icon-blue {
  background: linear-gradient(145deg, #5eb6ea, #2b7ec4);
}

.super-instance-icon-green {
  background: linear-gradient(145deg, #5ec98a, #2a9d5c);
}

.super-instance-icon-navy {
  background: linear-gradient(145deg, #1a4d8f, var(--navy));
}

.super-instance-icon-gold {
  background: linear-gradient(145deg, #f0b14a, #d8891a);
}

.super-instance-list p {
  color: #6b7380;
  font-size: 0.98rem;
  line-height: 1.75;
  margin: 6px 0 0;
}

.super-instance-list strong {
  color: var(--navy);
  font-weight: 700;
}

.super-book-visual {
  max-width: 460px;
  margin-left: auto;
}

.super-book-img {
  width: 100%;
  height: auto;
  display: block;
}

.super-instance-close {
  max-width: 900px;
  margin: 48px auto 0;
  text-align: center;
  color: #6b7380;
  font-size: 0.98rem;
  line-height: 1.85;
}

.super-instance-close a {
  color: var(--navy);
  font-weight: 700;
}

.super-instance-close a:hover {
  text-decoration: underline;
}

@media (max-width: 991.98px) {
  .super-book-visual {
    margin: 8px auto 0;
  }
}

/* ---------- Privacy Policy ---------- */
.privacy-banner {
  background: url("../image/privacy-banner.png") center/cover no-repeat;
}

.privacy-banner .page-banner-overlay {
  background: rgba(0, 0, 0, 0.48);
}

.privacy-banner .page-banner-title {
  font-size: clamp(1.85rem, 4vw, 3.1rem);
}

.privacy-section {
  background: var(--white);
  padding: 72px 0 20px;
}

.privacy-content {
  max-width: 980px;
}

.privacy-block {
  margin-bottom: 42px;
}

.privacy-block h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.4;
}

.privacy-block p {
  color: #5a6270;
  font-size: 0.98rem;
  line-height: 1.9;
  margin-bottom: 0;
}

.privacy-contact {
  margin-top: 18px;
}

.privacy-contact p {
  margin-bottom: 4px;
}

.privacy-contact-name {
  font-weight: 700;
  color: var(--navy) !important;
  margin-bottom: 8px !important;
}

.privacy-contact a {
  color: var(--navy);
  font-weight: 500;
}

.privacy-contact a:hover {
  text-decoration: underline;
}

@media (max-width: 767.98px) {
  .privacy-section {
    padding: 48px 0 8px;
  }

  .privacy-block {
    margin-bottom: 32px;
  }

  .privacy-block h2 {
    font-size: 1.15rem;
  }
}

/* ---------- Anti-Spam Policy ---------- */
.antispam-banner {
  background: url("../image/anti-spam-banner.png") center/cover no-repeat;
}

.antispam-banner .page-banner-overlay {
  background: rgba(0, 0, 0, 0.5);
}

.antispam-section {
  background: var(--white);
  padding: 72px 0 20px;
}

.antispam-card {
  max-width: 1100px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(16, 36, 72, 0.1);
  padding: 48px 56px;
}

.antispam-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.antispam-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 22px;
  color: #5a6270;
  font-size: 1.02rem;
  line-height: 1.9;
}

.antispam-list li:last-child {
  margin-bottom: 0;
}

.antispam-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5a6270;
}

.antispam-list a {
  color: #007bff;
  font-weight: 600;
  text-decoration: none;
}

.antispam-list a:hover {
  text-decoration: underline;
}

@media (max-width: 767.98px) {
  .antispam-section {
    padding: 48px 0 8px;
  }

  .antispam-card {
    padding: 28px 22px;
    border-radius: 14px;
  }

  .antispam-list li {
    font-size: 0.96rem;
    margin-bottom: 18px;
  }
}

/* ---------- Disclaimer ---------- */
.disclaimer-banner {
  background: url("../image/privacy-banner.png") center/cover no-repeat;
}

.disclaimer-banner .page-banner-overlay {
  background: rgba(8, 16, 36, 0.58);
}

.disclaimer-banner-graphics {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.disclaimer-graphic {
  position: absolute;
  color: rgba(255, 255, 255, 0.22);
}

.disclaimer-graphic-warn {
  left: 7%;
  top: 28%;
  font-size: clamp(7rem, 16vw, 13rem);
}

.disclaimer-graphic-list {
  right: 8%;
  top: 22%;
  font-size: clamp(5rem, 12vw, 9rem);
}

.disclaimer-banner .container-header {
  z-index: 3;
}

.disclaimer-section {
  position: relative;
  z-index: 4;
  margin-top: -80px;
  padding: 0 0 20px;
  background: transparent;
}

.disclaimer-card {
  max-width: 1100px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(16, 36, 72, 0.12);
  padding: 48px 56px;
}

.disclaimer-card p {
  color: #5a6270;
  font-size: 1.02rem;
  line-height: 1.9;
  margin-bottom: 22px;
}

.disclaimer-card p:last-child {
  margin-bottom: 0;
}

@media (max-width: 767.98px) {
  .disclaimer-section {
    margin-top: -48px;
    padding: 0 0 8px;
  }

  .disclaimer-card {
    padding: 28px 22px;
    border-radius: 14px;
  }

  .disclaimer-card p {
    font-size: 0.96rem;
    margin-bottom: 18px;
  }

  .disclaimer-graphic-warn,
  .disclaimer-graphic-list {
    opacity: 0.7;
  }
}

@media (max-width: 767.98px) {
  .super-intro-section {
    padding: 48px 0 16px;
  }

  .super-points-grid {
    grid-template-columns: 1fr;
  }

  .super-point-card {
    padding: 28px 22px 24px 80px;
  }

  .super-point-num {
    left: 16px;
    top: 24px;
  }
}

/* ============================================
   Service page — desktop vs tablet/mobile
   ============================================ */

.service-banner {
  background: url("../image/banner-bg.png") center/cover no-repeat;
}

.service-icon-bar {
  display: none;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0, 32, 91, 0.06);
  position: relative;
  z-index: 3;
  margin-top: -36px;
}

.service-icon-track {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  gap: 4px;
  overflow-x: auto;
  padding: 18px 0 8px;
  scrollbar-width: thin;
}

.service-icon-track::-webkit-scrollbar {
  height: 4px;
}

.service-icon-track::-webkit-scrollbar-thumb {
  background: #c5d0de;
  border-radius: 4px;
}

.service-icon-item {
  flex: 1 0 auto;
  min-width: 92px;
  max-width: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 6px 8px 14px;
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.25;
  border-bottom: 3px solid transparent;
  white-space: normal;
}

.service-icon-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--bg-light);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.service-icon-item.is-active,
.service-icon-item:hover {
  color: var(--navy);
  border-bottom-color: var(--navy);
}

.service-icon-item.is-active .service-icon-circle,
.service-icon-item:hover .service-icon-circle {
  background: var(--navy);
  color: var(--white);
}

.service-main-section {
  padding: 56px 0 20px;
  background: var(--white);
}

.service-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  grid-template-areas:
    "nav content"
    "form content";
  column-gap: 48px;
  row-gap: 28px;
  align-items: start;
}

.service-nav-col {
  grid-area: nav;
}

.service-form-col {
  grid-area: form;
}

.service-content-col {
  grid-area: content;
  min-width: 0;
}

.service-side-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-side-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid #d7dee8;
  background: var(--white);
  color: #5a677c;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 4px;
  letter-spacing: 0.02em;
}

.service-side-nav a i {
  font-size: 0.72rem;
  color: #9aa6b8;
}

.service-side-nav a:hover {
  color: var(--navy);
  border-color: var(--navy);
}

.service-side-nav a.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.service-side-nav a.is-active i {
  color: var(--white);
}

.service-lead-card {
  background: var(--white);
  border: 1px solid #e6ebf2;
  border-radius: 8px;
  padding: 22px 18px;
  box-shadow: 0 10px 28px rgba(0, 32, 91, 0.06);
}

.service-lead-card .form-control-custom {
  margin-bottom: 12px;
}

.service-lead-card .btn-submit {
  margin-top: 6px;
}

.service-panel[hidden] {
  display: none !important;
}

.service-panel.is-active {
  display: block;
}

.service-panel h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 1.1rem;
}

.service-panel p {
  color: #5a677c;
  font-size: 0.98rem;
  margin-bottom: 1rem;
}

.service-panel a {
  color: var(--navy);
  font-weight: 600;
}

.service-panel a:hover {
  text-decoration: underline;
}

.service-article-img {
  width: 100%;
  height: auto;
  max-height: 340px;
  object-fit: cover;
  border-radius: 8px;
  margin: 8px 0 22px;
}

.service-check-list,
.service-bullet-list {
  margin: 0 0 1.15rem;
  padding: 0;
  list-style: none;
}

.service-check-list li,
.service-bullet-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  color: #5a677c;
  font-size: 0.96rem;
}

.service-check-list li::before,
.service-bullet-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 3px;
  color: #2e9e4d;
  font-size: 0.85rem;
}

@media (max-width: 991.98px) {
  .service-icon-bar {
    display: block;
  }

  .service-nav-col {
    display: none;
  }

  .service-main-section {
    padding: 36px 0 10px;
  }

  .service-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    grid-template-areas:
      "content form";
    column-gap: 28px;
    row-gap: 24px;
  }

  .service-panel h2 {
    font-size: 1.7rem;
  }

  .service-lead-card {
    position: sticky;
    top: 92px;
  }
}

@media (max-width: 767.98px) {
  .service-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "content"
      "form";
  }

  .service-lead-card {
    position: static;
  }

  .service-icon-item {
    min-width: 86px;
    font-size: 0.68rem;
  }

  .service-panel h2 {
    font-size: 1.5rem;
  }

  .service-article-img {
    max-height: 220px;
  }
}

/* ---------- Extra layout safety (all pages) ---------- */
@media (hover: none) {
  .service-hover-img,
  .service-item:hover .service-hover-img {
    display: none;
  }

  .service-item:hover .service-arrow {
    right: auto;
    left: 0;
    top: 0;
    transform: none;
    width: 38px;
    height: 38px;
    background: transparent;
    color: var(--navy);
    border-color: var(--navy);
    box-shadow: none;
  }

  .choose-card:hover,
  .blog-card:hover,
  .expertise-owner-card:hover {
    transform: none;
  }
}

@media (max-width: 1199.98px) {
  .contact-info-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .service-layout {
    column-gap: 28px;
  }
}

@media (max-width: 991.98px) {
  .contact-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .expertise-owner-card {
    padding: 36px 22px 32px;
  }

  .antispam-card,
  .disclaimer-card {
    padding: 32px 24px;
  }

  .bgs-reason-card {
    align-items: flex-start;
  }

  .tools-visual {
    overflow: hidden;
  }

  .blog-article-title {
    font-size: clamp(1.35rem, 4vw, 1.7rem);
  }

  .privacy-block h2 {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 767.98px) {
  .contact-info-grid {
    grid-template-columns: 1fr;
  }

  .book-section-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .expertise-book-img,
  .super-book-img,
  .report-cover-img,
  .book-cover-img {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-legal {
    line-height: 1.8;
  }

  .marquee-word {
    font-size: clamp(2rem, 12vw, 2.8rem);
  }

  .documents-list-item {
    align-items: flex-start;
  }
}

@media (max-width: 399.98px) {
  .btn-header-icon {
    width: 42px;
    height: 42px;
  }

  .logo-img {
    height: 36px;
  }

  .stat-card h3 {
    font-size: 1.4rem;
  }

  .service-icon-item {
    min-width: 78px;
  }

  .choose-card,
  .value-card,
  .refer-form-card,
  .report-form-card {
    padding-left: 16px;
    padding-right: 16px;
  }
}
