/* Core styles and theme */
:root {
  --primary: #0d2b63;
  --primary-dark: #061a3d;
  --accent: #f7b500;
  --bg: #f5f7fb;
  --text: #1c2333;
  --muted: #5a6378;
  --border: #e2e7f0;
  --card: #ffffff;
  --shadow: 0 12px 30px rgba(13, 43, 99, 0.12);
}

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

body {
  margin: 0;
  font-family: 'Playfair Display', 'Lora', serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

html {
  margin: 0;
  padding: 0;
}

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

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

h1, h2, h3, h4 {
  color: var(--primary-dark);
  margin: 0 0 0.5rem;
  line-height: 1.2;
}

p {
  margin: 0 0 1rem;
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

main {
  flex: 1 0 auto;
  width: 100%;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--primary);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
}

.eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.lead {
  font-size: 1.05rem;
  color: var(--text);
}

.muted {
  color: var(--muted);
}

.badge {
  background: rgba(13, 43, 99, 0.1);
  color: var(--primary-dark);
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  background: var(--primary);
  color: #fff;
  padding: 0.85rem 1.2rem;
  border-radius: 10px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(13, 43, 99, 0.18);
  background: var(--primary-dark);
}

.button--ghost {
  background: transparent;
  color: var(--primary-dark);
  box-shadow: none;
  border: 1px solid var(--border);
}

.button--ghost:hover {
  background: rgba(13, 43, 99, 0.08);
  color: var(--primary-dark);
}

.text-link {
  color: var(--primary);
  font-weight: 600;
}

.pill {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(13, 43, 99, 0.08);
  color: var(--primary-dark);
  font-weight: 600;
}

.small-label {
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.section {
  padding: 4.5rem 0;
}

.section__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

/* Top bar */
.top-bar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.top-bar__wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0;
  gap: 1rem;
}

.top-bar__contact {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-weight: 500;
}

.top-bar__contact a {
  color: var(--primary-dark);
}

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav__wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: transparent;
  border: none;
}

