/* ============================================================
   AFRICONNECT — PREMIUM DESIGN SYSTEM 2026
   Shared stylesheet for all pages (except index.html)
   Colors: Midnight Blue #0B1C3D | Forest Green #1F8F4E | Gold #D4AF37
   ============================================================ */

/* ----- GOOGLE FONTS (Inter + Noto Serif) already loaded via <link> ----- */

/* ---- CSS CUSTOM PROPERTIES ---- */
:root {
  --midnight:   #0B1C3D;
  --forest:     #1F8F4E;
  --forest-dk:  #166b3a;
  --gold:       #D4AF37;
  --gold-dk:    #b8952b;
  --surface:    #f5fbf2;
  --surface-lo: #f0f5ec;
  --white:      #ffffff;
  --slate-100:  #f1f5f9;
  --slate-200:  #e2e8f0;
  --slate-400:  #94a3b8;
  --slate-600:  #475569;
  --text:       #171d18;
  --text-muted: #3e4a3f;

  --nav-h: 72px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm:  0 2px 8px rgba(11,28,61,0.06);
  --shadow-md:  0 4px 20px -5px rgba(11,28,61,0.10);
  --shadow-lg:  0 8px 40px -8px rgba(11,28,61,0.15);
  --shadow-xl:  0 16px 64px -12px rgba(11,28,61,0.18);

  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: var(--surface);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: var(--nav-h);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

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

a { text-decoration: none; color: inherit; }

/* ============================================================
   NAVIGATION BAR — SHARED PREMIUM NAV
   ============================================================ */
.ac-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(11, 28, 61, 0.08);
  box-shadow: 0 4px 24px -6px rgba(11, 28, 61, 0.08);
  transition: box-shadow var(--transition), background var(--transition);
}

.ac-nav.scrolled {
  box-shadow: 0 8px 40px -8px rgba(11, 28, 61, 0.14);
  background: rgba(255, 255, 255, 0.99);
}

.ac-nav__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Brand */
.ac-nav__brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  flex-shrink: 0;
  line-height: 1;
}

.ac-nav__logo {
  height: 36px;
  width: auto;
  border-radius: 6px;
  object-fit: contain;
  box-shadow: 0 2px 4px rgba(11, 28, 61, 0.08);
  transition: transform var(--transition), box-shadow var(--transition);
}

.ac-nav__logo:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(11, 28, 61, 0.12);
}

.ac-nav__wordmark {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ac-nav__wordmark-name {
  font-family: 'Noto Serif', serif;
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--forest);
  letter-spacing: -0.02em;
  line-height: 1;
  display: block;
}

.ac-nav__tagline {
  font-family: 'Inter', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1;
  display: block;
}

/* Desktop links */
.ac-nav__links {
  display: none;
  align-items: center;
  gap: 0.125rem;
  flex: 1;
  justify-content: center;
}

@media (min-width: 1024px) {
  .ac-nav__links { display: flex; }
}

.ac-nav__link {
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--midnight);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
  position: relative;
}

.ac-nav__link::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%; right: 50%;
  height: 2px;
  background: var(--forest);
  border-radius: 2px;
  transition: left var(--transition), right var(--transition);
}

.ac-nav__link:hover { color: var(--forest); background: rgba(31, 143, 78, 0.06); }
.ac-nav__link:hover::after { left: 0.75rem; right: 0.75rem; }
.ac-nav__link.active { color: var(--forest); }
.ac-nav__link.active::after { left: 0.75rem; right: 0.75rem; }

/* Actions */
.ac-nav__actions {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
}

/* Language toggle */
.ac-lang {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  background: var(--surface-lo);
  border: 1px solid rgba(11, 28, 61, 0.1);
  border-radius: 999px;
  padding: 0.25rem 0.5rem;
}

.ac-lang__btn {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  background: transparent;
  color: var(--midnight);
}

.ac-lang__btn.active {
  background: var(--forest);
  color: white;
  box-shadow: 0 1px 4px rgba(31, 143, 78, 0.3);
}

.ac-lang__sep { width: 1px; height: 10px; background: rgba(11, 28, 61, 0.15); }

/* Cart icon button */
.ac-nav__icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--midnight);
  transition: background var(--transition), color var(--transition);
}

