/*
  Virtual Accountant - Premium One Page Website
  Technologies: HTML5, CSS3, Bootstrap 5, Vanilla JavaScript
*/

:root {
  --primary: #0F4C81;
  --primary-dark: #08375f;
  --primary-soft: #eaf3fb;
  --secondary: #00B894;
  --secondary-dark: #009879;
  --white: #ffffff;
  --light: #f7fafc;
  --light-gray: #edf2f7;
  --gray: #687789;
  --dark: #122033;
  --shadow-sm: 0 10px 25px rgba(15, 76, 129, 0.08);
  --shadow-md: 0 18px 45px rgba(15, 76, 129, 0.14);
  --shadow-lg: 0 25px 70px rgba(15, 76, 129, 0.22);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --transition: all 0.28s ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img,
svg,
iframe {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

p {
  color: var(--gray);
  margin-bottom: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  letter-spacing: -0.035em;
  color: var(--dark);
}

.section-padding {
  padding: 110px 0;
}

.bg-light-soft {
  background: linear-gradient(180deg, #f8fbfd 0%, #ffffff 100%);
}

.bg-blue-gradient {
  background:
    radial-gradient(circle at top left, rgba(0, 184, 148, 0.22), transparent 32%),
    linear-gradient(135deg, #0b3d68 0%, #0F4C81 55%, #082f52 100%);
}

.bg-blue-gradient h2,
.bg-blue-gradient h3,
.bg-blue-gradient h4,
.bg-blue-gradient p {
  color: var(--white);
}

/* Loading screen */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: var(--white);
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
}

.loader-card {
  width: 112px;
  text-align: center;
}

.loader-mark {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  font-weight: 800;
  box-shadow: var(--shadow-md);
}

.loader-line {
  height: 5px;
  border-radius: 99px;
  background: var(--light-gray);
  overflow: hidden;
  position: relative;
}

.loader-line::after {
  content: '';
  position: absolute;
  inset: 0;
  width: 45%;
  background: var(--secondary);
  border-radius: inherit;
  animation: loaderMove 1s infinite ease-in-out;
}

@keyframes loaderMove {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(240%); }
}

/* Header */
.site-header {
  transition: var(--transition);
  padding: 14px 0;
}

.site-header.scrolled {
  padding: 6px 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(10, 37, 64, 0.08);
}

.navbar {
  padding: 0;
}

.brand-logo {
  height: 42px;
  width: auto;
  display: block;
  object-fit: contain;
}

.site-header.scrolled .brand-logo {
  height: 38px;
}

.brand-text {
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.035em;
  font-size: 1.15rem;
  white-space: nowrap;
}

.navbar-nav .nav-link {
  font-weight: 600;
  color: #294057;
  padding: 0.7rem 0.85rem;
  position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary);
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.35rem;
  height: 2px;
  border-radius: 99px;
  background: var(--secondary);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  transform: scaleX(1);
}

.navbar-toggler {
  border: 0;
  box-shadow: none !important;
}

.btn-primary-custom,
.btn-outline-custom {
  border-radius: 999px;
  padding: 0.78rem 1.45rem;
  font-weight: 700;
  transition: var(--transition);
}

.btn-primary-custom {
  color: var(--white) !important;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--primary), #1469ad);
  box-shadow: 0 14px 28px rgba(15, 76, 129, 0.23);
}

.btn-primary-custom:hover,
.btn-primary-custom:focus {
  transform: translateY(-3px);
  box-shadow: 0 18px 35px rgba(15, 76, 129, 0.32);
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.btn-outline-custom {
  color: var(--primary);
  border: 1px solid rgba(15, 76, 129, 0.22);
  background: rgba(255, 255, 255, 0.76);
}

.btn-outline-custom:hover,
.btn-outline-custom:focus {
  color: var(--white);
  border-color: var(--secondary);
  background: var(--secondary);
  transform: translateY(-3px);
}

/* Hero */
.hero-section {
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 10%, rgba(0, 184, 148, 0.12), transparent 27%),
    radial-gradient(circle at 92% 18%, rgba(15, 76, 129, 0.18), transparent 24%),
    linear-gradient(180deg, #f8fcff 0%, #ffffff 100%);
}

.eyebrow,
.section-tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  color: var(--primary);
  background: rgba(15, 76, 129, 0.08);
  font-weight: 800;
  font-size: 0.86rem;
  letter-spacing: 0.01em;
}