.brand img {
  display: block;
  width: 158px;
  height: auto;
  object-fit: contain;
  background: transparent;
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand__name {
  font-weight: 700;
  color: var(--primary-dark);
}

.brand__tagline {
  font-size: 0.85rem;
  color: var(--muted);
}

.nav__links {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  font-weight: 600;
}

.nav__links a {
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}

.nav__links a:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.nav__cta {
  justify-self: end;
}

.nav__toggle {
  display: none;
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 0.6rem 0.9rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

.nav--open {
  box-shadow: 0 18px 35px rgba(13, 43, 99, 0.16);
}

/* Hero */
.hero {
  position: relative;
  color: var(--primary-dark);
  padding: 4.5rem 0 4rem;
  margin-top: 0;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.hero__content h1 {
  color: var(--primary-dark);
  font-size: clamp(2.3rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.hero__content .lead {
  color: var(--text);
}

.hero--home .hero__stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.75rem;
  padding: 5rem 1.5rem 5rem;
  position: relative;
}

.hero__avatar {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
  border: 4px solid rgba(255, 255, 255, 0.95);
}

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

.hero__content--centered {
  max-width: 720px;
  margin: 0 auto;
}

.hero__lead {
  margin-top: 1rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero__card--home {
  width: 100%;
  max-width: 780px;
  margin: 0 auto 0;
}

.hero__card--home img {
  width: 100%;
  height: auto;
  display: block;
}

.hero--home::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 180px;
  background: linear-gradient(to bottom, rgba(245, 247, 251, 0) 0%, #f5f7fb 92%);
  pointer-events: none;
}

.hero--home .tagline {
  display: none;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.25rem 0;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.stat {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 0.9rem;
  text-align: left;
}

.stat strong {
  display: block;
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}

.stat span {
  color: #d6def2;
  font-size: 0.95rem;
}

.hero__card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero__image {
  height: 240px;
  overflow: hidden;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__card-body {
  padding: 1.2rem;
}

/* Cards */
.cards-section {
  background-image: url('assets/backround3.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  padding: 4rem 0;
}

.cards {
  display: grid;
  gap: 1.25rem;
}

.cards--three {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background: var(--card);
  border-radius: 14px;
  padding: 1.4rem;
  border: 1px solid var(--border);
  box-shadow: 0 8px 20px rgba(12, 31, 60, 0.05);
}

.card__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(13, 43, 99, 0.08);
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.card--media {
  padding: 0;
  overflow: hidden;
}

.card__image {
  height: 180px;
  background-size: cover;
  background-position: center;
}

.card__body {
  padding: 1.2rem;
}

/* Split section */
.section--split {
  background: #fff;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.split__media img {
  border-radius: 16px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
  color: var(--text);
}

.checklist li {
  margin-bottom: 0.6rem;
  padding-left: 1.4rem;
  position: relative;
}

.checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* Listings */
.section--cards .card h3 {
  margin-bottom: 0.3rem;
}

/* Testimonials */
.section--accent {
  background: linear-gradient(135deg, #0d2b63, #0b1940);
  color: #fff;
}

.testimonials {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.testimonials h2,
.testimonials .lead {
  color: #fff;
}

.testimonials__image img {
  border-radius: 16px;
  box-shadow: var(--shadow);
}

/* Contact */
.section--contact {
  background: #fff;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.contact__list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  color: var(--text);
}

.contact__list li {
  margin-bottom: 0.55rem;
}

.contact__form {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 8px 18px rgba(12, 31, 60, 0.04);
  display: grid;
  gap: 1rem;
}

.contact__form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  color: var(--text);
}

.contact__form input,
.contact__form textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  font-family: inherit;
  font-size: 1rem;
}

.contact__form input:focus,
.contact__form textarea:focus {
  outline: 2px solid rgba(13, 43, 99, 0.25);
  border-color: var(--primary);
}

.form-note {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}

/* Footer */
.footer {
  background: #0b1633;
  color: #d7deed;
  padding: 3rem 0 2rem;
}

.footer__wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.footer h3 {
  color: #fff;
  margin-bottom: 0.75rem;
}

.footer__nav,
.footer__contact {
  display: grid;
  gap: 0.4rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer__nav a,
.footer__contact a {
  color: #d7deed;
}

.footer__about {
  max-width: 320px;
}

.footer__copy {
  text-align: center;
  color: #98a3be;
  font-size: 0.95rem;
  margin-top: 1.5rem;
}

.brand--footer img {
  width: 64px;
}

/* Responsive */
@media (max-width: 960px) {
  .nav__wrap {
    grid-template-columns: auto auto auto;
  }

  .nav__links {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    padding: 0;
    border-bottom: 1px solid var(--border);
    display: none;
  }

  .nav__links a {
    padding: 0.9rem 1.4rem;
    border-bottom: 1px solid var(--border);
  }

  .nav__links--open {
    display: flex;
  }

  .nav__toggle {
    display: inline-flex;
    justify-self: end;
  }

  .nav__cta {
    display: none;
  }

  .hero__grid,
  .split,
  .testimonials,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero__card {
    order: -1;
  }

  .top-bar__wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 3.5rem 0;
  }

  .hero {
    padding-top: 3.5rem;
  }

  .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__stats {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }

  .top-bar__wrap {
    padding: 0.75rem 0;
  }

  .brand img {
    width: 90px;
  }
}

/* ==== Above & Beyond multi-page layout ==== */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  background: linear-gradient(to left, rgba(255, 255, 255, 0.6), #ffffff 80%);
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 28px rgba(13, 43, 99, 0.12);
  border-bottom: 1px solid var(--border);
}

.site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 96px;
  background: transparent;
  border: none;
}

.site-header .brand img {
  height: auto;
  width: 158px;
}

.site-header + main {
  padding-top: 96px;
}

.menu {
  position: relative;
  margin-left: auto;
}

.menu-wrapper {
  position: relative;
  display: inline-block;
}

.menu-trigger {
  background: #C9A646;
  color: #ffffff;
  border: none;
  padding: 0.65rem 0.9rem;
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.menu-trigger.nav-toggle {
  background: transparent;
  color: inherit;
  padding: 0;
  box-shadow: none;
  width: 44px;
  height: 44px;
}

.menu-trigger:focus {
  outline: 2px solid rgba(13, 43, 99, 0.35);
}

.menu-trigger:hover {
  background: #b38f3b;
}

.menu-trigger.nav-toggle:hover,
.menu-trigger.nav-toggle:focus-visible {
  background: transparent;
}

.nav-toggle {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.nav-toggle__bar {
  width: 24px;
  height: 2px;
  background-color: #b58b2f; /* same gold as the logo/wings */
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle:hover .nav-toggle__bar,
.nav-toggle:focus-visible .nav-toggle__bar {
  transform: translateX(1px);
}

.helpbot-launcher {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: none;
  background: #c9a646;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 34px rgba(13, 43, 99, 0.28);
  cursor: pointer;
  z-index: 1200;
  padding: 0;
}

.helpbot-launcher:focus-visible {
  outline: 2px solid rgba(13, 43, 99, 0.3);
  outline-offset: 2px;
}

.helpbot-launcher .helpbot-icon {
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

.helpbot-window {
  position: fixed;
  right: 18px;
  bottom: 95px;
  width: min(360px, 92vw);
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 18px 48px rgba(13, 43, 99, 0.24);
  display: none;
  flex-direction: column;
  z-index: 1199;
  overflow: hidden;
}

.helpbot-window.is-open {
  display: flex;
}

.helpbot-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(201, 166, 70, 0.08), rgba(13, 43, 99, 0.08));
}

.helpbot-title {
  font-weight: 800;
  color: var(--primary-dark);
}

.helpbot-subtitle {
  font-size: 0.9rem;
  color: var(--muted);
}

.helpbot-close {
  background: transparent;
  border: none;
  font-size: 1rem;
  color: var(--primary-dark);
  cursor: pointer;
}

.helpbot-messages {
  max-height: 340px;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.helpbot-msg {
  padding: 0.8rem 0.9rem;
  border-radius: 12px;
  line-height: 1.4;
  font-size: 0.95rem;
  max-width: 85%;
}

.helpbot-msg--bot {
  background: rgba(13, 43, 99, 0.08);
  color: var(--primary-dark);
  align-self: flex-start;
}

.helpbot-msg--user {
  background: rgba(201, 166, 70, 0.14);
  color: #3a2b05;
  align-self: flex-end;
}

.helpbot-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  padding: 0.9rem 1rem 1.05rem;
  border-top: 1px solid var(--border);
}

.helpbot-input {
  border-radius: 10px;
  border: 1px solid var(--border);
  padding: 0.65rem 0.8rem;
  font-size: 0.95rem;
  font-family: inherit;
}

.helpbot-send {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 0 1rem;
  font-weight: 700;
  cursor: pointer;
}

.helpbot-send:hover {
  background: var(--primary-dark);
}

@media (max-width: 640px) {
  .helpbot-launcher {
    right: 14px;
    bottom: 14px;
  }

  .helpbot-window {
    right: 12px;
    bottom: 86px;
  }
}
.menu-toggle,
button.menu-toggle,
button.menu {
  background-color: #C9A646 !important;
  color: #ffffff;
  border: none;
  transition: 0.3s ease;
}

.menu-toggle:hover,
button.menu-toggle:hover,
button.menu:hover {
  background-color: #b38f3b !important;
}

.menu-wrapper {
  position: relative;
  display: inline-block;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 0);
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  min-width: 210px;
  padding: 0.35rem 0;
  box-shadow: 0 18px 40px rgba(13, 43, 99, 0.16);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms ease, visibility 180ms ease;
  z-index: 1000;
}

.menu-wrapper:hover .dropdown-menu,
.menu-wrapper:focus-within .dropdown-menu,
.menu-wrapper.menu-open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

@media (max-width: 960px) {
  .dropdown-menu {
    left: 50%;
    right: auto;
    min-width: 210px;
  }
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu a {
  display: block;
  padding: 0.65rem 1rem;
  color: var(--primary-dark);
  font-weight: 600;
  transition: background 150ms ease, color 150ms ease;
}

.dropdown-menu a:hover {
  background: rgba(247, 181, 0, 0.12);
  color: #0d2b63;
}

.hero--home {
  background: linear-gradient(
      to right,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(255, 255, 255, 0.95) 28%,
      rgba(255, 255, 255, 0.9) 48%,
      rgba(255, 255, 255, 0.6) 68%,
      rgba(255, 255, 255, 0.25) 82%,
      rgba(255, 255, 255, 0) 94%
    ),
    url('assets/homepagebg.png') center/cover no-repeat;
  margin-top: -96px;
  padding: calc(4.5rem + 96px) 0 4rem;
}

.hero__content {
  max-width: 820px;
}

.tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(247, 181, 0, 0.15);
  color: var(--primary-dark);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}

.home-hero-content {
  padding: 3rem 0 4rem;
  display: flex;
  justify-content: center;
}

.hero-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.75rem;
  max-width: 960px;
  margin: 0 auto;
}

.hero-card {
  max-width: 360px;
  flex: 1 1 280px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 1.75rem 1.5rem;
  text-align: left;
}

.hero-card-image {
  width: 100%;
  height: auto;
  border-radius: 14px;
  margin-bottom: 1rem;
  display: block;
}

.hero-card-text {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.6;
}

.hero-section {
  text-align: center;
  padding: 4rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
}

.hero-text {
  flex: 1 1 400px;
  text-align: left;
}

.hero-title {
  font-size: 2.5rem;
  color: #010C58;
  font-family: 'Playfair Display', serif;
  margin-bottom: 1rem;
  text-align: center;
}

.hero-subtitle {
  font-size: 1rem;
  line-height: 1.6;
  color: #010C58;
  text-align: center;
}

.hero-image {
  flex: 1 1 400px;
  display: flex;
  justify-content: center;
}

.hero-image img {
  width: 100%;
  max-width: 450px;
  border-radius: 15px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

/* About page media row: business cards + slider */
.about-media-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3.25rem;
  margin-top: 2.75rem;
}

.business-card {
  flex: 0 0 170px;
}

.business-card img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

.about-media-row .about-slider {
  flex: 1 1 520px;
}

.feature-banner {
  background: linear-gradient(120deg, rgba(11, 5, 81, 0.85), rgba(11, 5, 81, 0.7)), url('assets/accolades.png') center/cover no-repeat;
  color: #fff;
}

.feature-banner .section__header h2,
.feature-banner p {
  color: #fff;
}

.panel {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 12px 28px rgba(13, 43, 99, 0.16);
  border: 1px solid var(--border);
}

.page-hero {
  background: transparent;
  color: #fff;
  padding: 3.5rem 0;
  text-align: center;
}

.agent-login-page .page-hero {
  background-image: linear-gradient(rgba(1, 12, 88, 0.4), rgba(1, 12, 88, 0.4)), url("assets/banner1.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-hero h1 {
  color: #fff;
  margin-bottom: 0.6rem;
}

.page-hero {
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: none;
}

.about-page .page-hero {
  position: relative;
  overflow: hidden;
  background: none !important;
}

.about-page .page-hero .hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.about-page .page-hero .hero-content {
  position: relative;
  z-index: 1;
}

.about-page .page-hero::after {
  display: none;
}

.global-hero {
  color: #fff;
}

.global-hero h1,
.global-hero p {
  color: #fff;
}

.global-exposure-page .page-hero {
  background: none !important;
}

.global-exposure-page .page-hero::after {
  display: none;
}

.global-exposure-page {
  background: transparent;
}

.global-exposure-page .site-header,
.global-exposure-page main,
.global-exposure-page .footer-info,
.global-exposure-page .site-footer {
  position: relative;
  z-index: 2;
  background: transparent;
}

.global-exposure-page main,
.global-exposure-page .content-area {
  background: transparent;
}

.global-exposure-page .page-hero .container {
  position: relative;
  z-index: 2;
}

.global-exposure-page {
  background: transparent !important;
}

.global-exposure-page body {
  background: transparent !important;
}

.global-3d-scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #050a1c;
}

.global-3d-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 20%, rgba(13, 43, 99, 0.28), rgba(5, 10, 28, 0.75));
  pointer-events: none;
  z-index: 1;
}

.global-3d-scene canvas {
  width: 100%;
  height: 100%;
  display: block;
  position: relative;
  z-index: 0;
}

.content-area {
  padding: 3rem 0;
}

.content-area p {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.about-video-wrap {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 0 0 4rem;
}

.about-video-wrap .about-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.65);
}

.about-video-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(245, 247, 251, 0.3) 0%, rgba(245, 247, 251, 0.18) 20%, rgba(245, 247, 251, 0) 60%);
  z-index: 1;
  pointer-events: none;
}

.about-video-wrap::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 260px;
  background: linear-gradient(180deg, rgba(245, 247, 251, 0) 0%, #f5f7fb 94%);
  z-index: 1;
  pointer-events: none;
}

.about-video-wrap .content-area,
.about-video-wrap .footer-info {
  position: relative;
  z-index: 2;
  background: transparent;
}

.content-area.about-video {
  padding: 3rem 0 2rem;
}

.about-footer-panel {
  padding-top: 2rem;
  padding-bottom: 1rem;
}

.about-hero-divider {
  height: 8px;
  background: linear-gradient(90deg, #b58c2f 0%, #d6b35a 45%, #eed38a 50%, #d6b35a 55%, #b58c2f 100%);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 3;
}

.image-banner {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.image-banner img {
  width: 100%;
  height: auto;
  display: block;
}

.fade-slider {
  position: relative;
  max-width: 900px;
  margin: 2rem auto 0;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.fade-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 600ms ease;
}

.fade-slide.is-active {
  opacity: 1;
  position: relative;
}

.fade-slide img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-card-slider {
  max-width: 100%;
  margin: 0;
  border-radius: 16px;
  box-shadow: none;
}

.hero-card-slider .fade-slide {
  position: absolute;
}

.hero-card-slider .fade-slide.is-active {
  position: relative;
}

.hero-card-slider .fade-slide img {
  border-radius: 16px;
  width: 100%;
  height: auto;
  display: block;
}

.testimonials-list {
  display: grid;
  gap: 1.5rem;
  max-width: 900px;
  margin: 2rem auto 0;
}

.testimonial-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.4rem;
  box-shadow: 0 10px 24px rgba(13, 43, 99, 0.08);
  text-align: center;
}

.faq {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.1rem 1.25rem;
  box-shadow: 0 10px 22px rgba(13, 43, 99, 0.08);
}

.contact-grid {
  display: flex;
  gap: 1.75rem;
  align-items: stretch;
}

.contact-card {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
}

.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 10px 24px rgba(13, 43, 99, 0.08);
  display: grid;
  gap: 1rem;
}

.calculator-card,
.valuation-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 10px 24px rgba(13, 43, 99, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.calculator-header h2 {
  margin-bottom: 0.35rem;
}

.calculator-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.valuation-form {
  display: grid;
  gap: 1rem;
}

.calculator-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem 1.25rem;
}

.contact-form input,
.contact-form textarea,
.calculator-form input,
.calculator-form textarea,
.valuation-form input,
.valuation-form textarea {
  width: 100%;
}

.contact-form textarea,
.calculator-form textarea,
.valuation-form textarea {
  resize: vertical;
}

.contact-submit {
  margin-top: 1.5rem;
  text-align: center;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field-label {
  font-weight: 700;
  color: var(--primary-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.field-required {
  color: #c0392b;
  font-weight: 800;
}

.field-hint {
  font-size: 0.92rem;
  color: var(--muted);
}

.field-error {
  min-height: 1.1rem;
  color: #c0392b;
  font-weight: 700;
  font-size: 0.9rem;
}

.input-error {
  border-color: #c0392b !important;
  background: rgba(192, 57, 43, 0.05);
}

.calculator-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.result-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem;
  box-shadow: 0 10px 22px rgba(13, 43, 99, 0.08);
  display: grid;
  gap: 0.6rem;
}

.result-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--primary-dark);
}

.result-line strong {
  font-size: 1.1rem;
}

.consent-field {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--text);
}

.consent-field input {
  margin-top: 0.2rem;
}

.portal {
  padding: 4rem 1.5rem 5rem;
}

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

.portal__avatar-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.portal__avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.portal__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.portal__title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.portal__subtitle {
  font-size: 0.95rem;
  opacity: 0.85;
}

.portal__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.portal__card {
  background: #ffffff;
  border-radius: 1.25rem;
  padding: 2rem 2.25rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

.portal__card-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.portal__card-text {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.portal__form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.portal__verify {
  display: none;
  flex-direction: column;
  gap: 0.35rem;
}

.portal__verify.is-visible {
  display: flex;
}

.portal__form--logged-in .portal__label,
.portal__form--logged-in .portal__input,
.portal__form--logged-in .portal__error {
  display: none;
}

.portal__form--logged-in {
  align-items: flex-start;
}

.portal__label {
  font-size: 0.9rem;
  font-weight: 600;
}

.portal__input {
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.18);
  padding: 0.7rem 1rem;
  font-size: 0.95rem;
}

.portal__btn {
  margin-top: 0.5rem;
  width: 100%;
}

.portal__error {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #b91c1c;
  min-height: 1.1rem;
}

.portal__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.portal__list-item {
  font-size: 0.95rem;
}

.portal__link {
  text-decoration: none;
  color: #0f172a;
}

.portal__link:hover {
  text-decoration: underline;
}

/* New styles for the Online Tools card */
.portal__tool-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.portal__tool-button {
  width: 100%;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border: none;
  border-radius: 999px;
  padding: 0.75rem 1.1rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 12px 30px rgba(13, 43, 99, 0.18);
}

.btn--primary:hover {
  transform: translateY(-1px);
  background: var(--primary-dark);
}

.btn--secondary {
  background: #c9a646;
  color: #fff;
  box-shadow: 0 12px 28px rgba(201, 166, 70, 0.25);
}

.btn--secondary:hover {
  transform: translateY(-1px);
  background: #b38f3b;
}

/* Make the cards a bit wider / more balanced on large screens */
@media (min-width: 1024px) {
  .portal__card {
    padding: 2.25rem 2.5rem;
  }
}

.footer-info {
  padding: 2rem 1rem 1.5rem;
}

.footer-info .container {
  width: min(1100px, 92vw);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto 1.5rem;
  padding: 1.5rem 2rem;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.footer-column {
  flex: 1 1 50%;
  padding: 0 1.5rem;
}

.footer-columns {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 2rem;
}

.footer-columns > div {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.footer-column h3,
.footer-column h4 {
  margin-top: 0;
}

.wide-image {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.wide-image img {
  width: 100%;
  height: auto;
}

.site-footer {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    to right,
    rgba(201, 166, 70, 0.25),
    rgba(201, 166, 70, 0.7),
    rgba(201, 166, 70, 0.25)
  );
  pointer-events: none;
}

.site-footer .footer-banner {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
}

.global-exposure-page {
  background-color: #02030a;
}

.global-exposure-page main {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.6) 55%, rgba(255, 255, 255, 0.25) 100%);
}

.global-card {
  background: #fff;
  border-radius: 18px;
  padding: 1.75rem;
  box-shadow: 0 12px 28px rgba(13, 43, 99, 0.16);
  border: 1px solid var(--border);
}

/* Areas page layout */
.areas-page {
  padding: 3rem 0 4rem;
}

.areas-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

.areas-slider {
  position: relative;
  margin: 2.5rem auto 0;
  max-width: 1200px;
  min-height: 520px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
  overflow: hidden;
}

.areas-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  display: flex;
}

.areas-slide.is-active {
  opacity: 1;
  z-index: 2;
}

.areas-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.areas-slider__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  z-index: 3;
  transition: background 0.2s ease, transform 0.2s ease;
}

