/* ============================================
   ALPHA TAXACCT - ENTERPRISE-GRADE DESIGN SYSTEM
   Big-4 Level Interactive Experience
   ============================================ */

/* Brand Colors - Logo System (no green) */
:root {
  --dark-navy: #0D3B66;
  --primary-blue: #1E5AA5;
  --primary-blue-hover: #15467F;
  --light-blue: #5DA9E9;
  --light-bg: #F4F8FC;
  --dark-text: #1E2A38;
  --white: #FFFFFF;
  --shadow-sm: 0 4px 12px rgba(13, 59, 102, 0.08);
  --shadow-md: 0 8px 24px rgba(13, 59, 102, 0.08);
  --shadow-lg: 0 16px 48px rgba(13, 59, 102, 0.08);
  --shadow-xl: 0 24px 64px rgba(13, 59, 102, 0.08);
  --shadow-2xl: 0 32px 80px rgba(13, 59, 102, 0.08);
  --anim-duration: 800ms;
  --anim-easing: cubic-bezier(0.22, 1, 0.36, 1);
  --border-radius: 24px;
  --border-radius-sm: 16px;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--dark-text);
  background-color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  font-size: 16px;
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body.reduced-motion * {
  animation: none !important;
  transition: none !important;
}

/* ============================================
   SCROLL PROGRESS BAR
   Fixed top progress indicator
   ============================================ */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: rgba(13, 59, 102, 0.1);
  z-index: 9999;
  overflow: hidden;
}

.scroll-progress__bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #0D3B66, #1E5AA5);
  transform-origin: left;
  transform: scaleX(0);
  will-change: transform;
  box-shadow: 0 0 8px rgba(30, 90, 165, 0.3);
  transition: transform 0.1s linear;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .scroll-progress__bar {
    transition: none !important;
  }
}

body.reduced-motion .scroll-progress {
  display: none;
}

/* ============================================
   CONTAINER & LAYOUT
   ============================================ */

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 24px;
  }
}

/* ============================================
   NAVIGATION MENU - Enterprise-Grade
   ============================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  padding: 24px 0;
  transition: background-color 600ms var(--anim-easing),
              box-shadow 600ms var(--anim-easing),
              padding 600ms var(--anim-easing);
  backdrop-filter: blur(0px);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 24px rgba(13, 59, 102, 0.1);
  padding: 16px 0;
}

.navbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo a {
  font-size: 24px;
  font-weight: 700;
  color: #FFFFFF;
  text-decoration: none;
  transition: color 400ms var(--anim-easing);
}

.navbar.scrolled .navbar-logo a {
  color: var(--dark-navy);
}

.navbar-menu {
  display: flex;
  list-style: none;
  gap: 40px;
  align-items: center;
  margin: 0;
  padding: 0;
}

/* Premium Corporate Navigation Menu - Hover Effect */
.nav-link {
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  transition: letter-spacing 0.4s ease,
              color 0.3s ease;
}

/* Scrolled navbar: dark blue default */
.navbar.scrolled .nav-link {
  color: #1463a2;
}

/* Premium Underline Animation - Grows from left to right */
.nav-link::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0%;
  height: 2px;
  background: #4692ce;
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Hover State: Letter spacing increase + color fade + underline reveal */
.nav-link:hover {
  letter-spacing: 4px;
  color: rgba(255, 255, 255, 1);
}

.nav-link:hover::after {
  width: 100%;
}

/* Scrolled navbar hover: darker blue fade */
.navbar.scrolled .nav-link:hover {
  color: #0D3B66;
}

.navbar.scrolled .nav-link::after {
  background: #4692ce;
}

/* Active link: no underline */
.nav-link.active::after {
  display: none;
}

/* Active link: white text, no strike-through */
.nav-link.active {
  color: #FFFFFF;
}

.navbar.scrolled .nav-link.active {
  color: var(--primary-blue);
}

.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.navbar-toggle span {
  width: 28px;
  height: 3px;
  background: #FFFFFF;
  transition: all 400ms var(--anim-easing);
  border-radius: 2px;
}

.navbar.scrolled .navbar-toggle span {
  background: var(--dark-navy);
}

.navbar-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.navbar-toggle.active span:nth-child(2) {
  opacity: 0;
}

.navbar-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu */
@media (max-width: 1024px) {
  .navbar-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 40px 40px;
    gap: 32px;
    transition: right 500ms var(--anim-easing);
    box-shadow: -4px 0 24px rgba(13, 59, 102, 0.15);
  }

  .navbar-menu.active {
    right: 0;
  }

  .nav-link {
    color: var(--dark-text);
    font-size: 18px;
  }

  .navbar-toggle {
    display: flex;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 20px 0;
  }

  .navbar.scrolled {
    padding: 14px 0;
  }

  .navbar-logo a {
    font-size: 20px;
  }
}

/* ============================================
   ADVANCED MULTI-LAYER HERO SECTION
   Enterprise-grade parallax depth system
   ============================================ */

.hero-section {
  position: relative;
  height: 100vh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 !important;
  padding-top: 80px !important;
  overflow: hidden;
  background-color: var(--primary-blue);
  opacity: 1 !important;
  transform: none !important;
  will-change: transform;
}

@media (max-width: 768px) {
  .hero-section {
    padding-top: 70px !important;
  }
}

/* Background Layer 1 - Deep Parallax */
.hero-layer-bg {
  position: absolute;
  top: -20%;
  left: 0;
  width: 100%;
  height: 140%;
  background-image: url('https://images.unsplash.com/photo-1554224155-6726b3ff858f?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: transform;
  transform: translateZ(0);
  z-index: 0;
}

/* Background Layer 2 - Mid Parallax */
.hero-layer-mid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 50%, rgba(30, 90, 165, 0.15) 0%, transparent 60%);
  will-change: transform;
  transform: translateZ(0);
  z-index: 1;
}

/* Overlay Layer */
.hero-overlay-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgb(154 175 195 / 85%) 0%, rgba(13, 59, 102, 0.65) 100%);
  /*background: linear-gradient(90deg, rgba(13, 59, 102, 0.85) 0%, rgba(13, 59, 102, 0.65) 100%);*/
  z-index: 2;
}

