/* ============================================================
   Council Solutions — styles.css
   ============================================================ */

/* ---- Custom Properties ---- */
:root {
  --color-navy:     #1B2E4B;
  --color-navy-dark:#121f33;
  --color-gold:     #F5A623;
  --color-gold-dark:#d4891a;
  --color-green:    #2E7D32;
  --color-green-light:#4CAF50;
  --color-bg:       #F8F9FA;
  --color-white:    #FFFFFF;
  --color-text:     #212529;
  --color-text-muted:#6C757D;
  --color-border:   #DEE2E6;

  --font-heading:   'Poppins', sans-serif;
  --font-body:      'Inter', sans-serif;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,.1);
  --shadow-lg:  0 8px 32px rgba(0,0,0,.14);

  --transition: 0.25s ease;
  --navbar-h:   72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--navbar-h);
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul { list-style: none; }

/* ---- Container ---- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), transform var(--transition),
              box-shadow var(--transition);
  white-space: nowrap;
}

.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--gold {
  background: var(--color-gold);
  color: var(--color-navy);
  border-color: var(--color-gold);
}
.btn--gold:hover {
  background: var(--color-gold-dark);
  border-color: var(--color-gold-dark);
  box-shadow: 0 4px 16px rgba(245,166,35,.4);
}

.btn--outline {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,.55);
}
.btn--outline:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--color-white);
}

.btn--navy {
  background: var(--color-navy);
  color: var(--color-white);
  border-color: var(--color-navy);
}
.btn--navy:hover {
  background: var(--color-navy-dark);
  border-color: var(--color-navy-dark);
  box-shadow: var(--shadow-md);
}

.btn--lg { padding: 16px 36px; font-size: 1rem; }


/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--navbar-h);
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,.12);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logo */
.navbar__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.navbar__brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-navy);
  line-height: 1;
}

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

/* Links */
.navbar__menu { display: flex; align-items: center; }

.navbar__links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.navbar__link {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--color-text);
  transition: background var(--transition), color var(--transition);
}

.navbar__link:hover { background: var(--color-bg); color: var(--color-navy); }

.navbar__link--cta {
  background: var(--color-navy);
  color: var(--color-white);
  margin-left: 8px;
}

.navbar__link--cta:hover {
  background: var(--color-gold);
  color: var(--color-navy);
}

/* Hamburger */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.navbar__hamburger:hover { background: var(--color-bg); }

.navbar__hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--color-navy);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.navbar__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__hamburger.open span:nth-child(2) { opacity: 0; }
.navbar__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--color-navy);
  padding-top: var(--navbar-h);
  overflow: hidden;
}

/* Fleur-de-lis repeating SVG pattern */
.hero__pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='80' viewBox='0 0 60 80'%3E%3Cpath d='M30 5c-2 0-3.5 1.1-3.5 2.5 0 .9.5 1.7 1.3 2.1C25.3 10.8 23 13 23 15.5c0 1.5.7 2.8 1.8 3.7l-1.5 1.8H20L17.5 17c-.7-1.3-1.8-1.8-2.8-1.8-1.2 0-2.2 1-2.2 2.2 0 .8.4 1.5 1.1 1.9l3.2 2.5v1.5H14c-.9 0-1.5.7-1.5 1.5s.6 1.5 1.5 1.5h2.8v1.5L13.6 30c-.7.4-1.1 1.1-1.1 1.9 0 1.2 1 2.2 2.2 2.2 1 0 2.1-.5 2.8-1.5L20 30h3.3l1.7 2.1c-1.1.9-1.8 2.2-1.8 3.7 0 2.5 2.3 4.7 5.8 5.8-.8.4-1.3 1.2-1.3 2.1 0 1.4 1.5 2.5 3.5 2.5s3.5-1.1 3.5-2.5c0-.9-.5-1.7-1.3-2.1 3.5-1.1 5.8-3.3 5.8-5.8 0-1.5-.7-2.8-1.8-3.7L38.7 30H42l2.3 2.7c.7 1 1.8 1.5 2.8 1.5 1.2 0 2.2-1 2.2-2.2 0-.8-.4-1.5-1.1-1.9l-3.2-2.5v-1.5H47c.9 0 1.5-.7 1.5-1.5s-.6-1.5-1.5-1.5h-2.9v-1.5l3.2-2.5c.7-.4 1.1-1.1 1.1-1.9 0-1.2-1-2.2-2.2-2.2-1 0-2.1.5-2.8 1.8L40 21h-3.3l-1.5-1.8c1.1-.9 1.8-2.2 1.8-3.7 0-2.5-2.3-4.7-5.8-5.8.8-.4 1.3-1.2 1.3-2.1C33.5 6.1 32 5 30 5z' fill='%23ffffff' fill-opacity='0.04'/%3E%3C/svg%3E");
  background-size: 60px 80px;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 80px 24px;
}

.hero__eyebrow {
  display: inline-block;
  background: rgba(245,166,35,.15);
  color: var(--color-gold);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
  border: 1px solid rgba(245,166,35,.3);
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero__sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.75);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero__ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}


/* ============================================================
   SECTIONS (shared)
   ============================================================ */
.section { padding: 96px 0; }
.section--light { background: var(--color-bg); }
.section--dark  { background: var(--color-navy); }

.section__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.section__header--light .section__title,
.section__header--light .section__sub { color: var(--color-white); }