.areas-slider__nav:hover {
  background: rgba(0, 0, 0, 0.32);
  transform: translateY(-50%) scale(1.05);
}

.areas-slider__nav--prev {
  left: 16px;
}

.areas-slider__nav--next {
  right: 16px;
}

.areas-slider__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.1rem 1.4rem;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.08) 100%);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  z-index: 4;
}

.area-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 1.5rem 1.5rem 1.25rem;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: visible;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.area-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.16);
}

.area-photo-stack {
  position: relative;
  border-radius: 16px;
}

.area-photo-primary {
  width: 100%;
  display: block;
  border-radius: 16px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.area-photo-secondary {
  position: absolute;
  width: 48%;
  bottom: -14%;
  right: -6%;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
  transform: rotate(-4deg);
  opacity: 0.96;
}

.area-name {
  margin-top: 2.5rem;
  text-align: center;
  font-family: "Playfair Display", serif;
  color: #010C58;
  font-size: 1.15rem;
  letter-spacing: 0.03em;
}

.area-name--small {
  font-size: 1.0rem;
}

@media (max-width: 960px) {
  .menu-trigger {
    padding: 0.6rem 0.85rem;
  }

  .contact-grid {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-column {
    padding: 0.75rem 0;
  }

  .home-hero-content {
    padding: 2.5rem 1rem 3rem;
  }

  .hero-card {
    max-width: 100%;
  }

  .hero-container {
    flex-direction: column;
    text-align: center;
  }

  .hero-text {
    text-align: center;
  }

  .about-media-row {
    flex-direction: column;
  }

  .business-card {
    max-width: 240px;
  }

  .hero__avatar {
    width: 140px;
    height: 140px;
  }

  .hero--home .hero__stack {
    padding: 4rem 1rem 4rem;
  }
}

@media (max-width: 640px) {
  .site-header .header-inner {
    min-height: 68px;
  }

  .site-header .brand img {
    height: auto;
    width: 135px;
  }

  .hero {
    padding: 3.5rem 0;
  }

  .dropdown-menu {
    min-width: 190px;
  }
}
/* Background zoom for hero */
#ed-1301835340 .background-image-holder {
  background-position: center;
  background-size: 150%;
  transform: scale(1.4);
}

#ed-1301835340 .overlay {
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0.9) 35%,
    rgba(255, 255, 255, 0.0) 60%
  );
}