.section-tag.light {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-content h1 {
  color: var(--primary-dark);
  line-height: 1.05;
}

.hero-content .lead {
  color: #526579;
  max-width: 600px;
}

.hero-trust div {
  padding-right: 20px;
  border-right: 1px solid rgba(15, 76, 129, 0.12);
}

.hero-trust div:last-child {
  border-right: 0;
}

.hero-trust strong {
  display: block;
  color: var(--primary);
  font-size: 1rem;
}

.hero-trust span {
  display: block;
  color: var(--gray);
  font-size: 0.9rem;
}

.hero-visual {
  min-height: 530px;
  position: relative;
}

.glass-card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px);
}

.main-dashboard {
  position: absolute;
  top: 56px;
  right: 26px;
  width: min(460px, 95%);
  border-radius: var(--radius-lg);
  padding: 32px;
  animation: floatCard 6s ease-in-out infinite;
}

.dashboard-top,
.dashboard-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.small-label {
  color: var(--gray);
  font-size: 0.9rem;
}

.dashboard-top h3 {
  font-size: 2.4rem;
  color: var(--primary-dark);
  margin: 4px 0 0;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  color: var(--secondary-dark);
  background: rgba(0, 184, 148, 0.12);
  font-weight: 800;
}

.chart-bars {
  height: 210px;
  display: flex;
  align-items: flex-end;
  gap: 14px;
  margin: 38px 0;
}

.chart-bars span {
  flex: 1;
  border-radius: 14px 14px 4px 4px;
  background: linear-gradient(180deg, var(--secondary), var(--primary));
  box-shadow: 0 8px 18px rgba(0, 184, 148, 0.18);
  animation: chartGrow 1.3s ease both;
  transform-origin: bottom;
}

.chart-bars span:nth-child(2) { animation-delay: 0.08s; }
.chart-bars span:nth-child(3) { animation-delay: 0.16s; }
.chart-bars span:nth-child(4) { animation-delay: 0.24s; }
.chart-bars span:nth-child(5) { animation-delay: 0.32s; }
.chart-bars span:nth-child(6) { animation-delay: 0.40s; }

@keyframes chartGrow {
  from { transform: scaleY(0); opacity: 0; }
  to { transform: scaleY(1); opacity: 1; }
}

.dashboard-bottom div {
  width: 48%;
  padding: 16px;
  border-radius: 18px;
  background: rgba(15, 76, 129, 0.06);
}

.dashboard-bottom span,
.dashboard-bottom strong {
  display: block;
}

.dashboard-bottom span {
  color: var(--gray);
  font-size: 0.82rem;
}

.dashboard-bottom strong {
  color: var(--primary-dark);
  font-size: 1.2rem;
}

.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 20px;
  padding: 16px 18px;
  animation: floatCard 5s ease-in-out infinite;
}

.floating-card i {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.floating-card strong,
.floating-card span {
  display: block;
}

.floating-card strong {
  color: var(--primary-dark);
}

.floating-card span {
  color: var(--gray);
  font-size: 0.88rem;
}

.card-tax {
  left: 18px;
  top: 138px;
}

.card-payroll {
  left: 82px;
  bottom: 82px;
  animation-delay: 1s;
}

.card-cfo {
  right: 4px;
  bottom: 24px;
  animation-delay: 1.8s;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.72;
  filter: blur(0.2px);
  animation: slowSpin 18s linear infinite;
}

.hero-shape-one {
  width: 220px;
  height: 220px;
  top: 18%;
  left: -90px;
  background: rgba(0, 184, 148, 0.12);
}

.hero-shape-two {
  width: 160px;
  height: 160px;
  right: 9%;
  top: 17%;
  background: rgba(15, 76, 129, 0.12);
}

.hero-shape-three {
  width: 90px;
  height: 90px;
  right: 48%;
  bottom: 12%;
  background: rgba(0, 184, 148, 0.14);
}

@keyframes slowSpin {
  from { transform: rotate(0deg) translateX(8px) rotate(0deg); }
  to { transform: rotate(360deg) translateX(8px) rotate(-360deg); }
}

/* Section headings */
.section-heading {
  max-width: 760px;
}

.section-heading h2,
.meeting-section h2,
#contact h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 800;
  margin: 18px 0;
  line-height: 1.15;
}

.section-heading p,
.meeting-section p,
#contact p {
  font-size: 1.05rem;
}

/* About */
.profile-card {
  border-radius: var(--radius-lg);
  padding: 24px;
  background: var(--white);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(15, 76, 129, 0.08);
}

