/* Amber Expedition – Professional Corporate CSS (Flexbox Only) */

/* ================= RESET & BASE STYLES ================= */
html {
  box-sizing: border-box;
  font-size: 100%;
  scroll-behavior: smooth;
}
*, *:before, *:after { box-sizing: inherit; }
body {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #1A2733;
  background: #F5F5F5;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: #234265; text-decoration: none; transition: color .2s; }
a:hover, a:focus { color: #F3A833; text-decoration: underline; }
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #234265;
  margin-top: 0;
}
h1 { font-size: 2.4rem; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.3rem; margin-bottom: 12px; }
p { margin-top: 0; margin-bottom: 1em; }
ul, ol { padding-left: 24px; margin-top: 0; margin-bottom: 1em; }
li { margin-bottom: 8px; }
b, strong { font-weight: 700; }

/* CSS RESET/NORMALIZE */
button, input, select, textarea { font: inherit; border-radius: 0; }
button { cursor: pointer; border: none; background: none; }
:focus { outline: 2px solid #F3A833; outline-offset: 2px; }


/* ================ FLEXBOX LAYOUTS & CONTAINERS ================ */
.container {
  width: 100%;
  max-width: 1200px;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 0px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0px;
  width: 100%;
}
.section { /* Enforced spacing pattern */
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(35,66,101,0.04);
}

.section:last-child { margin-bottom: 0; }


/* ================= MAIN HEADER & NAVIGATION ================= */
.main-header {
  background: #234265;
  color: #fff;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
}
.main-header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}
.main-header a img { height: 38px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.main-nav a {
  color: #fff;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 6px 8px;
  border-radius: 6px;
  transition: background .14s, color .2s;
  position: relative;
}
.main-nav a:not(.cta):hover,
.main-nav a:not(.cta):focus {
  background: #F3A833;
  color: #234265;
}
.main-nav a.cta {
  background: #F3A833;
  color: #234265;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 7px;
  margin-left: 8px;
  transition: background .2s, color .2s, box-shadow .2s;
  box-shadow: 0 2px 8px rgba(243,168,51,0.10);
}
.main-nav a.cta:hover,
.main-nav a.cta:focus {
  background: #234265;
  color: #F3A833;
  box-shadow: 0 4px 12px rgba(35,66,101,0.20);
}
/* Hide burger on desktop */
.mobile-menu-toggle {
  display: none;
  background: #F3A833;
  color: #234265;
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 1.7rem;
  border: none;
  margin-left: 18px;
  transition: background .2s, color .2s, box-shadow .2s;
  position: relative;
  z-index: 102;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #234265;
  color: #F3A833;
  box-shadow: 0 2px 8px rgba(35,66,101,0.13);
}

/* ============= MOBILE MENU STYLES ============== */
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: #234265;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: translateX(-100vw);
  transition: transform 0.36s cubic-bezier(.49,.03,.49,.95);
  will-change: transform;
  box-shadow: 4px 0 40px rgba(35,66,101,0.11);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: #F3A833;
  color: #234265;
  font-size: 2rem;
  margin: 28px 36px 0 0;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .18s, color .18s;
  position: relative;
  z-index: 1210;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #234265;
  color: #F3A833;
  box-shadow: 0 2px 10px rgba(35,66,101,0.16);
}
.mobile-nav {
  margin-top: 42px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px 48px 0 48px;
  gap: 22px;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 13px 0;
  width: 100%;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  transition: color .13s, background .18s;
}
.mobile-nav a.cta {
  background: #F3A833;
  color: #234265;
  padding: 15px 25px;
  border-radius: 8px;
  font-weight: 700;
  margin-top: 18px;
  border-bottom: none;
  transition: background .2s, color .2s, box-shadow .2s;
  box-shadow: 0 2px 8px rgba(243,168,51,0.12);
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #F3A833;
}
.mobile-nav a.cta:hover,
.mobile-nav a.cta:focus {
  background: #234265;
  color: #F3A833;
  box-shadow: 0 4px 14px rgba(243,168,51,0.16);
}

/* ================ HERO SECTIONS ================= */
.hero,
.thankyou-hero {
  background: linear-gradient(115deg, #234265 58%, #38648c 100%);
  color: #fff;
  padding: 60px 0;
  border-radius: 0 0 28px 28px;
  margin-bottom: 48px;
}
.hero .container,
.thankyou-hero .container {
  align-items: center;
  justify-content: center;
  min-height: 290px;
}
.hero .content-wrapper,
.thankyou-hero .content-wrapper {
  align-items: center;
  gap: 20px;
  text-align: center;
}
.hero h1,
.thankyou-hero h1 {
  color: #fff;
  font-size: 2.3rem;
  letter-spacing: -0.03em;
}
.hero .subheadline {
  font-size: 1.15em;
  margin-bottom: 20px;
  color: #F3A833;
  font-weight: 500;
}
.hero .cta, .thankyou-hero .cta {
  margin-top: 18px;
}

/* ==================== GENERAL CTAs ==================== */
.cta {
  width: 100%;
  display: inline-block;
  background: #F3A833;
  color: #234265;
  border: none;
  border-radius: 9px;
  padding: 14px 30px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.13rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 17px rgba(243,168,51,0.13);
  transition: background .19s, color .18s, box-shadow .15s, transform .12s cubic-bezier(0.44,0.01,0.5,1.15);
  margin: 0 0 0 8px;
}
.cta:hover,
.cta:focus {
  background: #234265;
  color: #F3A833;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 24px rgba(35,66,101,0.18);
}

/* ================ FEATURES, GRIDS, FLEX LAYOUTS ================ */
.features {
  padding-top: 40px;
}
.features .content-wrapper { gap: 20px; }

.feature-grid, .syllabus-grid, .team-profiles, .grid-support {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
  margin-bottom: 16px;
}

.feature {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(35,66,101,0.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 26px 24px;
  min-width: 220px;
  flex: 1 1 230px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.18s;
}

.feature:hover {
  box-shadow: 0 6px 28px rgba(35,66,101,0.12);
  transform: translateY(-4px) scale(1.025);
}
.feature img {
  width: 42px;
  height: 42px;
}

.module {
  flex: 1 1 260px;
  background: #F5F6FA;
  border-radius: 11px;
  margin-bottom: 20px;
  padding: 22px 20px 18px 20px;
  box-shadow: 0 2px 8px rgba(35,66,101,0.07);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow 0.13s;
}
.module:hover {
  box-shadow: 0 6px 26px rgba(35,66,101,0.10);
}

.support-feature {
  background: #F5F6FA;
  border-radius: 11px;
  padding: 24px 20px 16px 20px;
  margin-bottom: 20px;
  flex: 1 1 235px;
  box-shadow: 0 1px 6px rgba(35,66,101,0.07);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

/* ================== TESTIMONIALS ================== */
.testimonials { background: #F5F6FA; border-radius: 18px; }
.testimonials .content-wrapper { gap: 24px; }
.testimonial-slider, .testimonial-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  color: #1A2733;
  box-shadow: 0 2px 12px rgba(35,66,101,0.06);
  border-radius: 13px;
  padding: 26px 28px 22px 28px;
  min-width: 250px;
  max-width: 350px;
  margin-bottom: 20px;
  transition: box-shadow 0.16s, transform 0.16s;
  position: relative;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px rgba(35,66,101,0.11);
  transform: translateY(-2px) scale(1.018);
}
.testimonial-rating span {
  color: #F3A833;
  font-size: 1.22rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
}
blockquote {
  margin: 0 0 10px 0;
  font-style: italic;
  color: #234265;
  line-height: 1.6;
}
.testimonial-meta {
  margin: 0;
  font-size: .95em;
  color: #234265;
}
/* Trust signals */
.trust-signals {
  margin-top: 12px;
  color: #234265;
  background: #F9F9F9;
  font-weight: 500;
  border-radius: 9px;
  padding: 18px 23px;
  box-shadow: 0 2px 8px rgba(35,66,101,0.04);
}

.rating-overview {
  margin-top: 14px;
  color: #234265;
  font-size: 1.08em;
  font-weight: 600;
  background: #F5F5F5;
  border-radius: 8px;
  padding: 16px 22px;
}


/* ================ ABOUT / TEAM & INFO SECTIONS ================ */
.about .text-section {
  background: #F5F6FA;
  border-radius: 13px;
  padding: 28px 30px 22px 30px;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.team-profiles {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
  margin-bottom: 18px;
}
.team-member {
  flex: 1 1 260px;
  background: #fff;
  border-radius: 11px;
  box-shadow: 0 1px 7px rgba(35,66,101,0.07);
  margin-bottom: 20px;
  padding: 24px 23px 17px 23px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.instructor-highlights {
  margin-top: 16px;
  font-weight: 500;
  color: #234265;
  background: #F5F5F9;
  border-radius: 9px;
  padding: 15px 23px;
}


/* ================ COURSE/FORM SECTIONS ================ */
.registration-info, .legal-consent {
  background: #F5F6FA;
  border-radius: 12px;
  padding: 23px 25px 14px 25px;
  margin-top: 13px;
  margin-bottom: 13px;
}
.legal-consent {
  background: #fff9ec;
  border: 1px solid #ffe2ac;
}

.form {
  padding-bottom: 12px;
}


/* ================ FAQ ACCORDION ================= */
.accordion-faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  background: #fff;
  border-radius: 9px;
  padding: 22px 22px 15px 22px;
  box-shadow: 0 1px 6px rgba(35,66,101,0.08);
  margin-bottom: 20px;
  transition: box-shadow .13s;
}
.faq-item h3 { margin-bottom: 7px; color: #234265; font-size: 1.14em; }
.faq-item p { margin-bottom: 0; }


/* ================ CONTENT/CARD UTILITIES & GRIDS ================ */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  box-shadow: 0 2px 8px rgba(35,66,101,0.08);
  border-radius: 12px;
  position: relative;
  margin-bottom: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 200px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ================ LIST STYLES ================ */
.features ul, .learning-outcomes ul {
  list-style: none;
  margin: 0 0 10px 0;
  padding: 0;
}
.features li, .learning-outcomes li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1em;
  color: #234265;
  margin-bottom: 12px;
  font-weight: 500;
}
.features li img, .learning-outcomes li img {
  width: 20px;
  height: 20px;
}


/* ================ FOOTER ================ */
.site-footer {
  background: #234265;
  color: #fff;
  padding: 36px 0 26px 0;
  border-radius: 24px 24px 0 0;
  margin-top: 48px;
  box-shadow: 0 -2px 18px rgba(35,66,101,0.07);
  font-size: 1.04rem;
}
.site-footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}
.footer-menu a {
  color: #F3A833;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  transition: color .13s;
}
.footer-menu a:hover,
.footer-menu a:focus {
  color: #fff;
}

.contact-info p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 11px 0;
  color: #fff;
  font-size: .97rem;
}
.contact-info img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}
.social-links {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}
.social-links a img {
  width: 30px;
  height: 30px;
  transition: filter .16s, transform .15s;
  filter: grayscale(0.33) brightness(2);
}
.social-links a:hover img {
  filter: grayscale(0) brightness(1.5) drop-shadow(0 0 3px #F3A833);
  transform: scale(1.13);
}
.footer-branding {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 7px;
}
.footer-branding img {
  width: 38px;
  height: 38px;
}


/* ============== COOKIE CONSENT BANNER + MODAL ============== */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #234265;
  color: #fff;
  box-shadow: 0 -2px 18px rgba(35,66,101,0.10);
  z-index: 1600;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 24px 8vw 20px 8vw;
  font-size: 1.04rem;
  animation: slideUpBanner 0.5s cubic-bezier(.49,.03,.49,.95);
}
@keyframes slideUpBanner {
  from { transform: translateY(110%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner .cookie-text {
  flex: 1 1 320px;
  color: #fff;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1em;
  margin-right: 20px;
}
.cookie-consent-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
}
.cookie-btn {
  background: #F3A833;
  color: #234265;
  border-radius: 7px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  padding: 10px 22px;
  margin: 0;
  transition: background .19s, color .17s, box-shadow .14s;
}
.cookie-btn:hover,
.cookie-btn:focus {
  background: #fff;
  color: #234265;
}
.cookie-btn.settings {
  background: transparent;
  color: #F3A833;
  border: 1.5px solid #F3A833;
  box-shadow: none;
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  background: #F3A833;
  color: #234265;
}

/* Cookie Modal */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 1800;
  inset: 0;
  background: rgba(35,66,101,0.62);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModal 0.25s;
}
@keyframes fadeInModal { from { opacity: 0; } to { opacity: 1; } }
.cookie-modal {
  background: #fff;
  color: #1A2733;
  border-radius: 16px;
  box-shadow: 0 8px 42px rgba(35,66,101,0.18);
  padding: 36px 40px 30px 40px;
  min-width: 335px;
  max-width: 96vw;
  font-size: 1.0em;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  animation: slideDownCookie .4s cubic-bezier(.49,.03,.49,.95);
}
@keyframes slideDownCookie {
  from { transform: translateY(-60px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  margin-top: 0;
  color: #234265;
  font-size: 1.28em;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 0;
}
.cookie-category label {
  flex: 1 1 auto;
  font-weight: 600;
  color: #234265;
}
.cookie-category input[type=checkbox] {
  accent-color: #F3A833;
  width: 22px;
  height: 22px;
  vertical-align: middle;
}
.cookie-category .essential {
  color: #B0B5BD;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 15px;
}
.cookie-modal .close-modal-btn {
  background: transparent;
  color: #234265;
  border: 1.2px solid #234265;
  border-radius: 6px;
  padding: 10px 18px;
  font-weight: 600;
  font-size: .97em;
}
.cookie-modal .close-modal-btn:hover,
.cookie-modal .close-modal-btn:focus {
  background: #234265;
  color: #fff;
}


/* ================ OUTCOME ICONS/UTILITIES ================ */
.outcome-icons {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
  margin-top: 8px;
}
.outcome-icons img {
  width: 44px; height: 44px;
  filter: grayscale(.07) drop-shadow(0px 2px 3px #e6eefa24);
}

/* ================ ADDITIONAL COMPONENTS ================ */
.additional-info {
  background: #E6ECF6;
  border-left: 5px solid #234265;
  border-radius: 9px;
  padding: 16px 26px;
  margin: 20px 0 0 0;
}
.learning-outcomes {
  background: #F5F6FA;
  border-radius: 10px;
  padding: 18px 24px 13px 24px;
  margin-top: 18px;
}


/* =============== RESPONSIVE: MOBILE-FIRST =============== */
@media (max-width: 1024px) {
  .container { max-width: 98vw; }
  .hero .container, .thankyou-hero .container { min-height: 220px; }
}
@media (max-width: 820px) {
  .main-header .container,
  .site-footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .footer-menu, .contact-info, .footer-branding, .social-links {
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  html { font-size: 97%; }
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.28rem; }
  h3 { font-size: 1.08rem; }
  .main-header .container { flex-direction: row; gap: 10px; min-height: 54px; }
  .main-nav { display: none; }
  .mobile-menu-toggle { display: inline-flex; }
  .hero, .thankyou-hero { padding: 32px 0; border-radius: 0 0 15px 15px; }
  .hero h1, .thankyou-hero h1 { font-size: 1.5rem; }
  .feature-grid, .syllabus-grid, .team-profiles, .testimonial-slider, .testimonial-cards, .grid-support, .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .feature, .support-feature, .module, .team-member, .card { min-width: unset; }
  .outcome-icons img { width: 36px; height: 36px; }
  .site-footer { border-radius: 14px 14px 0 0; font-size: .98em; }
  .cookie-consent-banner { flex-direction: column; align-items: flex-start; gap: 15px; padding: 16px 15px; font-size: .98em; }
  .cookie-consent-banner .cookie-actions { flex-direction: column; gap: 10px; align-items: stretch; }
  .cookie-modal { min-width: 95vw; padding: 20px 10px 18px 10px; }
}
@media (max-width: 540px) {
  html { font-size: 93%; }
  .container { padding-left: 8px; padding-right: 8px; }
  .hero, .thankyou-hero, .section { padding-left: 7px; padding-right: 7px; }
  .footer-branding img { width: 30px; height: 30px; }
  .main-header a img { height: 26px; }
  .testimonial-card, .feature, .module, .support-feature, .team-member, .card {
    padding-left: 13px; padding-right: 13px;
  }
}


/* ================ UTILITIES ================ */
.visually-hidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

/* Accessibility & focus states */
a:focus-visible, button:focus-visible {
  outline: 2px solid #F3A833;
  outline-offset: 2px;
}

/* Hide scrollbars on mobile menu when not needed */
.mobile-menu { overflow-y: auto; -webkit-overflow-scrolling: touch; }

/* =============== END =============== */
