/* === RESET & BASE ====================== */
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, 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,
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;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #1B2536;
  background: #F5F7FA;
  min-height: 100vh;
  line-height: 1.5;
  word-break: break-word;
}
img, svg {
  max-width: 100%;
  vertical-align: middle;
  display: inline-block;
}
ul, ol {
  margin-left: 1.25em;
}
a {
  color: #1B2536;
  text-decoration: none;
  transition: color 0.21s cubic-bezier(.6,.04,.98,.34);
}
a:hover, a:focus {
  color: #64B3B7;
}
strong, b {
  font-weight: 700;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}
:focus-visible {
  outline: 2px solid #64B3B7;
}

/* === TYPOGRAPHY ==================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  color: #1B2536;
  letter-spacing: -1px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1rem;
}
p, ul, ol {
  font-size: 1.06rem;
  margin-bottom: 14px;
  font-family: 'Roboto', Arial, sans-serif;
}
.section strong {
  color: #1B2536;
}

/* === LAYOUT CONTAINERS ============== */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFF;
  border-radius: 24px;
  box-shadow: 0 4px 20px 0 rgba(27,37,54,0.07);
  position: relative;
}

.hero {
  min-height: 420px;
  display: flex;
  align-items: center;
  padding: 60px 0 50px 0;
  background: linear-gradient(120deg,#64B3B7 0%,#F5F7FA 100%);
  border-radius: 0 0 38px 38px;
  box-shadow: 0px 12px 48px 0 rgba(100,179,183,0.1);
  margin-bottom: 60px;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
}

.cta-section {
  background: #1B2536;
  color: #F5F7FA;
}
.cta-section h2, .cta-section p, .cta-section ul, .cta-section li,
.cta-section strong {
  color: #F5F7FA;
}

.cta-ribbon {
  background: #64B3B7;
  color: #1B2536;
  border-radius: 22px;
  box-shadow: 0 2px 16px 0 rgba(27,37,54,0.09);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}
.secondary-info {
  margin-left: 0;
}
.secondary-info ul {
  margin-bottom: 0;
  padding-left: 18px;
}

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

.fact-cards {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.fact-card {
  background: #64B3B7;
  color: #FFF;
  padding: 16px 24px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 1.12rem;
}

/* === FLEXBOX CRITICAL ALIGNMENT === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background: #FFF;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(27,37,54,0.07);
  padding: 30px 24px;
  margin-bottom: 20px;
  position: relative;
  min-width: 270px;
  flex: 1 1 300px;
  transition: transform 0.17s,box-shadow 0.21s;
}
.card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 6px 30px rgba(100,179,183,0.08);
  z-index: 2;
}

.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;
}

.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 8px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 28px;
  background: #F5F7FA;
  border: 2px solid #64B3B7;
  border-radius: 18px;
  box-shadow: 0 6px 24px 0 rgba(27,37,54,0.05);
  flex: 1 0 280px;
  min-width: 250px;
  color: #1B2536;
  margin-bottom: 20px;
  transition: box-shadow .18s;
}
.testimonial-card .author {
  font-weight: 800;
  color: #1B2536;
  font-size: 1.04rem;
  margin-bottom: 0;
}
.testimonial-card .stars {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-top: 2px;
}
.testimonial-card:hover {
  box-shadow: 0 12px 38px 0 rgba(100,179,183,0.12);
  border-color: #1B2536;
}

.feature-grid, .workshop-grid, .team-grid, .event-teasers {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature, .workshop-card, .team-profile, .event-card {
  flex: 1 1 230px;
  min-width: 210px;
  background: #FFF;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(27,37,54,0.06);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  transition: box-shadow .18s, transform .15s;
  margin-bottom: 20px;
}
.feature:hover, .workshop-card:hover, .team-profile:hover, .event-card:hover {
  box-shadow: 0 8px 30px 0 rgba(100,179,183,0.13);
  transform: translateY(-3px) scale(1.01);
}

.feature img {
  width: 34px;
  height: 34px;
  margin-bottom: 4px;
}

.feature h3, .workshop-card h3, .team-profile h3, .event-card h3 {
  font-size: 1.17rem;
  font-weight: 800;
  color: #1B2536;
}

.project-list ul, .milestones ul, .vision-section ul, .values-section ul, .calendar-view ul {
  margin-bottom: 0;
  padding-left: 20px;
}

.project {
  background: #E8F6F7;
  border-radius: 11px;
  padding: 16px 16px 16px 22px;
  margin-bottom: 18px;
  font-size: 1.05rem;
}

.collaboration-section,
.vision-section,
.values-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.partner-logos {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
}
.contact-teaser {
  background: #1B2536;
  color: #F5F7FA;
  padding: 14px 18px;
  display: inline-block;
  border-radius: 13px;
  margin-top: 6px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.contact-teaser a {
  color: white;
}
.booking-info {
  background: #1B2536;
  color: #F5F7FA;
  border-radius: 13px;
  padding: 15px 18px;
  margin-top: 10px;
  font-weight: 600;
}

/* === BUTTONS & CTA ================ */
.cta-btn {
  background: #1B2536;
  color: #F5F7FA !important;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 800;
  border: none;
  border-radius: 30px;
  padding: 12px 37px;
  cursor: pointer;
  margin-top: 8px;
  letter-spacing: 0.01em;
  box-shadow: 0 3px 12px rgba(27,37,54,0.09);
  transition: background 0.16s, color 0.16s, box-shadow 0.18s, transform 0.14s;
}
.cta-btn:hover, .cta-btn:focus {
  background: #64B3B7;
  color: #1B2536;
  box-shadow: 0 3px 20px rgba(27,37,54,0.17);
  transform: translateY(-2px) scale(1.035);
}

/* === HEADER & NAV ================ */
header {
  width: 100%;
  background: #FFF;
  border-bottom: 2px solid #E8F6F7;
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 20px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #1B2536;
  font-size: 1.06rem;
  padding: 6px 0;
  position: relative;
  transition: color 0.17s;
}
.main-nav a:not(.cta-btn):hover::after, .main-nav a:not(.cta-btn):focus::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -3px;
  height: 3px;
  background: #64B3B7;
  border-radius: 2px;
  display: block;
}
.main-nav .cta-btn {
  margin-left: 20px;
}

.mobile-menu-toggle {
  background: #1B2536;
  color: #F5F7FA;
  font-size: 2rem;
  padding: 7px 14px;
  border: none;
  border-radius: 9px;
  cursor: pointer;
  display: none;
  align-items: center;
  transition: background 0.16s, color 0.16s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #64B3B7;
  color: #1B2536;
}

/* ==== MOBILE MENU OVERLAY ======= */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(27,37,54,0.91);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.62,.08,.49,1.04);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: transparent;
  color: #FFF;
  font-size: 2.15rem;
  border: none;
  margin: 22px 24px 0 0;
  cursor: pointer;
  z-index: 1001;
  transition: color 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #64B3B7;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
  background: #FFF;
  border-radius: 30px 0 0 30px;
  width: 80vw;
  max-width: 370px;
  padding: 48px 34px 32px 38px;
  margin-top: 36px;
  align-items: flex-start;
  box-shadow: 0 12px 60px 0 rgba(27,37,54,0.25);
}
.mobile-nav a {
  color: #1B2536;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 10px 0;
  width: 100%;
  transition: background 0.17s, color 0.12s;
  border-radius: 7px;
  text-align: left;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #64B3B7;
  color: #FFF;
}

