/* RESET & NORMALIZE */
html { box-sizing: border-box; font-size: 16px; }
*, *:before, *:after { box-sizing: inherit; margin: 0; padding: 0; }
body { min-height: 100vh; background: #FFF; color: #19324C; font-family: 'Roboto', Arial, sans-serif; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; height: auto; }
ul, ol { list-style-position: inside; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
a:focus { outline: 2px solid #46A0A0; outline-offset: 2px; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* FONTS */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 18px;
  color: #19324C;
  line-height: 1.14;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.5rem; margin-bottom: 10px; }
h4 { font-size: 1.125rem; }
strong { font-weight: 700; }
p, ul, ol, li, span, em { font-family: 'Roboto', Arial, sans-serif; font-weight: 400; color: #222; }
p, ul, ol { margin-bottom: 18px; }
ul, ol { padding-left: 18px; }

/* BRAND COLORS */
:root {
  --oe-primary: #19324C;
  --oe-secondary: #46A0A0;
  --oe-accent: #F8F5F1;
  --oe-highlight: #FFF5EC;
  --oe-warm1: #FFD9B3;
  --oe-warm2: #FFE9D5;
  --oe-warm3: #F8F0E8;
  --oe-card-bg: #FFF;
  --oe-btn-text: #fff;
  --oe-shadow: 0 2px 12px 0 rgba(73, 66, 52, 0.07);
  --oe-radius: 18px;
}

/* UTILITY SPACING */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin-left: auto;
  margin-right: auto;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

/* HEADER/NAV */
.main-header {
  background: var(--oe-primary);
  color: #fff;
  padding: 0;
  box-shadow: var(--oe-shadow);
}
.main-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
}
.main-header img {
  height: 46px;
  border-radius: 10px;
  background: transparent;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.main-nav a {
  font-family: 'Roboto', Arial, sans-serif;
  padding: 6px 16px;
  border-radius: var(--oe-radius);
  font-size: 1rem;
  color: #fff;
  opacity: 0.95;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.main-nav a:hover,
.main-nav a.active {
  background: var(--oe-secondary);
  color: #fff;
}
.btn-primary {
  background: linear-gradient(90deg, #FFD9B3 20%, #FFE9D5 100%);
  color: var(--oe-primary) !important;
  border-radius: var(--oe-radius);
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  padding: 12px 28px;
  margin-left: 4px;
  box-shadow: 0 2px 10px 0 rgba(231, 162, 100, 0.18);
  border: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  display: inline-block;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(90deg, #FFE9D5 20%, #FFD9B3 100%);
  color: var(--oe-primary);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 24px 0 rgba(230, 185, 139, 0.16);
}
.btn-secondary {
  background: var(--oe-secondary);
  color: #fff !important;
  border-radius: var(--oe-radius);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 26px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.18s;
  box-shadow: 0 1px 6px #46a0a034;
  margin-top: 6px;
  border: none;
  display: inline-block;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #368888;
  color: #fff;
  transform: translateY(-1px) scale(1.03);
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  font-size: 2rem;
  color: #fff;
  padding: 6px 12px;
  margin-left: 10px;
  border-radius: 10px;
  line-height: 1;
  border: none;
  transition: background 0.2s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--oe-secondary);
  color: #fff;
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(25,50,76,.97);
  color: #fff;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 44px 0 0 0;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(.77,0,.175,1);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  margin-left: 20px;
  margin-bottom: 16px;
  background: #fff2de;
  border-radius: 10px;
  padding: 4px 15px;
  color: var(--oe-primary);
  font-size: 1.8rem;
  box-shadow: 0 4px 16px #ffd9b32a;
  align-self: flex-start;
  border: none;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-close:hover,.mobile-menu-close:focus {
  background: #FFD9B3;
  color: #19324C;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-left: 38px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  background: none;
  border-radius: var(--oe-radius);
  padding: 8px 7px 9px 9px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FFF2DE;
  color: var(--oe-primary);
}

/* --- LAYOUT FLEXBOX CONTAINERS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--oe-card-bg);
  border-radius: var(--oe-radius);
  box-shadow: var(--oe-shadow);
  padding: 28px 24px;
  min-width: 260px;
  max-width: 400px;
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.18s, box-shadow 0.18s;
}
.card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 6px 32px 0 #FFD9B336;
}
.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: 24px 26px;
  background: #fffbe7;
  border-radius: var(--oe-radius);
  box-shadow: 0 2px 18px 0 #FFD9B340;
  min-width: 270px;
  max-width: 420px;
  margin-bottom: 24px;
  font-size: 1.1rem;
  color: #222;
  transition: box-shadow .18s, transform .18s;
}
.testimonial-card p {
  color: #303030;
  margin-bottom: 0;
  font-size: 1.1rem;
  font-style: italic;
}
.testimonial-card span {
  color: #19324C;
  font-weight: 600;
  margin-top: 8px;
  font-size: 1rem;
}
.testimonial-card .star-ratings {
  color: #FFB300;
  font-size: 1.2rem;
  letter-spacing: 2px;
  margin-top: 2px;
}
.testimonial-card:hover {
  box-shadow: 0 11px 40px #FFD9B350;
  transform: translateY(-3px) scale(1.025);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* GRID VARIATIONS for SPECIFIC SECTIONS */
.feature-grid, .course-grid, .blog-grid {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 24px;
}
.feature-grid > div, .course-grid > div, .blog-grid > article {
  background: #fffbe7;
  border-radius: 14px;
  box-shadow: 0 2px 10px #FFD9B326;
  flex: 1 1 240px;
  min-width: 240px;
  max-width: 340px;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow .18s, transform .18s;
}
.feature-grid > div:hover, .course-grid > div:hover, .blog-grid > article:hover {
  box-shadow: 0 8px 26px #FFD9B360;
  transform: scale(1.03);
}

/* NEWSLETTER CALL */
.newsletter-signup {
  background: #F8F5F1;
  border-radius: 14px;
  box-shadow: 0 1px 8px #FFD9B326;
  padding: 24px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
}

/* CTA BANNER */
.cta-banner {
  background: linear-gradient(88deg, #FFE9D5 0%, #FFD9B3 100%);
  border-radius: var(--oe-radius);
  padding: 36px 24px;
  box-shadow: 0 8px 32px #FFD9B328;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}
.cta-banner h2 { color: #19324C; font-size: 2rem; }

/* FILTERS & CATEGORY */
.filter-options, .categories-filter {
  background: #F8F5F1;
  border-radius: 12px;
  padding: 10px 18px;
  font-size: 1rem;
  margin-top: 8px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.categories-filter a {
  color: #46A0A0;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 6px;
  background: #fffbe7;
  transition: background .16s, color .18s;
  margin-right: 6px;
}
.categories-filter a:hover {
  background: #FFD9B3;
  color: #19324C;
}

/* FOOTER */
footer {
  background: #19324C;
  color: #fff;
  padding: 38px 0 20px 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-logo {
  margin-bottom: 18px;
}
.footer-logo img {
  height: 44px;
  border-radius: 12px;
}
.footer-main-nav, .footer-legal-nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-main-nav a, .footer-legal-nav a {
  color: #F8F5F1;
  font-size: 1rem;
  opacity: 0.89;
  padding: 2px 0;
  border-radius: 8px;
  transition: background 0.13s, color 0.13s;
}
.footer-main-nav a:hover, .footer-legal-nav a:hover {
  background: #FFD9B3;
  color: #19324C;
  opacity: 1;
}
.footer-contact {
  font-size: 0.96rem;
  color: #FFD9B3;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-contact img { height: 16px; margin-right: 6px; vertical-align: middle; display: inline-block; }
.footer-contact a { color: #fffbe7; text-decoration: underline; font-size: 1rem; }
.footer-contact a:hover { color: #FFD9B3; }
.footer-social { display: flex; gap: 14px; margin-top: 8px; }
.footer-social a img { height: 28px; border-radius: 8px; transition: box-shadow 0.16s; }
.footer-social a:hover img { box-shadow: 0 2px 10px #FFD9B330; background: #FFD9B3; }
footer small { display: block; color: #FFD9B3; opacity: 0.85; margin-top: 11px; }

/* CONTACT SECTIONS */
.contact-information, .office-hours {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fffbe7;
  border-radius: 12px;
  padding: 18px 22px;
  color: #19324C;
  box-shadow: 0 1px 8px #FFD9B326;
}
.contact-information img, .office-hours img { height: 18px; margin-right: 7px; vertical-align: middle; display: inline-block; }
.contact-information a, .office-hours a { color: #46A0A0; font-weight: 500; text-decoration: underline; }

/* LISTS & BULLETS */
ul li, ol li {
  margin-bottom: 8px;
  padding-left: 0.6em;
}
ol li {
  counter-increment: step;
}
ol li:before {
  content: counter(step) ". ";
  font-weight: bold;
  color: #19324C;
}

/* --- MICRO-INTERACTIONS --- */
a, button, .btn-primary, .btn-secondary, .mobile-nav a {
  transition: background 0.17s, color 0.17s, box-shadow 0.18s, transform 0.18s;
}

/* CARDS (SPECIFIC), OUTLINE FOR INTERACTIVE */
.card, .feature-grid > div, .course-grid > div, .blog-grid > article {
  cursor: pointer;
}
.card:hover, .feature-grid > div:hover, .course-grid > div:hover, .blog-grid > article:hover {
  outline: 2px solid #FFD9B3;
}

/* ACCENT SECTIONS */
.feature-grid > div img, .feature-grid > div svg,
.course-grid > div img, .blog-grid > article img {
  margin-bottom: 10px;
  width: 38px;
  height: 38px;
}

/* COOKIE CONSENT BANNER*/
.cookie-banner {
  position: fixed;
  left: 16px; right: 16px; bottom: 24px;
  background: #fffbe7;
  border-radius: 24px;
  box-shadow: 0 0 24px #FFD9B3BB;
  padding: 28px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  z-index: 2200;
  opacity: 0;
  pointer-events: none;
  transform: translateY(45px);
  transition: opacity 0.33s, transform 0.32s cubic-bezier(.77,0,.175,1);
}
.cookie-banner.active {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.cookie-banner p { color: #19324C; }
.cookie-banner-buttons {
  display: flex;
  gap: 16px;
  margin-top: 6px;
  flex-wrap: wrap;
}
.cookie-banner button {
  padding: 10px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 22px;
  border: none;
  box-shadow: 0 1px 8px #FFD9B340;
  margin-right: 6px;
  background: #FFD9B3;
  color: #19324C;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.16s, color 0.16s, box-shadow 0.17s;
}
.cookie-banner button.btn-accept {
  background: var(--oe-secondary);
  color: #fff;
}
.cookie-banner button.btn-accept:hover { background: #368888; }
.cookie-banner button.btn-settings {
  background: #fff; color: #19324C; border: 1px solid #FFD9B3; }
.cookie-banner button.btn-settings:hover { background: #FFE9D5; color: #19324C; }
.cookie-banner button.btn-reject {
  background: #FFE9D5; color: #19324C;
}
.cookie-banner button.btn-reject:hover { background: #FFD9B3; }

/* COOKIE MODAL (settings) */
.cookie-modal-overlay {
  position: fixed;
  z-index: 3000;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(24,28,38,0.34);
  display: none;
  align-items: center;
  justify-content: center;
  transition: background 0.21s;
}
.cookie-modal-overlay.active {
  display: flex;
}
.cookie-modal {
  background: #fffbe7;
  border-radius: 28px;
  box-shadow: 0 4px 34px #FFD9B3;
  padding: 38px 26px 22px 26px;
  max-width: 420px;
  width: calc(100vw - 32px);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 19px;
  animation: slideModal .32s cubic-bezier(.77,0,.175,1);
}
@keyframes slideModal {
  0% { transform: translateY(45px) scale(0.96); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h3 {
  color: #19324C;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  margin-bottom: 7px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 9px;
}
.cookie-modal .cookie-toggle {
  width: 36px; height: 20px;
  border-radius: 16px;
  background: #FFD9B3;
  position: relative;
  transition: background 0.19s;
  cursor: pointer;
  border: 1px solid #FFE9D5;
}
.cookie-modal .cookie-toggle[data-enabled="true"] {
  background: #46A0A0;
}
.cookie-modal .cookie-toggle:after {
  content: "";
  display: block;
  width: 16px; height: 16px;
  background: #fff; border-radius: 50%;
  position: absolute;
  left: 2px; top: 1px;
  transition: left 0.18s, background 0.16s;
}
.cookie-modal .cookie-toggle[data-enabled="true"]:after {
  left: 17px; background: #19324C;
}
.cookie-modal .cookie-category[data-essential="true"] .cookie-toggle {
  background: #A2A8A9;
  cursor: not-allowed;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 13px; right: 13px;
  background: #ffd9b381;
  color: #19324C;
  font-size: 1.3rem;
  border-radius: 8px;
  border: none;
  padding: 2px 11px;
  transition: color .13s, background .14s;
}
.cookie-modal .close-modal:hover { background: #FFD9B3; color: #368888; }
.cookie-modal-actions {
  margin-top: 22px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.cookie-modal-actions button {
  font-family: 'Montserrat', Arial, sans-serif; border-radius: 8px; min-width: 86px;
  font-size: 1rem; padding: 8px 14px;
}

/* --- RESPONSIVE --- */
@media (max-width: 1200px) {
  .container { max-width: 970px; }
}
@media (max-width: 990px) {
  .container { max-width: 760px; }
  .main-header .container, footer .container { flex-wrap: wrap; gap: 18px; }
  .footer-main-nav, .footer-legal-nav { flex-direction: row; flex-wrap: wrap; gap: 12px; }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .main-header .container {
    flex-direction: row;
    gap: 0;
    min-height: 53px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .container { max-width: 99%; padding-left: 12px; padding-right: 12px; }
  .section { padding: 32px 6px; margin-bottom: 38px; }
  .content-wrapper, .feature-grid, .course-grid, .blog-grid {
    flex-direction: column !important;
    gap: 23px;
    align-items: stretch !important;
  }
  .feature-grid > div, .course-grid > div, .blog-grid > article, .testimonial-card, .card {
    min-width: 0;
    max-width: 100%;
    padding: 21px 14px;
  }
  .cta-banner { padding: 18px 10px; }
  .footer-main-nav, .footer-legal-nav {
    flex-direction: column;
    gap: 7px;
  }
  footer .container { flex-direction: column; gap: 18px; }
  .footer-contact { font-size: 0.98rem; }
  .cookie-banner { left:10px; right:10px; }
}
@media (max-width: 540px) {
  h1 { font-size: 1.44rem; }
  h2 { font-size: 1.17rem; }
  .cookie-banner { padding: 18px 6px 14px 10px; }
  .cookie-modal { padding: 22px 10px 14px 10px; }
  .content-wrapper { gap: 13px; }
}

/* --- ACCESSIBILITY --- */
:focus { outline: 2px solid #46A0A0!important; outline-offset: 2px; }

/* --- EXTRA --- */
.method-icons {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 20px;
}
.method-icons img { width: 38px; height: 38px; filter: drop-shadow(0 1px 5px #FFD9B322); border-radius: 50%; background: #fffbe7; padding: 6px; }

/* Hide outline for mouse, show for keyboard */
[tabindex]:focus, button:focus, .btn-primary:focus, .btn-secondary:focus { outline: 2px solid #46A0A0; outline-offset: 2px;}

/***** END OF STYLE.CSS *****/