.section__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-green);
  margin-bottom: 12px;
}

.section__label--gold { color: var(--color-gold); }

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section__sub {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ---- Card Grid ---- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

/* ---- Card ---- */
.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card--dark {
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.1);
  color: var(--color-white);
}

.card--dark .card__body { color: rgba(255,255,255,.7); }

.card__icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card__icon svg { width: 28px; height: 28px; }

.card__icon--navy { background: rgba(27,46,75,.1); color: var(--color-navy); }
.card__icon--gold  { background: rgba(245,166,35,.15); color: var(--color-gold-dark); }
.card__icon--green { background: rgba(46,125,50,.12); color: var(--color-green); }

.card__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 10px;
}

.card--dark .card__title { color: var(--color-white); }

.card__body {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* Solution number badge */
.solution-num {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-gold);
  margin-bottom: 12px;
}


/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.testimonial {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 40px 32px 32px;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}

.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.testimonial__quote-mark {
  position: absolute;
  top: 20px; left: 28px;
  font-size: 4rem;
  line-height: 1;
  color: var(--color-gold);
  font-family: Georgia, serif;
  opacity: 0.6;
}

.testimonial__text {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-text);
  margin-bottom: 28px;
  font-style: italic;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial__avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--color-navy);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial__avatar--gold  { background: var(--color-gold);  color: var(--color-navy); }
.testimonial__avatar--green { background: var(--color-green); color: var(--color-white); }

.testimonial__name {
  display: block;
  font-size: 0.95rem;
  color: var(--color-navy);
}

.testimonial__role {
  display: block;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 2px;
}


/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: var(--color-gold);
  padding: 72px 0;
}

.cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-banner__title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 10px;
}

.cta-banner__sub {
  font-size: 1.05rem;
  color: rgba(27,46,75,.75);
}


/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-wrap { max-width: 760px; margin: 0 auto; }

.contact-form {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow-md);
}

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

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

.form-group:last-child { margin-bottom: 0; }

.contact-form .form-group { margin-bottom: 20px; }
.contact-form .form-row .form-group { margin-bottom: 0; }

label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-navy);
}

label span { color: var(--color-gold-dark); }

input, textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
  resize: vertical;
}

input::placeholder, textarea::placeholder { color: var(--color-text-muted); }

input:focus, textarea:focus {
  outline: none;
  border-color: var(--color-navy);
  box-shadow: 0 0 0 3px rgba(27,46,75,.1);
}

textarea { min-height: 140px; }

.form-footer {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.form-status {
  font-size: 0.9rem;
  font-weight: 500;
}

.form-status.success { color: var(--color-green); }
.form-status.error   { color: #C62828; }


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--color-navy-dark);
  color: rgba(255,255,255,.75);
  padding-top: 72px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 64px;
}

/* Brand col */
.footer__logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer__brand-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-white);
}

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

.footer__tagline {
  font-size: 0.875rem;
  line-height: 1.65;
  color: rgba(255,255,255,.5);
  max-width: 260px;
}

/* Link cols */
.footer__heading {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 18px;
}

.footer__list li { margin-bottom: 10px; }

.footer__list a {
  font-size: 0.9rem;
  color: rgba(255,255,255,.6);
  transition: color var(--transition);
}

.footer__list a:hover { color: var(--color-gold); }

/* Contact col */
.footer__contact li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer__contact svg { flex-shrink: 0; color: var(--color-gold); opacity: 0.8; }

/* Bottom bar */
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
}

.footer__bottom p {
  font-size: 0.85rem;
  color: rgba(255,255,255,.35);
  text-align: center;
}


/* ============================================================
   404 PAGE
   ============================================================ */
.not-found {
  min-height: calc(100vh - var(--navbar-h) - 240px);
  display: flex;
  align-items: center;
  padding: 96px 0;
  background: var(--color-bg);
}

.not-found__inner {
  text-align: center;
}

.not-found__icon { margin: 0 auto 24px; }

.not-found__code {
  font-family: var(--font-heading);
  font-size: 6rem;
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1;
  margin-bottom: 8px;
}

.not-found__title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 16px;
}

.not-found__sub {
  color: var(--color-text-muted);
  max-width: 400px;
  margin: 0 auto 32px;
  line-height: 1.7;
}


/* ============================================================
   FADE-IN ANIMATIONS
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ============================================================
   RESPONSIVE — tablet (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}


/* ============================================================
   RESPONSIVE — mobile (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
  .navbar__hamburger { display: flex; }

  .navbar__menu {
    display: none;
    position: absolute;
    top: var(--navbar-h);
    left: 0; right: 0;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    padding: 16px 0;
  }

  .navbar__menu.open { display: flex; }

  .navbar__links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .navbar__link {
    padding: 13px 24px;
    border-radius: 0;
    font-size: 1rem;
  }

  .navbar__link--cta {
    margin: 8px 24px 0;
    text-align: center;
    border-radius: var(--radius-sm);
  }

  .hero__content { padding: 64px 24px; }

  .card-grid { grid-template-columns: 1fr; }

  .testimonials-grid { grid-template-columns: 1fr; }

  .cta-banner__inner {
    flex-direction: column;
    text-align: center;
  }

  .form-row { grid-template-columns: 1fr; }

  .contact-form { padding: 32px 24px; }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__tagline { max-width: 100%; }
}