.ac-nav__icon-btn:hover { background: var(--surface-lo); color: var(--forest); }
.ac-nav__icon-btn .material-symbols-outlined { font-size: 22px; }

/* CTA Buttons */
.ac-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.5625rem 1.25rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.ac-btn--ghost {
  background: transparent;
  color: var(--midnight);
  border: 1.5px solid rgba(11, 28, 61, 0.25);
}

.ac-btn--ghost:hover {
  border-color: var(--midnight);
  background: rgba(11, 28, 61, 0.04);
}

.ac-btn--primary {
  background: linear-gradient(135deg, var(--forest) 0%, #157a40 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(31, 143, 78, 0.3);
}

.ac-btn--primary:hover {
  background: linear-gradient(135deg, #157a40 0%, #0e6134 100%);
  box-shadow: 0 4px 16px rgba(31, 143, 78, 0.4);
  transform: translateY(-1px);
}

.ac-btn--gold {
  background: linear-gradient(135deg, var(--gold) 0%, #c4a132 100%);
  color: var(--midnight);
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.ac-btn--gold:hover {
  background: linear-gradient(135deg, #c4a132 0%, #a88c28 100%);
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.4);
  transform: translateY(-1px);
}

/* Mobile hamburger */
.ac-nav__hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(11, 28, 61, 0.15);
  background: transparent;
  cursor: pointer;
  color: var(--midnight);
  transition: all var(--transition);
}

@media (min-width: 1024px) {
  .ac-nav__hamburger { display: none; }
}

.ac-nav__hamburger:hover { background: var(--surface-lo); }

/* Mobile drawer */
.ac-mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: white;
  border-bottom: 1px solid var(--slate-200);
  box-shadow: var(--shadow-lg);
  z-index: 999;
  padding: 1rem;
  flex-direction: column;
  gap: 0.25rem;
}

.ac-mobile-menu.open { display: flex; }

.ac-mobile-menu__link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--midnight);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  display: block;
}

.ac-mobile-menu__link:hover { color: var(--forest); background: rgba(31, 143, 78, 0.06); }

.ac-mobile-menu__divider { height: 1px; background: var(--slate-200); margin: 0.5rem 0; }

.ac-mobile-menu__ctas { display: flex; gap: 0.75rem; padding: 0.5rem 0 0.25rem; }
.ac-mobile-menu__ctas .ac-btn { flex: 1; justify-content: center; }

/* ============================================================
   PAGE HERO BANNER — shared page header style
   ============================================================ */
.ac-page-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--midnight);
}

.ac-page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ac-page-hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.ac-page-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(11, 28, 61, 0.88) 0%,
    rgba(11, 28, 61, 0.55) 60%,
    rgba(31, 143, 78, 0.15) 100%
  );
}

.ac-page-hero__content {
  position: relative;
  z-index: 1;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 5rem 2rem 4rem;
}

.ac-page-hero__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  padding: 0.375rem 1rem;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.1);
}

.ac-page-hero__title {
  font-family: 'Noto Serif', serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  color: white;
  line-height: 1.15;
  letter-spacing: -0.025em;
  max-width: 700px;
  margin-bottom: 1.25rem;
}

.ac-page-hero__title .accent { color: var(--gold); }

.ac-page-hero__subtitle {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.78);
  max-width: 560px;
  margin-bottom: 2rem;
}

.ac-page-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ============================================================
   SECTION WRAPPERS
   ============================================================ */
.ac-section {
  padding: 5rem 2rem;
}

.ac-section--alt {
  background: white;
}

.ac-section--dark {
  background: var(--midnight);
  color: white;
}

.ac-container {
  max-width: 1280px;
  margin: 0 auto;
}

.ac-section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.ac-section-title {
  font-family: 'Noto Serif', serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--midnight);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.ac-section-title--white { color: white; }

.ac-section-subtitle {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 600px;
}

.ac-section-subtitle--white { color: rgba(255,255,255,0.72); }

.ac-divider {
  width: 3rem;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--forest));
  margin: 1rem 0 1.5rem;
}

/* ============================================================
   CARDS — GLASS & PREMIUM
   ============================================================ */
.ac-card {
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.ac-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.ac-card--glass {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.6);
}

.ac-card--border-gold { border-top: 3px solid var(--gold); }
.ac-card--border-forest { border-top: 3px solid var(--forest); }

/* ============================================================
   STATS BAR
   ============================================================ */
