/* --------------------------------------------
   CSS RESET & BASE NORMALIZE
-------------------------------------------- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, menu, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
main, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}

article, aside, details, figcaption, figure, 
footer, header, hgroup, main, menu, nav, section {
  display: block;
}

body {
  line-height: 1.6;
  background: #F5F4F0;
  color: #334E68;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

ul, ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

button {
  font-family: inherit;
  font-size: 1rem;
  border: none;
  background: none;
  cursor: pointer;
}

/* --------------------------------------------
   TYPOGRAPHY & BRAND FONTS
-------------------------------------------- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700&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;
  letter-spacing: 0.01em;
  color: #1A7B74;
  line-height: 1.2;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.375rem; margin-bottom: 12px; }
h4 { font-size: 1.125rem; margin-bottom: 10px; }
p, ul, ol, li, small, address {
  font-family: 'Roboto', Arial, sans-serif;
}
p, ul, ol { font-size: 1.125rem; margin-bottom: 16px; }
sup, sub, small { font-size: 0.92em; }
strong { font-weight: bold; }
.subheadline { color: #334E68; font-size: 1.25rem; margin-bottom: 16px; }

/* --------------------------------------------
   LAYOUT & CONTAINER STYLES
-------------------------------------------- */
.container {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 32px rgba(26, 123, 116, 0.06), 0 1.5px 5px rgba(51, 78, 104, 0.03);
  padding: 40px 24px;
  margin-bottom: 32px;
  position: relative;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
    /* Provide gradient accent backgrounds on every second section */
}
.section:nth-child(2n) {
  background: linear-gradient(105deg, #EFFFFF 0%, #F5F4F0 100%);
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .container { padding: 0 8px; }
  .content-wrapper { padding: 28px 10px; }
  .section { padding: 24px 6px; margin-bottom: 48px; }
  .text-image-section { flex-direction: column; gap: 20px; }
}

/* --------------------------------------------
   HEADER & NAVIGATION
-------------------------------------------- */
header {
  background: linear-gradient(90deg, #1A7B74 70%, #39C8BB 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  position: sticky;
  top: 0; left: 0; right: 0;
  box-shadow: 0 2px 16px 0 rgba(51, 78, 104, 0.06);
  z-index: 100;
}
header > a img { height: 52px; }
nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fff !important;
  font-weight: 500;
  font-size: 1.05rem;
  padding: 6px 0;
  border-radius: 4px;
  transition: background 0.18s, color 0.18s;
}
nav a:hover, nav a:focus {
  background: #F5F4F0;
  color: #1A7B74 !important;
}
.cta-primary {
  background: linear-gradient(90deg, #1A7B74 70%, #39C8BB 100%);
  padding: 12px 28px;
  border-radius: 9999px;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  box-shadow: 0 1px 6px 0 rgba(51, 78, 104, 0.12);
  margin-left: 18px;
  transition: background 0.20s, box-shadow 0.17s, color 0.17s;
  border: none;
  outline: none;
  display: inline-block;
  letter-spacing: 0.01em;
}
.cta-primary:hover, .cta-primary:active, .cta-primary:focus {
  background: linear-gradient(92deg, #177068 70%, #26b6a8 100%);
  color: #fff;
  box-shadow: 0 3px 18px 0 rgba(51, 78, 104, 0.23);
}

.mobile-menu-toggle {
  display: none;
  background: #fff;
  color: #1A7B74;
  border-radius: 8px;
  font-size: 2.1rem;
  padding: 6px 18px;
  margin-left: 18px;
  border: none;
  cursor: pointer;
  transition: background 0.21s, color 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #1A7B74;
  color: #fff;
}

@media (max-width: 1000px) {
  nav, .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  z-index: 1100;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #1A7B74;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(.6,0,.5,1);
  box-shadow: 0 5px 24px 0 rgba(51,78,104,0.08);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 28px 24px 16px 0;
  background: #fff;
  color: #1A7B74;
  font-size: 2rem;
  border-radius: 8px;
  padding: 6px 15px;
  transition: background 0.15s, color 0.12s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #1A7B74;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100vw;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 36px 24px;
  overflow-y: auto;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  color: #fff;
  padding: 10px 8px;
  border-radius: 5px;
  width: 100%;
  transition: background 0.16s, color 0.12s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F5F4F0;
  color: #1A7B74;
}
@media (min-width: 1001px) {
  .mobile-menu { display: none !important; }
}

/* --------------------------------------------
   FLEXBOX LAYOUTS & CARD PATTERNS
-------------------------------------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 9px 0 rgba(51, 78, 104, 0.10);
  display: flex;
  flex-direction: column;
  padding: 28px 20px;
  transition: box-shadow 0.18s, transform 0.19s;
}
.card:hover {
  box-shadow: 0 8px 24px rgba(26, 123, 116, 0.18), 0 1.5px 12px rgba(51, 78, 104, 0.05);
  transform: translateY(-3px) scale(1.018);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 10px;
}
.feature-grid li {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  background: #EFFFFF;
  border-radius: 11px;
  padding: 12px 20px;
  font-size: 1.08rem;
  min-width: 220px;
  box-shadow: 0 1px 4px 0 rgba(51, 78, 104, 0.04);
  color: #334E68;
  margin-bottom: 0px;
}
.feature-grid li img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

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

.class-list-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.class-card {
  flex: 1 1 240px;
  max-width: 360px;
  background: #FFF;
  border-radius: 15px;
  box-shadow: 0 2px 9px rgba(51, 78, 104, 0.076);
  padding: 28px 20px 22px 20px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.19s, transform 0.20s;
  margin-bottom: 20px;
}
.class-card:hover {
  box-shadow: 0 8px 24px rgba(26, 123, 116, 0.12);
  transform: translateY(-3px) scale(1.01);
}

@media (max-width: 990px) {
  .feature-grid { flex-direction: column; gap: 16px; }
  .class-list-grid { flex-direction: column; gap: 16px; }
  .content-grid { flex-direction: column; gap: 14px; }
}
@media (max-width: 558px) {
  .feature-grid li {
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    width: 100%;
  }
}


/* --------------------------------------------
   TESTIMONIAL & REVIEW CARDS
-------------------------------------------- */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  border-radius: 13px;
  background: #fff;
  color: #334E68;
  box-shadow: 0 2px 9px 0 rgba(51,78,104,0.08);
  margin-bottom: 20px;
  min-width: 210px;
  transition: box-shadow 0.15s, transform 0.17s;
}
.testimonial-card:hover {
  box-shadow: 0 14px 36px 0 rgba(26, 123, 116, 0.10), 0 1.5px 8px rgba(51, 78, 104, 0.05);
  transform: scale(1.01);
}
.testimonial-card p {
  color: #334E68; /* Ensure contrast */
  font-size: 1.12rem;
  font-style: italic;
  margin-bottom: 5px;
}
.star-ratings {
  color: #1A7B74;
  font-size: 1.25rem;
  letter-spacing: 1.5px;
  margin-bottom: 2px;
}
.testimonial-card small {
  color: #2C4858;
  font-size: 0.98rem;
}

/* --------------------------------------------
   PRICING TABLE/MODERN TABLES
-------------------------------------------- */
.pricing-table {
  width: 100%;
  margin: 28px 0 20px 0;
  border-collapse: separate;
  border-spacing: 0;
}
.pricing-table th, .pricing-table td {
  padding: 15px 10px;
  border-bottom: 1.5px solid #CAEAE6;
  color: #334E68;
  font-size: 1.08rem;
}
.pricing-table th {
  background: #EFFFFF;
}
.pricing-highlight {
  background: #F6FBF9;
  border-left: 6px solid #1A7B74;
  border-radius: 10px;
  padding: 16px 22px;
  color: #1A7B74;
  font-size: 1.15rem;
  margin: 20px 0 0 0;
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(51,78,104,0.03);
}

/* --------------------------------------------
   FORMS (if any)
-------------------------------------------- */
input, textarea, select {
  font-family: inherit;
  font-size: 1.08rem;
  padding: 10px 12px;
  border: 1.5px solid #CAEAE6;
  border-radius: 7px;
  width: 100%;
  max-width: 400px;
  margin-bottom: 18px;
  background: #fff;
  transition: border-color 0.18s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #1A7B74;
}
label {
  font-weight: 500;
  color: #334E68;
  margin-bottom: 7px;
}

/* --------------------------------------------
   FOOTER
-------------------------------------------- */
footer {
  background: linear-gradient(90deg, #1A7B74 70%, #39C8BB 100%);
  padding: 0 0 0 0;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  box-shadow: 0 -2px 16px rgba(51,78,104,0.04);
}
footer a {
  color: white !important;
}
.footer-main {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 36px;
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 38px 20px 18px 20px;
}
.footer-main img {
  height: 48px;
  margin-bottom: 22px;
}
.footer-main nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-main nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.06rem;
  transition: color 0.18s;
}
.footer-main nav a:hover {
  color: #F5F4F0;
  text-decoration: underline;
}
.footer-main address {
  font-style: normal;
  color: #fff;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-top: 10px;
}
footer small {
  text-align: center;
  display: block;
  padding: 18px 0 26px 0;
  font-size: 0.99rem;
  color: #E4E8EF;
}
@media (max-width: 900px) {
  .footer-main { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* --------------------------------------------
   BUTTONS & MICROINTERACTIONS
-------------------------------------------- */
button, .cta-primary {
  cursor: pointer;
  transition: background 0.15s, color 0.11s, box-shadow 0.12s;
}
button:active, .cta-primary:active {
  transform: scale(0.97);
}

/* --------------------------------------------
   COOKIE CONSENT BANNER & MODAL
-------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  color: #334E68;
  box-shadow: 0 -1.5px 16px 0 rgba(51,78,104,0.16);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
  padding: 24px 24px;
  z-index: 1200;
  min-height: 60px;
  transition: transform 0.4s cubic-bezier(.4,0,.4,1), opacity 0.3s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner__text {
  flex: 1 1 auto;
  font-size: 1.08rem;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 15px;
}
.cookie-btn, .cookie-btn-secondary {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 10px 20px;
  border-radius: 20px;
  min-width: 140px;
  font-weight: 600;
  transition: background 0.18s, color 0.11s;
  border: none;
}
.cookie-btn {
  background: #1A7B74;
  color: #fff;
  box-shadow: 0 1px 5px rgba(51,78,104,0.07);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #167366;
  color: #fff;
}
.cookie-btn-secondary {
  background: #EFFFFF;
  color: #1A7B74;
  border: 2px solid #1A7B74;
}
.cookie-btn-secondary:hover, .cookie-btn-secondary:focus {
  background: #39C8BB;
  color: #fff;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 16px 8px;
  }
  .cookie-banner__actions {
    flex-direction: column;
    gap: 10px;
  }
}

/* COOKIE SETTINGS MODAL */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 1300;
  background: rgba(51,78,104,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.3s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal__content {
  background: #fff;
  border-radius: 15px;
  max-width: 420px;
  width: 96vw;
  padding: 32px 24px;
  box-shadow: 0 8px 40px rgba(26,123,116,0.20);
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: cookieModalIn 0.34s cubic-bezier(.5,0,.5,1);
}
@keyframes cookieModalIn {
  from { opacity: 0; transform: scale(0.96) translateY(40px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal__header {
  font-size: 1.23rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #1A7B74;
  margin-bottom: 8px;
}
.cookie-modal__group {
  background: #EFFFFF;
  border-radius: 8px;
  padding: 14px 15px;
  margin-bottom: 6px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}
.cookie-modal__group label {
  flex: 1;
  font-size: 1.05rem;
}
.cookie-modal__switch {
  width: 38px;
  height: 20px;
  position: relative;
  display: inline-block;
}
.cookie-modal__switch input {
  opacity: 0;
  width: 0; height: 0;
}
.cookie-modal__slider {
  position: absolute;
  cursor: pointer;
  left: 0; top: 0;
  width: 38px;
  height: 20px;
  background: #CAEAE6;
  border-radius: 20px;
  transition: background 0.18s;
}
.cookie-modal__switch input:checked + .cookie-modal__slider {
  background: #1A7B74;
}
.cookie-modal__slider:before {
  content: '';
  position: absolute;
  height: 16px;
  width: 16px;
  left: 2px;
  top: 2px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.18s;
}
.cookie-modal__switch input:checked + .cookie-modal__slider:before {
  transform: translateX(18px);
}
.cookie-modal__actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
@media (max-width: 500px) {
  .cookie-modal__content { padding: 18px 6px; }
}

/* --------------------------------------------
   MISC: Spacing, Links, Utility Classes
-------------------------------------------- */
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-40 { margin-bottom: 40px; }
.gap-20 { gap: 20px; }
.shadow { box-shadow: 0 2px 9px rgba(51,78,104,0.09); }
.rounded { border-radius: 13px; }

/* Generic links as callouts */
a:not(.cta-primary) {
  color: #1A7B74;
  transition: color 0.17s, border-bottom-color 0.15s;
  border-bottom: 1.5px solid transparent;
}
a:not(.cta-primary):hover, a:not(.cta-primary):focus {
  color: #39C8BB;
  border-bottom: 1.5px solid #39C8BB;
}

/* --------------------------------------------
   RESPONSIVE FONT SIZES & HEADINGS
-------------------------------------------- */
@media (max-width: 768px) {
  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.35rem; }
  h3 { font-size: 1.08rem; }
}
@media (max-width: 410px) {
  h2 { font-size: 1.02rem; }
}

/* --------------------------------------------
   SPECIAL: Confirmation pages & thank you
-------------------------------------------- */
.confirmation-message {
  color: #1A7B74;
  font-size: 1.07rem;
  background: #F6FBF9;
  border-left: 4px solid #39C8BB;
  border-radius: 7px;
  padding: 14px 18px;
  margin-bottom: 16px;
}
.next-steps ul {
  margin-top: 3px;
}
.next-steps ul li {
  padding-left: 18px;
  margin-bottom: 7px;
  list-style: disc;
}

/* --------------------------------------------
   PRINT STYLES (for legal pages)
-------------------------------------------- */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  body { background: #fff !important; color: #000; }
  .content-wrapper, .section { box-shadow: none !important; background: #fff !important; }
}

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