.profile-photo {
  min-height: 420px;
  border-radius: 28px;
  display: grid;
  place-items: center;
  color: var(--white);
  overflow: hidden;

  background:
    linear-gradient(135deg, rgba(15, 76, 129, 0.10), rgba(0, 184, 148, 0.08)),
    url("assets/profile.jpg"),
    linear-gradient(135deg, rgba(15, 76, 129, 0.88), rgba(0, 184, 148, 0.74));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.profile-photo i {
  font-size: 7rem;
  opacity: 0.92;
}

.profile-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 18px;
}

.profile-meta div {
  padding: 18px;
  border-radius: 20px;
  background: var(--primary-soft);
}

.profile-meta strong,
.profile-meta span {
  display: block;
}

.profile-meta strong {
  color: var(--primary);
  font-size: 1.5rem;
  line-height: 1;
}

.profile-meta span {
  color: var(--gray);
  font-size: 0.86rem;
  margin-top: 6px;
}

.expertise-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  color: var(--primary-dark);
  font-weight: 800;
  border: 1px solid rgba(15, 76, 129, 0.08);
  transition: var(--transition);
}

.expertise-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.expertise-item i {
  color: var(--secondary);
  font-size: 1.3rem;
}

.mini-timeline {
  border-left: 2px solid rgba(15, 76, 129, 0.14);
  padding-left: 24px;
}

.mini-timeline-item {
  position: relative;
  padding-bottom: 26px;
}

.mini-timeline-item:last-child {
  padding-bottom: 0;
}

.mini-timeline-item::before {
  content: '';
  position: absolute;
  left: -33px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--secondary);
  box-shadow: 0 0 0 6px rgba(0, 184, 148, 0.12);
}

.mini-timeline-item span {
  color: var(--secondary-dark);
  font-weight: 800;
  font-size: 0.9rem;
}

.mini-timeline-item h3 {
  font-size: 1.18rem;
  font-weight: 800;
  margin: 4px 0 6px;
}

/* Services */
.service-card,
.partner-card,
.stat-card,
.contact-card {
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid rgba(15, 76, 129, 0.08);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.service-card {
  padding: 34px;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 76, 129, 0.08), rgba(0, 184, 148, 0.08));
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  font-size: 1.7rem;
  margin-bottom: 24px;
}

.service-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.service-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 800;
  margin-top: 22px;
}

.service-card a:hover {
  color: var(--secondary-dark);
  gap: 12px;
}

/* Career timeline */
.career-timeline {
  max-width: 900px;
  margin-inline: auto;
  position: relative;
}

.career-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.22);
}

.career-item {
  position: relative;
  width: 50%;
  padding: 0 44px 44px 0;
}

.career-item:nth-child(even) {
  margin-left: 50%;
  padding: 0 0 44px 44px;
}

.career-dot {
  position: absolute;
  top: 26px;
  right: -10px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--secondary);
  border: 4px solid rgba(255, 255, 255, 0.94);
  z-index: 1;
}

.career-item:nth-child(even) .career-dot {
  left: -10px;
  right: auto;
}

.career-card {
  padding: 28px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.career-card span {
  color: #a9f4e3;
  font-weight: 800;
}

.career-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 8px 0 3px;
}

.career-card h4 {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.98rem;
  margin-bottom: 12px;
}

.career-card p {
  color: rgba(255, 255, 255, 0.76);
}

/* Partners */
.partner-card {
  padding: 28px;
  text-align: center;
  height: 100%;
}

.partner-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: var(--shadow-md);
}

.partner-logo {
  width: 76px;
  height: 76px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  font-weight: 900;
  font-size: 1.2rem;
}

.partner-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 8px;
}

/* Statistics */
.stats-section {
  background:
    linear-gradient(rgba(255,255,255,0.94), rgba(255,255,255,0.94)),
    radial-gradient(circle at 10% 20%, rgba(0, 184, 148, 0.16), transparent 28%),
    radial-gradient(circle at 90% 10%, rgba(15, 76, 129, 0.14), transparent 25%);
}

.stat-card {
  padding: 34px 20px;
}

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.counter,
.stat-plus {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.stat-plus {
  color: var(--secondary);
}

.stat-card p {
  margin-top: 10px;
  font-weight: 800;
  color: var(--gray);
}

/* Testimonials */
.testimonial-card {
  max-width: 790px;
  padding: 46px 42px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-md);
  text-align: center;
  border: 1px solid rgba(15, 76, 129, 0.08);
  margin-bottom: 48px;
}

.client-avatar {
  width: 84px;
  height: 84px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  font-size: 2.2rem;
}

.testimonial-card p {
  font-size: 1.18rem;
  color: #41566b;
  margin-bottom: 24px;
}

