/* about.css */

/* ===== COLOUR SYSTEM ===== */
:root {
  --clr-main-light:    #faeea7;
  --clr-main-blue:     #87b1cb;
  --clr-neutral-light: #d6d6d6;
  --clr-neutral-dark:  #4a4a4a;
  --clr-brand-green:   #00963f;
  --clr-accent:        #ff4e59;
  --clr-white:         #ffffff;
}

/* ------------------------------------------------------------------ */
/* Global typography, resets & accessibility                         */
/* ------------------------------------------------------------------ */
html {
  font-size: 110%;
  scroll-behavior: smooth;
  overflow-x: hidden; /* prevent horizontal scroll */
}
body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: var(--clr-neutral-dark);
  line-height: 1.6;
  background: var(--clr-white);
}
a, button, input, select, textarea {
  outline-offset: 2px;
}
:focus-visible {
  outline: 3px solid var(--clr-accent);
  outline-offset: 2px;
}
/* ===== GLOBAL ===== */
html{scroll-behavior:smooth;}
body{font-family:"Helvetica Neue",Arial,sans-serif;color:var(--clr-neutral-dark);line-height:1.6;}
a,button,input,select,textarea{outline-offset:2px;}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible{outline:3px solid var(--clr-accent);}
.text-brand-green{color:var(--clr-brand-green);}
.bg-neutral-dark{background:var(--clr-neutral-dark);}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.15;
}

/* ------------------------------------------------------------------ */
/* BUTTONS                                                            */
/* ------------------------------------------------------------------ */
.btn-accent {
  background: var(--clr-accent);
  color: var(--clr-white);
  border: none;
  border-radius: .375rem;
    padding: .75rem 1.5rem;      /* ← add this */
  transition: background .2s;
}
.btn-accent:hover,
.btn-accent:focus {
  background: #e64351;
  color: var(--clr-white);
}

/* ------------------------------------------------------------------ */
/* NAVBAR                                                             */
/* ------------------------------------------------------------------ */
header {
  position: sticky !important;
  top: 0;
  z-index: 1020;
  background: var(--clr-white);
  box-shadow: 0 .125rem .25rem rgba(0,0,0,.075);
}
.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--clr-neutral-dark);
  margin-inline: .75rem;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: var(--clr-main-blue);
}
.phone-number a:hover,
.phone-number a:focus {
  text-decoration: underline;
}
.vr {
  opacity: .25;
}
.navbar-toggler {
  border-color: var(--clr-neutral-light);
}

/* ─── RESTORE INDEX NAVBAR STYLING ───────────────────────────────── */

/* 1) Roomier vertical padding */
header .navbar {
  padding-block: 1rem; /* 1rem top & bottom, same as index.css */
}

/* 2) Match the home page’s brand size */
.navbar-brand {
  font-size: 1.5rem;
}

/* 3) Push the main CTA right again on ≥1200px */
@media (min-width: 1200px) {
  header .btn-accent {
    margin-left: 1rem !important; /* same as index.css override */
  }
}

.navbar-brand img {
  width: 36px;
  height: auto;
}

/* ------------------------------------------------------------------ */
/* HERO (brand-blue background + dots)                                */
/* ------------------------------------------------------------------ */
.about-hero {
  position: relative;
  background: var(--clr-main-blue);
  color: var(--clr-white);
  padding: 6rem 0;
  text-align: center;
}
.about-hero .container {
  position: relative;
  z-index: 1;
}
.about-hero h1,
.about-hero p {
  margin: 0 auto;
  max-width: 40rem;
}
.hero-dots {
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background-image: radial-gradient(rgba(255,255,255,0.15) 20%, transparent 20%);
  background-size: 30px 30px;
  opacity: .4;
}

/* ------------------------------------------------------------------ */
/* WHY SECTION (Our Story & Mission with background shape + dots)     */
/* ------------------------------------------------------------------ */
.why-section {
  position: relative;
  overflow: hidden;
  background: #fff;
  padding: 5rem 0;
}
.why-shape {
  position: absolute;
  top: 0;
  right: 50%;
  width: 120%;
  height: 120%;
  background: var(--clr-main-light);
  opacity: .15;
  transform: translate(40%, -20%) rotate(8deg);
  border-radius: 50%;
}
.why-dots {
  position: absolute;
  top: -40px;
  right: -120px;
  width: 360px;
  height: 360px;
  background-image: radial-gradient(var(--clr-neutral-light) 20%, transparent 20%);
  background-size: 20px 20px;
  opacity: .4;
}
.why-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: black;
}
.why-text {
  font-size: 1.1rem;
  color: black;
}

