/* =====================
   FlickGear FinEd Birmingham – NATURE_ORGANIC THEME CSS
   ===================== */
/* 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%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body { line-height: 1; }
ol, ul { list-style: none; }
a { text-decoration: none; color: inherit; }
img, svg { display: block; max-width: 100%; height: auto; }
button { background: none; border: none; cursor: pointer; font-family: inherit; }
hr { border: none; height: 1px; background: #e1ddca; margin: 24px 0; }

/* =====================
   BRAND + ORGANIC VARS
   ===================== */
:root {
  /* Brand base palette */
  --brand-primary: #165589;
  --brand-secondary: #F9EC46;
  --brand-accent: #FFFFFF;
  /* Organic/natural extensions */
  --nature-green: #417365;
  --nature-olive: #87986a;
  --nature-tan: #e1ddca;
  --nature-earth: #C8B179;
  --nature-brown: #6D6042;
  --nature-light: #f8f6f2;
  --nature-bg: #f3f8f5;
  --nature-bg-gradient: #f8f6f2;
  /* Shadows */
  --card-shadow: 0 2px 12px 0 rgba(65, 115, 101, 0.09);
  --elevate-shadow: 0 4px 20px 0 rgba(65, 115, 101, 0.18);
  /* Font stack */
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Helvetica, Arial, sans-serif;
  /* Border radius for organic shapes */
  --radius-lg: 32px;
  --radius-md: 18px;
  --radius-sm: 9px;
  /* Default Spacing */
  --space-xxl: 60px;
  --space-xl: 40px;
  --space-lg: 32px;
  --space-md: 24px;
  --space-sm: 16px;
  --space-xs: 8px;
  /* Transition */
  --transition-fast: 0.18s cubic-bezier(.7,.15,.75,1.35);
}

body {
  background: var(--nature-bg);
  color: #354346;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  min-height: 100vh;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  color: #294136;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.5px;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: var(--space-lg);
  line-height: 1.14;
}
h2 {
  font-size: 2rem;
  margin-bottom: var(--space-md);
}
h3 {
  font-size: 1.45rem;
  margin-bottom: var(--space-sm);
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: var(--space-xs);
}
p, ul, ol {
  margin-bottom: var(--space-sm);
}
p:last-child, ul:last-child, ol:last-child {
  margin-bottom: 0;
}
.subheadline {
  color: var(--nature-green);
  font-size: 1.12rem;
  font-family: var(--font-body);
  margin-bottom: var(--space-md);
  font-weight: 500;
}
a {
  color: var(--brand-primary);
  transition: color var(--transition-fast);
}
a:hover, a:focus {
  color: var(--nature-green);
  text-decoration: underline;
}
strong, b { font-weight: 700; }

/* =====================
   CONTAINERS & LAYOUT
   ===================== */
.container {
  width: 100%;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}
.section, section {
  margin-bottom: var(--space-xxl);
  padding: var(--space-xl) 20px;
}

/* Flexbox utility containers for card/grid layouts */
.feature-grid, .team-grid, .testimonial-slider, .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
}
.testimonial-list {
  gap: 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Main nav flex layout */
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  padding-top: var(--space-md);
  padding-bottom: var(--space-md);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.main-nav a {
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--nature-green);
  transition: background var(--transition-fast), color var(--transition-fast);
}
.main-nav a.cta,
.main-nav a.primary-cta {
  background: var(--brand-primary);
  color: var(--brand-accent);
  border-radius: var(--radius-md);
  font-size: 1.1rem;
  padding: 8px 30px;
  box-shadow: var(--card-shadow);
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}
.main-nav a.cta:hover,
.main-nav a.primary-cta:hover {
  background: var(--nature-green);
  color: #fff;
  transform: translateY(-2px) scale(1.03);
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--nature-tan);
  color: var(--brand-primary);
}

/* HERO SECTION */
.hero {
  background: var(--nature-light);
  border-radius: var(--radius-lg);
  margin-top: var(--space-md);
  margin-bottom: var(--space-xxl);
  box-shadow: 0 6px 28px 0 rgba(65, 115, 101, 0.11);
  min-height: 340px;
  display: flex;
  align-items: center;
  width: 100%;
}
.hero .container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.hero .content-wrapper {
  gap: var(--space-md);
  max-width: 600px;
}
.hero h1 {
  color: var(--nature-green);
}