.ac-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1px;
  background: rgba(11,28,61,0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.ac-stat {
  background: white;
  padding: 2rem 1.5rem;
  text-align: center;
}

.ac-stat__number {
  font-family: 'Noto Serif', serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--midnight);
  line-height: 1;
  display: block;
  margin-bottom: 0.375rem;
}

.ac-stat__number .accent { color: var(--gold); }

.ac-stat__label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ============================================================
   FORM ELEMENTS — PREMIUM INPUTS
   ============================================================ */
.ac-input,
.ac-select,
.ac-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  color: var(--text);
  background: white;
  border: 1.5px solid rgba(11, 28, 61, 0.12);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
  appearance: none;
}

.ac-input:focus,
.ac-select:focus,
.ac-textarea:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(31, 143, 78, 0.12);
}

.ac-input::placeholder,
.ac-textarea::placeholder { color: var(--slate-400); }

.ac-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--midnight);
  margin-bottom: 0.375rem;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.ac-cta-section {
  background: linear-gradient(135deg, var(--midnight) 0%, #122447 50%, #0e3d22 100%);
  position: relative;
  overflow: hidden;
}

.ac-cta-section::before {
  content: '';
  position: absolute;
  top: -40%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(212,175,55,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.ac-cta-section::after {
  content: '';
  position: absolute;
  bottom: -30%; left: -5%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(31,143,78,0.15) 0%, transparent 70%);
  pointer-events: none;
}

/* ============================================================
   FOOTER — PREMIUM DARK FOOTER
   ============================================================ */
.ac-footer {
  background: #05101f;
  color: rgba(255,255,255,0.8);
  padding: 4.5rem 2rem 0;
  margin-top: auto;
  border-top: 2px solid rgba(255, 255, 255, 0.65);
}

.ac-footer__inner {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

@media (max-width: 1199px) {
  .ac-footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 639px) {
  .ac-footer__inner { grid-template-columns: 1fr; }
}

.ac-footer__brand {}

.ac-footer__logo-row {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 1rem;
}

.ac-footer__logo {
  height: 34px;
  width: auto;
  border-radius: 6px;
  object-fit: contain;
  filter: brightness(1.05);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: transform var(--transition), box-shadow var(--transition);
}

.ac-footer__logo:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.ac-footer__wordmark {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ac-footer__wordmark-name {
  font-family: 'Noto Serif', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--forest);
  letter-spacing: -0.015em;
  line-height: 1;
  display: block;
}

.ac-footer__wordmark-tagline {
  font-family: 'Inter', sans-serif;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1;
  display: block;
}

.ac-footer__tagline {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1.5rem;
  max-width: 280px;
}

.ac-footer__socials {
  display: flex;
  gap: 0.625rem;
}

.ac-footer__social {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 18px;
  transition: all var(--transition);
  cursor: pointer;
  background: transparent;
}

.ac-footer__social:hover {
  background: rgba(255,255,255,0.1);
  color: white;
  border-color: rgba(255,255,255,0.35);
}

.ac-brand-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  flex: 0 0 auto;
}

.ac-footer__link .ac-brand-icon {
  width: 20px;
  height: 20px;
}

.ac-footer__col {}

.ac-footer__col-title {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.ac-footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  list-style: none;
}

.ac-footer__link {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition), transform var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.ac-footer__link:hover {
  color: white;
  transform: translateX(3px);
}

.ac-footer__link .material-symbols-outlined {
  font-size: 16px;
  opacity: 0.7;
}

/* Footer bottom bar */
.ac-footer__bottom {
  max-width: 1440px;
  margin: 0 auto;
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.ac-footer__copy {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.35);
}

.ac-footer__badge {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.35);
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.ac-footer__badge .material-symbols-outlined { font-size: 14px; color: var(--gold); }

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.text-gold { color: var(--gold); }
.text-forest { color: var(--forest); }
.text-midnight { color: var(--midnight); }

.bg-gold { background-color: var(--gold); }
.bg-forest { background-color: var(--forest); }
.bg-midnight { background-color: var(--midnight); }

/* Animated underline for accent text */
.ac-underline-gold {
  background-image: linear-gradient(var(--gold), var(--gold));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 3px;
  padding-bottom: 2px;
}

/* Scroll reveal animation base */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].revealed {
  opacity: 1;
  transform: none;
}

/* Micro-animation: pulse gold dot */
@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4); }
  50%       { box-shadow: 0 0 0 8px rgba(212, 175, 55, 0); }
}