/* Extra breathing space for Lesley login hero so it doesn't cover her face */
.page-login .page-hero {
  padding-top: 5rem;
  padding-bottom: 4rem;
}

/* Allow the 3D globe to receive mouse events on the Global Exposure page */
.global-exposure-page main {
  pointer-events: none;
}

/* Global Exposure page: make main transparent so the globe is fully visible */
.global-exposure-page main {
  background: transparent;
  pointer-events: none;
}

/* Allow the 3D globe to receive mouse events on the Global Exposure page */
.global-exposure-page main {
  pointer-events: none;
}

/* Site-wide background (excluded when body has .no-ct-bg) */
body:not(.no-ct-bg):not(.keep-ct-bg) {
  background: url('assets/ab1.png') center/cover fixed no-repeat;
}

body.keep-ct-bg {
  background: url('assets/ct.png') center/cover fixed no-repeat;
}

@media (max-width: 768px) {
  body:not(.no-ct-bg):not(.keep-ct-bg),
  body.keep-ct-bg {
    background-attachment: scroll;
  }
}

/* Hide legacy Services / Areas links in the dropdown */
.dropdown-menu .nav-hidden {
  display: none !important;
}

/* Header "Next" button */
.header-next {
  margin-left: 0.75rem;
  background: #c9a646;
  color: #fff;
  text-decoration: none;
  padding: 0.55rem 1rem;
  font-weight: 600;
  border: none;
  border-radius: 0;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.header-next:hover,
.header-next:focus {
  background: #b38f3b;
}

@media (max-width: 640px) {
  .header-next {
    padding: 0.45rem 0.75rem;
    font-size: 0.9rem;
  }
}

/* Contact page Google Map embed */
.map-section {
  margin-top: 2rem;
}

.map-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(13, 43, 99, 0.15);
}

