/* RESET & BASE ---------------------------- */
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: #F7F5F2;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #1C1753;
  background: linear-gradient(135deg, #F7F5F2, #fff 60%);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* TYPOGRAPHY ------------------------------- */
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #1C1753;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.3rem;
}
blockquote {
  font-style: italic;
  color: #F15A28;
  background: #fff7f2;
  border-left: 4px solid #F15A28;
  padding: 12px 24px;
  border-radius: 6px;
  margin: 24px 0;
  font-size: 1.1rem;
}
p, li, dd, dt {
  margin-bottom: 12px;
  font-size: 1rem;
}
ul, ol {
  margin-bottom: 18px;
  padding-left: 28px;
  font-size: 1rem;
}
li {
  margin-bottom: 8px;
}
a {
  color: #F15A28;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #1C1753;
  text-decoration: underline;
}
strong {
  font-weight: 700;
}

/* BUTTONS & CTAs -------------------------- */
.cta,
.mobile-menu .cta {
  font-family: 'Montserrat', Arial, sans-serif;
  display: inline-block;
  padding: 12px 32px;
  margin-top: 10px;
  background: linear-gradient(90deg, #F15A28, #f47c42);
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
  border-radius: 32px;
  box-shadow: 0 2px 16px rgba(241,90,40,0.12);
  letter-spacing: 0.03em;
  border: none;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.13s;
}
.cta:hover, .cta:focus {
  background: linear-gradient(90deg, #1C1753, #F15A28);
  color: #fff;
  box-shadow: 0 4px 32px rgba(28,23,83,0.08);
  transform: translateY(-2px) scale(1.045);
}
button {
  font: inherit;
  background: transparent;
  border: none;
  cursor: pointer;
}

/* HEADER & NAVIGATION --------------------- */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 10px rgba(28,23,83,0.04);
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0 0 0 0;
  min-height: 68px;
}
header > a {
  margin-left: 24px;
  margin-right: 24px;
  display: flex;
  align-items: center;
  height: 52px;
}
header nav {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 18px;
}
header nav a {
  color: #1C1753;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 14px;
  border-radius: 3px;
  transition: background 0.15s, color 0.15s;
}
header nav a[aria-current="page"] {
  background: #F15A28;
  color: #fff;
}
header nav a:hover, header nav a:focus {
  background: #F7F5F2;
  color: #F15A28;
}
header .cta {
  margin-left: 16px;
  padding: 10px 28px;
  background: #F15A28;
  color: #fff;
  border-radius: 21px;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(241,90,40,0.12);
  transition: background 0.22s, box-shadow 0.18s, color 0.18s;
}
header .cta:hover, header .cta:focus {
  background: #1C1753;
  color: #fff;
}
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  margin: 0 16px 0 0;
  color: #F15A28;
  background: #fff;
  border-radius: 6px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  transition: background .14s, color .14s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #F7F5F2;
  color: #1C1753;
}
header nav {
  justify-content: flex-start;
}

/* MOBILE MENU ------------------------------ */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(.72,.21,.17,.81);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  box-shadow: -2px 0 28px rgba(28,23,83,.10);
  overflow-y: auto;
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #F15A28;
  font-size: 2.25rem;
  padding: 16px 20px 0 20px;
  align-self: flex-end;
  border-radius: 10px;
  transition: background .13s, color .13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #F7F5F2;
  color: #1C1753;
}
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  padding: 28px 20px 0 32px;
}
.mobile-menu nav a {
  color: #1C1753;
  font-size: 1.15rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 12px 0;
  border-radius: 4px;
  transition: background 0.13s, color 0.13s;
}
.mobile-menu nav a[aria-current="page"] {
  background: #F15A28;
  color: #fff;
}
.mobile-menu nav a:hover, .mobile-menu nav a:focus {
  background: #F7F5F2;
  color: #F15A28;
}
.mobile-menu .cta {
  margin: 22px 0 18px 0;
  width: 85%;
  text-align: center;
  padding: 13px 0;
  font-size: 1.20rem;
  font-weight: 700;
}

@media (max-width: 1050px) {
  header nav a:not(.cta) { font-size: 0.96rem; padding: 7px 10px; }
}
@media (max-width: 900px) {
  header > a { margin-left: 10px; margin-right: 10px; }
}
@media (max-width: 768px) {
  header nav { display: none !important; }
  .mobile-menu-toggle { display: flex; margin-right: 8px; }
}

/* MAIN & SECTION LAYOUT ----------------------------- */
main {
  flex: 1 0 auto;
  width: 100%;
  min-height: 400px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: transparent;
}
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

