/* =======================================================
   RESET & BASE
   ======================================================= */
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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background-color: #181d22;
  color: #e2e8ee;
  font-family: 'Open Sans', Arial, sans-serif;
  min-height: 100vh;
  letter-spacing: 0.02em;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
}

/* =======================================================
   TYPOGRAPHY
   ======================================================= */
h1, .h1 {
  font-family: 'Montserrat', 'Arial Black', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0.01em;
  font-size: 2.375rem;
  color: #F5F2ED;
  margin-bottom: 16px;
  text-shadow: 0 4px 24px rgba(18,24,29,0.45);
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.875rem;
  color: #e1e7ee;
  margin-bottom: 14px;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: #7FB069;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}
h4, .h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #F5F2ED;
}
p, li, .body-text {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #bbc6d2;
  margin-bottom: 12px;
}
.subheadline {
  font-size: 1.25rem;
  color: #7FB069;
  margin-bottom: 20px;
  font-weight: 400;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.01em;
}
strong, b { font-weight: 700; }

/* Visual hierarchy, spacing */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* =======================================================
   INDUSTRIAL MODERN VISUALS
   ======================================================= */
body, .accent-bg {
  background: #181d22;
}
.accent-bg {
  background-color: #21262D;
  color: #F5F2ED;
}

/* Cards & containers */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #21262d;
  border-radius: 16px;
  box-shadow: 0 2px 8px 0 rgba(24,29,34,0.14), 0 0.5px 0.5px 0 #2e3842;
  border: 1.5px solid #2c3750;
  padding: 28px 24px;
  transition: box-shadow 0.2s, border-color 0.2s;
  margin-bottom: 20px;
  position: relative;
  min-width: 260px;
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 8px 24px 0 #22394F, 0 2px 8px 0 #182128;
  border-color: #7FB069;
  z-index: 5;
}

/* Card Grid Alternatives */
.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;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F5F2ED;
  border-radius: 12px;
  box-shadow: 0 2px 8px 0 #2B3A43;
  margin-bottom: 20px;
  color: #22394F;
  border-left: 6px solid #7FB069;
  transition: box-shadow 0.2s, border-left 0.2s;
}
.testimonial-info {
  color: #23405B;
  font-size: 0.98rem;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Card slider for testimonials-page */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}

