/* =======================================
   CSS RESET & 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.5;
  background: #F8FAFD;
  color: #1C355E;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  color: inherit;
  border: none;
  background: none;
  outline: none;
}
*, *:before, *:after {
  box-sizing: inherit;
}

/* =======================================
   BRAND FONTS
   ======================================= */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700,900&family=Open+Sans:wght@400;600;700&display=swap');

body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  background: linear-gradient(132deg, #F6C73B 0%, #F8FAFD 60%, #07A09F 100%);
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #1C355E;
  font-weight: 700;
  line-height: 1.13;
}
h1   { font-size: 2.5rem; margin-bottom: 24px; }
h2   { font-size: 2rem; margin-bottom: 20px; }
h3   { font-size: 1.35rem; margin-bottom: 14px; font-weight: 700; }
h4   { font-size: 1.15rem; margin-bottom: 8px; font-weight: 700; }
@media (max-width: 480px){
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
}
p, li, span {
  color: #22304A;
  font-size: 1rem;
  line-height: 1.7;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 20px;
  padding-left: 0.5em;
}
ul li, ol li {
  margin-bottom: 8px;
}
strong { font-weight: 700; color: #1C355E; }

/* =======================================
   LAYOUT: FLEXBOX FOUNDATION
   ======================================= */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (min-width: 1200px) {
  .section { padding: 56px 0; }
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 18px rgba(28,53,94,0.07);
  padding: 26px 22px 21px 22px;
  flex: 1 1 230px;
  min-width: 220px;
  margin-bottom: 20px;
  transition: box-shadow 0.22s cubic-bezier(.4,0,.2,1), transform 0.18s cubic-bezier(.4,0,.2,1);
  border: 1.5px solid #ECECF3;
}
.feature-item img {
  width: 48px; height: 48px; margin-bottom: 6px;
}
.feature-item:hover {
  box-shadow: 0 8px 32px rgba(7,160,159,0.14);
  transform: translateY(-3px) scale(1.03);
  border-color: #07A09F;
}
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 18px rgba(28,53,94,0.10);
  padding: 26px 23px 21px 23px;
  transition: box-shadow 0.22s cubic-bezier(.4,0,.2,1), transform 0.18s cubic-bezier(.4,0,.2,1);
  border: 1.5px solid #EEEEF6;
}
.card:hover {
  box-shadow: 0 8px 36px rgba(28,53,94,0.16);
  transform: translateY(-2px);
}