/* FLEXBOX LAYOUTS ---------------------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 3px 28px 0 rgba(28,23,83,0.10);
  padding: 32px 24px;
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 340px;
  min-width: 280px;
  transition: box-shadow .18s, transform .15s;
}
.card:hover {
  box-shadow: 0 8px 34px 3px rgba(241,90,40,0.13);
  transform: translateY(-4px) scale(1.025);
}
.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;
  background: #fff;
  box-shadow: 0 2px 24px rgba(28,23,83,0.08);
  border-radius: 14px;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  min-width: 260px;
  max-width: 410px;
  color: #1C1753;
  font-size: 1.1rem;
  transition: box-shadow .18s, transform .13s;
}
.testimonial-card span {
  margin-top: 6px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #F15A28;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 6px 32px rgba(241,90,40,0.11);
  transform: translateY(-2px) scale(1.02);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(28,23,83,.06);
  gap: 15px;
  padding: 28px 20px 22px 20px;
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 300px;
  margin-bottom: 20px;
  transition: box-shadow .17s, transform .12s;
}
.feature-item img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  margin-bottom: 10px;
}
.feature-item h3 {
  font-size: 1.15rem;
  color: #F15A28;
  margin-bottom: 5px;
}
.feature-item p, .feature-item li {
  font-size: 1rem;
  color: #1C1753;
}
.feature-item:hover {
  box-shadow: 0 5px 30px rgba(241,90,40,0.10);
  transform: translateY(-3px) scale(1.03);
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
}
.cta-banner {
  background: linear-gradient(90deg, #F15A28 70%, #1C1753 100%);
  color: #fff;
  padding: 38px 30px;
  border-radius: 24px;
  box-shadow: 0 4px 30px rgba(241,90,40,0.13);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.cta-banner h2 {
  color: #fff;
}
.cta-banner .cta {
  margin: 0;
  background: #fff;
  color: #F15A28;
  box-shadow: 0 2px 9px rgba(28,23,83,.14);
  transition: background .15s, color .15s, box-shadow .13s;
}
.cta-banner .cta:hover {
  background: #F15A28;
  color: #fff;
}

/* FOOTER ----------------------------------- */
footer {
  background: #1C1753;
  color: #fff;
  width: 100%;
  padding: 38px 0 0 0;
  margin-top: auto;
}
.footer-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 18px 24px;
  display: flex;
  flex-direction: row;
  gap: 34px;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-wrapper > a {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer nav a {
  color: #fff;
  text-shadow: 0 1px 5px rgba(0,0,0,.08);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 3px;
  padding: 2px 0;
  transition: color 0.15s, background 0.14s;
}
footer nav a:hover, footer nav a:focus {
  color: #F15A28;
  background: #fff;
}
footer .contact-details > span, .contact-details p {
  display: flex;
  align-items: center;
  font-size: 0.98rem;
  margin-bottom: 6px;
  gap: 8px;
  color: #fff;
}
footer .contact-details img {
  width: 18px;
  height: 18px;
  margin-right: 9px;
}
.contact-details p {
color: #1C1753;}

/* PAGE-SPECIFIC ---------------------------- */
.hero, .message-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.text-section {
  margin: 20px 0 0 0;
  font-size: 1rem;
}
.text-section a {
  text-decoration: underline;
  color: #F15A28;
  font-weight: bold;
}
.text-section a:hover,
.text-section a:focus {
  color: #1C1753;
}

/* TABLES (for schedule) --------------------- */
table {
  border-collapse: collapse;
  width: 100%;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 28px;
  box-shadow: 0 2px 15px rgba(28,23,83,0.06);
  font-size: 1rem;
}
thead tr {
  background: #F15A28;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
}
th, td {
  padding: 14px 16px;
  text-align: left;
}
tbody tr {
  border-bottom: 1px solid #F7F5F2;
}
tbody tr:last-child {
  border-bottom: none;
}
tbody tr:hover {
  background: #fff7f2;
}

/* FAQ ACCORDION ---------------------------- */
dl {
  width: 100%;
  margin-bottom: 16px;
}
dt {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  color: #F15A28;
  background: #fff7f2;
  border-radius: 8px;
  margin: 0 0 4px 0;
  padding: 12px 18px;
  cursor: pointer;
  transition: background .13s;
}
dd {
  background: #fff;
  border-radius: 8px;
  margin-bottom: 14px;
  padding: 14px 18px 14px 32px;
  color: #1C1753;
}
dt:hover, dt:focus {
  background: #F15A28;
  color: #fff;
}

/* COOKIE CONSENT BANNER --------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: linear-gradient(90deg, #F7F5F2 60%, #f7e4db 100%);
  box-shadow: 0 -2px 24px rgba(28,23,83,0.14);
  padding: 16px 24px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  justify-content: center;
  z-index: 999;
  transition: transform 0.25s cubic-bezier(.68,-0.55,.27,1.55), opacity 0.21s;
}
.cookie-banner.hide {
  transform: translateY(140%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner p {
  flex: 3 1 300px;
  color: #1C1753;
  font-size: 1rem;
  margin-bottom: 0;
  margin-right: 3px;
}
.cookie-banner .cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.95rem;
  padding: 9px 18px;
  border-radius: 20px;
  color: #fff;
  margin-right: 8px;
  background: #F15A28;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: background .14s, color .15s;
}
.cookie-banner .cookie-btn:last-child {
  margin-right: 0;
  background: #1C1753;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #1C1753;
  color: #fff;
}
.cookie-banner .cookie-btn.settings {
  background: #F7F5F2;
  color: #F15A28;
  border: 1px solid #f2dbce;
}
.cookie-banner .cookie-btn.settings:hover {
  background: #F15A28;
  color: #fff;
}

/* COOKIE PREFERENCES MODAL ------------------- */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(28,23,83,0.42);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.19s;
}
.cookie-modal {
  min-width: 320px;
  max-width: 96vw;
  background: #fff;
  color: #1C1753;
  border-radius: 22px;
  box-shadow: 0 10px 40px rgba(28,23,83,0.18);
  padding: 38px 32px 34px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  position: relative;
}
.cookie-modal h3 {
  color: #F15A28;
  margin-bottom: 12px;
  font-size: 1.28rem;
}
.cookie-modal .cookie-close {
  position: absolute;
  top: 18px; right: 22px;
  background: #F15A28;
  color: #fff;
  font-size: 1.7rem;
  border-radius: 7px;
  padding: 2px 8px;
  line-height: 1;
  cursor: pointer;
  border: none;
  transition: background 0.14s;
}
.cookie-modal .cookie-close:hover, .cookie-modal .cookie-close:focus {
  background: #1C1753;
}
.cookie-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.cookie-toggle input[type="checkbox"] {
  width: 21px;
  height: 21px;
  accent-color: #F15A28;
}
.cookie-modal label {
  font-size: 1rem;
  font-weight: 500;
  color: #1C1753;
}
.cookie-modal .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 14px;
  width: 100%;
  margin-top: 16px;
}
.cookie-modal .cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 10px 23px;
  border-radius: 19px;
  border: none;
  font-weight: 600;
  background: #F15A28;
  color: #fff;
  box-shadow: 0 1px 8px rgba(241,90,40,0.08);
  cursor: pointer;
  transition: background .13s, color .13s;
}
.cookie-modal .cookie-btn.secondary {
  background: #1C1753;
  color: #fff;
}
.cookie-modal .cookie-btn.settings {
  background: #F7F5F2;
  color: #F15A28;
  border: 1px solid #F15A28;
}
.cookie-modal .cookie-btn:hover, .cookie-modal .cookie-btn:focus {
  background: #1C1753;
  color: #fff;
}

