/*! CSS RESET & BASELINE --------------------------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font-size: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: #fff;
  color: #263A4D;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #8CC6E8;
  outline-offset: 2px;
}
ul, ol {
  list-style: none;
}
button, .cta-button {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
}

/* BRAND FONTS ----------------------------------------- */
h1, h2, h3, h4, h5, h6, .cta-button {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  color: #263A4D;
  font-weight: 700;
  letter-spacing: 0.02em;
}

h1 { font-size: 2.5rem; line-height: 1.15; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }
h4 { font-size: 1.1rem; }

p, li, span {
  color: #263A4D;
  font-size: 1rem;
}
p { margin-bottom: 12px; }
ul, ol { margin-bottom: 14px; }

strong {
  font-weight: 600;
}

/* MAIN LAYOUT STRUCTURE ------------------------------- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.section,
.hero-section,
.features-section,
.about-section,
.services-section,
.team-section,
.contact-section,
.thank-you-section,
.legal-section,
.testimonials-section,
.resources-list-section,
.callout-section,
.faq-section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

@media (max-width: 768px) {
  .section,
  .hero-section,
  .features-section,
  .about-section,
  .services-section,
  .team-section,
  .contact-section,
  .thank-you-section,
  .legal-section,
  .testimonials-section,
  .resources-list-section,
  .callout-section,
  .faq-section {
    padding: 28px 10px;
    margin-bottom: 36px;
  }
}

/* HEADER ----------------------------------------------- */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(38, 58, 77, 0.04);
  border-bottom: 1px solid #F2F6FA;
  position: relative;
  z-index: 100;
}
header > a img {
  height: 48px;
  margin-right: 28px;
}
header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 18px 0;
  position: relative;
}
header nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
header nav a {
  color: #263A4D;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  padding: 8px 8px;
  border-radius: 6px;
  transition: background 0.2s, color 0.18s;
  font-weight: 500;
}
header nav a:hover, header nav a.active {
  background: #F2F6FA;
  color: #8CC6E8;
}
.cta-button {
  background: #263A4D;
  color: #fff;
  border: none;
  padding: 10px 28px;
  border-radius: 28px;
  font-size: 1rem;
  font-weight: 700;
  margin-left: auto;
  transition: background 0.18s, box-shadow 0.18s;
  box-shadow: 0 2px 16px rgba(38,58,77,0.08);
  cursor: pointer;
  outline: none;
  display: inline-block;
  letter-spacing: 0.03em;
}
.cta-button:hover,
.cta-button:focus {
  background: #8CC6E8;
  color: #263A4D;
  box-shadow: 0 4px 20px rgba(140,198,232,0.13);
}

/* MOBILE HEADER NAV ------------------------------------- */
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2rem;
  color: #263A4D;
  margin-left: 16px;
  display: none;
  cursor: pointer;
  padding: 4px 10px;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(38,58,77,0.92);
  transform: translateX(-100%);
  transition: transform 0.34s cubic-bezier(0.7,0.21,0.34,1);
  z-index: 1500;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 36px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.1rem;
  position: absolute;
  top: 22px;
  right: 24px;
  cursor: pointer;
  z-index: 16;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 56px;
  padding-left: 40px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.22rem;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  padding: 10px 0;
  border-radius: 8px;
  transition: background 0.2s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #8CC6E8;
  color: #263A4D;
}
@media (max-width: 1000px) {
  header nav {
    display: none;
  }
  .cta-button {
    margin-right: 12px;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}

@media (min-width: 1001px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* HERO & MAIN SECTIONS---------------------------------- */
.hero-section {
  background: #F9FBFD;
  border-radius: 16px;
  box-shadow: 0 3px 36px rgba(38,58,77,0.07);
  margin-bottom: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0;
}
.hero-section .content-wrapper {
  align-items: center;
}
.hero-section h1 {
  font-size: 2.8rem;
  margin-bottom: 18px;
  color: #263A4D;
}
.hero-section p {
  color: #263A4D;
  font-size: 1.13rem;
  max-width: 620px;
  margin: 0 auto 28px auto;
}

@media (max-width: 657px) {
  .hero-section h1 {
    font-size: 1.6rem;
    margin-bottom: 14px;
  }
  .hero-section p {
    font-size: 1rem;
    margin-bottom: 18px;
  }
}

/* FLEXBOX GRIDS & LAYOUTS ------------------------------- */
.feature-grid, .course-types-grid, .instructor-profiles, .instructor-profiles-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 24px;
  margin-bottom: 12px;
}
.course-types-grid, .instructor-profiles-grid {
  gap: 24px;
  margin-bottom: 20px;
}
.feature-item {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(38,58,77,.06);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 220px;
  flex: 1 1 256px;
}
.feature-item img {
  height: 42px;
  margin-bottom: 8px;
  filter: drop-shadow(0 2px 10px rgba(38, 58, 77, 0.04));
}
@media (max-width: 768px) {
  .feature-grid, .course-types-grid, .instructor-profiles, .instructor-profiles-grid {
    flex-direction: column;
    gap: 22px;
  }
}

.instructor-profile {
  background: #F9FBFD;
  border-radius: 14px;
  box-shadow: 0 1px 8px rgba(38,58,77,0.06);
  flex: 1 1 340px;
  padding: 20px 16px;
  margin-bottom: 20px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}


/* CARDS & FLEXBOX CONTAINERS ---------------------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(38,58,77,0.06);
  padding: 22px 18px;
  flex: 1 1 290px;
  transition: box-shadow 0.16s;
}
.card:hover {
  box-shadow: 0 4px 36px rgba(38,58,77,0.13);
}
.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;
}
@media (max-width: 768px) {
  .content-grid,
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
}


/* TESTIMONIALS ----------------------------------------- */
.testimonials-section {
  background: #F9FBFD;
  border-radius: 14px;
  margin-bottom: 60px;
}
.testimonials-section .content-wrapper {
  align-items: flex-start;
  gap: 20px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(38,58,77,0.07);
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 32px rgba(38,58,77,0.16);
}
.testimonial-card p,
.testimonial-card span {
  color: #263A4D;
}
.testimonial-card p {
  font-size: 1.1rem;
  font-style: italic;
}
.testimonial-card span {
  font-size: 0.94rem;
  font-weight: 500;
  color: #8CC6E8;
}
@media (max-width: 768px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 10px;
  }
}

