/* CSS RESET & NORMALIZATION */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html, body {
  height: 100%;
  width: 100%;
  font-size: 16px;
  background: #FAFAFA;
  color: #283845;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  scroll-behavior: smooth;
}
img, video {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  margin-left: 24px;
}
a {
  color: #22577A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #38A3A5;
}
button {
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0 32px 0;
}
th, td {
  padding: 12px 16px;
  border-bottom: 1px solid #E9ECEF;
  text-align: left;
}
th {
  background: #FFFAE5;
  font-weight: 700;
  font-size: 1rem;
}

/* BRAND FONTS / TYPOGRAPHY */
h1, .hero-section h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.75rem;
  font-weight: 700;
  color: #22577A;
  margin-bottom: 20px;
  line-height: 1.15;
}
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  color: #22577A;
  font-weight: 600;
  margin-bottom: 18px;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  color: #22577A;
  font-weight: 500;
  margin-bottom: 12px;
}
p, li, td, th, span, blockquote, strong {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #283845;
}
p {
  margin-bottom: 16px;
  line-height: 1.7;
}
ul, ol {
  margin-bottom: 18px;
  gap: 8px;
  display: flex;
  flex-direction: column;
  font-size: 1rem;
  color: #36545B;
}
blockquote {
  font-style: italic;
  color: #22577A;
  background: #EFF7F6;
  padding: 20px 32px;
  border-left: 4px solid #38A3A5;
  border-radius: 6px;
  margin-bottom: 14px;
  margin-top: 6px;
}

/* GENERAL SPACING & SECTIONS */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}
.section, main > section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFF;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(44, 62, 80, 0.06);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  gap: 12px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #FFF;
  border-radius: 10px;
  box-shadow: 0 1.5px 10px rgba(34,87,122,0.07);
  margin-bottom: 20px;
  padding: 32px 28px;
  position: relative;
  min-width: 270px;
  flex: 1 1 270px;
  transition: box-shadow .2s, transform .2s;
}
.card:hover, .card:focus {
  box-shadow: 0 4px 24px rgba(34, 87, 122, 0.15);
  transform: translateY(-2px) scale(1.01);
}
.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: flex-start;
  gap: 20px;
  padding: 20px;
  min-width: 260px;
  background: #FFF;
  border-radius: 10px;
  box-shadow: 0 2.5px 16px rgba(34,87,122,0.11);
  margin-bottom: 28px;
  border-left: 6px solid #38A3A5;
}
.testimonial-card blockquote {
  color: #22577A;
  font-size: 1.15rem;
  background: none;
  border: none;
  padding: 0;
  margin: 0 0 8px;
}
.testimonial-card strong {
  color: #22577A;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #FFF;
  border-radius: 8px;
  box-shadow: 0 1.5px 8px rgba(34,87,122,0.09);
  padding: 22px 18px;
}

/* FLEX LAYOUTS FOR FEATURE GRIDS, LISTS, PREVIEWS */
.feature-grid,
.course-preview-list,
.course-list,
.team-list,
.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-grid > div,
.course-preview-list > div,
.course-list > div,
.team-list > div,
.faq-list > div {
  background: #FFF;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(44, 62, 80, 0.07);
  padding: 28px 22px;
  min-width: 260px;
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow .2s;
  position: relative;
}
.feature-grid > div:hover,
.course-preview-list > div:hover,
.course-list > div:hover,
.team-list > div:hover {
  box-shadow: 0 4px 24px rgba(34, 87, 122, 0.13);
}

.instructor-profile .expertise-tags {
  display: inline-block;
  background: #EFF7F6;
  color: #38A3A5;
  border-radius: 14px;
  padding: 2px 14px;
  margin-bottom: 10px;
  font-size: 0.97rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
}

.faq-item {
  background: #EFF7F6;
  border-radius: 8px;
  padding: 18px 14px;
  margin-bottom: 8px;
  border-left: 4px solid #38A3A5;
}
.faq-item h3 {
  margin-bottom: 6px;
  font-size: 1.08rem;
  color: #22577A;
}
.faq-item p {
  margin-bottom: 0;
  font-size: 1rem;
  color: #283845;
}

.course-list > div ul {
  margin: 14px 0 0 0;
}
.course-list > div li {
  margin-bottom: 8px;
}

/* CTA Section */
.cta-section {
  background: #22577A;
  color: #FFF;
  text-align: center;
  border-radius: 14px;
  box-shadow: 0 3px 16px rgba(34,87,122,0.13);
  padding: 44px 22px;
  margin-bottom: 40px;
}
.cta-section h2,
.cta-section p {
  color: #FFF;
}

/* HERO SECTION */
.hero-section {
  background: #FFFAE5;
  border-radius: 14px;
  box-shadow: 0 3px 16px rgba(34,87,122,0.09);
  padding: 48px 0 44px 0;
  margin-bottom: 50px;
}
.hero-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-section .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 18px;
}