/* RESPONSIVE DESIGN --------------------------- */
@media (max-width: 1100px) {
  .container {
    max-width: 96vw;
    padding: 0;
  }
  .footer-wrapper {
    max-width: 98vw;
  }
}
@media (max-width: 980px) {
  .feature-grid, .content-grid {
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
  }
  .footer-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
@media (max-width: 850px) {
  section {
    padding: 36px 10px;
  }
  .footer-wrapper {
    padding: 0 12px 18px 12px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 1.7rem;
  }
  h2 {
    font-size: 1.26rem;
  }
  .container, .footer-wrapper {
    max-width: 100vw;
    padding: 0 3vw;
  }
  section {
    padding: 27px 5px;
    margin-bottom: 36px;
  }
  .feature-grid, .content-grid {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .feature-item, .card, .testimonial-card {
    min-width: 90vw;
    max-width: 100vw;
    padding: 20px 12px 15px 15px;
    font-size: 1rem;
  }
  .cta-banner {
    padding: 25px 8px;
  }
  .message-section {
    padding: 0 3vw;
  }
  .testimonial-slider {
    flex-direction: column;
    gap: 15px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
}

/* STRUCTURE UTILS ----------------------------- */
.testimonial-slider {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 16px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

/* ACCESSIBILITY ----------------------------- */
:focus-visible {
  outline: 2px solid #F15A28;
  outline-offset: 2px;
}

/* SCROLLBAR (Modern browsers) --------------- */
::-webkit-scrollbar {
  height: 7px;
  width: 8px;
  background: #F7F5F2;
}
::-webkit-scrollbar-thumb {
  background: #e2e1ee;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: #F15A28;
}

/* MICRO-ANIMATIONS -------------------------- */
.feature-item, .card, .testimonial-card {
  transition: box-shadow .18s, transform .13s;
}
.cta, .cta-banner .cta, .cookie-btn, .cookie-modal .cookie-btn {
  transition: background .18s, color .15s, box-shadow .18s, transform .11s;
}

/* HIDE HANDLES FOR NO-GRID ----------------- */
/* All layouts and alignment are exclusively flexbox. No display:grid; or columns are used. */