/* ORGANIC BUTTONS & CTAs */
.cta,
.primary-cta,
.secondary-cta {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  padding: 10px 36px;
  border-radius: 30px 42px 32px 38px / 32px 32px 40px 30px; /* organic shape */
  background: var(--brand-primary);
  color: #fff;
  box-shadow: 0 2px 8px 0 rgba(65,115,101,0.09);
  border: none;
  cursor: pointer;
  margin-top: var(--space-sm);
  margin-bottom: var(--space-xs);
  transition: background var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
  letter-spacing: 0.01em;
}
.secondary-cta {
  background: var(--nature-green);
  color: #fff;
}
.cta:hover, .primary-cta:hover, .secondary-cta:hover {
  background: var(--brand-secondary);
  color: var(--brand-primary);
  box-shadow: 0 6px 24px 0 rgba(65,115,101,0.13);
  transform: translateY(-2px) scale(1.025);
}
.cta:active, .primary-cta:active, .secondary-cta:active {
  background: var(--nature-brown);
  color: #fff;
  box-shadow: none;
}

/* FEATURES – ORGANIC CARDS */
.feature-card {
  background: var(--nature-bg);
  border-radius: 52px 32px 42px 24px / 44px 24px 54px 34px;
  border: 1.5px solid var(--nature-tan);
  box-shadow: var(--card-shadow);
  flex: 1 1 260px;
  padding: var(--space-lg) var(--space-md);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-sm);
  min-width: 220px;
  max-width: 350px;
  transition: box-shadow var(--transition-fast), transform var(--transition-fast);
}
.feature-card img {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-xs);
  filter: drop-shadow(0 6px 13px rgba(65, 115, 101, 0.11));
}
.feature-card:hover {
  box-shadow: var(--elevate-shadow);
  transform: translateY(-4px) scale(1.02);
}

/* TEAM CARDS (About page) */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.team-member {
  background: var(--nature-light);
  border-radius: var(--radius-lg) var(--radius-md) var(--radius-lg) var(--radius-md) / var(--radius-md) var(--radius-lg) var(--radius-md) var(--radius-lg);
  box-shadow: var(--card-shadow);
  flex: 1 1 240px;
  max-width: 300px;
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-xs);
  transition: box-shadow var(--transition-fast), transform var(--transition-fast);
  margin-bottom: 20px;
}
.team-member img {
  width: 44px;
  height: 44px;
  margin-bottom: var(--space-xs);
}
.team-member:hover {
  box-shadow: var(--elevate-shadow);
  transform: translateY(-3px);
}