.testimonial-card h3 {
  font-size: 1.18rem;
  font-weight: 800;
  margin-bottom: 2px;
}

.testimonial-card span {
  color: var(--gray);
}

.carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--primary);
}

.carousel-control-prev,
.carousel-control-next {
  width: 46px;
  height: 46px;
  top: 44%;
  border-radius: 50%;
  background: var(--primary);
  opacity: 1;
}

.carousel-control-prev {
  left: 2%;
}

.carousel-control-next {
  right: 2%;
}

/* Meeting */
.meeting-section {
  background:
    linear-gradient(135deg, rgba(15, 76, 129, 0.04), rgba(0, 184, 148, 0.06)),
    var(--white);
}

.meeting-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  color: #40576f;
  font-weight: 700;
}

.meeting-list i {
  color: var(--secondary);
}

.form-frame {
  border-radius: var(--radius-lg);
  padding: 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 76, 129, 0.1);
  box-shadow: var(--shadow-lg);
}

.form-frame iframe {
  width: 100%;
  min-height: 560px;
  border: 0;
  border-radius: 24px;
  background: var(--light-gray);
}

/* Contact */
.contact-card {
  padding: 28px;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
  height: 100%;
}

.contact-card:hover {
  transform: translateY(-7px);
  background: rgba(255, 255, 255, 0.16);
}

.contact-card i {
  color: #a9f4e3;
  font-size: 2rem;
}

.contact-card h3 {
  font-size: 1.16rem;
  font-weight: 800;
  margin: 14px 0 8px;
}

.contact-card a,
.contact-card p {
  color: rgba(255, 255, 255, 0.78);
}

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

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.social-links a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.social-links a:hover {
  color: var(--primary);
  background: var(--white);
  transform: translateY(-4px);
}

/* Footer */
.footer {
  padding: 70px 0 0;
  background: #071d32;
  color: rgba(255, 255, 255, 0.78);
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
}

.footer-logo-img {
  height: 58px;
  width: auto;
  display: block;
  object-fit: contain;
}

.footer p,
.footer a {
  color: rgba(255, 255, 255, 0.68);
}

.footer h3 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.footer li {
  margin-bottom: 9px;
}

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

.footer-social a {
  background: rgba(255, 255, 255, 0.08);
}

.footer-bottom {
  margin-top: 48px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  text-align: center;
}

/* Back to top */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: var(--transition);
  z-index: 99;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.22s; }
.reveal-delay-3 { transition-delay: 0.32s; }

/* Responsive */
@media (max-width: 991.98px) {
  .site-header {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    box-shadow: 0 8px 25px rgba(10, 37, 64, 0.08);
  }

  .navbar-collapse {
    padding: 18px 0 10px;
  }

  .navbar-nav .nav-link::after {
    display: none;
  }

  .hero-section .min-vh-100 {
    min-height: auto !important;
    padding-top: 135px !important;
  }

  .hero-visual {
    min-height: 560px;
  }

  .main-dashboard {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    animation: none;
  }

  .card-tax {
    left: 0;
  }

  .card-payroll {
    left: 22px;
  }

  .card-cfo {
    right: 0;
  }

  .career-timeline::before {
    left: 10px;
  }

  .career-item,
  .career-item:nth-child(even) {
    width: 100%;
    margin-left: 0;
    padding: 0 0 34px 42px;
  }

  .career-dot,
  .career-item:nth-child(even) .career-dot {
    left: 0;
    right: auto;
  }

  .carousel-control-prev,
  .carousel-control-next {
    display: none;
  }
}

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

  .hero-content h1 {
    font-size: 2.55rem;
  }

  .hero-trust div {
    width: 100%;
    border-right: 0;
    padding-right: 0;
  }

  .hero-visual {
    min-height: 610px;
  }

  .main-dashboard {
    width: 100%;
    padding: 24px;
  }

  .dashboard-top,
  .dashboard-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .dashboard-bottom div {
    width: 100%;
  }

  .floating-card {
    position: relative;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    margin: 16px auto 0;
    max-width: 290px;
  }

  .card-tax {
    margin-top: 420px;
  }

  .profile-photo {
    min-height: 320px;
  }

  .profile-meta {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    padding: 34px 24px;
  }

  .form-frame iframe {
    min-height: 480px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

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

  .brand-text {
    font-size: 1rem;
  }

  .site-header.scrolled .brand-logo {
    height: 34px;
  }

  .footer-logo-img {
    height: 50px;
  }
}

/* Refined About/Profile section */
.profile-card {
  padding: 22px;
  position: relative;
  overflow: hidden;
}