/* Foreground Content Layer */
.hero-content-layer {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-section .container {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

/* Hero Content - Increased 10% */
.hero-content {
  max-width: 616px;
  padding: 0;
  text-align: left;
}

/* Massive Headline with Mask Reveal - Increased 10% */
.hero-headline {
  font-size: clamp(32px, 5.1vw, 59px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  overflow: hidden;
  will-change: clip-path;
}

.hero-headline .word-wrapper {
  display: inline-block;
  clip-path: inset(0 100% 0 0);
  transition: clip-path var(--anim-duration) var(--anim-easing);
}

.hero-headline.revealed .word-wrapper {
  clip-path: inset(0 0% 0 0);
}

.hero-headline .word {
  display: inline-block;
  margin-right: 0.3em;
  opacity: 0;
  transform: translateY(37px);
  transition: opacity 800ms var(--anim-easing),
              transform 800ms var(--anim-easing);
}

.hero-headline.revealed .word {
  opacity: 1;
  transform: translateY(0);
}

/* Word stagger delays */
.hero-headline .word:nth-child(1) { transition-delay: 200ms; }
.hero-headline .word:nth-child(2) { transition-delay: 300ms; }
.hero-headline .word:nth-child(3) { transition-delay: 400ms; }
.hero-headline .word:nth-child(4) { transition-delay: 500ms; }
.hero-headline .word:nth-child(5) { transition-delay: 600ms; }
.hero-headline .word:nth-child(6) { transition-delay: 700ms; }
.hero-headline .word:nth-child(7) { transition-delay: 800ms; }
.hero-headline .word:nth-child(8) { transition-delay: 900ms; }

/* Gradient Highlight - visible on dark hero background */
.highlight-gradient {
  /*background: linear-gradient(135deg, #4692ce, #abdaf5);*/
  background: linear-gradient(135deg, #bfd3e3, #abdaf5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

/* Hero Subtext - Increased 10% */
.hero-subtext {
  font-size: clamp(12px, 1.5vw, 18px);
  font-weight: 400;
  color: #ffffff;
  line-height: 1.6;
  margin-bottom: 35px;
  max-width: 437px;
}

/* Hero Buttons - Increased 10% */
.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-hero {
  position: relative;
  display: inline-block;
  padding: 12px 24px;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  transition: all 500ms var(--anim-easing);
  cursor: pointer;
  border: 2px solid transparent;
  overflow: hidden;
  will-change: transform;
}

.btn-hero-primary {
  background-color: var(--primary-blue);
  color: #FFFFFF;
  box-shadow: 0 8px 24px rgba(13, 59, 102, 0.08);
}

.btn-hero-primary:hover {
  background-color: var(--primary-blue-hover);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 40px rgba(13, 59, 102, 0.08);
}

.btn-hero-primary:active {
  transform: translateY(-2px) scale(0.97);
}

.btn-hero-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
  backdrop-filter: blur(10px);
}

.btn-hero-secondary:hover {
  background-color: var(--primary-blue);
  color: #FFFFFF;
  border-color: var(--primary-blue);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(13, 59, 102, 0.2);
}

.btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 600ms var(--anim-easing);
}

.btn-hero:hover .btn-shine {
  left: 100%;
}

/* Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0.8;
  animation: scrollPulse 2s ease-in-out infinite;
}

.scroll-line {
  width: 2px;
  height: 40px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.8), transparent);
}

.scroll-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.8; transform: translateX(-50%) translateY(0); }
  50% { opacity: 1; transform: translateX(-50%) translateY(10px); }
}

/* ============================================
   PINNED STORYTELLING SECTION - Enhanced Parallax
   Full-width content panel with ghost typography
   ============================================ */

.storytelling-section {
  position: relative;
  width: 100%;
  height: 110vh;
  min-height: 700px;
  overflow: visible; /* IMPORTANT: Allow ghost text to be visible */
  background-color: var(--light-bg);
  display: flex;
  align-items: flex-end; /* Position content panel at bottom */
  opacity: 1 !important;
  transform: none !important;
}

/* Background Layer - Parallax Image (z-index: 1) */
.story-background-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://images.unsplash.com/photo-1554224155-6726b3ff858f?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
  will-change: transform, filter;
  transform: scale(1.01); /* Reduced from 1.05 - subtle scaling */
  filter: brightness(1);
  transition: transform 50ms linear, filter 50ms linear;
}

/* Ghost Typography - Large Background Text (z-index: 2)
   Positioned near bottom, behind content panel */
.story-ghost-text {
  position: absolute;
  bottom: 120px; /* Position near panel */
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(120px, 14vw, 240px);
  font-weight: 800;
  letter-spacing: -3px;
  white-space: nowrap;
  opacity: 0.06;
  color: #FFFFFF;
  z-index: 2; /* Behind panel (z-index 3), above background (z-index 1) */
  pointer-events: none;
  will-change: opacity, transform;
  transition: opacity 100ms linear;
}

/* Full-Width Content Panel Wrapper (z-index: 3)
   Positioned at bottom of section */
.story-panel-wrapper {
  position: relative;
  width: 100%;
  z-index: 3; /* Above ghost text (z-index 2) */
  padding: 0;
  margin-bottom: 0; /* Positioned at bottom */
}

/* Content Panel Container - Angled Top Edge */
.story-panel-container {
  width: 100%;
  background: #FFFFFF;
  clip-path: polygon(0 12%, 100% 0%, 100% 100%, 0% 100%);
  box-shadow: 0 -8px 40px rgba(13, 59, 102, 0.12);
  will-change: background-color;
  transition: background-color 100ms linear;
  position: relative;
  overflow: hidden;
  z-index: 3;
}

/* Panel Background Gradient Overlay (for scroll transition) */
.story-panel-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0D3B66, #1E5AA5);
  opacity: 0;
  transition: opacity 100ms linear;
  z-index: 0;
  pointer-events: none;
  will-change: opacity;
}

/* Panel Content - Inner Container (z-index: 4) */
.story-panel-content {
  max-width: 1056px; /* Reduced by 20% from 1320px */
  margin: 0 auto;
  padding: 64px 32px; /* Reduced by 20% from 80px 40px */
  position: relative;
  z-index: 4;
}

/* Panel Typography */
.story-panel-headline {
  font-size: clamp(29px, 4vw, 48px); /* Reduced by 20% */
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 19px 0; /* Reduced by 20% from 24px */
  color: var(--dark-text);
  will-change: color;
  transition: color 100ms linear;
  max-width: 560px; /* Reduced by 20% from 700px */
}

.story-panel-subtext {
  font-size: clamp(14px, 1.6vw, 18px); /* Reduced by 20% */
  font-weight: 400;
  line-height: 1.7;
  color: rgba(30, 42, 56, 0.8);
  margin: 0 0 32px 0; /* Reduced by 20% from 40px */
  will-change: color;
  transition: color 100ms linear;
  max-width: 560px; /* Reduced by 20% from 700px */
}

/* Panel CTA Button */
.story-panel-cta {
  margin-top: 26px; /* Reduced by 20% from 32px */
}

.btn-story-panel {
  display: inline-block;
  padding: 13px 26px; /* Reduced by 20% from 16px 32px */
  background-color: var(--primary-blue);
  color: #FFFFFF;
  font-size: 13px; /* Reduced by 20% from 16px */
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px; /* Reduced by 20% from 8px */
  transition: all 400ms var(--anim-easing);
  box-shadow: 0 3px 13px rgba(13, 59, 102, 0.08);
}

.btn-story-panel:hover {
  background-color: var(--primary-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 19px rgba(13, 59, 102, 0.08);
}

/* Responsive */
@media (max-width: 1024px) {
  .storytelling-section {
    height: 100vh;
    min-height: 650px;
  }
  
  .story-ghost-text {
    font-size: clamp(100px, 12vw, 200px);
    bottom: 110px; /* Adjusted for tablet */
  }
  
  .story-panel-content {
    padding: 48px 32px; /* Reduced by 20% from 60px 40px */
  }
  
  .story-panel-container {
    clip-path: polygon(0 10%, 100% 0%, 100% 100%, 0% 100%);
  }
}

@media (max-width: 768px) {
  .storytelling-section {
    height: 100vh;
    min-height: 600px;
  }
  
  .story-ghost-text {
    font-size: clamp(80px, 10vw, 160px);
    bottom: 100px; /* Adjusted for mobile */
  }
  
  .story-panel-content {
    padding: 40px 19px; /* Reduced by 20% from 50px 24px */
  }
  
  .story-panel-container {
    clip-path: polygon(0 8%, 100% 0%, 100% 100%, 0% 100%);
  }
  
  .story-panel-headline {
    font-size: clamp(22px, 4.8vw, 32px); /* Reduced by 20% */
  }
  
  .story-panel-subtext {
    font-size: clamp(13px, 2vw, 16px); /* Reduced by 20% */
  }
}

/* ============================================
   SECTION STYLES - Enterprise Transitions
   ============================================ */

.section {
  position: relative;
  padding: 60px 0;
  opacity: 0;
  transform: translateY(80px);
  transition: opacity 1000ms var(--anim-easing),
              transform 1000ms var(--anim-easing);
}

.section.revealed {
  opacity: 1;
  transform: translateY(0);
}

.section-bg-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--light-bg);
  opacity: 0;
  transition: opacity 1200ms var(--anim-easing);
  z-index: 0;
}

.section.revealed .section-bg-layer {
  opacity: 1;
}

.section-services {
  background-color: var(--light-bg);
  padding: 60px 0;
}

.section-services.section-alt {
  background-color: var(--white);
}

.section-services.section-alt .section-bg-layer {
  background-color: var(--white);
}

/* Clear visual separation between Australian and Individual services */
#services {
  background-color: var(--light-bg);
}

#individual-services {
  background-color: #FFFFFF;
  border-top: 1px solid rgba(13, 59, 102, 0.12);
  padding-bottom: 60px;
}

#individual-services .section-bg-layer {
  background-color: #FFFFFF;
}

/* ============================================
   AUSTRALIAN COMPLIANCES - Custom Structured Layout
   Scoped to #services only
   ============================================ */