.pulse-gold { animation: pulse-gold 2s ease infinite; }

/* Gold shimmer effect on hover */
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.ac-btn--gold:hover {
  background: linear-gradient(
    135deg,
    var(--gold) 0%,
    #f5d76e 40%,
    var(--gold) 55%,
    #c4a132 100%
  );
  background-size: 200% auto;
  animation: shimmer 1.5s linear;
}

/* ============================================================
   HOMEPAGE TESTIMONIAL SECTIONS
   ============================================================ */
.ac-testimonials {
  padding: 6rem 2rem;
}

.ac-testimonials--written {
  background: linear-gradient(180deg, var(--white) 0%, var(--surface-lo) 100%);
}

.ac-testimonials--video {
  background: var(--midnight);
  color: var(--white);
}

.ac-testimonials__inner,
.ac-video-testimonial {
  max-width: 1200px;
  margin: 0 auto;
}

.ac-section-kicker {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.875rem;
}

.ac-section-heading {
  max-width: 760px;
  margin-bottom: 2.5rem;
}

.ac-section-heading h2,
.ac-video-testimonial__copy h2 {
  font-family: 'Noto Serif', serif;
  color: var(--midnight);
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.ac-section-heading p,
.ac-video-testimonial__copy p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.ac-written-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.ac-written-card {
  background: var(--white);
  border: 1px solid rgba(11, 28, 61, 0.08);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 1.5rem;
}

.ac-written-card p {
  color: var(--midnight);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.ac-written-card div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.ac-written-card strong {
  color: var(--forest);
}

.ac-written-card span {
  color: var(--slate-600);
  font-size: 0.9rem;
}

.ac-video-testimonial {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 3rem;
  align-items: center;
}

.ac-video-testimonial__media {
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: var(--shadow-xl);
  background: rgba(255,255,255,0.08);
}

.ac-video-testimonial__media video,
.ac-video-placeholder img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #050b18;
}

.ac-video-placeholder {
  position: relative;
}

.ac-video-placeholder span {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.55rem 0.8rem;
  border-radius: var(--radius-sm);
  background: rgba(11, 28, 61, 0.88);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
}

.ac-video-testimonial__copy h2 {
  color: var(--white);
}

.ac-video-testimonial__copy p {
  color: rgba(255,255,255,0.72);
  margin-bottom: 1.5rem;
}

@media (max-width: 820px) {
  .ac-testimonials {
    padding: 4rem 1rem;
  }

  .ac-video-testimonial {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}




/* Homepage centered section intros */
.home-section-intro,
.ac-why .ac-section-heading,
.ac-why .ac-section-kicker,
.ac-testimonials--written .ac-section-heading,
.ac-testimonials--written .ac-section-kicker {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.home-section-intro .w-24 {
  margin-left: auto;
  margin-right: auto;
}
/* Homepage service card hover states */
#services .home-service-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease, border-color 0.28s ease;
}

#services .home-service-card:hover {
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-dk) 100%);
  border-color: var(--gold);
  box-shadow: 0 18px 48px -18px rgba(11, 28, 61, 0.45);
  transform: translateY(-10px) scale(1.015);
}

#services .home-service-card h3,
#services .home-service-card p,
#services .home-service-card a,
#services .home-service-card .material-symbols-outlined {
  transition: color 0.28s ease, background 0.28s ease, transform 0.28s ease;
}

#services .home-service-card:hover h3,
#services .home-service-card:hover p,
#services .home-service-card:hover a {
  color: var(--white) !important;
}

#services .home-service-card:hover > div:first-child {
  background: rgba(255, 255, 255, 0.16) !important;
}

#services .home-service-card:hover .material-symbols-outlined {
  color: var(--white) !important;
  transform: scale(1.08);
}

#services .home-service-card:hover a .material-symbols-outlined {
  transform: translateX(3px);
}
/* Homepage why choose us */
.ac-why {
  padding: 6rem 2rem;
  background: var(--surface-lo);
}

.ac-why__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.ac-why__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.ac-why__item {
  background: var(--white);
  border: 1px solid rgba(11, 28, 61, 0.08);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 1.35rem;
  min-height: 100%;
}