/* TESTIMONIALS */
.testimonials {
  background: var(--brand-accent);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  margin-bottom: var(--space-xxl);
}
.testimonials h2 {
  color: var(--brand-primary);
}
.testimonial-card {
  background: #fff;
  border-radius: 38px 14px 32px 24px / 32px 34px 14px 22px;
  box-shadow: 0 2px 12px 0 rgba(65,115,101,0.05);
  padding: 24px 22px;
  flex: 1 1 260px;
  min-width: 220px;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  color: #344138;
  transition: box-shadow var(--transition-fast), transform var(--transition-fast);
}
.testimonial-card:hover {
  box-shadow: 0 7px 35px 0 rgba(65,115,101,0.12);
  transform: translateY(-3px);
}
.stars {
  color: var(--nature-olive);
  font-size: 1.2rem;
  font-family: var(--font-display);
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.testimonial-meta {
  font-size: 0.97rem;
  color: var(--nature-brown);
  font-style: italic;
}

/* VALUE LIST / ABOUT VALUES */
.values-list h3 {
  color: var(--brand-primary);
}
.values-list ul {
  margin-bottom: 0;
  margin-top: var(--space-xs);
  padding-left: var(--space-sm);
  list-style: disc inside;
  color: var(--nature-green);
}
.values-list li {
  margin-bottom: var(--space-xs);
  font-size: 1.05rem;
}

/* POLICY, TEXT, & MAP SECTIONS */
.policy-section, .contact-details, .map {
  background: var(--nature-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
}
.text-section {
  margin-top: var(--space-md);
  margin-bottom: var(--space-md);
}
.map-embed {
  background: var(--nature-tan);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-md);
}
.map-embed p { margin: 0; }

/* SERVICES PRICING */
.price {
  color: var(--nature-green);
  font-size: 1.2rem;
  font-weight: 700;
  margin: var(--space-sm) 0;
  background: var(--nature-tan);
  display: inline-block;
  padding: 6px 18px;
  border-radius: var(--radius-md);
}

/* THANK YOU SECTION */
.thankyou-section {
  background: var(--nature-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  min-height: 280px;
  display: flex; align-items: center; justify-content: center;
}

/* FOOTER */
footer {
  background: var(--nature-green);
  color: #fff;
  padding: var(--space-xl) 0 var(--space-md) 0;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0 / var(--radius-md) var(--radius-md) 0 0;
  margin-top: var(--space-xxl);
}
.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 20px;
}
.brand-info img {
  width: 50px;
  height: auto;
  margin-bottom: var(--space-xs);
}
.footer-nav, .contact-info, .social-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a {
  color: #fff;
  opacity: 0.93;
  font-weight: 500;
  transition: color var(--transition-fast), opacity var(--transition-fast);
}
.footer-nav a:hover {
  color: var(--brand-secondary);
  opacity: 1;
}
.social-links {
  flex-direction: row;
  gap: 16px;
}
.social-links a img {
  width: 32px;
  height: 32px;
  filter: brightness(0) invert(1);
  transition: filter var(--transition-fast);
}
.social-links a:hover img {
  filter: brightness(2) saturate(2) drop-shadow(0 1px 3px rgba(33,70,64,0.19));
}

/* ===============
   MOBILE NAV MENU
   =============== */
.mobile-menu-toggle {
  display: block;
  font-size: 2rem;
  line-height: 1;
  background: var(--brand-primary);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  text-align: center;
  box-shadow: var(--card-shadow);
  margin-left: var(--space-xs);
  z-index: 3000;
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--nature-green);
  color: var(--brand-secondary);
  transform: scale(1.13);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(48,61,56, 0.90);
  z-index: 9999;
  transform: translateX(-100vw);
  will-change: transform;
  transition: transform 0.35s cubic-bezier(.68,-0.49,.48,1.31);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: var(--space-lg) 0 var(--space-lg) 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--brand-secondary);
  color: var(--brand-primary);
  font-size: 2.4rem;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 11001;
  box-shadow: var(--card-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--nature-green);
  color: #fff;
  transform: rotate(-90deg) scale(1.05);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100vw;
  align-items: flex-start;
  padding: 80px 32px 32px 36px;
  margin-top: 0;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  padding: 14px 0 8px 0;
  border-radius: 0;
  transition: color var(--transition-fast);
  width: 100%;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--brand-secondary);
  background: none;
  text-decoration: underline;
}