.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-directions {
  margin-top: 1rem;
  text-align: center;
}

/* ABOUT: use only the video background */
.about-page {
  background: transparent !important;
}

/* kill any PNG background used on About */
.about-page .page-hero,
.about-page main,
.about-page section {
  background-image: none !important;
  background: transparent !important;
}

/* fixed background video starting below header */
.about-page .about-video-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.about-page .about-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ABOUT: hide the gold divider line(s) */
.about-page hr,
.about-page .gold-line,
.about-page .divider,
.about-page .section-divider,
.about-page .page-hero {
  border: none !important;
}

/* Inner pages: prevent hero text clashing with background writing (no background text removed) */
.hero-panel-page .hero-text-panel{
  display: inline-block;
  padding: 16px 22px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  text-shadow: 0 2px 14px rgba(0,0,0,0.65);
}

/* keep hero text centered inside the panel */
.hero-panel-page .hero-text-panel h1,
.hero-panel-page .hero-text-panel p{
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* About: small pill bubble inside the main about text box */
.about-page .mini-pill{
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(0,0,0,0.08);
  font-weight: 600;
  margin-bottom: 14px;
}

.about-page .mini-pill + p,
.about-page .mini-pill + .about-text,
.about-page .mini-pill + .about-paragraph{
  margin-top: 0;
}

/* About page: remove the gold divider bar */
.about-page .about-hero-divider{
  display: none !important;
}

/* Testimonials: inverted version of the Contact hero pill */
body.testimonials-page .hero-text-panel,
.testimonials-page .hero-text-panel{
  display: inline-block;
  padding: 22px 34px;
  border-radius: 24px;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(0,0,0,0.10);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
  text-shadow: none;
}

body.testimonials-page .hero-text-panel h1,
body.testimonials-page .hero-text-panel p,
.testimonials-page .hero-text-panel h1,
.testimonials-page .hero-text-panel p{
  color: #111 !important;
  text-shadow: none !important;
}

/* Reusable pill styles (apply to any wrapper element) */
.pill{
  display: inline-block;
  padding: 22px 34px;
  border-radius: 24px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

.pill-light{
  background: rgba(255,255,255,0.51);
  border: 1px solid rgba(0,0,0,0.10);
  color: #111;
  text-shadow: none;
}

.pill-dark{
  background: rgba(0,0,0,0.23);
  border: 1px solid rgba(255,255,255,0.10);
  color: #fff;
  text-shadow: 0 2px 14px rgba(0,0,0,0.65);
}

/* Ensure text inside inherits the pill color */
.pill-light h1, .pill-light p, .pill-light span,
.pill-dark  h1, .pill-dark  p, .pill-dark  span{
  color: inherit !important;
}