/* BUTTONS & LINKS */
.btn-primary, .feature-grid a.btn-primary, .course-preview-list a.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #22577A;
  color: #FFF !important;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  border: none;
  border-radius: 999px;
  padding: 12px 36px;
  box-shadow: 0 1.5px 7px rgba(56,163,165,0.12);
  transition: background 0.2s, box-shadow 0.18s, transform 0.18s;
  cursor: pointer;
  margin-top: 12px;
  text-decoration: none !important;
}
.btn-primary:hover, .btn-primary:focus {
  background: #38A3A5;
  color: #FFF;
  box-shadow: 0 3px 16px rgba(33,87,122,0.14);
  transform: translateY(-2px) scale(1.03);
}
.desktop-nav a.btn-primary {
  margin-left: 18px;
}

/* NAVIGATION STYLES */
header {
  background: #FFF;
  box-shadow: 0 2px 10px rgba(52, 72, 90, 0.06);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0;
}
.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
  padding: 20px 0 10px 0;
}
.desktop-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #22577A;
  font-weight: 500;
  padding: 6px 0;
  position: relative;
  transition: color .15s;
}
.desktop-nav a:not(.btn-primary):hover, .desktop-nav a:not(.btn-primary):focus {
  color: #38A3A5;
}
.desktop-nav a.active, .desktop-nav a[aria-current="page"] {
  border-bottom: 2.5px solid #38A3A5;
}
.desktop-nav img {
  height: 34px;
  margin-right: 24px;
}

/* MOBILE BURGER MENU */
.mobile-menu-toggle {
  display: none;
  background: #EFF7F6;
  color: #22577A;
  font-size: 2rem;
  border-radius: 8px;
  padding: 6px 14px;
  margin-left: auto;
  margin-right: 16px;
  z-index: 201;
  border: 2px solid #38A3A5;
  transition: background .18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #38A3A5;
  color: #FFF;
  border-color: #22577A;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 86vw;
  max-width: 330px;
  background: #FFF;
  box-shadow: -3px 0 30px rgba(34,87,122,0.16);
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.29s cubic-bezier(.55,.01,.3,1);
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 30px 20px 20px 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  color: #22577A;
  background: none;
  border: none;
  padding: 4px 10px;
  margin-bottom: 24px;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.12rem;
  color: #22577A;
  font-weight: 500;
  padding: 12px 0 8px 0;
  border-radius: 8px;
  transition: background .14s, color .14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #EFF7F6;
  color: #38A3A5;
}

/* Show/hide nav on breakpoints */
@media (max-width: 1000px) {
  .desktop-nav { display: none; }
  .mobile-menu-toggle { display: block; }
}
@media (min-width: 1001px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* FOOTER */
footer {
  background: #FFF;
  padding: 38px 12px 32px 12px;
  border-top: 1.5px solid #D6EAEA;
  margin-top: 40px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
  margin-bottom: 18px;
}
.footer-nav a {
  color: #22577A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  transition: color .16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #38A3A5;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  align-items: center;
  margin-bottom: 12px;
  color: #283845;
  font-size: 1rem;
}
.footer-contact img {
  height: 20px;
  margin-right: 7px;
  vertical-align: middle;
}
.brand-tagline {
  display: block;
  text-align: center;
  margin-top: 10px;
  font-size: 0.96rem;
  color: #36545B;
  font-family: 'Montserrat', Arial, sans-serif;
  opacity: .76;
}

/* SCHEDULE, FILTER BUTTONS */
.filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
  font-size: 1.09rem;
}
.filter-options button {
  background: #EFF7F6;
  color: #22577A;
  border: 1px solid #38A3A5;
  padding: 6px 20px;
  border-radius: 999px;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: background .16s, color .16s, border .13s;
  margin-left: 0;
}
.filter-options button:hover, .filter-options button:focus {
  background: #38A3A5;
  color: #FFF;
  border-color: #22577A;
}

/* CONTACT & MAP */
.contact-details {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 22px;
  background: #FFF;
  padding: 18px 15px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(56,163,165,0.09);
  margin-bottom: 18px;
}
.contact-details img {
  display: inline;
  vertical-align: middle;
  height: 17px;
  margin-right: 8px;
}
.map-embed {
  margin-top: 16px;
  background: #EFF7F6;
  border-radius: 10px;
  padding: 18px 16px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
}

/* TIMELINE ON ABOUT PAGE */
.timeline {
  background: #FFF;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(44,62,80,0.07);
  padding: 20px 16px;
  margin-bottom: 18px;
}
.timeline h3 {
  margin-bottom: 8px;
}
.timeline ul {
  margin-bottom: 0;
}
.timeline li {
  margin-bottom: 7px;
  color: #36545B;
  font-size: 1rem;
}

/* COURSE PREVIEW & LISTS */
.course-preview-list a {
  margin-top: 8px;
  font-size: 1rem;
  font-weight: 500;
  color: #38A3A5;
  border-radius: 6px;
  padding: 2px 8px;
  transition: background .14s, color .13s;
  background: #EFF7F6;
  text-decoration: underline dashed #38A3A5 1.5px;
}
.course-preview-list a:hover, .course-preview-list a:focus {
  background: #22577A;
  color: #FFF;
}

.course-list {
  margin-top: 18px;
  margin-bottom: 18px;
}

