:root {
  --graphite: #2F2F2F;
  --lavender: #7C72A0;
  --teal: #8FAF9F;
  --copper: #B07A3F;
  --coral: #F29C99;

  --bg-soft: #F3F6F5;
}



.hero {
  min-height: 78vh;
  background: url("../img/hero.jpg") no-repeat;
  background-size: cover;

  /* Keep her visible: subject is left, so bias left */
  background-position: 22% 35%;

  position: relative;
  display: flex;
  align-items: stretch;
}

/* This makes the hero content sit bottom-right */
.hero-content {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  padding-bottom: 56px;
}

/* Keeps text off the edges and readable */
.hero-box {
  max-width: 520px;
  padding: 20px 22px;

  /* BEST OPTION: subtle glass panel behind the text */
  background: rgba(47, 47, 47, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;

  /* glass effect */
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);

  /* soft depth */
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

/* Contrast without haze */
.hero h1,
.hero p {
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

/* Mobile tuning: keep her prominent */
@media (max-width: 991.98px) {
  .hero {
    min-height: 72vh;
    background-position: 18% 30%;
  }

  .hero-content {
    padding-bottom: 28px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-box {
    max-width: 100%;
  }
}

/* Wide screens sometimes crop differently */
@media (min-width: 1400px) {
  .hero {
    background-position: 22% 30%;
  }
}



.hero-overlay {
  position: absolute;
  inset: 0;
  background: transparent;/*rgba(0, 0, 0, 0.55);*/
}

.text-white-75 {
  color: rgba(255, 255, 255, 0.75);
}

.letter-spacing {
  letter-spacing: 0.12em;
}

.about-photo {
  width: 100%;
  min-height: 360px;
  background: linear-gradient(120deg, #f3f4f6, #e5e7eb);
}

.testimonial {
  max-width: 820px;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  z-index: 1055;
  border-top: 1px solid #e5e7eb;
}

html {
  scroll-behavior: smooth;
}

/* Base */
body {
  color: var(--graphite);
  background: var(--bg-soft);
}

/* Nav */
.navbar-brand {
  color: var(--graphite) !important;
}

.nav-link {
  color: var(--graphite) !important;
}

.nav-link:hover {
  color: var(--copper) !important;
}



/* Buttons */
.btn-dark {
  background-color: var(--copper) !important;
  border-color: var(--copper) !important;
  color: #fff !important;
}

.btn-dark:hover {
  background-color: var(--coral) !important;
  border-color: var(--coral) !important;
  color: #fff !important;
}

.btn-light {
  color: var(--graphite) !important;
}

/* Section backgrounds */
.bg-light {
  background-color: #EEF2F0 !important;
}

/* Cards */
.bg-white,
.card,
.shadow-sm {
  border-radius: 16px;
}

/* Footer */
footer {
  background-color: var(--graphite) !important;
}

/* Links */
a {
  color: var(--copper);
}

a:hover {
  color: var(--coral);
}

/* Subtle brand background tints */
.section-tint-lavender {
  background: rgba(113, 102, 153, 0.08); /* lavender tint */
}

.section-tint-teal {
  background: rgba(143, 175, 159, 0.10); /* teal tint */
}

/* Headings: add a subtle accent underline */
.section-title {
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 70px;
  height: 3px;
  background: var(--copper);
  border-radius: 999px;
}

/* Cards: small brand hint */
.brand-card {
  border: 1px solid rgba(143, 175, 159, 0.35);
}

.brand-card:hover {
  border-color: rgba(124, 114, 160, 0.45);
}

/* Qualification logos */

.logo-card {
  background: #ffffff;
  padding: 24px 32px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo {
  max-height: 90px;
  width: auto;
  object-fit: contain;
  filter: grayscale(10%);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.brand-logo-large {
  max-height: 150px;
  width: auto;
  object-fit: contain;
  filter: grayscale(10%);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.logo-card:hover .brand-logo {
  transform: scale(1.05);
  filter: grayscale(0%);
}

/* IMPORTANT: remove the outline/stroke on the text.
   This was causing the "tatty" look on desktop.
   We keep text-shadow above for subtle depth. */
.hero h1,
.hero p {
  color: #ffffff;
  -webkit-text-stroke: 0;
}

.w-33 {
  width: 55%;
}

/* Keep navbar brand on one line and tidy on mobile */
.navbar-brand-responsive {
  white-space: nowrap;
}

@media (max-width: 576px) {
  .navbar-brand-responsive {
    font-size: 0.95rem;   /* slightly smaller */
    max-width: calc(100% - 48px); /* leave room for burger */
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