/* === FOOTER =============== */
footer {
  background: #1B2536;
  color: #F5F7FA;
  padding: 38px 0 24px 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: #F5F7FA;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  transition: color 0.13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #64B3B7;
}
.footer-contact p, .footer-contact span {
  color: #F5F7FA;
  font-size: 0.97rem;
  line-height: 1.8;
  word-break: break-word;
}

/* === MISC COMPONENT SPACING === */
.timeline ul, .values-section ul, .vision-section ul {
  margin-bottom: 0;
  padding-left: 20px;
}
.timeline ul li {
  margin-bottom: 7px;
}

.milestones, .project-list, .calendar-view {
  margin-top: 8px;
}

.team-statement, .thank-you-message {
  margin-top: 14px;
  font-size: 1.09rem;
  font-weight: 600;
  background: #64B3B7;
  color: #FFF;
  padding: 13px 19px;
  border-radius: 11px;
}

/* === FORMS & INPUTS ========== */
input, textarea, select {
  border: 2px solid #64B3B7;
  border-radius: 12px;
  padding: 11px 14px;
  margin-bottom: 15px;
  font-size: 1.02rem;
  color: #1B2536;
  background: #FFF;
  transition: border 0.13s;
}
input:focus, textarea:focus, select:focus {
  border-color: #1B2536;
}