#services .aus-compliance-wrapper > .service-card {
  display: none;
}

#services .aus-compliance-wrapper {
  display: block;
}

#services .aus-compliance-layout {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(246px, 323px) minmax(220px, 1fr);
  gap: 28px;
  align-items: start;
}

#services .aus-services-col {
  display: grid;
  gap: 19px;
}

#services .aus-service-item {
  background: #FFFFFF;
  border: 1px solid rgba(13, 59, 102, 0.08);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(13, 59, 102, 0.08);
  padding: 22px;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  column-gap: 14px;
  align-items: stretch;
  transition: transform 400ms var(--anim-easing), box-shadow 400ms var(--anim-easing);
}

#services .aus-service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(13, 59, 102, 0.12);
}

#services .aus-service-icon {
  width: 62px;
  height: 62px;
  border-radius: 12px;
  background: rgba(93, 169, 233, 0.12);
  color: #1E5AA5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  grid-row: 1 / span 2;
  align-self: start;
}

#services .aus-service-icon img,
#services .aus-service-icon svg {
  width: 35px;
  height: 35px;
  object-fit: contain;
}

#services .aus-service-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 6px 0;
  color: #0D3B66;
}

#services .aus-service-title a {
  color: inherit;
  text-decoration: none;
  transition: color 250ms var(--anim-easing);
}

#services .aus-service-title a:hover {
  color: var(--primary-blue, #1E5AA5);
}

#services .aus-service-description {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #1E2A38;
}

#services .aus-center-visual {
  position: relative;
  min-height: 323px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#services .aus-center-circle {
  position: absolute;
  width: 293px;
  height: 293px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(93, 169, 233, 0.22) 0%, rgba(93, 169, 233, 0.06) 65%, transparent 100%);
  z-index: 0;
}

#services .aus-map-image {
  position: relative;
  z-index: 1;
  width: min(100%, 262px);
  height: auto;
  filter: drop-shadow(0 10px 24px rgba(13, 59, 102, 0.18));
}

#services .aus-flag-badge {
  position: absolute;
  right: 20px;
  bottom: 40px;
  z-index: 2;
  width: 61px;
  height: 40px;
  border-radius: 6px;
  border: 2px solid #FFFFFF;
  background: linear-gradient(180deg, #1E5AA5 0%, #0D3B66 100%);
  box-shadow: 0 8px 16px rgba(13, 59, 102, 0.2);
}

#services .aus-flag-badge::after {
  content: "AU";
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

#services .aus-service-item-bottom {
  grid-column: 1 / 4;
  max-width: 493px;
  width: 100%;
  justify-self: center;
  text-align: left;
}

/* Left column cards: keep consistent side-by-side layout */
#services .aus-services-col-left .aus-service-item {
  text-align: left;
}

#services .aus-services-col-left .aus-service-icon {
  margin: 0;
}

/* Australian section intro paragraph: smaller font + wider measure */
#services .section-subtitle {
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.55;
  max-width: 1100px;
}

@media (max-width: 1024px) {
  #services .aus-compliance-layout {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  #services .aus-center-visual {
    grid-column: 1 / 3;
    order: -1;
    min-height: 308px;
  }

  #services .aus-service-item-bottom {
    grid-column: 1 / 3;
  }
}

@media (max-width: 768px) {
  #services .aus-compliance-layout {
    grid-template-columns: 1fr;
  }

  #services .aus-center-visual,
  #services .aus-service-item-bottom {
    grid-column: auto;
  }

  #services .aus-center-visual {
    min-height: 264px;
  }

  #services .aus-service-title {
    font-size: 24px;
  }

  #services .aus-service-description {
    font-size: 16px;
  }

  #services .section-subtitle {
    font-size: clamp(14px, 2.4vw, 16px);
    max-width: 100%;
  }
}

.section-features {
  background-color: var(--light-bg);
  padding: 60px 0;
}

.section-features .section-bg-layer {
  background-color: var(--light-bg);
}

#features {
  border-top: 1px solid rgba(13, 59, 102, 0.12);
  padding-top: 60px;
}

/* ============================================
   TESTIMONIALS + FAQ (Homepage)
   ============================================ */
.section-testimonials {
  background-color: var(--white);
}

.section-testimonials .section-bg-layer {
  background-color: var(--white);
}

.testimonial-slider {
  max-width: 980px;
  margin: 0 auto;
}

.testimonial-viewport {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(13, 59, 102, 0.08);
  box-shadow: 0 12px 34px rgba(13, 59, 102, 0.08);
  background: var(--white);
}

.testimonial-track {
  display: flex;
  width: 100%;
  will-change: transform;
  transition: transform 700ms var(--anim-easing);
}

.testimonial-card {
  flex: 0 0 100%;
  padding: 34px 32px;
}

.testimonial-quote {
  margin: 0 0 22px 0;
  font-size: 20px;
  line-height: 1.75;
  color: rgba(30, 42, 56, 0.88);
}

.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(93, 169, 233, 0.15);
  color: var(--primary-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.testimonial-name {
  font-weight: 700;
  color: var(--dark-navy);
  line-height: 1.2;
}

.testimonial-role {
  color: rgba(30, 42, 56, 0.68);
  font-size: 14px;
  margin-top: 2px;
}

.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 18px;
}

.testimonial-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(13, 59, 102, 0.12);
  background: var(--white);
  color: var(--dark-navy);
  cursor: pointer;
  transition: transform 300ms var(--anim-easing), box-shadow 300ms var(--anim-easing);
  box-shadow: 0 8px 18px rgba(13, 59, 102, 0.08);
}

.testimonial-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(13, 59, 102, 0.12);
}

.testimonial-btn span {
  font-size: 22px;
  line-height: 1;
}

.testimonial-dots {
  display: flex;
  gap: 10px;
}

.testimonial-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: rgba(13, 59, 102, 0.18);
  cursor: pointer;
  transition: transform 300ms var(--anim-easing), background 300ms var(--anim-easing);
}

.testimonial-dots .dot.is-active {
  background: var(--primary-blue);
  transform: scale(1.2);
}

/* FAQ */
.section-faq {
  background-color: var(--light-bg);
}

.section-faq .section-bg-layer {
  background-color: var(--light-bg);
}

.faq-accordion {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.faq-item {
  background: var(--white);
  border: 1px solid rgba(13, 59, 102, 0.08);
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(13, 59, 102, 0.06);
  overflow: hidden;
}

.faq-question {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--dark-navy);
  font-weight: 700;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(93, 169, 233, 0.15);
  color: var(--primary-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 300ms var(--anim-easing);
  flex: 0 0 auto;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 20px 18px;
  color: rgba(30, 42, 56, 0.78);
}

.faq-answer p {
  margin: 0;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .testimonial-card {
    padding: 24px 20px;
  }

  .testimonial-quote {
    font-size: 17px;
  }
}

.section-cta {
  background: linear-gradient(135deg, #0D3B66, #1E5AA5);
  color: var(--white);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.cta-bg-layer {
  position: absolute;
  top: -50%;
  right: -10%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(30, 90, 165, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: ctaPulse 8s ease-in-out infinite;
}

@keyframes ctaPulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.section-footer {
  background-color: var(--white);
  padding: 80px 0;
  border-top: 1px solid rgba(13, 59, 102, 0.1);
}

/* ============================================
   SECTION HEADERS - Enterprise Typography
   ============================================ */

.section-header {
  text-align: center;
  margin-bottom: 70px;
}

.section-title {
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--dark-text);
  margin-bottom: 32px;
}

.section-subtitle {
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 400;
  color: rgba(30, 42, 56, 0.7);
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto;
}

/* ============================================
   ADVANCED TEXT EFFECTS
   ============================================ */

/* Underline Grow Effect */
.highlight-underline {
  position: relative;
  display: inline-block;
}

.highlight-underline::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 4px;
  background: var(--light-blue);
  transition: width 800ms var(--anim-easing);
  z-index: -1;
}

.highlight-underline.animate::after,
.section.revealed .highlight-underline::after {
  width: 100%;
}

/* Gradient Text */
.highlight-gradient-text {
  background: linear-gradient(135deg, #0D3B66, #1E5AA5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   SERVICE CARDS - Premium Depth System
   ============================================ */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.services-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.service-card {
  position: relative;
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(13, 59, 102, 0.08);
  border: 1px solid rgba(13, 59, 102, 0.08);
  transition: all 700ms var(--anim-easing);
  will-change: transform;
  opacity: 0;
  transform: translateY(60px) scale(0.95);
}

.service-card.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Depth Layer */
.card-depth-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(30, 90, 165, 0.05) 0%, rgba(13, 59, 102, 0.05) 100%);
  opacity: 0;
  transition: opacity 700ms var(--anim-easing);
  z-index: 1;
  pointer-events: none;
}

.service-card:hover .card-depth-layer {
  opacity: 1;
}

/* Card Image */
.service-card-image {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
  background-color: var(--light-bg);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(13, 59, 102, 0.1) 100%);
  opacity: 0;
  transition: opacity 700ms var(--anim-easing);
  z-index: 2;
}

.service-card:hover .image-overlay {
  opacity: 1;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--anim-easing);
  will-change: transform;
}