/* Profile cards */
.team-profiles {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.profile {
  background: #232932;
  border: 1.5px solid #2c3750;
  border-radius: 14px;
  padding: 20px 18px;
  min-width: 230px;
  flex: 1 1 180px;
  margin-bottom: 20px;
}
.profile h3 {
  color: #7FB069;
  font-size: 1.1rem;
}

/**** Buttons ****/
.btn-primary, .btn-secondary {
  display: inline-block;
  border-radius: 8px;
  padding: 12px 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  line-height: 1.2;
  box-shadow: 0 1px 4px 0 rgba(33,47,68,0.11);
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.btn-primary {
  background: #23405B;
  color: #F5F2ED;
  border-bottom: 3px solid #7FB069;
  position: relative;
}
.btn-primary:hover, .btn-primary:focus {
  background: #29384b;
  box-shadow: 0 2px 12px 0 #7FB069;
  outline: none;
  color: #7FB069;
}
.btn-secondary {
  background: #7FB069;
  color: #21262d;
  border-bottom: 3px solid #23405B;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #61914b;
  color: #F5F2ED;
  outline: none;
}

/**** NAVIGATION ****/
header {
  background: #181d22;
  border-bottom: 1.5px solid #232932;
  position: relative;
  z-index: 20;
}
.logo img {
  height: 56px;
  filter: brightness(1.1) contrast(1.2) drop-shadow(0 2px 10px #0e181d66);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.main-nav a {
  color: #e2e8ee;
  font-weight: 500;
  font-size: 1.02rem;
  padding: 7px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-bottom 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #7FB069;
  border-bottom: 2px solid #7FB069;
  outline: none;
}
.main-nav .btn-primary {
  margin-left: 18px;
}

/* Hide mobile menu toggle on desktop */
.mobile-menu-toggle {
  display: none;
}
.mobile-menu {
  display: none;
}

/* FOOTER */
footer {
  background: #1a2026;
  color: #bbc6d2;
  font-size: 0.97rem;
  padding-top: 48px;
  padding-bottom: 18px;
  border-top: 2px solid #263440;
  margin-top: 80px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 28px;
  align-items: flex-start;
}
.footer-logo img {
  height: 50px;
  margin-bottom: 16px;
  filter: brightness(1.1) contrast(1.4) drop-shadow(0 0 10px #000c);
}
.footer-nav {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.footer-nav a {
  color: #7FB069;
  text-decoration: underline;
  font-weight: 500;
}
.footer-contact {
  font-size: 0.98rem;
  color: #93adc4;
}
.footer-contact a {
  color: #7FB069;
  transition: color 0.13s;
}
.footer-contact a:hover {
  color: #F5F2ED;
}
.footer-copy {
  flex-basis: 100%;
  text-align: center;
  color: #353f52;
  font-size: 0.90rem;
  padding-top: 12px;
  border-top: 1px solid #232932;
  margin-top: 20px;
}

/* =======================================================
   SECTION-SPECIFIC LAYOUTS & UTILITY CLASSES
   ======================================================= */
.hero-section {
  background: linear-gradient(120deg,#21262D 60%, #23405B 100%);
  padding-top: 44px;
  padding-bottom: 44px;
  border-bottom: 3px solid #2c3750;
}
.features-section {
  background: #21262D;
  border-radius: 14px;
  box-shadow: 0 4px 18px 0 rgba(34,54,74,0.13);
}
.cta-section {
  background: #23405B;
  color: #F5F2ED;
  text-align: center;
  border-radius: 20px;
  box-shadow: 0 2px 8px #121a2120;
  padding: 40px 24px;
}
.cta-section h2 {
  color: #F5F2ED;
}
.cta-section .btn-primary {
  margin-top: 14px;
}
.services-section {
  background: #22262E;
  border-radius: 14px;
  box-shadow: 0 2px 10px #1e253020;
}
.legal-section {
  background: #181d22;
  color: #e2e8ee;
  border-radius: 10px;
}

/**** Features Grid ****/
.feature-grid, .service-list, .event-calendar, .course-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-grid li, .service-list li, .event-calendar li, .course-list li {
  background: #232932;
  border-radius: 13px;
  box-shadow: 0 1px 6px 0 #19273050;
  border: 1.5px solid #243550;
  padding: 20px 18px 18px 18px;
  flex: 1 1 230px;
  min-width: 230px;
  margin-bottom: 20px;
  transition: box-shadow 0.17s, border 0.18s;
}
.feature-grid li:hover, .service-list li:hover, .event-calendar li:hover, .course-list li:hover {
  box-shadow: 0 8px 20px 0 #22394F, 0 2px 8px 0 #182128;
  border: 1.8px solid #7FB069;
  z-index: 5;
}
.feature-grid img, .service-list img, .event-calendar img, .course-list img {
  height: 46px;
  margin-bottom: 14px;
}

/**** Highlights, Lists, and Misc ****/
.course-highlights, .benefit-highlights, .event-highlights, .ebook-highlights, .success-stories {
  background: #21262D;
  color: #e2e8ee;
  border-left: 4px solid #7FB069;
  border-radius: 8px;
  padding: 20px 18px;
  margin-top: 22px;
  margin-bottom: 22px;
}
.course-highlights h3, .benefit-highlights h3, .ebook-highlights h3, .success-stories h3 {
  color: #7FB069;
  font-size: 1.12rem;
  margin-bottom: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.course-highlights ul, .benefit-highlights ul, .event-highlights ul, .ebook-highlights ul, .success-stories ul {
  margin-left: 10px;
}
.course-highlights li, .benefit-highlights li, .event-highlights li, .ebook-highlights li, .success-stories li {
  margin-bottom: 8px;
  font-size: 1rem;
  color: #bbc6d2;
}

/**** MAP and Contact Info ****/
.contact-info {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-info a img {
  height: 1em;
  vertical-align: middle;
  margin-right: 8px;
}
.map, .contact-note {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #7FB069;
  font-size: 1rem;
}
.map img {
  height: 24px;
}

/**** FAQ Accordion ****/
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-item {
  background: #232932;
  padding: 16px;
  border-radius: 8px;
  border-left: 4px solid #7FB069;
  transition: box-shadow 0.14s;
  margin-bottom: 12px;
  color: #e2e8ee;
}
.faq-item h3 {
  margin-bottom: 8px;
  color: #7FB069;
  font-size: 1.08rem;
  font-family: 'Montserrat', Arial, sans-serif;
}

/**** Misc Utility ****/
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.next-steps ul,
.text-section ul {
  margin-left: 14px;
}
.next-steps li,
.text-section li {
  margin-bottom: 7px;
}

/**** Confirmation message (thank-you) ****/
.confirmation-message {
  background: #7FB069;
  color: #22292c;
  border-radius: 8px;
  padding: 12px 24px;
  margin-bottom: 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  font-weight: 600;
}

/**** Hamburger Menu (mobile) ****/
.mobile-menu-toggle {
  display: none;
  background: #232932;
  color: #7FB069;
  border-radius: 8px;
  border: 2px solid #394b63;
  width: 46px;
  height: 46px;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, border 0.15s;
  cursor: pointer;
  z-index: 105;
  margin-left: 12px;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #7FB069;
  color: #21262D;
  border-color: #23405B;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  height: 100dvh;
  width: 100vw;
  background: #232932;
  box-shadow: 0 0 42px #181d2277;
  z-index: 1200;
  transform: translateX(-105vw);
  transition: transform 0.34s cubic-bezier(.77,0,.18,1);
  padding: 34px 26px 26px 28px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: #7FB069;
  color: #232932;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  margin-bottom: 24px;
  border: none;
  cursor: pointer;
  transition: background 0.17s, color 0.17s;
  z-index: 1300;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #23405B;
  color: #F5F2ED;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  margin-top: 18px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #F5F2ED;
  font-size: 1.13rem;
  font-weight: 700;
  background: none;
  padding: 13px 0 11px 0;
  margin-left: 4px;
  border-bottom: 2.5px solid #394b63;
  transition: background 0.2s, color 0.2s, border-bottom 0.2s;
  border-radius: 2px;
  min-width: 170px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #7FB069;
  background: #181d22;
  border-bottom: 2.5px solid #7FB069;
  outline: none;
}

/**** Responsive Breakpoints (mobile-first) ****/
@media (max-width: 1050px) {
  .main-nav {
    gap: 18px;
  }
  .feature-grid, .service-list, .event-calendar, .course-list {
    gap: 16px;
  }
  .team-profiles {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  .footer-nav, .footer-logo, .footer-contact {
    flex-basis: 100%;
    margin-bottom: 14px;
  }
  .container {
    max-width: 96vw;
    min-width: 0;
  }
}
@media (max-width: 768px) {
  header .container {
    height: 64px;
    padding-left: 8px;
    padding-right: 8px;
  }
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .mobile-menu {
    display: flex;
  }
  .container {
    max-width: 99vw;
    padding-left: 7px;
    padding-right: 7px;
  }
  .section {
    padding: 20px 4px;
    margin-bottom: 40px;
  }
  .content-grid, .team-profiles, .card-container, .testimonial-slider, .testimonial-list {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid, .service-list, .event-calendar, .course-list {
    flex-direction: column;
    gap: 12px;
  }
  .course-highlights, .benefit-highlights, .event-highlights, .ebook-highlights, .success-stories {
    padding: 15px 10px;
    margin-top: 12px;
    margin-bottom: 14px;
  }
  .hero-section,
  .cta-section,
  .features-section,
  .services-section {
    padding: 16px 0 16px 0;
    border-radius: 0;
  }
  .footer-logo img {
    height: 38px;
    margin-bottom: 0;
  }
}
@media (max-width: 500px) {
  h1, .h1 { font-size: 1.48rem; }
  h2, .h2 { font-size: 1.23rem; }
  h3, .h3 { font-size: 1.03rem; }
  .container { padding-left: 0; padding-right: 0; }
  .btn-primary, .btn-secondary {
    font-size: 0.89rem;
    padding: 9px 0;
    min-width: 97vw;
  }
  .mobile-nav a { font-size: 1rem; }
}
@media (max-width: 420px) {
  .mobile-menu {
    padding: 20px 6px 6px 10px;
  }
}

/**** Animations & Microinteractions ****/
.btn-primary, .btn-secondary, .main-nav a, .mobile-menu-toggle, .mobile-menu-close, .mobile-nav a {
  transition: background 0.18s, color 0.18s, box-shadow 0.25s, border 0.18s;
}
.card, .testimonial-card, .profile, .feature-grid li, .service-list li, .event-calendar li, .course-list li {
  transition: box-shadow 0.18s, border 0.18s;
}
.mobile-menu,
.mobile-menu.open,
.cookie-banner,
.cookie-banner.open,
.cookie-modal {
  transition: transform 0.33s cubic-bezier(.77,0,.18,1), opacity 0.25s;
}

/* =======================================================
   COOKIE CONSENT BANNER & MODAL
   ======================================================= */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #222731;
  color: #F5F2ED;
  z-index: 1800;
  box-shadow: 0 -6px 30px #0e1117aa;
  padding: 24px 16px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
  justify-content: space-between;
  min-height: 80px;
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.cookie-banner-text {
  flex: 1 1 0;
  font-size: 1.05rem;
  color: #F5F2ED;
  margin-right: 18px;
}
.cookie-banner .cookie-btn {
  margin-right: 8px;
}
.cookie-btn {
  background: #7FB069;
  color: #232932;
  border-radius: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 10px 26px;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  margin-left: 8px;
  margin-bottom: 2px;
  transition: background 0.18s, color 0.18s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #23405B;
  color: #F5F2ED;
  outline: 2px solid #7FB069;
}
.cookie-btn.settings {
  background: #23405B;
  color: #F5F2ED;
  border: 1px solid #7FB069;
}
.cookie-btn.settings:hover {
  background: #7FB069;
  color: #232932;
}

/* COOKIE MODAL */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 2000;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(16, 20, 24, 0.72);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  pointer-events: auto;
}
.cookie-modal {
  background: #232932;
  color: #F5F2ED;
  border-radius: 18px 18px 0 0;
  width: 98vw;
  max-width: 420px;
  padding: 32px 22px 22px 22px;
  box-shadow: 0 4px 22px #08101766;
  position: relative;
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
  z-index: 2100;
}
.cookie-modal.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.cookie-modal h3 {
  color: #7FB069;
  font-size: 1.16rem;
  margin-bottom: 12px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal .cookie-category {
  padding: 12px 0;
}
.cookie-modal label {
  font-size: 1.02rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #F5F2ED;
  margin-left: 4px;
}
.cookie-toggle {
  appearance: none;
  width: 34px;
  height: 18px;
  background: #394B63;
  border-radius: 16px;
  position: relative;
  outline: none;
  vertical-align: middle;
  margin-right: 7px;
  transition: background 0.18s;
}
.cookie-toggle:checked {
  background: #7FB069;
}
.cookie-toggle:before {
  content: '';
  position: absolute;
  left: 3px;
  top: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #F5F2ED;
  transition: left 0.18s;
}
.cookie-toggle:checked:before {
  left: 17px;
}
.cookie-modal .cookie-actions {
  margin-top: 23px;
  display: flex;
  flex-direction: row;
  gap: 12px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  padding: 10px 22px;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: #7FB069;
  color: #232932;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1.2rem;
  border: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  z-index: 2300;
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus {
  background: #23405B;
  color: #F5F2ED;
}

@media (max-width: 550px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    min-height: 90px;
    padding: 20px 4px 20px 8px;
  }
  .cookie-btn {
    margin-bottom: 6px;
    width: 100%;
    text-align: left;
  }
}

/* =======================================================
   ACCESSIBILITY FOCUS RINGS
   ======================================================= */
a:focus, button:focus, .btn-primary:focus, .btn-secondary:focus, .btn:focus {
  outline: 2px solid #7FB069 !important;
  outline-offset: 2px;
}

/* =======================================================
   INDUSTRIAL TEXTURE VARIATIONS
   (only subtle, for authenticity)
   ======================================================= */
.section, .feature-grid li, .service-list li, .event-calendar li, .card, .profile, .content-wrapper {
  /* Subtle vertical brushed metal texture (using repeating-linear-gradient) */
  background-image: repeating-linear-gradient(90deg, transparent, transparent 14px, #20252B 15px, transparent 21px, transparent 45px);
  background-size: 60px 60px;
}

/* For better contrast in testimonial sections */
.testimonials-section, .testimonial-list, .testimonial-slider {
  background: none;
}

/* Fixed min spacing for all cards/sections */
.section, .content-grid, .features-section, .services-section, .accordion, .testimonial-slider, .testimonial-list, .profile, .card, .feature-grid li,
.service-list li, .event-calendar li, .card-container, .team-profiles {
  margin-bottom: 20px;
}

/* Prevent any overlap */
.card, .testimonial-card, .profile, .feature-grid li {
  z-index: 1;
}

/* END */
