/* RESET & BASE ------------------------------- */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  height: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
}
body {
  min-height: 100vh;
  background: #FFF7F3;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  color: #23213B;
  font-size: 1rem;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-tap-highlight-color: transparent;
}
img {
  max-width: 100%;
  display: block;
  border-radius: 12px;
}
ul, ol {
  margin: 16px 0 16px 20px;
  padding-left: 18px;
}
li {
  margin-bottom: 8px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial Rounded MT Bold', Arial, sans-serif;
  color: #23213B;
  font-weight: 700;
  margin-bottom: 18px;
  line-height: 1.2;
}
h1 { font-size: 2.4rem; margin-bottom: 20px; }
h2 { font-size: 1.8rem; margin-bottom: 18px; }
h3 { font-size: 1.3rem; }
h4, h5, h6 { font-size: 1.1rem; }
p { margin-bottom: 14px; }
a { color: #11998E; text-decoration: none; transition: color 0.18s ease; }
a:hover, a:focus { color: #F16A36; text-decoration: underline; }
strong { font-weight: 700; }

/* CONTAINER ------------------------------- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
}

/* HEADER ------------------------------- */
header {
  background: #FFF2E3;
  box-shadow: 0 2px 12px 0 rgba(244, 158, 63, 0.06);
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
  position: sticky;
  top: 0;
  z-index: 50;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 18px;
}
header a img {
  height: 42px;
  width: auto;
  border-radius: 10px;
}

.main-nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: #23213B;
  border-radius: 18px;
  padding: 6px 16px;
  transition: background 0.15s, color 0.15s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #FFD7B7;
  color: #F16A36;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 32px;
  padding: 14px 30px;
  min-width: 120px;
  background: #FFBA81;
  color: #23213B;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 2px 10px 0 rgba(250, 174, 85, 0.12);
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  margin-left: 10px;
}
.btn.primary {
  background: #F16A36;
  color: #FFF7F3;
  box-shadow: 0 2px 10px 0 rgba(241, 106, 54, .14);
}
.btn:hover, .btn:focus {
  background: #FF9A56;
  color: #23213B;
  box-shadow: 0 6px 20px 0 rgba(241, 106, 54, .18);
}
.btn.primary:hover, .btn.primary:focus {
  background: #11998E;
  color: #FFFFFF;
}

/* Burger Menu Button */
.mobile-menu-toggle {
  display: none;
  background: #F16A36;
  color: #FFF7F3;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  margin-left: 16px;
  transition: background 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #11998E;
  color: #fff;
}

@media (max-width: 950px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* MOBILE MENU ------------------------ */
.mobile-menu {
  position: fixed;
  background: #FFF2E3;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 300;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 32px;
  padding-left: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-100vw);
  transition: transform 0.3s cubic-bezier(.6,.04,.98,.34), opacity 0.2s;
}
.mobile-menu.active {
  opacity: 1;
  pointer-events: all;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #F16A36;
  align-self: flex-end;
  margin-right: 28px;
  margin-bottom: 16px;
  cursor: pointer;
  border-radius: 50%;
  padding: 2px 14px 4px 14px;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #FFD1BF;
  color: #23213B;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 12px;
  padding-left: 38px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  color: #23213B;
  padding: 12px 14px 12px 0;
  border-radius: 10px;
  margin-bottom: 2px;
  transition: background 0.18s, color 0.18s;
  letter-spacing: 0.01em;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FFD7B7;
  color: #F16A36;
}

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

/* MAIN & LAYOUT ------------------------------- */
main {
  flex: 1 1 auto;
}
.content-wrapper {
  margin: 0 auto;
  max-width: 860px;
}

section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: 22px;
  box-shadow: 0 2px 18px 0 rgba(241, 106, 54, 0.04);
}
/* Hero Section */
.hero {
  background: #FFEDDF;
  border-radius: 32px;
  box-shadow: 0 4px 32px 0 rgba(241, 106, 54, 0.09);
  margin-bottom: 70px;
}
.hero h1 {
  color: #F16A36;
  font-size: 2.4rem;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}
.hero p {
  color: #23213B;
}
@media (max-width: 600px) {
  .hero {
    padding: 28px 10px;
    margin-bottom: 40px;
  }
}