.service-card:hover .service-card-image img {
  transform: scale(1.08);
}

/* Card Content */
.service-card-content {
  position: relative;
  padding: 40px;
  z-index: 2;
}

.service-card-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 16px;
  line-height: 1.3;
  transition: color 600ms var(--anim-easing);
}

.service-card:hover .service-card-title {
  color: var(--dark-navy);
}

.service-card-description {
  font-size: 17px;
  line-height: 1.8;
  color: rgba(30, 42, 56, 0.7);
}

/* Hover Effect */
.card-hover-effect {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(30, 90, 165, 0.03) 0%, rgba(13, 59, 102, 0.03) 100%);
  opacity: 0;
  transition: opacity 700ms var(--anim-easing);
  pointer-events: none;
  z-index: 1;
}

.service-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 24px 64px rgba(13, 59, 102, 0.08);
  border-color: rgba(13, 59, 102, 0.08);
}

.service-card:hover .card-hover-effect {
  opacity: 1;
}

/* Stagger Delays */
.service-card[data-card-index="0"] { transition-delay: 0ms; }
.service-card[data-card-index="1"] { transition-delay: 100ms; }
.service-card[data-card-index="2"] { transition-delay: 200ms; }
.service-card[data-card-index="3"] { transition-delay: 300ms; }
.service-card[data-card-index="4"] { transition-delay: 400ms; }
.service-card[data-card-index="5"] { transition-delay: 500ms; }

/* Responsive Grid */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .service-card-content {
    padding: 32px;
  }
  
  .service-card-image {
    height: 280px;
  }
}

/* ============================================
   FEATURES SECTION
   ============================================ */

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-item {
  opacity: 0;
}

.feature-title {
  font-size: clamp(32px, 3.5vw, 40px);
  color: var(--primary-blue);
  margin-bottom: 24px;
  font-weight: 700;
}

.feature-description {
  font-size: 20px;
  color: rgba(30, 42, 56, 0.8);
  line-height: 1.9;
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-title {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 32px;
  line-height: 1.1;
}

.cta-subtitle {
  font-size: clamp(20px, 2.2vw, 24px);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 56px;
  line-height: 1.7;
}

.btn-cta {
  position: relative;
  display: inline-block;
  padding: 24px 48px;
  background-color: transparent;
  color: #FFFFFF;
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid #FFFFFF;
  border-radius: 12px;
  transition: all 500ms var(--anim-easing);
  box-shadow: 0 8px 32px rgba(13, 59, 102, 0.08);
  overflow: hidden;
  will-change: transform;
}

.btn-cta:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #FFFFFF;
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 16px 48px rgba(13, 59, 102, 0.08);
}

.btn-cta:hover .btn-shine {
  left: 100%;
}

.btn-cta:active {
  transform: translateY(-3px) scale(0.97);
}

/* ============================================
   FOOTER - Premium 3-Column Layout
   ============================================ */