/* ------------------------------------------------------------------ */
/* TESTIMONIALS                                                       */
/* ------------------------------------------------------------------ */
.testimonial-heading {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--clr-neutral-dark);
  max-width: 34rem;
}
.testimonial-img {
  width: 100%;
  border-radius: 1rem;
  object-fit: cover;
}
.big-quote {
  font-size: 7rem;
  line-height: 0;
  color: var(--clr-neutral-dark);
  display: inline-block;
  margin-bottom: 1rem;
}
.testimonial-text {
  font-size: 1.15rem;
  margin-bottom: 1.75rem;
  color: var(--clr-neutral-dark);
}
.testimonial-author {
  font-weight: 600;
  color: var(--clr-brand-green);
}
.carousel-nav {
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--clr-accent);
  transition: transform .2s;
}
.carousel-nav:hover,
.carousel-nav:focus {
  transform: translateY(-2px);
}
.counter {
  color: var(--clr-neutral-dark);
}
.nav-cluster {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: .5rem;
}

/* Responsive tweaks for testimonials */
@media (max-width: 991.98px) {
  .big-quote { font-size: 4rem; }
  .testimonial-text { font-size: 1rem; }
}
@media (min-width: 576px) and (max-width: 991.98px) {
  .nav-cluster { justify-content: center; }
}

.btn-primary {
  background-color: var(--clr-accent);
  border-color:    var(--clr-accent);
  color:           #fff;
}

/* ────────────────────────────────────────────────────────── *
   FINAL CTA (background-image, no overlay)
 * ────────────────────────────────────────────────────────── */
.final-cta {
  position: relative;
  height: 80vh;

  /* use your own image here */
  background: url('cta.jpg') center/cover no-repeat;
}
.final-cta .container { z-index: 1; }
.final-cta .card {
  background: var(--clr-white);
  border-radius: .75rem;
  box-shadow: 0 .5rem 1rem rgba(0,0,0,0.1);
  text-align: center;
}

/* ─── FINAL CTA: LESS PADDING ON MOBILE ───────────────────────────────── */
@media (max-width: 575.98px) {
  .final-cta .card {
    /* shrink the fixed max-width so it doesn’t overflow */
    max-width: 90% !important;
    /* replace p-5 (3rem) with something lighter */
    padding: 1.5rem !important;
    margin: 1rem auto; /* give it breathing room top & bottom */
  }
}


/* ------------------------------------------------------------------ */
/* FOOTER (copied from contact.css)                                   */
/* ------------------------------------------------------------------ */
footer,
footer h4,
footer p,
footer small {
  color: var(--clr-white)!important;
}
footer .list-unstyled a {
  color: var(--clr-main-light)!important;
}
footer .list-unstyled a:hover,
footer .list-unstyled a:focus {
  text-decoration: underline!important;
}
.bg-neutral-dark { background: var(--clr-neutral-dark)!important; }
.text-main-light { color: var(--clr-main-light)!important; }

/* ─── SOCIAL LINKS ───────────────────────────────────────────────── */
.social-links a {
  display: inline-block;
  transition: color .2s;
}
.social-links a:hover,
.social-links a:focus {
  color: var(--clr-accent) !important;  /* switch to your red on hover */
}

/* ─────────────────────────────────────────────────────────────────── */

/* ────────────────────────────────────────────────────────── *
   RESPONSIVE TWEAKS
 * ────────────────────────────────────────────────────────── */
@media (max-width: 991.98px) {
  .big-quote { font-size: 4rem; }
  .testimonial-text { font-size: 1rem; }
  .nav-cluster { justify-content: center; }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  .phone-number { display: none !important; }
  .navbar-nav { flex-wrap: nowrap; }
  .navbar-nav .nav-link {
    margin: 0 .5rem; padding: .25rem .5rem;
    font-size: .9rem; white-space: nowrap;
  }
  header .btn-accent {
    padding: .4rem .8rem; font-size: .9rem;
    white-space: nowrap; margin-left: 1rem;
  }
  .navbar-brand { margin-right: 1rem; }
  header .container { padding: 0 1rem; }
}
@media (max-width: 575.98px) {
  header .navbar .container {
    display: flex; justify-content: space-between; align-items: center;
  }
  .phone-number { display: none; }
  .navbar-toggler {
    position: relative; left: auto; transform: none; margin: 0; top: auto;
  }
}
/* ─── TESTIMONIALS: move the big quote underneath the image on phones ───────────────── */
@media (max-width: 575.98px) {
  .testimonial-section .big-quote {
    position: static;    /* remove the absolute/inline overlap */
    display: block;      /* force it onto its own line */
    margin: 1rem 0 0;    /* give it some breathing room */
    line-height: 1;      /* tighten up the gap */
  }
}