.profile-card::before {
  content: '';
  position: absolute;
  width: 180px;
  height: 180px;
  right: -70px;
  top: -70px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 184, 148, 0.18), transparent 68%);
}

.profile-card > * {
  position: relative;
  z-index: 1;
}

.profile-info {
  padding: 18px 4px 2px;
}

.profile-kicker {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.42rem 0.78rem;
  background: rgba(15, 76, 129, 0.08);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.profile-info h2 {
  font-size: clamp(1.8rem, 2.5vw, 2.35rem);
  font-weight: 900;
  margin: 0 0 8px;
  color: var(--primary-dark);
}

.profile-info p {
  font-size: 0.96rem;
  color: #526579;
  max-width: 430px;
}

.profile-meta {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.profile-meta div {
  background: linear-gradient(135deg, rgba(15, 76, 129, 0.09), rgba(0, 184, 148, 0.09));
  border: 1px solid rgba(15, 76, 129, 0.08);
}

.why-work-card {
  margin-top: 34px;
  padding: 30px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(247, 250, 252, 0.92)),
    radial-gradient(circle at top right, rgba(0, 184, 148, 0.14), transparent 34%);
  border: 1px solid rgba(15, 76, 129, 0.08);
  box-shadow: var(--shadow-md);
}

.why-work-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.why-work-header h3 {
  flex: 1;
  color: var(--primary-dark);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 900;
  line-height: 1.2;
  margin: 0;
  max-width: 520px;
}

.why-work-card .section-tag {
  white-space: nowrap;
}

.why-work-card .mini-timeline {
  margin-top: 0;
  padding-left: 0;
  border-left: 0;
  display: grid;
  gap: 12px;
}

.why-work-card .mini-timeline-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid rgba(15, 76, 129, 0.07);
  box-shadow: 0 10px 22px rgba(15, 76, 129, 0.06);
  transition: var(--transition);
}

.why-work-card .mini-timeline-item:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-sm);
}

.why-work-card .mini-timeline-item::before {
  display: none;
}

.why-work-card .mini-timeline-item span {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  font-size: 0.85rem;
  font-weight: 900;
}

.why-work-card .mini-timeline-item h4 {
  margin: 0;
  color: var(--primary-dark);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}

@media (max-width: 767.98px) {
  .why-work-card {
    padding: 24px;
  }

  .why-work-header {
    display: block;
  }

  .why-work-header h3 {
    margin-top: 16px;
  }

  .why-work-card .mini-timeline-item {
    align-items: flex-start;
  }
}

/* Clients, services & software overview */
.support-section {
  background:
    radial-gradient(circle at 8% 20%, rgba(0, 184, 148, 0.10), transparent 28%),
    radial-gradient(circle at 92% 0%, rgba(15, 76, 129, 0.10), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%);
}

.support-card {
  position: relative;
  overflow: hidden;
  padding: 32px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(15, 76, 129, 0.09);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.support-card::after {
  content: '';
  position: absolute;
  right: -70px;
  top: -70px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(0, 184, 148, 0.10);
  transition: var(--transition);
}

.support-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.support-card:hover::after {
  transform: scale(1.18);
  background: rgba(15, 76, 129, 0.10);
}

.featured-support {
  background:
    linear-gradient(135deg, rgba(15, 76, 129, 0.07), rgba(0, 184, 148, 0.08)),
    rgba(255, 255, 255, 0.92);
}

.support-card-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
}

.support-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 20px;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  font-size: 1.55rem;
  box-shadow: 0 14px 28px rgba(15, 76, 129, 0.18);
}

.support-card-top span {
  display: block;
  color: var(--secondary-dark);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.support-card-top h3 {
  margin: 2px 0 0;
  color: var(--primary-dark);
  font-size: 1.45rem;
  font-weight: 900;
}

.support-list,
.software-tags {
  position: relative;
  z-index: 1;
}

.support-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  color: #2f455d;
  font-weight: 800;
  border-bottom: 1px solid rgba(15, 76, 129, 0.08);
}

.support-list li:last-child {
  border-bottom: 0;
}

.support-list i {
  color: var(--secondary);
  font-size: 1.15rem;
}

.software-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.software-tags span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  color: var(--primary-dark);
  background: var(--white);
  border: 1px solid rgba(15, 76, 129, 0.10);
  box-shadow: 0 8px 20px rgba(15, 76, 129, 0.07);
  font-weight: 900;
  transition: var(--transition);
}

.software-tags span:hover {
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  transform: translateY(-4px);
}

@media (max-width: 767.98px) {
  .support-card {
    padding: 26px;
  }
}