.site-footer {
  background: linear-gradient(160deg, #071a2b 0%, #0d2d4a 60%, #071e30 100%);
  padding: 72px 0 0;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(30, 90, 165, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

/* 3-Column Grid */
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.1fr;
  gap: 3.5rem;
  align-items: start;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* LEFT Column */
.footer-col-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo-link {
  display: inline-block;
}

.footer-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.88;
  transition: opacity 300ms ease;
}

.footer-logo-link:hover .footer-logo-img {
  opacity: 1;
}

.footer-tagline {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.75;
  max-width: 300px;
  margin-top: 0.25rem;
}

.footer-contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 0.5rem;
}

.footer-contact-link {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color 250ms ease;
}

.footer-contact-link svg {
  flex-shrink: 0;
  color: var(--light-blue);
  opacity: 0.8;
}

.footer-contact-link:hover {
  color: var(--light-blue);
}

/* CENTER Column: Navigation */
.footer-col-heading {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav-link {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  position: relative;
  padding-left: 0;
  transition: color 250ms ease, padding-left 250ms ease;
}

.footer-nav-link::before {
  content: '';
  display: inline-block;
  width: 0;
  height: 1.5px;
  background: var(--light-blue);
  vertical-align: middle;
  margin-right: 0;
  transition: width 250ms ease, margin-right 250ms ease;
}

.footer-nav-link:hover {
  color: #ffffff;
  padding-left: 18px;
}

.footer-nav-link:hover::before {
  width: 12px;
  margin-right: 6px;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

/* RIGHT Column: Social Icons */
.footer-social-list {
  display: flex;
  flex-direction: row;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.footer-social-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  transition: transform 250ms ease;
}

.footer-social-item:hover {
  transform: scale(1.08);
}

.footer-social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  transition: transform 250ms ease, box-shadow 250ms ease;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-social-item:hover .footer-social-icon {
  transform: scale(1.1);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.footer-social-linkedin  { background: #0077b5; }
.footer-social-twitter   { background: #1a1a1a; }
.footer-social-instagram { background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af); }
.footer-social-facebook  { background: #1877f2; }
.footer-social-youtube   { background: #ff0000; }

.footer-social-name {
  display: none;
}

/* Contact details below social icons (col 3) */
.footer-contact-below-social {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

/* Bottom Bar */
.footer-bottom {
  padding: 20px 0;
  text-align: center;
}

.footer-bottom-text {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.3);
  line-height: 1.6;
}

.footer-bottom-link {
  color: rgba(93, 169, 233, 0.7);
  text-decoration: none;
  transition: color 250ms ease;
}

.footer-bottom-link:hover {
  color: var(--light-blue);
}

/* Responsive */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .footer-col-brand {
    grid-column: 1 / -1;
  }

  .footer-tagline {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .site-footer {
    padding-top: 56px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-col-brand {
    align-items: center;
  }

  .footer-tagline {
    max-width: 100%;
  }

  .footer-contact-link {
    justify-content: center;
  }

  .footer-nav-list {
    align-items: center;
  }

  .footer-social-list {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-social-name {
    display: none;
  }

  .footer-social-item:hover {
    transform: scale(1.05);
  }
}

/* ============================================
   Cursor Shadow Trail (mouse only)
   Lightweight: pointermove + rAF + a single div
   ============================================ */
.cursor-shadow {
  position: fixed;
  left: 0;
  top: 0;
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  /* Soft rounded â€œspotlightâ€ behind the native cursor */
  background: radial-gradient(
    circle at center,
    rgba(30, 90, 165, 0.22) 0%,
    rgba(93, 169, 233, 0.14) 28%,
    rgba(30, 90, 165, 0.0) 72%
  );
  transform: translate3d(-9999px, -9999px, 0) translate(-50%, -50%);
  will-change: transform, opacity;
  transition: opacity 180ms var(--anim-easing);
  filter: blur(8px);
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 768px) {
  .hero-headline {
    font-size: clamp(25px, 5.9vw, 37px);
    margin-bottom: 20px;
  }
  
  .hero-subtext {
    font-size: clamp(11px, 2.2vw, 14px);
    margin-bottom: 30px;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }
  
  .btn-hero {
    width: 100%;
    text-align: center;
    padding: 11px 22px;
    font-size: 11px;
  }
  
  .section {
    padding: 48px 0;
  }
  
  .section-header {
    margin-bottom: 80px;
  }
}
/* ============================================
   ALPHA TAXACCT - ENTERPRISE MOTION SYSTEM
   Advanced Animation Classes & Effects
   Duration: 600-1000ms | Easing: cubic-bezier(0.22, 1, 0.36, 1)
   ============================================ */

:root {
  --anim-duration: 800ms;
  --anim-easing: cubic-bezier(0.22, 1, 0.36, 1);
  --anim-duration-fast: 600ms;
  --anim-duration-slow: 1000ms;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================
   REUSABLE MOTION CLASSES
   ============================================ */

/* Fade Up */
.motion-fade-up {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity var(--anim-duration) var(--anim-easing),
              transform var(--anim-duration) var(--anim-easing);
  will-change: opacity, transform;
}

.motion-fade-up.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Slide Left */
.motion-slide-left {
  opacity: 0;
  transform: translateX(-80px);
  transition: opacity var(--anim-duration) var(--anim-easing),
              transform var(--anim-duration) var(--anim-easing);
  will-change: opacity, transform;
}

.motion-slide-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Slide Right */
.motion-slide-right {
  opacity: 0;
  transform: translateX(80px);
  transition: opacity var(--anim-duration) var(--anim-easing),
              transform var(--anim-duration) var(--anim-easing);
  will-change: opacity, transform;
}

.motion-slide-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Scale In */
.motion-scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity var(--anim-duration) var(--anim-easing),
              transform var(--anim-duration) var(--anim-easing);
  will-change: opacity, transform;
}

.motion-scale-in.revealed {
  opacity: 1;
  transform: scale(1);
}

/* Parallax */
.motion-parallax {
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Stagger Group */
/* Intentionally left blank (descendants carry the animation). */

.motion-stagger > * {
  opacity: 0;
  transform: translateY(60px) scale(0.95);
  transition: opacity var(--anim-duration) var(--anim-easing),
              transform var(--anim-duration) var(--anim-easing);
}

.motion-stagger.revealed > * {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Stagger delays */
.motion-stagger > *:nth-child(1) { transition-delay: 0ms; }
.motion-stagger > *:nth-child(2) { transition-delay: 100ms; }
.motion-stagger > *:nth-child(3) { transition-delay: 200ms; }
.motion-stagger > *:nth-child(4) { transition-delay: 300ms; }
.motion-stagger > *:nth-child(5) { transition-delay: 400ms; }
.motion-stagger > *:nth-child(6) { transition-delay: 500ms; }
.motion-stagger > *:nth-child(7) { transition-delay: 600ms; }
.motion-stagger > *:nth-child(8) { transition-delay: 700ms; }

/* Mask Reveal */
.motion-mask-reveal {
  overflow: hidden;
  position: relative;
}

.motion-mask-reveal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* White glass effect only for this mask layer â€“ no change to hero image/overlay */
  /*background: rgba(255, 255, 255, 0.15);*/
  background: rgba(5,72,122,0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  clip-path: inset(0 0 0 100%);
  transition: clip-path var(--anim-duration-slow) var(--anim-easing);
  z-index: 1;
}

.motion-mask-reveal.revealed::before {
  clip-path: inset(0 0 0 0%);
}

.motion-mask-reveal > * {
  position: relative;
  z-index: 2;
}

/* ============================================
   ADVANCED TEXT EFFECTS
   ============================================ */

/* Text Split Animation */
.text-split {
  display: inline-block;
  overflow: hidden;
}

.text-split .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 600ms var(--anim-easing),
              transform 600ms var(--anim-easing);
}

.text-split.revealed .char {
  opacity: 1;
  transform: translateY(0);
}

/* Word-by-Word Reveal */
.text-reveal {
  overflow: hidden;
}

.text-reveal .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 700ms var(--anim-easing),
              transform 700ms var(--anim-easing);
}

.text-reveal.revealed .word {
  opacity: 1;
  transform: translateY(0);
}

/* Word stagger delays */
.text-reveal .word:nth-child(1) { transition-delay: 0ms; }
.text-reveal .word:nth-child(2) { transition-delay: 80ms; }
.text-reveal .word:nth-child(3) { transition-delay: 160ms; }
.text-reveal .word:nth-child(4) { transition-delay: 240ms; }
.text-reveal .word:nth-child(5) { transition-delay: 320ms; }
.text-reveal .word:nth-child(6) { transition-delay: 400ms; }
.text-reveal .word:nth-child(7) { transition-delay: 480ms; }
.text-reveal .word:nth-child(8) { transition-delay: 560ms; }
.text-reveal .word:nth-child(9) { transition-delay: 640ms; }
.text-reveal .word:nth-child(10) { transition-delay: 720ms; }
.text-reveal .word:nth-child(11) { transition-delay: 800ms; }
.text-reveal .word:nth-child(12) { transition-delay: 880ms; }

/* Highlight Animation */
.highlight-animate {
  position: relative;
  display: inline-block;
}

.highlight-animate::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 4px;
  background: var(--light-blue);
  transition: width var(--anim-duration) var(--anim-easing);
  z-index: -1;
}

.highlight-animate.animate::after {
  width: 100%;
}

/* Background Swipe Effect */
.highlight-swipe {
  position: relative;
  display: inline-block;
  padding: 4px 8px;
  z-index: 0;
}

.highlight-swipe::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(135deg, rgba(30, 90, 165, 0.15), rgba(13, 59, 102, 0.15));
  transition: width var(--anim-duration) var(--anim-easing);
  z-index: -1;
  border-radius: 4px;
}

.highlight-swipe.animate::before {
  width: 100%;
}

/* ============================================
   DELAY UTILITIES
   ============================================ */

[data-delay="100"] { transition-delay: 100ms; }
[data-delay="200"] { transition-delay: 200ms; }
[data-delay="300"] { transition-delay: 300ms; }
[data-delay="400"] { transition-delay: 400ms; }
[data-delay="500"] { transition-delay: 500ms; }
[data-delay="600"] { transition-delay: 600ms; }
[data-delay="700"] { transition-delay: 700ms; }
[data-delay="800"] { transition-delay: 800ms; }
[data-delay="900"] { transition-delay: 900ms; }
[data-delay="1000"] { transition-delay: 1000ms; }

/* ============================================
   PERFORMANCE OPTIMIZATIONS
   ============================================ */

.will-change-transform {
  will-change: transform;
}

.will-change-opacity {
  will-change: opacity;
}

.will-change-all {
  will-change: transform, opacity;
}

.gpu-accelerated {
  transform: translateZ(0);
  backface-visibility: hidden;
  perspective: 1000px;
}

/* ============================================
   LEGACY SUPPORT CLASSES
   ============================================ */

.reveal {
  opacity: 0;
  transition: opacity var(--anim-duration) var(--anim-easing);
}

.reveal.revealed {
  opacity: 1;
}

.reveal-up {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity var(--anim-duration) var(--anim-easing),
              transform var(--anim-duration) var(--anim-easing);
}

.reveal-up.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity var(--anim-duration) var(--anim-easing),
              transform var(--anim-duration) var(--anim-easing);
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity var(--anim-duration) var(--anim-easing),
              transform var(--anim-duration) var(--anim-easing);
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity var(--anim-duration) var(--anim-easing),
              transform var(--anim-duration) var(--anim-easing);
}

.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

.stagger-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--anim-duration) var(--anim-easing),
              transform var(--anim-duration) var(--anim-easing);
}

.stagger-item.revealed {
  opacity: 1;
  transform: translateY(0);
}

.stagger-group .stagger-item:nth-child(1) { transition-delay: 0ms; }
.stagger-group .stagger-item:nth-child(2) { transition-delay: 100ms; }
.stagger-group .stagger-item:nth-child(3) { transition-delay: 200ms; }
.stagger-group .stagger-item:nth-child(4) { transition-delay: 300ms; }
.stagger-group .stagger-item:nth-child(5) { transition-delay: 400ms; }
.stagger-group .stagger-item:nth-child(6) { transition-delay: 500ms; }
.stagger-group .stagger-item:nth-child(7) { transition-delay: 600ms; }
.stagger-group .stagger-item:nth-child(8) { transition-delay: 700ms; }
/* ============================================
   ABOUT PAGE - Scoped Styles
   Uses existing site tokens from base.css
   ============================================ */

/* Hero */
.about-hero {
  position: relative;
  min-height: 65vh;
  display: flex;
  align-items: center;
  background-image: url("https://images.unsplash.com/photo-1521737604893-d14cc237f11d?auto=format&fit=crop&w=2000&q=80");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(154 175 195 / 85%) 0%, rgba(13, 59, 102, 0.65) 100%);
}

.about-hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  color: #FFFFFF;
  text-align: left;
}

.about-hero-title {
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 18px 0;
  font-weight: 700;
}

.about-hero-subtitle {
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
}

/* Shared section heading */
.about-section-head {
  text-align: center;
  margin-bottom: 56px;
}

.about-section-title {
  margin: 0 0 16px 0;
  color: #0D3B66;
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.about-section-subtitle {
  margin: 0 auto;
  max-width: 860px;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(30, 42, 56, 0.78);
}

/* Story */
.about-story {
  background: #FFFFFF;
}

.about-story-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.about-story-copy h3 {
  color: #1E5AA5;
  font-size: clamp(28px, 3.4vw, 40px);
  margin: 0 0 18px 0;
  line-height: 1.2;
}

.about-story-copy p {
  margin: 0 0 14px 0;
  color: #1E2A38;
  font-size: 17px;
  line-height: 1.75;
}

.about-story-highlights {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.about-highlight {
  background: #F4F8FC;
  border: 1px solid rgba(13, 59, 102, 0.08);
  border-radius: 10px;
  padding: 14px;
}

.about-highlight .value {
  display: block;
  color: #1E5AA5;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1;
}

.about-highlight .label {
  display: block;
  color: #1E2A38;
  font-size: 13px;
  margin-top: 6px;
}

.about-story-media {
  position: relative;
}

.about-story-image {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(13, 59, 102, 0.12);
  display: block;
}

/* Vision/Mission/Values */
.about-vision {
  background: #F4F8FC;
}

.about-vmv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.about-vmv-card {
  background: #FFFFFF;
  border: 1px solid rgba(13, 59, 102, 0.08);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(13, 59, 102, 0.08);
  padding: 28px;
  transition: transform 400ms var(--anim-easing), box-shadow 400ms var(--anim-easing);
}

.about-vmv-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(13, 59, 102, 0.12);
}

.about-vmv-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: rgba(93, 169, 233, 0.15);
  color: #1E5AA5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.about-vmv-icon svg {
  width: 28px;
  height: 28px;
}

.about-vmv-card h3 {
  margin: 0 0 10px 0;
  font-size: 26px;
  color: #0D3B66;
  line-height: 1.2;
}

.about-vmv-card p {
  margin: 0;
  color: #1E2A38;
  line-height: 1.7;
}

/* Timeline */
.about-journey {
  background: #FFFFFF;
}

.about-timeline {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  padding-left: 28px;
}

.about-timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(#5DA9E9, #1E5AA5);
}

.about-timeline-item {
  position: relative;
  margin-bottom: 26px;
  background: #F4F8FC;
  border: 1px solid rgba(13, 59, 102, 0.08);
  border-radius: 12px;
  padding: 20px 22px;
}

.about-timeline-item:last-child {
  margin-bottom: 0;
}

.about-timeline-item::before {
  content: "";
  position: absolute;
  left: -31px;
  top: 22px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #1E5AA5;
  border: 3px solid #5DA9E9;
}

.about-timeline-year {
  display: inline-block;
  color: #1E5AA5;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 6px;
}

.about-timeline-title {
  margin: 0 0 6px 0;
  font-size: 24px;
  color: #0D3B66;
  line-height: 1.2;
}

.about-timeline-desc {
  margin: 0;
  color: #1E2A38;
  line-height: 1.65;
}

/* Team */
.about-team {
  background: #F4F8FC;
}

.about-team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.about-team-card {
  background: #FFFFFF;
  border: 1px solid rgba(13, 59, 102, 0.08);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(13, 59, 102, 0.08);
  overflow: hidden;
  transition: transform 400ms var(--anim-easing), box-shadow 400ms var(--anim-easing);
}

.about-team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(13, 59, 102, 0.12);
}

.about-team-image-wrap {
  overflow: hidden;
  height: 260px;
}

.about-team-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--anim-easing);
}

