/* CSS RESET & NORMALIZE */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.4;
  background: #E7EBF0;
  color: #223153;
}
ol, ul {
  list-style: none;
}
a {
  background: transparent;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  display: block;
}
*, *:before, *:after {
  box-sizing: inherit;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  margin: 0;
}

/* FONT IMPORTS/SETUP */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');
:root {
  --primary: #223153;
  --secondary: #FFFFFF;
  --accent: #C4A046;
  --brand-blue: #294164;
  --brand-gray: #E7EBF0;
  --shadow: 0 2px 16px 0 rgba(22,34,52,0.09), 0 0.5px 1.5px 0 rgba(34,49,83,0.03);
  --radius-base: 14px;
  --radius-geo: 0px;
  --radius-medium: 24px;
  --transition-main: 0.25s cubic-bezier(0.6,0.1,0.3,0.95);
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
  --card-shadow: 0 4px 18px rgba(34,49,83,0.09);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  background: var(--brand-gray);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.02em;
  line-height: 1.15;
}
h1 {
  font-size: 2.75rem;
  line-height: 1.1;
  margin-bottom: 16px;
  font-variant-caps: small-caps;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.015em;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
h4,h5,h6 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.019em;
}
.subheadline {
  color: var(--brand-blue);
  font-size: 1.15rem;
  font-family: var(--font-body);
  margin-bottom: 24px;
  font-weight: 500;
}
p {
  color: var(--primary);
  margin-bottom: 14px;
  font-size: 1rem;
}
strong, b {
  font-weight: 700;
}


