/* CSS RESET & BASELINE (Normalize + Reset) */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-tap-highlight-color: transparent;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: linear-gradient(135deg, #EFF1F6 0%, #ffffff 100%);
  color: #232846;
  min-height: 100vh;
  line-height: 1.6;
  transition: background 0.5s;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: #232846;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #F8C02D;
  outline-offset: 2px;
}
button, .cta-btn {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  border: none;
  background: none;
  cursor: pointer;
}

/* TYPOGRAPHY SCALE */
h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.15;
  color: #232846;
  margin-bottom: 16px;
  letter-spacing: -1px;
}
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 16px;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
}
.subheadline {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.125rem;
  margin-bottom: 24px;
  font-weight: 400;
  color: #575d80;
}
p {
  margin-bottom: 16px;
  font-size: 1rem;
  color: #232846;
}
strong {
  font-weight: bold;
}

/* BASIC SPACING, CONTAINER & LAYOUTS */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 0;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* FLEXBOX CARD, GRID & FEATURE LAYOUTS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 rgba(35, 40, 70, 0.07);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(35, 40, 70, 0.16);
  transform: translateY(-4px) scale(1.01);
  z-index: 1;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.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;
  background: #fff;
  border-radius: 18px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 20px 0 rgba(35,40,70,0.10);
  min-width: 0;
  transition: box-shadow 0.2s, transform 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 32px 0 rgba(35,40,70,0.16);
  transform: translateY(-3px) scale(1.012);
}
.testimonial-meta {
  font-size: 1rem;
  color: #232846;
  opacity: 0.84;
  margin-top: 4px;
}
.star-rating {
  color: #F8C02D;
  font-size: 1.05em;
  letter-spacing: 1px;
  margin-left: 8px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(104deg, #EFF1F6 60%, #F8C02D 100%);
  padding: 60px 0 40px 0;
  margin-bottom: 60px;
}
.hero .container {
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  text-align: left;
  gap: 16px;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .hero {
    padding: 32px 0 24px 0;
    margin-bottom: 32px;
  }
  .hero .content-wrapper {
    align-items: center;
    text-align: center;
  }
}

/* BUTTONS & CTA */
.cta-btn {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 13px 34px;
  font-weight: 600;
  color: #232846;
  background-color: #F8C02D;
  border-radius: 999px;
  box-shadow: 0 2px 12px 0 rgba(248,192,45,0.11);
  letter-spacing: 0.5px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.16s;
  margin-top: 6px;
  margin-bottom: 6px;
}
.cta-btn:hover,
.cta-btn:focus {
  background: #ffe390;
  color: #232846;
  box-shadow: 0 6px 22px 0 rgba(248,192,45,0.21);
  transform: translateY(-2px) scale(1.015);
  outline: none;
}

/* MAIN NAVIGATION */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 18px 0 rgba(35,40,70,0.05);
  position: relative;
  z-index: 101;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  gap: 18px;
}
.logo img {
  height: 44px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  gap: 26px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #232846;
  font-weight: 500;
  letter-spacing: 0.2px;
  position: relative;
  transition: color 0.19s;
  padding: 4px 0;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #F8C02D;
}

/* Hide burger on desktop */
.mobile-menu-toggle {
  display: none;
}

/* MOBILE MENU STYLES */
.mobile-menu-toggle {
  background: #F8C02D;
  color: #232846;
  font-size: 2rem;
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  margin-left: 12px;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 210;
  transition: background 0.2s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #ffe390;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 300;
  transform: translateX(-105vw);
  transition: transform 0.35s cubic-bezier(.4,1.12,.45,1.09);
  display: flex;
  flex-direction: column;
  padding-top: 32px;
  width: 100vw;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #232846;
  font-size: 2.2rem;
  position: absolute;
  right: 28px;
  top: 18px;
  z-index: 2;
  transition: color 0.18s;
  border: none;
  cursor: pointer;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #F8C02D;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 64px;
  gap: 18px;
  padding: 0 30px;
}
.mobile-nav a {
  color: #232846;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.17rem;
  font-weight: 600;
  padding: 12px 0 9px 0;
  width: 100%;
  border-bottom: 1px solid #EFF1F6;
  transition: color 0.18s, background 0.18s;
  border-radius: 8px;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #F8C02D;
  background: #fef7e2;
}

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

@media (max-width: 768px) {
  .container {
    padding: 0 10px;
  }
  header .container {
    padding: 6px 10px;
    gap: 10px;
  }
  .hero h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.25rem;
  }
  h3 {
    font-size: 1.05rem;
  }
  .card, .testimonial-card {
    padding: 18px 10px;
    font-size: 0.97rem;
  }
  .content-wrapper, .card-container, .content-grid {
    gap: 12px;
  }
  .text-image-section, .content-grid, .card-container, .features-grid, .services-list {
    flex-direction: column;
    gap: 18px;
  }
}

/* FOOTER */
footer {
  background: #232846;
  color: #EFF1F6;
  padding: 38px 0 28px 0;
  width: 100%;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 6px;
}
.footer-nav a {
  color: #EFF1F6;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.19s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #F8C02D;
}
.footer-logo img {
  height: 42px;
}
.footer-copy {
  color: #dde0ea;
  font-size: 0.97rem;
}

@media (max-width: 600px){
  .footer-nav {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
  }
  .footer-logo img {
    height: 34px;
  }
}