.about-team-card:hover .about-team-image {
  transform: scale(1.06);
}

.about-team-copy {
  padding: 18px;
}

.about-team-name {
  margin: 0 0 4px 0;
  font-size: 22px;
  color: #0D3B66;
  line-height: 1.2;
}

.about-team-role {
  margin: 0 0 8px 0;
  color: #1E5AA5;
  font-weight: 600;
  font-size: 14px;
}

.about-team-desc {
  margin: 0;
  color: #1E2A38;
  line-height: 1.6;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
  .about-story-grid {
    grid-template-columns: 1fr;
  }

  .about-vmv-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .about-hero {
    min-height: 60vh;
  }

  .about-section-head {
    margin-bottom: 42px;
  }

  .about-story-highlights {
    grid-template-columns: 1fr;
  }

  .about-vmv-grid,
  .about-team-grid {
    grid-template-columns: 1fr;
  }

  .about-team-image-wrap {
    height: 240px;
  }
}
/* ============================================
   AUSTRALIAN COMPLIANCES (Service Detail Page)
   Scoped Styles
   ============================================ */

/* Hero */
.service-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  background-image: url("https://images.unsplash.com/photo-1554224155-6726b3ff858f?auto=format&fit=crop&w=2000&q=80");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.service-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(154 175 195 / 85%) 0%, rgba(13, 59, 102, 0.65) 100%);
}

.service-hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  color: #FFFFFF;
  text-align: left;
}