.ac-why__item .material-symbols-outlined {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(31, 143, 78, 0.1);
  color: var(--forest);
  margin-bottom: 1rem;
}

.ac-why__item h3 {
  color: var(--midnight);
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.55rem;
}

.ac-why__item p {
  color: var(--text-muted);
  line-height: 1.65;
}

@media (max-width: 900px) {
  .ac-why__grid,
  .ac-written-list {
    grid-template-columns: 1fr;
  }
}
/* Focus-visible ring */
:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 2px;
}

/* ============================================================
   SCROLL BEHAVIOR SCRIPT HOOK
   (actual JS below adds .scrolled to .ac-nav)
   ============================================================ */
/* Responsive header fixes */
@media (max-width: 1199px) {
  .ac-nav__inner {
    padding: 0 1rem;
    gap: 0.75rem;
  }

  .ac-nav__brand {
    min-width: 0;
  }

  .ac-nav__wordmark {
    font-size: 1.05rem;
  }

  .ac-nav__links {
    display: none !important;
  }

  .ac-nav__hamburger {
    display: flex !important;
  }

  .ac-nav__actions {
    gap: 0.45rem;
  }

  .ac-nav__actions > .ac-btn {
    display: none !important;
  }

  .ac-lang {
    padding: 0.2rem 0.35rem;
  }

  .ac-lang__btn {
    padding: 0.22rem 0.42rem;
  }

  .ac-mobile-menu {
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
  }

  .ac-mobile-menu__ctas {
    flex-direction: column;
  }
}

@media (max-width: 380px) {
  .ac-nav__logo {
    height: 30px;
  }

  .ac-nav__wordmark {
    font-size: 0.95rem;
  }
}
/* Floating WhatsApp CTA */
.ac-whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1200;
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #25D366;
  color: #ffffff;
  box-shadow: 0 14px 32px rgba(18, 140, 74, 0.32);
  border: 2px solid rgba(255, 255, 255, 0.9);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.ac-whatsapp-float:hover {
  background: #1ebe5d;
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 18px 42px rgba(18, 140, 74, 0.42);
}

.ac-whatsapp-float__icon {
  width: 32px;
  height: 32px;
  display: block;
}

.ac-whatsapp-float .ac-brand-icon {
  width: 34px;
  height: 34px;
}

@media (max-width: 640px) {
  .vehicle-rental-hero {
    min-height: 720px;
    height: auto !important;
    align-items: flex-start !important;
    padding-top: 3.5rem;
    padding-bottom: 2.5rem;
  }

  .vehicle-rental-hero h1 {
    font-size: 2.45rem;
    line-height: 1.12;
  }

  .vehicle-rental-hero > .relative {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .ac-whatsapp-float {
    right: 1rem;
    bottom: 1rem;
    width: 54px;
    height: 54px;
  }
}
/* Real estate hero mobile spacing */
@media (max-width: 640px) {
  .real-estate-hero {
    height: 520px !important;
    margin-top: 1rem;
  }

  .real-estate-hero .absolute.bottom-0 {
    padding: 2rem 1.25rem !important;
  }

  .real-estate-hero h1 {
    font-size: 2.25rem;
    line-height: 1.12;
  }
}

/* Missing Tailwind Grid Classes */
@media (min-width: 1024px) {
  .lg\:col-span-12 { grid-column: span 12 / span 12; }
  .lg\:col-span-8 { grid-column: span 8 / span 8; }
  .lg\:col-span-6 { grid-column: span 6 / span 6; }
  .lg\:col-span-4 { grid-column: span 4 / span 4; }
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
}

/* Homepage hero slider, moved from the original inline HTML into the WP theme. */
.glass-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 30px rgba(11, 28, 61, 0.05);
}

.hero-gradient {
  background: linear-gradient(to right, rgba(11, 28, 61, 0.9), rgba(11, 28, 61, 0.6));
}

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

.animate-float { animation: float 6s ease-in-out infinite; }

.ac-hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 680px;
  overflow: hidden;
  background: #050b18;
  isolation: isolate;
}

.ac-slide {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), visibility 1s;
  z-index: 1;
}

.ac-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

.ac-slide__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 7s cubic-bezier(0.25, 1, 0.5, 1);
}