/* LAYOUT CONTAINERS */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  margin-bottom: 32px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--secondary);
  border-radius: var(--radius-base);
  box-shadow: var(--card-shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 32px 24px;
  flex: 1 1 300px;
  min-width: 0;
  transition: box-shadow var(--transition-main), transform var(--transition-main);
}
.card:hover {
  box-shadow: 0 6px 32px rgba(34,49,83,0.19);
  transform: translateY(-4px) scale(1.015);
}
.content-grid, .feature-grid, .service-grid, .team-list, .author-list, .blog-list, .story-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.service-grid .service-item, .blog-list .blog-entry, .team-list .team-bio, .author-list .author-bio, .story-grid .story-item {
  background: var(--secondary);
  border-radius: var(--radius-base);
  box-shadow: var(--card-shadow);
  padding: 24px 20px;
  flex: 1 1 340px;
  min-width: 0;
  margin-bottom: 20px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 24px;
  background: #fff;
  color: #223153;
  border-radius: var(--radius-base);
  box-shadow: 0 1px 8px rgba(34,49,83,0.08);
  font-size: 1.05rem;
  min-width: 260px;
  flex: 1 1 300px;
}
.testimonial-card p {
  color: #223153;
}
.testimonial-card span, .testimonial-card cite {
  font-family: var(--font-display);
  font-size: 0.98rem;
  color: var(--accent);
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.07em;
}
.ratings-summary {
  margin-top: 12px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--brand-blue);
  letter-spacing: 0.05em;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--secondary);
  border-radius: var(--radius-base);
  box-shadow: var(--card-shadow);
  padding: 22px 18px;
  flex: 1 1 200px;
  min-width: 0;
  margin-bottom: 20px;
  transition: box-shadow var(--transition-main), transform var(--transition-main);
}
.feature-item img {
  width: 36px;
  height: 36px;
}
.feature-item h3 {
  margin-bottom: 5px;
}
.feature-item:hover {
  box-shadow: 0 7px 36px rgba(34,49,83,0.12);
  transform: translateY(-3px) scale(1.016);
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.service-list .service-item {
  flex: 1 1 280px;
}

.story-item blockquote {
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 1.18rem;
  line-height: 1.32;
  margin-bottom: 12px;
  border-left: 6px solid var(--accent);
  padding-left: 14px;
  font-style: italic;
  background: none;
}
.story-item cite {
  display: block;
  color: var(--brand-blue);
  font-weight: 700;
  margin-top: 0.7em;
}

.impact-statistics, .unique-skills, .guide-mission, .mission-statement, .support-options, .quote-highlights {
  background: var(--secondary);
  box-shadow: var(--shadow);
  border-radius: var(--radius-base);
  padding: 20px 18px 18px 20px;
  margin-top: 20px;
  margin-bottom: 20px;
}
.quote-highlights {
  border-left: 6px solid var(--accent);
  color: var(--brand-blue);
  font-size: 1rem;
  font-family: var(--font-display);
}


/* HEADER & NAV -------------------------------------------------- */
header {
  background: var(--secondary);
  box-shadow: 0 2px 16px rgba(22,34,52,0.05);
  margin-bottom: 16px;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}
header img {
  height: 46px;
  width: auto;
  margin-right: 24px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.main-nav a {
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 1rem;
  padding: 7px 7px 5px 7px;
  border-radius: 6px;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: background var(--transition-main), color var(--transition-main);
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--brand-blue);
  color: #fff;
}
.primary-cta {
  background: var(--accent);
  color: var(--secondary) !important;
  border-radius: 100px;
  padding: 10px 28px;
  font-size: 1.08rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-left: 10px;
  box-shadow: 0 2px 10px rgba(196,160,70,0.11);
  transition: background var(--transition-main), color var(--transition-main), box-shadow var(--transition-main),transform var(--transition-main);
}
.primary-cta:hover, .primary-cta:focus {
  background: var(--brand-blue);
  color: var(--accent) !important;
  box-shadow: 0 4px 22px rgba(34,49,83,0.13);
  transform: translateY(-2px) scale(1.025);
}
/* Mobile Menu Button */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: var(--accent);
  color: var(--secondary);
  border-radius: 8px;
  padding: 8px 14px;
  margin-left: 16px;
  cursor: pointer;
  border: none;
  transition: background var(--transition-main), color 0.2s, transform 0.2s;
}
.mobile-menu-toggle:active {
  background: var(--brand-blue);
  color: var(--accent);
  transform: scale(0.95);
}
/* Mobile Main Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #223153ee;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.8,0,.2,1);
  box-shadow: 0 12px 40px rgba(34,49,83,0.17);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: var(--secondary);
  color: var(--primary);
  font-size: 2.1rem;
  border-radius: 100px;
  margin: 22px 22px 12px 0;
  align-self: flex-end;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 1px 8px rgba(34,49,83,0.13);
  padding: 5px 14px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--accent);
  color: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
  width: 85vw;
  padding: 30px 24px;
  margin-top: 20px;
  font-size: 1.17rem;
}
.mobile-nav a {
  width: 100%;
  text-align: right;
  padding: 12px 0;
  color: #fff;
  background: none;
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.07em;
  font-size: 1.12rem;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a.primary-cta {
  background: var(--accent);
  color: var(--primary) !important;
  margin: 14px 0 0 0;
  text-align: right;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: var(--brand-blue);
}
.mobile-menu.active {
  opacity: 1;
}

/* HERO + GENERAL SECTIONS ------------------------------------- */
section {
  background: none;
  margin-bottom: 60px;
  padding: 40px 0 0 0;
}
section .container {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.contact-info li {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
  font-size: 1rem;
  color: var(--brand-blue);
}
.contact-info img {
  width: 22px;
  height: 22px;
}
.map-location {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 14px;
  font-size: 1rem;
  color: var(--primary);
  background: var(--secondary);
  border-radius: var(--radius-base);
  padding: 12px 16px;
}

.faq-list {
  margin-top: 16px;
  margin-bottom: 16px;
}
.faq-list dt {
  font-family: var(--font-display);
  color: var(--brand-blue);
  font-weight: 600;
  margin-top: 12px;
  letter-spacing: 0.025em;
}
.faq-list dd {
  color: var(--primary);
  margin-left: 0;
  margin-bottom: 10px;
  font-size: 1rem;
}

/* Blog & Author Cards ------------------------------- */
.blog-entry {
  display: flex;
  flex-direction: column;
  border-left: 4px solid var(--accent);
  padding-left: 16px;
  background: var(--secondary);
  border-radius: var(--radius-base);
  box-shadow: var(--card-shadow);
  margin-bottom: 20px;
}
.blog-categories {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 12px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--brand-blue);
}
.blog-categories ul {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  list-style: none;
}
.blog-categories li {
  background: var(--brand-gray);
  border-radius: 6px;
  padding: 4px 11px;
  font-size: 0.98rem;
  color: #223153;
  font-weight: 500;
}