/* FEATURES / CARDS / GRIDS ------------------ */
.features-grid, .instructor-grid, .blog-post-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
  margin-bottom: 18px;
  justify-content: flex-start;
}
.features-grid > div, .instructor-grid > div, .blog-post-list > article {
  background: #FFF7F3;
  border-radius: 20px;
  box-shadow: 0px 2px 16px 0 rgba(244, 158, 63, 0.13);
  padding: 32px 20px 24px 20px;
  flex: 1 1 210px;
  min-width: 220px;
  max-width: 305px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.18s;
  position: relative;
}
.features-grid > div:hover, .instructor-grid > div:hover, .blog-post-list > article:hover {
  box-shadow: 0 10px 38px 0 rgba(241,106,54,.17);
  transform: translateY(-3px) scale(1.017);
  z-index: 2;
}
.features-grid img {
  height: 48px;
  width: 48px;
  margin-bottom: 16px;
}
.features-grid h3, .instructor-grid h3 {
  font-size: 1.15rem;
  color: #F16A36;
  margin-bottom: 6px;
}
.features-grid p, .instructor-grid p {
  font-size: 1rem;
  color: #23213B;
  margin-bottom: 4px;
}

/* Content Section Patterns */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #FFF7F3;
  border-radius: 18px;
  padding: 28px 20px;
  margin-bottom: 20px;
  box-shadow: 0 1px 8px 0 rgba(250, 174, 85, 0.07);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s, box-shadow 0.18s;
}
.card:hover {
  box-shadow: 0 8px 24px 0 rgba(241,106,54,.12);
  transform: translateY(-2px) scale(1.012);
}

.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;
  background: #FFF7F3;
  border-radius: 20px;
  box-shadow: 0 2px 12px 0 rgba(241,106,54,0.11);
  margin-bottom: 20px;
  font-style: italic;
  color: #23213B;
  flex-direction: column;
  transition: box-shadow 0.16s, transform 0.15s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px 0 rgba(241,106,54,0.21);
  transform: scale(1.013);
}
.testimonial-card strong {
  color: #F16A36;
}
.testimonial-card span {
  color: #F6A12E;
  font-size: 1.2rem;
  margin-left: 9px;
}
.testimonial-card > div {
  font-style: normal;
  font-size: 1rem;
  margin-top: 8px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.blog-categories {
  margin-top: 20px;
  color: #11998E;
  font-size: 1.05rem;
  font-weight: 600;
}
.featured-article {
  background: #FFE9CE;
  border-left: 7px solid #F16A36;
  padding: 18px 32px;
  border-radius: 12px;
  margin: 32px 0 0 0;
  box-shadow: 0 1px 8px rgba(241,106,54,0.05);
}
.featured-article h3 {
  margin: 0 0 9px 0;
  color: #F16A36;
}

.course-list li {
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid #FFEDDF;
  font-size: 1.08rem;
}
.course-list strong {
  color: #11998E;
}
.course-list span {
  color: #F16A36;
  margin-left: 8px;
  font-size: 0.98rem;
  font-weight: 500;
}

/* Form, Inputs, etc. - placeholder pattern (not in HTML above) */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  border-radius: 12px;
  border: 1px solid #FFD7B7;
  background: #FFFFFF;
  padding: 10px 14px;
  margin-bottom: 16px;
  width: 100%;
  transition: border-color 0.14s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #F16A36;
}

/* FOOTER ------------------ */
footer {
  background: #FFF2E3;
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  padding: 27px 0 14px 0;
  box-shadow: 0 -3px 18px 0 rgba(241, 106, 54, 0.06);
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 30px;
  justify-content: space-between;
}
.footer-logo {
  flex: 0 0 60px;
}
.footer-logo img {
  height: 55px;
  width: auto;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.02rem;
  color: #23213B;
  opacity: 0.90;
  border-radius: 10px;
  padding: 3px 14px;
  transition: background 0.14s, color 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #FFD1BF;
  color: #F16A36;
}
.footer-contact {
  font-size: 0.99rem;
  color: #515151;
  opacity: 0.93;
  margin-top: 5px;
  flex: 1 1 240px;
}
footer a {
  color: #11998E;
  text-decoration: underline;
}
.copyright {
  width: 100%;
  text-align: right;
  font-size: 0.98rem;
  color: #B98C5B;
  margin-top: 22px;
}