/* =======================================
   HEADER & MAIN NAVIGATION
   ======================================= */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 18px rgba(28,53,94,0.04);
  position: relative;
}
header {
  display: flex;
  align-items: center;
  padding: 0 30px;
  height: 80px;
  justify-content: space-between;
}
header > a {
  margin-right: 32px;
  align-self: center;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  padding: 7px 13px;
  border-radius: 100px;
  font-weight: 600;
  color: #1C355E;
  font-size: 1rem;
  transition: color 0.18s, background 0.16s;
}
.main-nav a:hover {
  color: #07A09F;
  background: #F8FCFB;
}
.main-nav .cta.primary {
  background: linear-gradient(90deg, #F6C73B 12%, #07A09F 100%);
  color: #1C355E;
  padding: 9px 30px;
  border-radius: 33px;
  font-size: 1.10rem;
  font-weight: 700;
  margin-left: 14px;
  box-shadow: 0 2px 14px rgba(7,160,159,0.12);
  transition: background 0.2s, color 0.19s;
}
.main-nav .cta.primary:hover {
  background: linear-gradient(90deg, #07A09F 10%, #F6C73B 90%);
  color: #1C355E;
}

/* BURGER BUTTON (mobile menu toggle) */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #07A09F;
  padding: 7px 15px;
  margin-left: 18px;
  cursor: pointer;
  border-radius: 7px;
  transition: background 0.18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #F5FBF9;
}

/* ===========================
   MOBILE NAVIGATION
   =========================== */
.mobile-menu {
  display: none;
  position: fixed;
  z-index: 501;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, #F6C73B 10%, #fff 66%, #07A09F 100%);
  box-shadow: 0 6px 38px rgba(28,53,94, 0.15);
  transform: translateX(100%);
  transition: transform 0.37s cubic-bezier(.785,.135,.15,.86);
  flex-direction: column;
  align-items: flex-start;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 18px 16px 2px auto;
  background: #07A09F;
  color: #fff;
  border-radius: 50%;
  padding: 6px 15px;
  font-size: 2.1rem;
  border: none;
  cursor: pointer;
  align-self: flex-end;
  z-index: 505;
  transition: background 0.23s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #1C355E;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 12px;
  align-items: flex-start;
  padding: 22px 36px;
}
.mobile-nav a {
  font-weight: 600;
  color: #1C355E;
  font-size: 1.13rem;
  padding: 12px 0 12px 7px;
  border-radius: 8px;
  display: block;
  width: 100%;
  transition: background 0.19s, color 0.19s;
}
.mobile-nav a:hover {
  background: #F5F8F7;
  color: #07A09F;
}
.mobile-nav .cta.primary {
  background: linear-gradient(90deg, #F6C73B 20%, #07A09F 100%);
  color: #1C355E;
  border-radius: 33px;
  margin-top: 15px;
  font-size: 1.15rem;
  font-weight: 700;
  box-shadow: 0 2px 18px rgba(7,160,159,0.11);
  padding: 13px 24px;
  width: auto;
  align-self: flex-start;
  transition: background 0.2s, color 0.19s;
}
.mobile-nav .cta.primary:hover {
  background: linear-gradient(-90deg, #07A09F 12%, #F6C73B 100%);
  color: #1C355E;
}

@media (max-width: 1050px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1050px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none; }
}
@media (max-width: 560px) {
  header { padding: 0 7px; }
  .container { padding: 0 6px; }
}


/* =======================================
   HERO/ CTA / GENERAL SECTIONS
   ======================================= */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
section .container {
  display: flex;
  flex-direction: column;
}
section .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
section .cta.primary {
  margin-top: 12px;
}

/* General CTA Button */
.cta, .cta.primary {
  display: inline-block;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  background: linear-gradient(90deg, #F6C73B 20%, #07A09F 100%);
  color: #1C355E;
  border: none;
  border-radius: 33px;
  padding: 13px 33px;
  font-size: 1.12rem;
  box-shadow: 0 2px 16px rgba(246,199,59,0.13);
  cursor: pointer;
  text-align: center;
  transition: background 0.23s, color 0.22s, transform 0.1s;
}
.cta.primary:hover, .cta.primary:focus, .cta:active {
  background: linear-gradient(90deg, #07A09F 18%, #F6C73B 90%);
  color: #1C355E;
  box-shadow: 0 0px 24px rgba(7,160,159,0.09);
  transform: translateY(-2px) scale(1.03);
}

/* =======================================
   TESTIMONIAL CARDS
   ======================================= */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 14px rgba(28,53,94,0.08);
  padding: 20px;
  margin-bottom: 20px;
  max-width: 730px;
  border: 1.5px solid #EBF3F8;
  transition: box-shadow 0.2s, border 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 42px rgba(28,53,94,0.13);
  border: 1.5px solid #07A09F;
}
.testimonial-card p {
  color: #14304F;
  font-weight: 500;
  font-size: 1.08rem;
  margin: 0;
}
.testimonial-card span {
  color: #22304A;
  font-size: 0.99rem;
  font-style: italic;
  font-weight: 600;
}

/* =======================================
   FAQ ACCORDION
   ======================================= */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 14px;
}
.faq-item {
  background: #fff;
  border-radius: 13px;
  border: 1.5px solid #ECECF3;
  box-shadow: 0 2px 12px rgba(34,48,74,.13);
  padding: 17px 22px 12px 22px;
}
.faq-item h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #1C355E;
  font-size: 1.08rem;
  margin-bottom: 8px;
}

/* =======================================
   CUSTOM COMPONENTS - EVENTS, TEAMS, WORKSHOPS, ETC
   ======================================= */
.event-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 16px;
  margin-bottom: 22px;
}
.event-item {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(7,160,159,0.07);
  padding: 20px 18px 13px 18px;
  border: 1.5px solid #ECECF3;
  transition: box-shadow 0.18s, border 0.18s;
}
.event-item:hover {
  box-shadow: 0 6px 24px rgba(246,199,59,0.13);
  border: 1.5px solid #F6C73B;
}
.event-item h3 {
  color: #07A09F;
  margin-bottom: 8px;
  font-size: 1.22rem;
}
.event-item span {
  color: #1C355E;
  font-size: 0.98rem;
}
.event-filters {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 12px;
}
.event-filters button {
  background: #ECECF3;
  color: #1C355E;
  border-radius: 22px;
  padding: 6px 18px;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.19s, color 0.17s, box-shadow 0.18s;
  cursor: pointer;
  border: none;
  margin-bottom: 0;
}
.event-filters button:hover, .event-filters button:focus {
  background: #F6C73B;
  color: #1C355E;
  box-shadow: 0 1px 8px rgba(7,160,159,0.11);
}