/* FEATURES/GRID/SERVICE LISTS */
.features-grid, .services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 0;
}
.features-grid > div, .services-list > div {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 14px 0 rgba(35,40,70,0.10);
  padding: 26px 22px 22px 22px;
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.16s, transform 0.14s;
  min-width: 210px;
}
.features-grid > div:hover, .services-list > div:hover {
  box-shadow: 0 10px 28px 0 rgba(35,40,70,0.15);
  transform: scale(1.03) translateY(-3px);
  z-index: 1;
}
.features-grid img, .services-list img {
  height: 38px;
  width: 38px;
  margin-bottom: 20px;
}
.service-price {
  display: inline-block;
  background: #EFF1F6;
  color: #232846;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 5px 13px;
  margin-top: 13px;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .features-grid > div, .services-list > div {
    min-width: 0;
    width: 100%;
    align-items: center;
    text-align: center;
    padding: 16px 6px 16px 6px;
  }
  .features-grid, .services-list {
    gap: 14px;
  }
}

/* TABLES */
.service-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 22px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 10px 0 rgba(35,40,70,0.10);
}
.service-table th, .service-table td {
  padding: 14px;
  font-size: 1rem;
  text-align: left;
}
.service-table th {
  background: #EFF1F6;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
.service-table tr:nth-child(even) td {
  background: #f8fafb;
}
@media (max-width: 768px) {
  .service-table th, .service-table td {
    padding: 7px 5px;
    font-size: 0.96rem;
  }
}

/* LISTS & CONTENT HIGHLIGHTS */
ul, ol {
  margin-bottom: 18px;
  padding-left: 18px;
}
ul li, ol li {
  margin-bottom: 10px;
  position: relative;
  color: #232846;
  font-size: 1rem;
}
ul li::marker, ol li::marker { color: #F8C02D; }
.tip-boxes, .highlighted-posts, .event-highlights, .registration-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
  margin-bottom: 20px;
}
.tip-boxes > div, .highlighted-posts > p, .event-highlights > p, .registration-info > p {
  background: #EFF1F6;
  border-left: 4px solid #F8C02D;
  border-radius: 10px;
  padding: 10px 16px;
  color: #232846;
  font-size: 1rem;
}

/* RESPONSIVE FLEXBOX SECTIONS */
@media (max-width: 900px){
  .content-grid, .text-image-section, .features-grid, .card-container {
    flex-direction: column;
    gap: 18px;
  }
}

@media (max-width: 600px) {
  .section {
    margin-bottom: 38px;
    padding: 26px 5px;
  }
}

/* ANIMATIONS & TRANSITIONS */
[role="button"], a, button, .cta-btn, .card, .testimonial-card, .features-grid > div, .services-list > div {
  transition: box-shadow 0.18s, background 0.18s, color 0.18s, transform 0.16s;
}

/* COOKIE BANNER & MODAL */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #232846;
  color: #EFF1F6;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 22px 30px;
  z-index: 1107;
  box-shadow: 0 -2px 18px 0 rgba(35,40,70,0.13);
  font-size: 1rem;
  border-radius: 20px 20px 0 0;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-banner p {
  color: #fff;
  margin-bottom: 0;
  font-size: 1rem;
  flex: 1 1 200px;
}
.cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-btn, .cookie-settings-btn {
  border: none;
  border-radius: 8px;
  padding: 9px 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  background: #EFF1F6;
  color: #232846;
  cursor: pointer;
  transition: background 0.16s, color 0.16s;
}
.cookie-btn.accept {
  background: #F8C02D;
  color: #232846;
}
.cookie-btn.accept:hover {
  background: #ffe390;
}
.cookie-btn.reject {
  background: #EFF1F6;
  color: #232846;
}
.cookie-btn.reject:hover {
  background: #ffe390;
  color: #232846;
}
.cookie-settings-btn {
  background: transparent;
  color: #EFF1F6;
  border: 1.5px solid #EFF1F6;
}
.cookie-settings-btn:hover,
.cookie-settings-btn:focus {
  color: #F8C02D;
  border-color: #F8C02D;
}
@media (max-width: 700px) {
  .cookie-banner{
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 10px;
    gap: 14px;
    border-radius: 14px 14px 0 0;
  }
  .cookie-buttons {
    gap: 7px;
  }
}

.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(35, 40, 70, 0.72);
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  color: #232846;
  border-radius: 20px;
  box-shadow: 0 5px 40px 0 rgba(35,40,70,0.18);
  max-width: 420px;
  width: 92vw;
  padding: 34px 30px 22px 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: modalIn 0.32s cubic-bezier(.33,1.22,.32,1.01);
}
@keyframes modalIn {
  from {opacity: 0; transform: translateY(44px) scale(0.98);}
  to {opacity:1; transform: none;}
}
.cookie-modal h2 {
  font-size: 1.3rem;
  margin-bottom: 7px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal ul {
  padding-left: 0;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.cookie-modal li {
  font-size: 1rem;
  color: #232846;
  display: flex;
  align-items: center;
  gap: 11px;
}
.cookie-checkbox {
  margin-right: 5px;
  accent-color: #F8C02D;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 10px;
}
.cookie-modal-close {
  background: none;
  color: #232846;
  font-size: 2.1rem;
  position: absolute;
  right: 15px;
  top: 12px;
  border: none;
  cursor: pointer;
  transition: color 0.14s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  color: #F8C02D;
}
@media (max-width: 480px) {
  .cookie-modal{
    padding: 24px 9px 16px 9px;
  }
  .cookie-modal h2 {
    font-size: 1.09rem;
  }
  .cookie-modal li {
    font-size: 0.97rem;
  }
}

/* VISUALS & UTILITY */
.bg-accent {
  background: #F8C02D !important;
  color: #232846 !important;
}
.fw-bold { font-weight: 700; }
.text-center { text-align: center; }
.rounded-16 { border-radius: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-16 { margin-bottom: 16px; }
.mt-20 { margin-top: 20px; }
.flex-row { display: flex; flex-direction: row; }
.flex-col { display: flex; flex-direction: column; }
.gap-20 { gap: 20px; }

/***** END OF CSS *****/