.service-hero-title {
  margin: 0 0 12px 0;
  font-size: clamp(40px, 6.6vw, 72px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.service-hero-subtitle {
  margin: 0;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}

/* Section headings */
.service-section-head {
  text-align: center;
  margin-bottom: 40px;
}

.service-section-title {
  margin: 0 0 12px 0;
  color: var(--dark-navy);
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.service-section-subtitle {
  margin: 0 auto;
  max-width: 900px;
  color: rgba(30, 42, 56, 0.78);
  line-height: 1.7;
}

/* About (two column) */
.service-about {
  background: var(--white);
}

.service-about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
  align-items: center;
}

.service-about-copy h3 {
  margin: 0 0 14px 0;
  color: var(--primary-blue);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.2;
}

.service-about-copy p {
  margin: 0 0 12px 0;
  color: var(--dark-text);
  line-height: 1.75;
}

.service-about-media img {
  width: 100%;
  display: block;
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(13, 59, 102, 0.12);
}

/* Included grid */
.service-included {
  background: var(--light-bg);
}

.included-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.included-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.included-card {
  background: var(--white);
  border: 1px solid rgba(13, 59, 102, 0.08);
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(13, 59, 102, 0.08);
  padding: 22px;
  transition: transform 400ms var(--anim-easing), box-shadow 400ms var(--anim-easing);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.included-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(13, 59, 102, 0.12);
}

.included-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(93, 169, 233, 0.15);
  color: var(--primary-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.included-icon svg {
  width: 26px;
  height: 26px;
}

.included-card h3 {
  margin: 0 0 8px 0;
  color: var(--dark-navy);
  font-size: 20px;
  line-height: 1.25;
}

.included-card p {
  margin: 0;
  color: rgba(30, 42, 56, 0.8);
  line-height: 1.7;
  flex-grow: 1;
}

/* Read More Link inside Cards */
.read-more-link {
  display: inline-flex;
  align-items: center;
  color: var(--primary-blue);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 16px;
  transition: color 300ms var(--anim-easing);
}

.included-card-link:hover .read-more-link {
  color: #0056b3;
}

.read-more-link::after {
  content: "→";
  display: inline-block;
  margin-left: 4px;
  transition: transform 300ms var(--anim-easing);
}

.included-card-link:hover .read-more-link::after {
  transform: translateX(4px);
}

/* Benefits */
.service-benefits {
  background: var(--white);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 980px;
  margin: 0 auto;
}

.benefit-item {
  background: var(--light-bg);
  border: 1px solid rgba(13, 59, 102, 0.08);
  border-radius: 12px;
  padding: 18px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  transition: transform 400ms var(--anim-easing), box-shadow 400ms var(--anim-easing);
}

.benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(13, 59, 102, 0.12);
}

.benefit-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(93, 169, 233, 0.15);
  color: var(--primary-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.benefit-icon svg {
  width: 26px;
  height: 26px;
}

.benefit-title {
  margin: 0 0 6px 0;
  color: var(--dark-navy);
  font-size: 18px;
  line-height: 1.25;
}

.benefit-desc {
  margin: 0;
  color: rgba(30, 42, 56, 0.82);
  line-height: 1.7;
}

/* CTA */
.service-cta {
  background: var(--light-bg);
  border-top: 1px solid rgba(13, 59, 102, 0.12);
}

.service-cta-inner {
  max-width: 980px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid rgba(13, 59, 102, 0.08);
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(13, 59, 102, 0.08);
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.service-cta-copy h2 {
  margin: 0 0 6px 0;
  color: var(--dark-navy);
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.2;
}

.service-cta-copy p {
  margin: 0;
  color: rgba(30, 42, 56, 0.78);
  line-height: 1.7;
}

.service-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 6px;
  background: #1E5AA5;
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 800;
  transition: transform 250ms var(--anim-easing), background 250ms var(--anim-easing), box-shadow 250ms var(--anim-easing);
  box-shadow: 0 10px 24px rgba(13, 59, 102, 0.08);
}

.service-cta-btn:hover {
  background: #0D3B66;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(13, 59, 102, 0.12);
}

/* Responsive */
@media (max-width: 1024px) {
  .service-about-grid {
    grid-template-columns: 1fr;
  }

  .included-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .included-grid {
    grid-template-columns: 1fr;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   PRICING PAGE - Scoped Styles
   Blue-only design system (base.css tokens)
   ============================================ */

/* Hero */
.pricing-hero {
  position: relative;
  min-height: 55vh; /* 50â€“60vh */
  display: flex;
  align-items: center;
  background-image: url("https://images.unsplash.com/photo-1554224155-8d04cb21cd6c?auto=format&fit=crop&w=2000&q=80");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.pricing-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(154 175 195 / 85%) 0%, rgba(13, 59, 102, 0.65) 100%);
}

.pricing-hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  color: #FFFFFF;
  text-align: left;
}

.pricing-hero-title {
  margin: 0 0 12px 0;
  font-size: clamp(40px, 6.6vw, 72px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.pricing-hero-subtitle {
  margin: 0;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}

/* Pricing cards section */
.pricing-main {
  background: var(--light-bg);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-card {
  background: #FFFFFF;
  padding: 40px; /* required */
  border-radius: 12px;
  border: 1px solid rgba(13, 59, 102, 0.08);
  box-shadow: 0 12px 34px rgba(13, 59, 102, 0.08);
  transition: transform 400ms var(--anim-easing), box-shadow 400ms var(--anim-easing), border-color 400ms var(--anim-easing);
  position: relative;
  overflow: hidden;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 44px rgba(13, 59, 102, 0.12);
}

.pricing-card--popular {
  border-color: rgba(30, 90, 165, 0.35);
}

.pricing-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(93, 169, 233, 0.18);
  color: var(--primary-blue);
  border: 1px solid rgba(30, 90, 165, 0.18);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-title {
  margin: 0 0 10px 0;
  color: var(--dark-navy);
  font-size: 28px;
  line-height: 1.2;
}

.pricing-desc {
  margin: 0 0 18px 0;
  color: rgba(30, 42, 56, 0.78);
  line-height: 1.7;
}

.pricing-points {
  margin: 0;
  padding-left: 18px;
  color: rgba(30, 42, 56, 0.88);
  line-height: 1.75;
}

.pricing-points li {
  margin: 8px 0;
}

.pricing-action {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.pricing-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 250ms var(--anim-easing), background 250ms var(--anim-easing), box-shadow 250ms var(--anim-easing), color 250ms var(--anim-easing), border-color 250ms var(--anim-easing);
}

.pricing-btn-primary {
  background: #1E5AA5;
  color: #FFFFFF;
  box-shadow: 0 10px 24px rgba(13, 59, 102, 0.08);
}

.pricing-btn-primary:hover {
  background: #0D3B66;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(13, 59, 102, 0.12);
}

.pricing-btn-secondary {
  background: transparent;
  color: #1E5AA5;
  border: 1px solid rgba(30, 90, 165, 0.35);
}

.pricing-btn-secondary:hover {
  background: rgba(30, 90, 165, 0.08);
  transform: translateY(-2px);
}

/* Features / what you get */
.pricing-features {
  background: #FFFFFF;
}

.pricing-section-head {
  text-align: center;
  margin-bottom: 40px;
}

.pricing-section-title {
  margin: 0 0 12px 0;
  color: var(--dark-navy);
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.pricing-section-subtitle {
  margin: 0 auto;
  max-width: 900px;
  color: rgba(30, 42, 56, 0.78);
  line-height: 1.7;
}

.features-grid-pricing {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-chip {
  background: var(--light-bg);
  border: 1px solid rgba(13, 59, 102, 0.08);
  border-radius: 12px;
  padding: 18px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  transition: transform 400ms var(--anim-easing), box-shadow 400ms var(--anim-easing);
}

.feature-chip:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(13, 59, 102, 0.12);
}

.feature-chip-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(93, 169, 233, 0.15);
  color: var(--primary-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.feature-chip-icon svg {
  width: 26px;
  height: 26px;
}

.feature-chip-title {
  margin: 0 0 6px 0;
  color: var(--dark-navy);
  font-weight: 800;
  line-height: 1.25;
}

.feature-chip-desc {
  margin: 0;
  color: rgba(30, 42, 56, 0.78);
  line-height: 1.7;
  font-size: 14px;
}

/* CTA */
.pricing-cta {
  background: var(--light-bg);
  border-top: 1px solid rgba(13, 59, 102, 0.12);
}

.pricing-cta-inner {
  max-width: 980px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 1px solid rgba(13, 59, 102, 0.08);
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(13, 59, 102, 0.08);
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.pricing-cta-copy h2 {
  margin: 0 0 6px 0;
  color: var(--dark-navy);
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.2;
}

.pricing-cta-copy p {
  margin: 0;
  color: rgba(30, 42, 56, 0.78);
  line-height: 1.7;
}

.pricing-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 6px;
  background: #1E5AA5;
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 800;
  transition: transform 250ms var(--anim-easing), background 250ms var(--anim-easing), box-shadow 250ms var(--anim-easing);
  box-shadow: 0 10px 24px rgba(13, 59, 102, 0.08);
}

.pricing-cta-btn:hover {
  background: #0D3B66;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(13, 59, 102, 0.12);
}

/* Responsive */
@media (max-width: 1024px) {
  .features-grid-pricing {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card {
    padding: 28px;
  }

  .features-grid-pricing {
    grid-template-columns: 1fr;
  }

  .pricing-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================
   CONTACT PAGE - Scoped Styles
   Uses existing tokens in base.css
   ============================================ */

/* Hero */
.contact-hero {
  position: relative;
  min-height: 65vh; /* 60â€“70vh */
  display: flex;
  align-items: center;
  background-image: url("https://images.unsplash.com/photo-1521737604893-d14cc237f11d?auto=format&fit=crop&w=2000&q=80");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(154 175 195 / 85%) 0%, rgba(13, 59, 102, 0.65) 100%);
}

.contact-hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  color: #FFFFFF;
}

.contact-hero-title {
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1.1;
  margin: 0 0 14px 0;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.contact-hero-subtitle {
  margin: 0;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}

/* Main contact section */
.contact-section {
  background: var(--light-bg);
  padding: 80px 0; /* required */
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 50/50 */
  gap: 32px;
  align-items: start;
}

.contact-card {
  background: #FFFFFF;
  border: 1px solid rgba(13, 59, 102, 0.08);
  border-radius: 12px;
  box-shadow: 0 12px 34px rgba(13, 59, 102, 0.08);
  padding: 28px;
}

/* Left: map + info */
.contact-map {
  width: 100%;
  height: 340px; /* 300â€“350 */
  border: 0;
  border-radius: 12px;
  overflow: hidden;
}

.contact-info {
  margin-top: 18px;
  display: grid;
  gap: 14px;
}

.contact-info-block {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
}

.contact-info-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(93, 169, 233, 0.15);
  color: var(--primary-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.contact-info-icon svg {
  width: 16px;
  height: 16px;
}

.contact-info-title {
  margin: 0 0 4px 0;
  font-weight: 700;
  color: var(--dark-navy);
  line-height: 1.2;
}

.contact-info-text {
  margin: 0;
  color: rgba(30, 42, 56, 0.82);
  line-height: 1.7;
}

/* Right: form */
.contact-form-title {
  margin: 0 0 18px 0;
  font-size: 22px;
  color: var(--dark-navy);
  line-height: 1.25;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 13px;
  font-weight: 700;
  color: rgba(30, 42, 56, 0.78);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #d0dbe5;
  border-radius: 6px;
  background: #ffffff;
  color: var(--dark-text);
  outline: none;
  transition: border-color 250ms var(--anim-easing), box-shadow 250ms var(--anim-easing);
}

.form-textarea {
  min-height: 110px;
  resize: vertical;
}

.form-input:focus,
.form-textarea:focus {
  border-color: #1E5AA5;
  box-shadow: 0 0 0 4px rgba(30, 90, 165, 0.12);
}

.form-section-title {
  margin: 18px 0 10px 0;
  font-size: 18px;
  color: var(--dark-navy);
  font-weight: 800;
}

.check-group-title {
  margin: 10px 0 8px 0;
  font-weight: 800;
  color: rgba(30, 42, 56, 0.9);
}

.check-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.check-row {
  display: flex;
  gap: 10px;
  align-items: center;
  color: rgba(30, 42, 56, 0.86);
}

/* Custom checkbox */
.check-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1px solid #d0dbe5;
  appearance: none;
  background: #fff;
  display: inline-grid;
  place-items: center;
  transition: background 200ms var(--anim-easing), border-color 200ms var(--anim-easing);
}

.check-row input[type="checkbox"]::before {
  content: "";
  width: 10px;
  height: 10px;
  transform: scale(0);
  transition: transform 150ms var(--anim-easing);
  background: #FFFFFF;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0, 43% 62%);
}

.check-row input[type="checkbox"]:checked {
  background: var(--primary-blue);
  border-color: var(--primary-blue);
}

.check-row input[type="checkbox"]:checked::before {
  transform: scale(1);
}

.btn-submit {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 6px;
  border: 0;
  background: #1E5AA5;
  color: #FFFFFF;
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform 250ms var(--anim-easing), background 250ms var(--anim-easing), box-shadow 250ms var(--anim-easing);
  box-shadow: 0 10px 24px rgba(13, 59, 102, 0.08);
}

.btn-submit:hover {
  background: #0D3B66;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(13, 59, 102, 0.12);
}

.btn-submit:active {
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    padding: 22px;
  }

  .contact-map {
    height: 320px;
  }
}

/* ============================================
   WHAT'S INCLUDED DETAIL PAGE
   Scoped Styles for Premium Experience
   ============================================ */

/* Hero / Header Section */
.detail-hero {
  position: relative;
  min-height: 45vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("https://images.unsplash.com/photo-1554224155-6726b3ff858f?auto=format&fit=crop&w=2000&q=80");
  background-size: cover;
  background-position: center;
  overflow: hidden;
  text-align: center;
}

.detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13, 59, 102, 0.9) 0%, rgba(30, 90, 165, 0.8) 100%);
  z-index: 1;
}

.detail-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  color: var(--white);
  padding: 40px 24px;
  margin: 0 auto;
  text-align: center;
}

.detail-title {
  margin: 0 0 16px 0;
  font-size: clamp(36px, 5.5vw, 64px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Content Container Section */
.detail-content-sec {
  background: var(--light-bg);
  padding: 80px 0;
  position: relative;
}

.detail-card {
  background: var(--white);
  border: 1px solid rgba(13, 59, 102, 0.08);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 60px;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
}

/* Micro-animated Back Button */
.btn-back-wrapper {
  margin-bottom: 40px;
  display: flex;
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: transform 300ms var(--anim-easing), color 300ms var(--anim-easing);
}

.btn-back svg {
  width: 20px;
  height: 20px;
  transition: transform 300ms var(--anim-easing);
}

.btn-back:hover {
  color: var(--dark-navy);
}

.btn-back:hover svg {
  transform: translateX(-5px);
}

/* Text Styling */
.detail-text-content {
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.85;
  color: rgba(30, 42, 56, 0.85);
  margin-bottom: 50px;
}

.detail-text-content ul,
.detail-text-content ol {
  margin-top: 16px;
  margin-bottom: 24px;
  padding-left: 28px;
}

.detail-text-content li {
  margin-bottom: 8px;
  padding-left: 4px;
}

/* Divider Line */
.detail-divider {
  height: 1px;
  background: rgba(13, 59, 102, 0.12);
  margin: 60px 0;
  width: 100%;
}

/* Accounting Software Logos Grid */
.logos-section {
  text-align: center;
}

.logos-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(13, 59, 102, 0.6);
  margin-bottom: 30px;
}

.logos-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px 60px;
}

.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  width: auto;
  opacity: 0.5;
  filter: grayscale(100%);
  transition: opacity 400ms var(--anim-easing),
              filter 400ms var(--anim-easing),
              transform 400ms var(--anim-easing);
}

.logo-item svg {
  height: 100%;
  width: auto;
  max-width: 130px;
}

/* Premium Hover Transitions */
.logo-item:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.08);
}

/* Responsive Tweaks */
@media (max-width: 1024px) {
  .detail-card {
    padding: 40px;
  }
}

@media (max-width: 768px) {
  .detail-card {
    padding: 30px 24px;
    border-radius: 16px;
  }

  .detail-content-sec {
    padding: 50px 0;
  }

  .logos-row {
    gap: 30px 40px;
  }
  
  .logo-item {
    height: 38px;
  }
}

/* Service Post - Image Gallery Section */
.service-gallery-wrapper {
  margin-top: 50px;
  width: 100%;
}

.service-gallery-divider {
  height: 1px;
  background: rgba(13, 59, 102, 0.08);
  margin-bottom: 40px;
  width: 100%;
}

.service-gallery-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(13, 59, 102, 0.6);
  margin-bottom: 25px;
  text-align: center;
}

.service-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.service-gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(13, 59, 102, 0.05);
  border: 1px solid rgba(13, 59, 102, 0.06);
  background: #FFFFFF;
  transition: transform 400ms var(--anim-easing), box-shadow 400ms var(--anim-easing);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.service-gallery-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

.service-gallery-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 600ms var(--anim-easing);
  display: block;
}

.service-gallery-hover {
  position: absolute;
  inset: 0;
  background: rgba(13, 59, 102, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 400ms var(--anim-easing);
  backdrop-filter: blur(4px);
}

.service-gallery-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #FFFFFF;
  color: #1E5AA5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translateY(15px) scale(0.9);
  transition: transform 400ms var(--anim-easing);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.service-gallery-icon svg {
  width: 22px;
  height: 22px;
}

/* Hover States */
.service-gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(13, 59, 102, 0.12);
}

.service-gallery-item:hover .service-gallery-img {
  transform: scale(1.08);
}

.service-gallery-item:hover .service-gallery-hover {
  opacity: 1;
}

.service-gallery-item:hover .service-gallery-icon {
  transform: translateY(0) scale(1);
}

@media (max-width: 768px) {
  .service-gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
  }
  
  .service-gallery-wrapper {
    margin-top: 40px;
  }
}