/* ADDRESS & SOCIALS ------------------------------------- */
.address-block {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.address-block p img {
  vertical-align: middle;
  height: 20px;
  margin-right: 8px;
  filter: grayscale(70%);
}
.social-links {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 10px;
}
.social-links a img {
  height: 32px;
  width: 32px;
  transition: filter 0.18s;
  filter: grayscale(60%) brightness(1.1);
}
.social-links a:hover img {
  filter: none;
  opacity: 0.7;
}

/* FOOTER ------------------------------------------------ */
footer {
  width: 100%;
  background: #F9FBFD;
  border-top: 1px solid #E9F1F6;
  box-shadow: 0 -3px 24px rgba(38,58,77,0.026);
  padding: 0 0 10px 0;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 28px;
  padding-bottom: 10px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px;
  width: 100%;
  padding: 0;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer nav a {
  color: #263A4D;
  font-size: 0.98rem;
  margin-bottom: 4px;
  transition: color 0.2s;
}
footer nav a:hover {
  color: #8CC6E8;
}
footer .contact-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.96rem;
}
footer .contact-details p img {
  height: 16px;
  vertical-align: middle;
  margin-right: 6px;
  filter: grayscale(70%);
}
footer .social-links {
  gap: 12px;
  margin-top: 8px;
}
@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* ENROLLMENT AND CALL TO ACTION GRIDS ------------------- */
.enrollment-cta, .registration-cta {
  margin-top: 18px;
  display: flex;
  flex-direction: row;
  gap: 14px;
}
@media (max-width: 600px) {
  .enrollment-cta, .registration-cta {
    flex-direction: column;
    gap: 8px;
  }
}

/* FAQ ACCORDION ----------------------------------------- */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 16px;
}
.faq-item {
  background: #F9FBFD;
  border-radius: 12px;
  box-shadow: 0 1px 8px rgba(38,58,77,0.05);
  padding: 18px 16px;
  transition: box-shadow 0.12s;
}
.faq-item h3 {
  font-size: 1.07rem;
  margin-bottom: 7px;
  font-weight: 600;
}
.faq-item p {
  font-size: 0.98rem;
}
.faq-item:hover {
  box-shadow: 0 3px 22px rgba(140,198,232,0.10);
}

/* LIST BULLETS ------------------------------------------ */
ul, ol {
  padding-left: 20px;
  margin-bottom: 12px;
}
ul li::marker, ol li::marker {
  color: #8CC6E8;
}
ul li, ol li {
  margin-bottom: 8px;
  color: #263A4D;
  line-height: 1.7;
}