.team-profile {
  background: #fff;
  border-radius: 14px;
  border: 1.5px solid #EBF3F8;
  box-shadow: 0 2px 10px rgba(7,160,159,0.04);
  padding: 20px 22px 15px 22px;
  margin-bottom: 20px;
}

.workshop-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 24px;
}
.workshop-item {
  background: #fff;
  border-radius: 13px;
  border: 1.5px solid #ECECF3;
  box-shadow: 0 2px 8px rgba(7,160,159,0.08);
  padding: 19px 18px 13px 18px;
  transition: box-shadow 0.16s;
}
.workshop-item:hover {
  box-shadow: 0 8px 26px rgba(7,160,159,0.13);
  border: 1.5px solid #07A09F;
}
.topics-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-bottom: 18px;
}
.topics-grid > div {
  background: #ECECF3;
  border-radius: 11px;
  padding: 8px 16px;
  color: #07A09F;
  font-weight: 600;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.98rem;
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 9px;
}
.address-block, .contact-info, .opening-hours {
  display: flex;
  flex-direction: column;
  gap: 7px;
  background: #fff;
  border-radius: 16px;
  border: 1.5px solid #ECECF3;
  box-shadow: 0 2px 10px rgba(7,160,159,0.06);
  padding: 18px 15px 13px 14px;
  min-width: 170px;
}
.address-block strong {
  font-size: 1.09rem;
}
.contact-info a {
  color: #07A09F;
  font-weight: 600;
  transition: color 0.16s;
}
.contact-info a:hover, .contact-info a:focus {
  color: #F6C73B;
}

/* =======================================
   FOOTER
   ======================================= */
footer {
  background: #1C355E;
  color: #fff;
  padding: 46px 0 31px 0;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  gap: 20px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #F6C73B;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.01rem;
  border-radius: 7px;
  padding: 7px 12px;
  transition: background 0.18s, color 0.17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #F6C73B;
  color: #1C355E;
}
.footer-contact p, .footer-contact a {
  color: #fff;
  font-size: 0.99rem;
}
footer img {
  width: 40px;
  margin-bottom: 12px;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-left: 0;
}


/* =======================================
   COOKIE CONSENT BANNER & MODAL
   ======================================= */
.cookie-banner {
  position: fixed;
  left: 12px; right: 12px; bottom: 18px;
  z-index: 1200;
  background: #fff;
  color: #1C355E;
  border-radius: 20px;
  box-shadow: 0 2px 38px rgba(28,53,94,0.16);
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 1rem;
  max-width: 620px;
  margin: 0 auto;
  opacity: 1;
  transition: transform 0.5s cubic-bezier(.355,.03,.515,.955), opacity 0.39s;
  transform: translateY(0);
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(120px);
  pointer-events: none;
}
.cookie-banner p {
  margin: 0;
  color: #22304A;
  flex: 1;
}
.cookie-banner-buttons {
  display: flex;
  gap: 12px;
}
.cookie-banner-buttons button {
  padding: 8px 20px;
  font-size: 1rem;
  border-radius: 25px;
  font-weight: 700;
  box-shadow: 0 1px 10px rgba(7,160,159,0.09);
  cursor: pointer;
  border: none;
  transition: background 0.17s, color 0.16s;
}
.cookie-banner-buttons .accept {
  background: #07A09F;
  color: #fff;
}
.cookie-banner-buttons .accept:hover, .cookie-banner-buttons .accept:focus {
  background: #F6C73B;
  color: #1C355E;
}
.cookie-banner-buttons .reject {
  background: #ECECF3;
  color: #1C355E;
}
.cookie-banner-buttons .reject:hover, .cookie-banner-buttons .reject:focus {
  background: #07A09F;
  color: #fff;
}
.cookie-banner-buttons .settings {
  background: #F6C73B;
  color: #1C355E;
}
.cookie-banner-buttons .settings:hover, .cookie-banner-buttons .settings:focus {
  background: #07A09F;
  color: #fff;
}