/* FOOTER -------------------------------------------------------- */
footer {
  background: #223153;
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0.01em;
  margin-top: 60px;
  padding-top: 36px;
  padding-bottom: 30px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 48px;
  margin-bottom: 20px;
}
.footer-nav nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-nav a {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  transition: color 0.16s;
  padding: 0 0 2px 0;
  border-radius: 3px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--accent);
}
.footer-brand {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
}
.footer-brand img {
  width: 46px;
  height: 46px;
}
.footer-brand p {
  font-family: var(--font-body);
  font-size: 1.02rem;
  color: #fff;
  margin-bottom: 0;
  font-weight: 400;
}
.social-links {
  display: flex;
  gap: 20px;
  margin-top: 6px;
}
.social-links a {
  background: var(--brand-blue);
  border-radius: 7px;
  padding: 6px;
  transition: background 0.18s, transform 0.18s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.social-links a:hover {
  background: var(--accent);
  transform: scale(1.1) rotate(3deg);
}
footer img {
  width: 28px;
  height: 28px;
}

/* BUTTONS -------------------------------------------------------- */
button, .btn {
  font-family: var(--font-display);
  background: var(--accent);
  color: var(--secondary);
  border-radius: 6px;
  padding: 9px 26px;
  font-size: 1.08rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 10px rgba(196,160,70,0.09);
  margin-right: 10px;
  transition: background var(--transition-main), color var(--transition-main), box-shadow var(--transition-main);
}
button:hover, button:focus,.btn:hover,.btn:focus,.cookie-consent .btn:hover {
  background: var(--brand-blue);
  color: var(--accent);
  box-shadow: 0 6px 24px rgba(34,49,83,0.13);
}


/* COOKIE CONSENT BANNER & MODAL --------------------------------- */
.cookie-consent {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff;
  color: var(--primary);
  border-top: 4px solid var(--accent);
  padding: 24px 16px 20px 18px;
  box-shadow: 0px -3px 32px 0 rgba(34,49,83,0.17);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
  z-index: 1400;
  justify-content: space-between;
  font-size: 1rem;
  max-width: 100vw;
  transition: transform 0.35s cubic-bezier(.7,0,.2,1);
}
.cookie-consent.hide {
  transform: translateY(170%);
}
.cookie-consent-content {
  flex: 1 1 60%;
}
.cookie-consent-buttons {
  display: flex;
  gap: 14px;
}
.cookie-btn {
  border-radius: 100px;
  padding: 8px 24px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  background: var(--accent);
  color: #fff;
  border: none;
  transition: background var(--transition-main), color var(--transition-main), box-shadow var(--transition-main);
  cursor: pointer;
  margin-right: 0;
}
.cookie-btn.reject {
  background: var(--brand-blue);
  color: #fff;
}
.cookie-btn.settings {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--brand-blue);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--primary);
  color: var(--accent);
}

