:root {
  --navy: #0e2a3a;
  --deep: #0d2535;
  --teal: #1fb8c3;
  --teal-light: #4dd0d9;
  --teal-pale: #e0f7f9;
  --cream: #f4fafc;
  --white: #ffffff;
  --slate: #6b7a8d;
  --text: #1a2635;
  --border: rgba(31,184,195,0.25);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
}

/* ── ANNOUNCEMENT BANNER ── */

.banner {
  background: var(--teal);
  color: var(--navy);
  text-align: center;
  padding: 10px 20px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.banner span {
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  margin-left: 6px;
}

/* ── NAV ── */

nav {
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 72px;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(31,184,195,0.18);
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.nav-logo span {
  color: var(--teal);
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--teal);
}

.nav-cta {
  background: var(--teal);
  color: var(--navy) !important;
  padding: 10px 22px;
  border-radius: 3px;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}

.nav-cta:hover {
  background: var(--teal-light) !important;
  color: var(--navy) !important;
}

/* ── HERO ── */

.hero {
  background: var(--navy);
  min-height: 88vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(31,184,195,0.08) 0%, transparent 65%);
  pointer-events: none;
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(31,184,195,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(31,184,195,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-left {
  padding: 80px 6% 80px 8%;
  position: relative;
  z-index: 2;
  animation: fadeUp 0.9s ease both;
}

.hero-eyebrow-whs {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 24px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 24px;
}

.hero-eyebrow-whs::before {
  content: '';
  width: 32px;
  height: 1px;
  background: #49ea33;
}

.hero-eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--teal);
}

.hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 12px;
}

.hero-headline em {
  color: var(--teal);
  font-style: italic;
}

.hero-sub {
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 440px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.btn-primary {
  background: var(--teal);
  color: var(--navy);
  padding: 15px 32px;
  border-radius: 3px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: transform 0.2s, background 0.2s;
}

.btn-primary:hover {
  background: var(--teal-light);
  transform: translateY(-2px);
}

.btn-ghost {
  color: rgba(255,255,255,0.8);
  padding: 15px 24px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 3px;
  font-size: 0.9rem;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.hero-right {
  padding: 80px 8% 80px 4%;
  position: relative;
  z-index: 2;
  animation: fadeUp 0.9s 0.2s ease both;
}

/* Award card */

.award-card {
  background: linear-gradient(135deg, rgba(31,184,195,0.12), rgba(31,184,195,0.05));
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px;
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
}

.award-card::before {
  content: '★';
  position: absolute;
  top: -20px;
  right: -10px;
  font-size: 8rem;
  color: rgba(31,184,195,0.06);
  line-height: 1;
}

.award-badge {
  display: inline-block;
  background: var(--teal);
  color: var(--navy);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 2px;
  margin-bottom: 16px;
}

.award-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.25;
}

.award-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

/* Stats row */

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(31,184,195,0.12);
  border-radius: 8px;
  overflow: hidden;
}

.stat {
  background: rgba(255,255,255,0.04);
  padding: 20px 16px;
  text-align: center;
}

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--teal);
  display: block;
}

.stat-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 2px;
}

/* ── TRUST BAR ── */

.trust-bar {
  background: var(--white);
  border-bottom: 1px solid rgba(0,0,0,0.07);
  padding: 24px 8%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.trust-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--slate);
  white-space: nowrap;
}

.trust-logos {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}

.trust-logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.trust-logo-box {
  background: #f4f4f4;
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--slate);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.trust-logo-box.xero {
  background: #13b5ea22;
  color: #13b5ea;
}

.trust-logo-box.myob {
  background: #7bc14233;
  color: #5a9a30;
}

.trust-logo-box.qb {
  background: #2ca01c22;
  color: #2ca01c;
}

.trust-logo-box.icb {
  background: #1a3a6022;
  color: #1a3a60;
}

/* ── INTRO / ABOUT ── */

.intro {
  padding: 100px 8%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  background: var(--cream);
}

.intro-image-block {
  position: relative;
}

.intro-photo {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  background: linear-gradient(160deg, #1fb8c333, #0d1b2a55);
}

.photo-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: 8px;
  background: linear-gradient(160deg, var(--navy), #1e3a5f);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  text-align: center;
  padding: 40px;
  gap: 12px;
}

.photo-placeholder svg {
  opacity: 0.3;
}

.intro-accent-box {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--teal);
  color: var(--navy);
  padding: 20px 24px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(31,184,195,0.35);
}

.accent-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 900;
  display: block;
  line-height: 1;
}

.accent-text {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 4px;
}

.intro-content {
}

.section-eyebrow-whs {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 18px;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 18px;
}

.section-eyebrow-whs::before {
  content: '';
  width: 28px;
  height: 1px;
  background: #49ea33;
}

.section-eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--teal);
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 20px;
}

.section-title em {
  color: var(--teal);
  font-style: italic;
}

.section-body {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #3a4a5c;
  margin-bottom: 16px;
}

.creds-list {
  list-style: none;
  margin: 24px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.creds-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text);
  font-weight: 500;
}