/* ===============
   COOKIE CONSENT
   =============== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  background: var(--nature-olive);
  color: #fff;
  font-family: var(--font-body);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
  padding: 28px 18px 22px 18px;
  box-shadow: 0 -2px 18px 0 rgba(88,80,54,0.19);
  z-index: 5010;
  border-radius: var(--radius-md) var(--radius-md) 0 0 / var(--radius-sm) var(--radius-md) 0 0;
  animation: banner-in 0.7s cubic-bezier(0.89, 0.33, 0.43, 1.3);
}
@keyframes banner-in {
  0% { transform: translateY(90px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  flex: 2 1 320px;
  font-size: 1.05rem;
  margin-bottom: 0;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-btn {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 20px 24px 18px 30px;
  padding: 9px 22px;
  border: none;
  margin: 0;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}
.cookie-accept {
  background: var(--brand-primary);
  color: #fff;
}
.cookie-accept:hover {
  background: var(--brand-secondary);
  color: var(--brand-primary);
  transform: translateY(-2px) scale(1.03);
}
.cookie-reject {
  background: #fff;
  color: var(--nature-green);
  border: 1.2px solid var(--nature-green);
}
.cookie-reject:hover {
  background: var(--nature-green);
  color: #fff;
}
.cookie-settings {
  background: var(--nature-tan);
  color: var(--nature-brown);
}
.cookie-settings:hover {
  background: var(--nature-green);
  color: #fff;
}

/* ===============
   COOKIE MODAL
   =============== */
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(1);
  min-width: 320px;
  max-width: 94vw;
  background: var(--nature-light);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 50px 0 rgba(65,115,101,0.22);
  z-index: 10020;
  padding: 40px 28px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: modal-in 0.4s cubic-bezier(.85,-0.15,.43,1.31);
}
@keyframes modal-in {
  0% { transform: translate(-50%, 20vh) scale(0.7); opacity: 0; }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.25rem;
  color: var(--brand-primary);
}
.cookie-modal .category {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.cookie-modal label {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--nature-green);
}
.cookie-modal input[type='checkbox'] {
  accent-color: var(--nature-green);
  width: 20px; height: 20px;
}
.cookie-modal .cookie-modal-actions {
  margin-top: 16px;
  display: flex;
  flex-direction: row;
  gap: 12px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  min-width: 80px;
}
.cookie-modal .close-modal {
  background: none;
  color: var(--nature-brown);
  font-size: 1.35rem;
  position: absolute;
  right: 24px; top: 22px;
  padding: 0;
}
.cookie-modal .close-modal:hover {
  color: var(--brand-primary);
}
.cookie-modal-bg {
  position: fixed;
  inset: 0;
  width: 100vw; height:100vh;
  background: rgba(33, 64, 53, 0.24);
  z-index: 10010;
  animation: fade-in-bg 0.33s cubic-bezier(.7,.15,.75,1.35);
}
@keyframes fade-in-bg {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ===============
   RESPONSIVE/MOBILE
   =============== */
@media (max-width: 1050px) {
  .footer-container, .container.header-container {
    flex-wrap: wrap;
    gap: 18px;
  }
}
@media (max-width: 950px) {
  .feature-grid, .team-grid {
    gap: 20px;
  }
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 768px) {
  body,
  .section,
  section,
  .hero,
  .policy-section,
  .testimonials,
  .footer-container {
    font-size: 15.5px;
    padding-left: 8px; padding-right: 8px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.58rem; }
  .header-container {
    flex-direction: row;
    gap: 12px;
    padding: 16px 0 12px 0;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .feature-grid, .team-grid, .testimonial-slider, .testimonial-list {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .feature-card, .testimonial-card, .team-member {
    min-width: 0;
    max-width: 100%;
  }
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .hero .container, .hero .content-wrapper {
    flex-direction: column;
    gap: var(--space-md);
    padding-top: var(--space-md);
    padding-bottom: var(--space-md);
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding-left: 10px; padding-right: 10px;
  }
}
@media (max-width: 480px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.25rem; }
  .cta, .primary-cta, .secondary-cta { font-size: 0.97rem; padding: 8px 14px; }
  .hero { min-height: 210px; padding-top: 12px; padding-bottom: 12px; }
  .container { padding-left: 4px; padding-right: 4px; }
  .cookie-modal { padding: 18px 6px 18px 12px; border-radius: 32px; }
}

/* ACCESSIBILITY & FOCUS */
a:focus, button:focus, .cta:focus, .mobile-menu-close:focus, .cookie-btn:focus {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
  z-index: 206;
}

/* ===============
   ORGANIC DECORATIVE ELEMENTS
   =============== */
/* Organic blob for hero highlight effect */
.hero::before {
  content: "";
  display: block;
  position: absolute;
  left: -60px; top: -42px;
  width: 180px; height: 120px;
  background: var(--nature-olive);
  opacity: 0.075;
  border-radius: 92px 92px 96px 86px / 90px 62px 80px 116px;
  z-index: 0;
  pointer-events: none;
}
.hero {
  position: relative;
  z-index: 1;
}

/* Decorative organic accent behind feature cards */
.feature-grid::before {
  content: "";
  display: block;
  position: absolute;
  left: 10px; top: 10px;
  width: 100px; height: 60px;
  background: var(--nature-earth);
  opacity: 0.045;
  border-radius: 60px 80px 66px 50px;
  z-index: 0;
}
.feature-grid { position: relative; z-index: 1; }

/* ===============
   PRINT UTILITY
   =============== */
@media print {
  .main-nav, .mobile-menu-toggle, .mobile-menu, .footer-container, .cookie-banner, .cookie-modal, .cookie-modal-bg { display: none !important; }
  body, html { background: #fff !important; color: #222 !important; }
}