/* Cookie Settings Modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(28,53,94,0.32);
  z-index: 1600;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.39s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  color: #1C355E;
  border-radius: 18px;
  box-shadow: 0 4px 32px rgba(7,160,159,0.16);
  padding: 32px 28px;
  min-width: 330px;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  gap: 17px;
  position: relative;
  animation: popIn 0.37s cubic-bezier(.79,.09,.53,1.15);
}
@keyframes popIn {
  0% { transform: translateY(90px) scale(0.95); opacity: 0; }
  70% { transform: translateY(-12px) scale(1.03); opacity: 1; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  color: #1C355E;
  font-size: 1.3rem;
  margin-bottom: 7px;
}
.cookie-modal .category {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 14px;
}
.cookie-modal .category label {
  font-weight: 600;
  font-size: 1.07rem;
  color: #22304a;
}
.cookie-modal .category input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #07A09F;
  margin-right: 2px;
}
.cookie-modal .category.disabled label {
  color: #929FAF;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}
.cookie-modal .close-modal {
  background: #ECECF3;
  color: #1C355E;
  border-radius: 7px;
  padding: 8px 22px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  margin-left: 6px;
  transition: background 0.17s, color 0.13s;
  align-self: flex-end;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  background: #07A09F;
  color: #fff;
}
.cookie-modal .save-modal {
  background: #07A09F;
  color: #fff;
  border-radius: 7px;
  padding: 8px 22px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  margin-left: 0;
  transition: background 0.17s, color 0.13s;
}
.cookie-modal .save-modal:hover, .cookie-modal .save-modal:focus {
  background: #F6C73B;
  color: #1C355E;
}

/* =======================================
   RESPONSIVE DESIGN
   ======================================= */
@media (max-width: 1000px) {
  .features-grid, .content-grid, .card-container {
    flex-wrap: wrap;
    gap: 18px;
  }
  .footer-nav {
    gap: 14px;
  }
}
@media (max-width: 830px) {
  .features-grid, .content-grid, .topics-grid, .card-container {
    flex-direction: column;
    gap: 19px;
  }
  .testimonial-card, .event-item, .team-profile { max-width: 100%; }
  .mobile-nav {
    padding: 13px 12px;
  }
}
@media (max-width: 660px) {
  section {
    padding: 28px 6px;
    margin-bottom: 36px;
  }
  header {
    height: auto;
    padding: 0 7px;
  }
  footer {
    padding: 33px 0 21px 0;
  }
}
@media (max-width: 480px) {
  .contact-details {
    flex-direction: column;
    gap: 14px;
  }
  .footer-contact {
    gap: 4px;
    font-size: 0.94rem;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 11px;
    gap: 11px;
    max-width: 99vw;
    left: 2px; right: 2px;
  }
  .cookie-modal {
    padding: 18px 9px;
    min-width: unset;
    max-width: 98vw;
  }
  .features-grid { gap: 13px; }
  .feature-item, .event-item, .team-profile, .card {
    min-width: unset;
    padding: 16px 7px 15px 7px;
  }
}

@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
  .container { padding: 0 6px; }
}

/* =======================================
   FLEXBOX FORCED: Prevent Grid Usage
   ======================================= */
/* All container layouts are flex, never grid. This is enforced above. */

/* =======================================
   MISC: MICRO-INTERACTIONS, EFFECTS
   ======================================= */
a, button {
  outline: none;
  transition: color 0.18s, background 0.17s, box-shadow 0.19s, border 0.18s, transform 0.14s;
}
a:focus, button:focus {
  box-shadow: 0 0 0 2px #07A09F4C;
}

::-webkit-scrollbar {
  width: 10px;
  background: #ECECF3;
}
::-webkit-scrollbar-thumb {
  background: #07A09F;
  border-radius: 10px;
}

/* =======================================
   SELECTION
   ======================================= */
::selection {
  background: #F6C73B;
  color: #1C355E;
}

/* =======================================
   PRINT STYLES (BASIC)
   ======================================= */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay {
    display: none !important;
  }
  body {
    background: #fff !important;
  }
}

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