/* MODAL AND COOKIE CONSENT ------------------------------ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #263A4D;
  color: #fff;
  padding: 24px 10px 18px 10px;
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 2500;
  box-shadow: 0 -4px 16px rgba(38, 58, 77, 0.13);
  justify-content: center;
  transition: transform 0.32s;
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner-text {
  font-size: 1rem;
  max-width: 440px;
  color: #fff;
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 10px;
}
.cookie-btn {
  background: #8CC6E8;
  color: #263A4D;
  border: none;
  border-radius: 20px;
  padding: 9px 24px;
  font-size: 0.99rem;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.19s, color 0.17s, box-shadow 0.17s;
  margin-right: 4px;
}
.cookie-btn:last-child {
  margin-right: 0;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #FFE8B6;
  color: #263A4D;
  box-shadow: 0 2px 8px rgba(255,232,182,0.17);
}
.cookie-btn.settings {
  background: #263A4D;
  color: #8CC6E8;
  border: 1px solid #8CC6E8;
  margin-left: 10px;
}
.cookie-btn.settings:hover {
  background: #8CC6E8;
  color: #263A4D;
}
/* Cookie Preference Modal */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(38,58,77,0.50);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.24s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  color: #263A4D;
  border-radius: 18px;
  box-shadow: 0 8px 36px rgba(38,58,77,0.15);
  max-width: 420px;
  width: 96%;
  padding: 34px 20px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  z-index: 3500;
  animation: modalin 0.35s cubic-bezier(.68,.03,.43,1);
}
@keyframes modalin {
  from {transform: scale(0.95) translateY(30px); opacity:0;}
  to {transform: scale(1) translateY(0); opacity:1;}
}
.cookie-modal h3 {
  font-size: 1.28rem;
  margin-bottom: 10px;
}
.cookie-category-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-category label {
  font-size: 1rem;
  font-weight: bold;
}
.cookie-category input[type="checkbox"] {
  accent-color: #8CC6E8;
  width: 18px;
  height: 18px;
}
.cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 18px;
}
.cookie-modal .cookie-btn {
  padding: 8px 22px;
}
.cookie-modal .cookie-btn.settings {
  margin-left: 0;
}
.cookie-modal .cookie-btn:last-child {
  margin-right: 0;
}
@media (max-width: 569px) {
  .cookie-modal {
    max-width: 99vw;
    padding: 16px 6px 18px 10px;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    padding: 18px 7px 14px 7px;
  }
  .cookie-banner-buttons {
    flex-direction: column;
    gap: 9px;
  }
}

/* MICRO INTERACTIONS & ANIMATION ------------------------ */
.cta-button, .cookie-btn {
  transition: background 0.2s, color 0.18s, box-shadow 0.13s, transform 0.11s;
}
.cta-button:active, .cookie-btn:active {
  transform: scale(0.96);
}
.card, .feature-item, .testimonial-card, .instructor-profile {
  transition: box-shadow 0.18s, transform 0.14s;
}
.card:hover, .feature-item:hover, .testimonial-card:hover, .instructor-profile:hover {
  box-shadow: 0 4px 28px rgba(38,58,77,0.11);
  transform: translateY(-2px);
}

/* VISUAL SEPARATORS ------------------------------------- */
hr {
  border: none;
  height: 1px;
  background: #E8EAEC;
  margin: 28px 0;
}

/* UTILITIES --------------------------------------------- */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-16 { margin-top: 16px !important; }
.mb-16 { margin-bottom: 16px !important; }
.text-center { text-align: center; }
.text-right { text-align: right; }

/* COLORS ------------------------------------------------ */
.bg-primary { background: #263A4D !important; color: #fff !important; }
.bg-secondary { background: #8CC6E8 !important; color: #263A4D !important; }
.bg-accent { background: #FFE8B6 !important; }
.text-primary { color: #263A4D !important; }
.text-secondary { color: #8CC6E8 !important; }
.text-accent { color: #FFE8B6 !important; }

/* RESPONSIVE TYPOGRAPHY --------------------------------- */
@media (max-width: 575px) {
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.12rem; }
  h3 { font-size: 1rem; }
  body { font-size: 15px; }
}

/* ACCESSIBILITY ----------------------------------------- */
:focus {
  outline: 2px solid #8CC6E8;
  outline-offset: 1px;
}

/* CUSTOM SCROLLBAR (minimal) ---------------------------- */
::-webkit-scrollbar { width: 8px; background: #F9FBFD; }
::-webkit-scrollbar-thumb { background: #E0ECF4; border-radius: 5px; }

/* Hide mobile menu on desktop (safety) ------------------ */
@media (min-width: 1001px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}