.ac-slide.active .ac-slide__bg { transform: scale(1); }

.ac-slide__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 28, 61, 0.96) 0%, rgba(11, 28, 61, 0.80) 45%, rgba(11, 28, 61, 0.35) 70%, rgba(11, 28, 61, 0.10) 100%);
}

.ac-slide__content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  z-index: 10;
}

.ac-slide__inner {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  transform: translateY(28px);
  opacity: 0;
  transition: all 0.85s cubic-bezier(0.4, 0, 0.2, 1) 0.25s;
}

@media (min-width: 768px) {
  .ac-slide__inner {
    grid-template-columns: 7fr 5fr;
    align-items: center;
  }
}

.ac-slide.active .ac-slide__inner {
  transform: translateY(0);
  opacity: 1;
}

.ac-slide__badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #D4AF37;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: rgba(212, 175, 55, 0.1);
  padding: 0.35rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.ac-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 30;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.ac-slider-btn:hover { background: rgba(212, 175, 55, 0.4); }
.ac-slider-btn--prev { left: 1.25rem; }
.ac-slider-btn--next { right: 1.25rem; }

.ac-slider-dots {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.ac-slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.ac-slider-dot.active {
  width: 28px;
  border-radius: 4px;
  background: #D4AF37;
}

.ac-slide-counter {
  position: absolute;
  bottom: 1.6rem;
  right: 2rem;
  z-index: 30;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.ac-slide-counter span { color: white; }

@media (max-width: 767px) {
  .ac-hero-slider {
    height: auto;
    min-height: 760px;
  }

  .ac-slide__content {
    align-items: flex-start;
  }

  .ac-slide__inner {
    padding: 7.5rem 1.25rem 5.5rem;
    min-height: 760px;
    align-content: center;
  }

  .ac-slide h1 {
    max-width: 100%;
    font-size: clamp(1.6rem, 7.5vw, 2.3rem) !important;
    line-height: 1.28 !important;
    overflow-wrap: break-word;
  }

  .ac-slide h1 br {
    display: none;
  }

  .ac-slide__badge {
    font-size: clamp(0.6rem, 3.2vw, 0.72rem) !important;
    letter-spacing: 0.08em !important;
    padding: 0.25rem 0.75rem !important;
    margin-bottom: 0.85rem !important;
    white-space: normal !important;
    display: inline-flex !important;
    text-align: center;
  }

  .ac-slide p {
    max-width: 100%;
    font-size: 0.95rem !important;
    line-height: 1.5;
  }

  .ac-slide .flex.flex-wrap.gap-4 {
    width: 100%;
  }

  .ac-slide .flex.flex-wrap.gap-4 a {
    width: 100%;
    justify-content: center;
    min-height: 52px;
    padding: 0.9rem 1rem !important;
    text-align: center;
  }

  .ac-slider-btn {
    width: 40px;
    height: 40px;
  }

  .ac-slider-btn--prev { left: 0.75rem; }
  .ac-slider-btn--next { right: 0.75rem; }

  .ac-slider-dots {
    bottom: 0.95rem;
  }

  .ac-slide-counter {
    display: none;
  }

  .ac-guided-pathway {
    margin-top: 0 !important;
    padding-top: 1rem;
  }
}

.ac-budget-field input[type="number"] {
  min-width: 150px;
}

@media (min-width: 768px) {
  .ac-property-filter {
    grid-template-columns: minmax(180px, 1fr) minmax(180px, 1fr) minmax(380px, 1.55fr) minmax(220px, 0.85fr) !important;
  }

  .ac-property-filter > * {
    grid-column: auto !important;
  }
}

.ac-searching {
  opacity: 0.75;
  pointer-events: none;
}

@media (max-width: 767px) {
  .ac-budget-field input[type="number"] {
    min-width: 0;
  }
}

.ac-listing-page {
  background: #f4fbf2;
}

.ac-listing-shell,
.ac-listing-tabs {
  background: #fff;
  border: 1px solid rgba(110, 122, 110, 0.18);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(11, 28, 61, 0.06);
}

.ac-listing-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 48px;
  align-items: start;
  padding: 48px;
}

.ac-listing-gallery,
.ac-listing-summary {
  min-width: 0;
}

.ac-listing-main-media {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  background: #edf2ef;
}

.ac-listing-main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ac-listing-media-empty {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
}

.ac-listing-media-empty .material-symbols-outlined {
  font-size: 72px;
}

.ac-listing-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
}