.cred-dot {
  width: 8px;
  height: 8px;
  background: var(--teal);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── SERVICES ── */

.services {
  background: var(--navy);
  padding: 100px 8%;
  position: relative;
  overflow: hidden;
}

.services::before {
  content: '';
  position: absolute;
  bottom: -300px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  /*height: 600px;*/
  background: radial-gradient(ellipse, rgba(31,184,195,0.06) 0%, transparent 65%);
  pointer-events: none;
}

.services-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 64px;
}

.services-header .section-title {
  color: var(--white);
}

.services-header .section-body {
  color: rgba(255,255,255,0.55);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(31,184,195,0.10);
  border-radius: 12px;
  overflow: hidden;
}

.service-card {
  background: var(--deep);
  padding: 40px 32px;
  position: relative;
  transition: background 0.3s;
  cursor: default;
}

.service-card:hover {
  background: #162d47;
}

.service-card:hover .service-icon {
  color: var(--teal-light);
}

.service-icon {
  font-size: 2rem;
  color: var(--teal);
  margin-bottom: 20px;
  transition: color 0.3s;
  display: block;
}

.service-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.service-desc {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
}

/* ── TESTIMONIALS ── */

.testimonials {
  padding: 100px 8%;
  background: var(--cream);
}

.testimonials-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  /*margin-bottom: 56px;*/
  gap: 24px;
  flex-wrap: wrap;
}

.stars {
  color: var(--teal);
  font-size: 1rem;
  letter-spacing: 3px;
  margin-bottom: 8px;
}

.testimonials-track-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 10px;
  padding: 32px;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.testimonial-card::before {
  content: '"';
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  color: var(--teal);
  opacity: 0.15;
  position: absolute;
  top: 12px;
  left: 24px;
  line-height: 1;
}

.testimonial-text {
  font-size: 0.88rem;
  line-height: 1.75;
  color: #3a4a5c;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(0,0,0,0.06);
  padding-top: 20px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--teal);
  flex-shrink: 0;
}

.author-name {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--navy);
}

.author-company {
  font-size: 0.78rem;
  color: var(--slate);
  margin-top: 2px;
}

/* ── CTA SECTION ── */

.cta-section {
  background: var(--navy);
  padding: 100px 8%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -200px;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(31,184,195,0.06), transparent 60%);
  pointer-events: none;
}

.cta-left .section-title {
  color: var(--white);
  font-size: 2.4rem;
}

.cta-left .section-body {
  color: rgba(255,255,255,0.55);
}

.contact-form {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.form-group input, .form-group select, .form-group textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  padding: 12px 16px;
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}

.form-group input::placeholder, .form-group textarea::placeholder {
  color: rgba(255,255,255,0.25);
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--teal);
}

.form-group select option {
  background: var(--navy);
  color: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-full {
  margin-bottom: 16px;
}

.form-submit {
  width: 100%;
  background: var(--teal);
  color: var(--navy);
  border: none;
  padding: 15px;
  border-radius: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: background 0.2s;
  margin-top: 8px;
}

.form-submit:hover {
  background: var(--teal-light);
}

/* ── FOOTER ── */

footer {
  background: #08121d;
  padding: 56px 8% 32px;
  color: rgba(255,255,255,0.45);
  border-top: 1px solid rgba(31,184,195,0.12);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 48px;
}

.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
}

.footer-brand span {
  color: var(--teal);
}

.footer-blurb {
  font-size: 0.85rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  margin-bottom: 8px;
  color: rgba(255,255,255,0.6);
}

.footer-contact-item a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
}

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

.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 24px;
  font-size: 0.78rem;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  font-size: 0.78rem;
  transition: color 0.2s;
}

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

/* ── ANIMATIONS ── */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── RESPONSIVE ── */

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
}

@media (max-width: 900px) {
  .hero-right {
    padding-top: 0;
    padding-bottom: 60px;
  }
}

@media (max-width: 900px) {
  .intro {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

@media (max-width: 900px) {
  .intro-image-block {
    max-width: 400px;
  }
}

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .cta-section {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 900px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* Ensure all cards in a slide are the same height */

.carousel-item .d-flex {
  align-items: stretch;
}

.testimonial-card {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Adjust Carousel Controls color if they are invisible against white background */

.carousel-control-prev-icon, .carousel-control-next-icon {
  filter: invert(1) grayscale(100);
}

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

/* Fade edges for a polished look */

.testimonials-track-wrapper::before, .testimonials-track-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.testimonials-track-wrapper::before {
  left: 0;
  background: linear-gradient(to right, #fff, transparent);
}

.testimonials-track-wrapper::after {
  right: 0;
  background: linear-gradient(to left, #fff, transparent);
}

.testimonials-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
}

.testimonials-track.is-scrolling {
  animation: testimonialMarquee 30s linear infinite;
}

.testimonials-track.is-scrolling:hover {
  animation-play-state: paused;
}

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

/* Make cards fixed-width in the track */

.testimonials-track .testimonial-card {
  width: 320px;
  flex-shrink: 0;
}