.newsletter-signup p {
  font-size: 1.06rem;
  margin-bottom: 12px;
}

/* === MAP LOCATION / CONTACT DETAILS === */
.contact-details {
  background: #F5F7FA;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 20px;
  margin-bottom: 10px;
}
.map-location {
  margin-top: 9px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #E8F6F7;
  border-radius: 9px;
  padding: 12px 17px;
  font-size: 1.09rem;
}
.map-location img {
  width: 20px;
  height: 20px;
}

/********* COOKIE CONSENT BANNER & MODAL *************/
.cookie-banner {
  position: fixed;
  left: 16px; right: 16px; bottom: 18px;
  background: #1B2536;
  color: #F5F7FA;
  border-radius: 22px;
  box-shadow: 0 3px 22px 0 rgba(27,37,54,0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 34px 21px 34px;
  z-index: 1500;
  gap: 23px;
  animation: cookie-slide-in 0.5s cubic-bezier(.62,.05,.49,1.0);
}
@keyframes cookie-slide-in {
  from { transform: translateY(60px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: #F5F7FA;
  font-size: 1.05rem;
  margin-bottom: 0;
  flex: 1 1 auto;
}
.cookie-actions {
  display: flex;
  gap: 16px;
}

.cookie-btn, .cookie-settings-btn {
  background: #64B3B7;
  color: #1B2536;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 16px;
  padding: 9px 25px;
  cursor: pointer;
  transition: background 0.16s, color 0.13s, box-shadow .17s;
  box-shadow: 0 2px 8px rgba(27,37,54,0.02);
}
.cookie-btn:hover, .cookie-btn:focus, .cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #F5F7FA;
  color: #1B2536;
}
.cookie-btn.reject {
  background: #F5F7FA;
  color: #1B2536;
  font-weight: 700;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #E8F6F7;
}

/* COOKIE SETTINGS MODAL */
.cookie-modal {
  position: fixed;
  left: 50%; top: 55%;
  transform: translate(-50%,-50%) scale(1);
  background: #FFF;
  border-radius: 26px;
  box-shadow: 0 8px 56px 0 rgba(27,37,54,0.28);
  z-index: 1600;
  max-width: 440px;
  width: 95vw;
  padding: 36px 30px 27px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: cookie-modal-in 0.36s cubic-bezier(.62,.05,.49,1.0);
}
@keyframes cookie-modal-in {
  from { transform: translate(-50%,30%) scale(0.96); opacity: 0; }
  to   { transform: translate(-50%,-50%) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  color: #1B2536;
  margin-bottom: 9px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  margin: 0 0 14px 0;
  font-size: 1.08rem;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-category label {
  font-weight: 600;
  cursor: pointer;
}
.cookie-category input[type='checkbox'] {
  width: 24px; height: 24px;
  accent-color: #64B3B7;
  cursor: pointer;
}
.cookie-category .always-on {
  color: #777;
  font-weight: 400;
  font-size: 0.98rem;
}
.cookie-modal-close {
  position: absolute;
  top: 18px; right: 28px;
  background: transparent;
  border: none;
  color: #1B2536;
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #64B3B7;
}

/* Backdrop for modal */
.cookie-backdrop {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(27,37,54,0.38);
  z-index: 1598;
  animation: cookie-fade-in .25s;
}
@keyframes cookie-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/******** RESPONSIVE DESIGN (MOBILE FIRST) ********/
/* --- Breakpoint: Tablet down (<= 1050px) --- */
@media (max-width: 1050px) {
  .container {
    max-width: 98vw;
    padding-left: 12px;
    padding-right: 12px;
  }
  .main-nav {
    gap: 17px;
  }
  .card, .feature, .workshop-card, .team-profile, .event-card, .testimonial-card {
    min-width: 180px;
    padding: 18px 10px;
  }
}

/* --- Breakpoint: Tablet/Mobile menu --- */
@media (max-width: 950px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

@media (max-width: 880px) {
  .footer-contact {
    max-width: 100%;
    margin-top: 12px;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

@media (max-width: 768px) {
  body, html {
    font-size: 15px;
  }
  .hero {
    min-height: 260px;
    padding: 38px 0 32px 0;
    border-radius: 0 0 22px 22px;
  }
  .section {
    margin-bottom: 38px;
    padding: 22px 4px;
    border-radius: 16px;
  }
  .content-wrapper {
    gap: 17px;
  }
  .cta-ribbon {
    padding: 21px 16px;
    border-radius: 13px;
  }
  .card-container, .content-grid, .feature-grid, .workshop-grid, .team-grid, .event-teasers, .testimonials {
    gap: 12px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card, .feature, .workshop-card, .team-profile, .event-card {
    min-width: 145px;
    padding: 13px 7px;
    border-radius: 8px;
    font-size: 0.98rem;
  }
  .footer-nav {
    flex-direction: row;
    gap: 14px;
  }
  .fact-cards {
    gap: 8px;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 9px;
    padding: 20px 12px 16px 11px;
    align-items: flex-start;
    left: 4px; right: 4px; bottom: 5px;
    border-radius: 16px;
    font-size: 0.95rem;
  }
}

@media (max-width: 570px) {
  .hero h1 {
    font-size: 1.55rem;
    margin-bottom: 13px;
  }
  h2 {
    font-size: 1.27rem;
    margin-bottom: 7px;
  }
  .container {
    padding-left: 6px;
    padding-right: 6px;
  }

  header .container {
    padding: 11px 7px;
    gap: 9px;
  }
  .footer-contact p {
    font-size: 0.89rem;
    line-height: 1.6;
  }
  .contact-details {
    padding: 8px 8px;
  }
}

/* === GEOMETRIC/BOLD VISUAL ELEMENTS === */
/* geometric accent circle for sections (optional: can be positioned absolute as deco) */
.section::before {
  content: '';
  display: block;
  position: absolute;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: rgba(100,179,183,0.12);
  top: 14px; right: 28px;
  z-index: 0;
  pointer-events: none;
}
@media (max-width: 650px) {
  .section::before {
    width: 32px; height: 32px; right: 7px; top: 8px;
  }
}

/* Hide geometric accent on .hero/bg sections to avoid overlaying main heading */
.hero::before, .cta-section::before {
  display: none;
}

/* ========== MISC VISUAL MICRO-INTERACTIONS =========== */
.card, .feature, .workshop-card, .team-profile, .event-card, .testimonial-card {
  transition: box-shadow .18s, transform .17s;
}
div.card:active, .card:focus-within { box-shadow: 0 8px 42px #64B3B770; }

.cta-btn:active {
  transform: scale(0.98);
}

/* ========== PRINT OPTIMIZATION =========== */
@media print {
  body, .container, .section, .hero, .cta-section, footer, header {
    background: #FFF !important;
    color: #1B2536 !important;
    box-shadow: none !important;
    border: none !important;
  }
  nav, .cta-btn, .mobile-menu, .mobile-menu-toggle, .cookie-banner, .cookie-modal, .cookie-backdrop {
    display: none !important;
  }
}

/* ==== END ==== */