.ac-listing-thumb {
  width: 96px;
  height: 96px;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  background: #edf2ef;
  padding: 0;
}

.ac-listing-thumb.active {
  border-color: #1f8f4e;
}

.ac-listing-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ac-listing-summary h1 {
  font-family: var(--font-serif, "Noto Serif", serif);
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.05;
  color: #0b1c3d;
  margin: 12px 0 16px;
}

.ac-listing-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(31, 143, 78, 0.1);
  color: #1f8f4e;
  font-weight: 800;
}

.ac-listing-location {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #526055;
  margin-bottom: 26px;
}

.ac-listing-price {
  border: 1px solid rgba(110, 122, 110, 0.22);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  background: #fff;
}

.ac-listing-price span,
.ac-listing-price em {
  display: block;
  color: #526055;
  font-style: normal;
}

.ac-listing-price strong {
  display: block;
  margin-top: 8px;
  color: #0b1c3d;
  font-family: var(--font-serif, "Noto Serif", serif);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1;
}

.ac-listing-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 24px;
}

.ac-listing-facts--vehicle {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ac-listing-facts div,
.ac-listing-service-grid div {
  border-radius: 10px;
  background: #eef9f0;
  padding: 16px;
  color: #16723c;
  font-weight: 700;
}

.ac-listing-facts strong,
.ac-listing-facts span {
  display: block;
}

.ac-listing-facts strong {
  color: #0b1c3d;
  font-size: 22px;
}

.ac-listing-facts span {
  color: #526055;
  font-size: 13px;
  margin-top: 4px;
}

.ac-listing-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 26px;
}

.ac-listing-primary,
.ac-listing-secondary {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 800;
  text-align: center;
}

.ac-listing-primary {
  background: #00733d;
  color: #fff;
}

.ac-listing-secondary {
  border: 1px solid rgba(23, 29, 24, 0.35);
  color: #172016;
}

.ac-listing-service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.ac-listing-service-grid div {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
}

.ac-listing-tabs {
  margin-top: 40px;
  padding: 36px 48px;
}

.ac-listing-tab-head {
  display: flex;
  justify-content: center;
  gap: 10px;
  border-bottom: 1px solid rgba(110, 122, 110, 0.22);
  margin-bottom: 28px;
  font-weight: 800;
  color: #0b1c3d;
}

.ac-listing-tab-button {
  appearance: none;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: #526055;
  cursor: pointer;
  font: inherit;
  padding: 0 18px 14px;
}

.ac-listing-tab-button.active {
  border-color: #1f8f4e;
  color: #0b1c3d;
}

.ac-listing-tab-panel[hidden] {
  display: none;
}

.ac-listing-tab-panel {
  max-width: 860px;
  margin: 0 auto;
}

.ac-listing-description h2,
.ac-listing-reviews h2,
.ac-related-listings h2 {
  font-family: var(--font-serif, "Noto Serif", serif);
  font-size: 28px;
  color: #0b1c3d;
  margin-bottom: 16px;
}

.ac-listing-description {
  color: #334155;
  line-height: 1.75;
}

.ac-listing-reviews {
  background: #fff;
}

.ac-review-list {
  margin: 0 0 24px;
  padding-left: 18px;
}

.ac-listing-reviews textarea,
.ac-listing-reviews input[type="text"],
.ac-listing-reviews input[type="email"],
.ac-listing-reviews input[type="url"] {
  width: 100%;
  border: 1px solid rgba(110, 122, 110, 0.32);
  border-radius: 8px;
}

.ac-listing-reviews .submit {
  background: #00733d;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  font-weight: 800;
}

.ac-related-listings {
  margin-top: 46px;
}

@media (max-width: 1023px) {
  .ac-listing-shell {
    grid-template-columns: 1fr;
  }

  .ac-listing-shell,
  .ac-listing-tabs {
    padding: 28px;
  }
}

@media (max-width: 640px) {
  .ac-listing-actions,
  .ac-listing-service-grid,
  .ac-listing-facts {
    grid-template-columns: 1fr;
  }

  .ac-listing-thumbs {
    gap: 10px;
  }

  .ac-listing-thumb {
    width: 76px;
    height: 76px;
  }
}