.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #223153c0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadeInModal 0.33s;
}
.cookie-modal-backdrop.active {
  display: flex;
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: var(--primary);
  border-radius: var(--radius-medium);
  box-shadow: 0 7px 52px rgba(34,49,83,0.18);
  max-width: 98vw;
  min-width: 320px;
  padding: 38px 30px 28px 30px;
  z-index: 2100;
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-size: 1rem;
  letter-spacing: 0.01em;
  animation: modalPopIn 0.42s cubic-bezier(0.7,0,0.2,1);
}
@keyframes modalPopIn {
  from { transform: scale(0.85) translateY(100px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.35rem;
  margin-bottom: 9px;
  color: var(--brand-blue);
  text-align: left;
  letter-spacing: 0.02em;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 1.8rem;
  color: var(--primary);
  background: var(--brand-gray);
  border-radius: 100px;
  border: none;
  padding: 6px 12px;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  background: var(--accent);
  color: #fff;
}
.cookie-modal .cookie-category {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-category input[type=checkbox] {
  accent-color: var(--accent);
}
.cookie-category label {
  font-size: 1rem;
  color: var(--primary);
  font-family: var(--font-display);
}
.cookie-category .essential {
  color: var(--brand-blue);
  font-weight: 700;
}

/* Specials (Statistics/Modal/Additional Classes) ----------- */
.impact-statistics p, .unique-skills p, .guide-mission p,
.mission-statement p, .support-options p {
  margin-bottom: 0;
  color: var(--primary);
}

/* FILTERS / TABS / CATEGORIES ----------------------------------- */
.service-filters, .blog-categories ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}
.service-filters li, .blog-categories li {
  background: var(--secondary);
  border: 1.5px solid var(--brand-blue);
  color: var(--brand-blue);
  border-radius: 22px;
  padding: 7px 22px;
  font-family: var(--font-display);
  font-size: 0.99rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background 0.14s, color 0.14s;
  cursor: default;
}
.service-filters li.active, .service-filters li:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* UTILITY CLASSES ------------------------------------------------- */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-16 { margin-top: 16px !important; }
.mb-16 { margin-bottom: 16px !important; }
.mt-24 { margin-top: 24px !important; }
.mb-24 { margin-bottom: 24px !important; }
.gap-16 { gap: 16px !important; }
.gap-24 { gap: 24px !important; }


/* GEOMETRIC STRUCTURE DECORATIVE SHAPES ------------------------ */
.card, .feature-item, .service-item, .testimonial-card, .blog-entry, .story-item {
  border-radius: 0px 20px 0px 20px / 0px 20px 0px 20px;
  border: 2.2px solid var(--brand-gray);
  position: relative;
  overflow: hidden;
}
.card:before, .feature-item:before, .testimonial-card:before, .story-item:before {
  content: '';
  display: block;
  position: absolute;
  right: -36px;
  top: -18px;
  width: 64px;
  height: 43px;
  background: var(--accent);
  opacity: 0.09;
  transform: rotate(12deg);
  z-index: 0;
  border-radius: 18px 0 22px 0;
  pointer-events: none;
}

/* RESPONSIVE DESIGN -------------------------------------------- */
@media (max-width: 1100px) {
  .container {
    max-width: 96vw;
  }
  .footer-nav {
    flex-direction: column;
    gap: 26px;
  }
}
@media (max-width: 960px) {
  .content-grid, .feature-grid, .service-list, .service-grid, .team-list, .author-list, .blog-list, .story-grid, .testimonial-wrapper {
    flex-direction: column;
    gap: 24px;
    align-items: stretch;
  }
  .footer-brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}
@media (max-width: 768px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  section {
    padding: 22px 0 0 0;
    margin-bottom: 38px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.22rem;
    margin-bottom: 10px;
  }
  h3 {
    font-size: 1rem;
  }
  .feature-item, .service-item, .card, .testimonial-card, .blog-entry {
    padding: 16px 10px;
    min-width: 0;
    font-size: 0.98rem;
  }
  .card-container, .service-grid, .testimonial-wrapper {
    gap: 16px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 580px) {
  .footer-brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .storybook-entry, .feature-item, .service-item {
    font-size: 0.92rem;
  }
  .cookie-consent {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 6px 14px 6px;
  }
  .cookie-consent-buttons {
    width: 100%;
    flex-direction: column;
    gap: 10px
  }
}

/* FOCUS STATES --------------------------------------------------- */
a:focus, button:focus, .primary-cta:focus {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* TRANSITIONS / MICRO-INTERACTIONS ------------------------------ */
.card, .feature-item, .testimonial-card, .primary-cta, button, .footer-nav a, .main-nav a, .cookie-btn, .mobile-menu-close, .mobile-nav a {
  transition: box-shadow var(--transition-main), background var(--transition-main), color var(--transition-main), transform 0.14s;
}
.card:active, .feature-item:active, .testimonial-card:active, .btn:active, .primary-cta:active {
  transform: scale(0.98);
}

/* Prevent overlapping, add padding-bottom to body for Cookie Banner */
body {
  padding-bottom: 86px;
}

/* Hide elements (for JS functionality) */
.hide { display: none !important; }