/* TESTIMONIALS PAGE */
.testimonial-card span {
  color: #283845;
  font-size: 1rem;
  margin-bottom: 5px;
}
.testimonial-card:last-child {
  margin-bottom: 0;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}

/* COOKIES BANNER (FIXED BOTTOM) */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #FFF;
  border-top: 2px solid #38A3A5;
  box-shadow: 0 -4px 24px rgba(34,87,122,0.13);
  padding: 22px 18px;
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #283845;
  animation: slideUpBanner 0.32s cubic-bezier(.6,.01,.29,1);
}
@keyframes slideUpBanner {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 13px;
}
.cookie-banner button {
  padding: 7px 22px;
  border-radius: 7px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: background .14s, color .14s;
  background: #EFF7F6;
  color: #22577A;
}
.cookie-banner button.accept {
  background: #38A3A5;
  color: #FFF;
  border: 1.5px solid #22577A;
}
.cookie-banner button.reject {
  background: #FFFAE5;
  color: #283845;
  border: 1.5px solid #38A3A5;
}
.cookie-banner button.settings {
  background: #EFF7F6;
  color: #22577A;
  border: 1.5px solid #38A3A5;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  filter: brightness(0.95);
  background: #22577A;
  color: #FFF;
}

/* COOKIE SETTINGS MODAL */
.cookie-modal {
  position: fixed;
  z-index: 3000;
  left: 0; right: 0; top: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(56,163,165, 0.23);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInCookieModal .25s;
}
@keyframes fadeInCookieModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: #FFF;
  padding: 42px 26px;
  border-radius: 17px;
  box-shadow: 0 5px 32px rgba(34,87,122,0.30);
  min-width: 290px;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.cookie-modal-content h2 {
  font-size: 1.32rem;
  color: #22577A;
  margin-bottom: 6px;
}
.cookie-option-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-option {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}
.cookie-option input[type='checkbox'] {
  scale: 1.25;
}
.cookie-option .essential {
  color: #38A3A5;
  font-weight: 500;
}
.cookie-modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}
.cookie-modal-content button {
  padding: 7px 20px;
  border-radius: 7px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: background .14s, color .15s;
  background: #38A3A5;
  color: #FFF;
  cursor: pointer;
}
.cookie-modal-content button.secondary {
  background: #EFF7F6;
  color: #22577A;
  border: 1.5px solid #38A3A5;
}
.cookie-modal-content button:hover {
  background: #22577A;
  color: #FFF;
}
.cookie-modal-content button.secondary:hover {
  background: #38A3A5;
  color: #FFF;
}

/* RESPONSIVE TYPOGRAPHY/GRID: MOBILE FIRST */
@media (max-width: 768px) {
  h1, .hero-section h1 { font-size: 1.9rem; }
  h2 { font-size: 1.32rem; }
  h3 { font-size: 1.1rem; }
  .container { padding: 0 8px; }

  .section, main > section { padding: 27px 8px; margin-bottom: 38px; }
  .content-wrapper, .feature-grid, .card-container, .course-list, .team-list, .faq-list {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid > div,
  .course-preview-list > div,
  .course-list > div,
  .team-list > div {
    min-width: 199px;
    width: 100%;
    padding: 16px 10px;
  }
  .cta-section {
    padding: 32px 9px;
    margin-bottom: 28px;
    border-radius: 10px;
  }
  .hero-section { padding: 30px 0 28px 0; border-radius: 10px; }

  .testimonial-slider,
  .testimonial-card { min-width: unset; gap: 10px; }

  .footer-nav, .footer-contact {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    text-align: left;
  }
  .desktop-nav a.btn-primary { margin-left: 0; }
}
@media (max-width: 480px) {
  .cookie-modal-content { padding: 21px 7px; }
  .cookie-banner { flex-direction: column; gap: 12px; text-align: center; }
}

/* MICRO-INTERACTIONS & SMOOTH TRANSITIONS */
.card, .feature-grid > div, .course-preview-list > div,
.course-list > div, .team-list > div {
  transition: box-shadow .19s, transform .15s;
}
.card:active, .feature-grid > div:active, .course-preview-list > div:active,
.course-list > div:active, .team-list > div:active {
  transform: scale(.985);
}
.btn-primary, .desktop-nav a.btn-primary, .filter-options button, .cookie-banner button, .cookie-modal-content button {
  transition: background .18s, color .18s, box-shadow .17s, transform .13s;
}

::-webkit-scrollbar {
  width: 9px;
  background: #EFF7F6;
}
::-webkit-scrollbar-thumb {
  background: #D6EAEA;
  border-radius: 7px;
}

/* Z-INDEX ENSURING LAYERING (MOBILE, COOKIE) */
header { z-index: 100; }
.mobile-menu { z-index: 2000 !important; }
.cookie-banner { z-index: 2500; }
.cookie-modal { z-index: 3000; }

/* FOCUS STYLES FOR ACCESSIBILITY */
a:focus, button:focus, .btn-primary:focus {
  outline: 2.5px solid #38A3A5;
  outline-offset: 2.5px;
}

/* NO GRID OR COLUMNS USED - FLEXBOX ONLY */