/* COOKIE CONSENT BANNER --------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #FFF7F3;
  border-top: 4px solid #F16A36;
  box-shadow: 0 -2px 14px 0 rgba(241,106,54,0.10);
  z-index: 10000;
  padding: 20px 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: 1.06rem;
  animation: slideUpBanner 0.33s cubic-bezier(.67,.01,.91,.43);
}
@keyframes slideUpBanner {
  from { transform: translateY(100%); opacity: 0.2; } to { transform: translateY(0); opacity: 1; }
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  margin-left: 10px;
  margin-right: 6px;
  min-width: 38px;
  padding: 9px 24px;
  border: none;
  border-radius: 22px;
  background: #F16A36;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  box-shadow: 0 1px 6px 0 rgba(241,106,54,0.12);
}
.cookie-banner .reject {
  background: #FFE9CE;
  color: #23213B;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #FFD1BF;
  color: #F16A36;
}
.cookie-banner .settings {
  background: #FFD7B7;
  color: #23213B;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #F16A36;
  color: #fff;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #11998E;
  color: #fff;
}

/* Cookie Modal -------------------------------- */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 11000;
  transform: translate(-50%, -50%) scale(0.98);
  background: #FFF7F3;
  padding: 36px 26px 28px 26px;
  border-radius: 24px;
  box-shadow: 0 8px 42px 0 rgba(154, 74, 24, 0.18);
  width: 95vw;
  max-width: 396px;
  animation: modalPopin 0.26s cubic-bezier(.6,-0.12,.67,1.1);
}
@keyframes modalPopin {
  from { opacity: 0; transform: scale(0.90) translate(-50%, -50%); }
  to { opacity: 1; transform: scale(0.98) translate(-50%, -50%); }
}
.cookie-modal h2 {
  color: #F16A36;
  margin-bottom: 10px;
}
.cookie-modal .consent-category {
  display: flex;
  align-items: center;
  margin-bottom: 14px;
}
.cookie-modal .consent-category label {
  font-size: 1rem; margin-left: 12px; color: #23213B;
}
.cookie-modal input[type="checkbox"] {
  height: 22px; width: 22px; border-radius: 6px; border: 1.5px solid #F16A36;
  appearance: none; background: #FFE9CE; margin-right: 2px;
  transition: background 0.13s, border 0.13s;
  vertical-align: bottom;
}
.cookie-modal input[type="checkbox"]:checked {
  background: #F16A36;
  border-color: #11998E;
}
.cookie-modal .essential[disabled], .cookie-modal input[disabled] {
  opacity: 0.60;
  pointer-events: none;
}
.cookie-modal .cookie-modal-btns {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 18px;
}
.cookie-modal .btn {
  font-size: 1rem;
  min-width: 90px;
}
.cookie-modal .btn.save {
  background: #F16A36;
  color: #fff;
}
.cookie-modal .btn.cancel {
  background: #FFD7B7;
  color: #23213B;
}

/* RESPONSIVENESS ---------------------------- */
@media (max-width: 950px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
  .copyright {
    text-align: left;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 7px;
  }
  section,
  .hero {
    padding: 22px 5px;
    border-radius: 16px;
    margin-bottom: 38px;
  }
  .content-wrapper { max-width: 99vw; }
  .features-grid, .instructor-grid, .blog-post-list {
    gap: 12px;
  }
  .features-grid > div, .instructor-grid > div, .blog-post-list > article {
    min-width: 90vw;
    max-width: 99vw;
    padding: 22px 13px 14px 13px;
  }
  .card-container {
    gap: 12px;
  }
  .card {
    padding: 16px 11px;
  }
  .content-grid {
    gap: 11px;
  }
  .blog-categories {
    margin-top: 13px;
  }
  .featured-article {
    padding: 12px 10px;
    border-left-width: 4px;
  }
  .course-list li {
    padding-bottom: 9px;
  }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
}

/* Micro-Interactions and Subtle Animations */
.btn, .main-nav a, .mobile-nav a, .footer-nav a, .card, .features-grid > div, .instructor-grid > div, .blog-post-list > article, .testimonial-card {
  transition: background 0.15s, color 0.16s, box-shadow 0.16s, transform 0.17s;
}

/* Utility Classes (if needed) ------------------- */
.mt-2  { margin-top: 12px; }
.mb-1  { margin-bottom: 8px;  }
.mb-2  { margin-bottom: 16px; }
.mb-3  { margin-bottom: 25px; }
.rounded { border-radius: 12px; }
.shadow { box-shadow: 0 4px 16px rgba(241,106,54,0.09); }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }

/* Accessibility: Focus ring */
a:focus, button:focus, .btn:focus {
  outline: 2.5px solid #11998E;
  outline-offset: 2px;
}

/* Hide visually but keep accessible (for modals etc.) */
.sr-only {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  top: auto;
  overflow: hidden;
}

/* Scrollbar Styling (for a friendlier look) */
::-webkit-scrollbar {
  width: 12px;
  background: #FFE9CE;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb {
  background: #FFBA81;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: #F16A36;
}

/* END */