/* ================= GENERAL 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, 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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #F7F7F9;
  color: #1A3663;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
}
ul,ol { list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; height: auto; display: block; }
table { border-collapse: collapse; border-spacing: 0; }

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #25487a;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem; /* 40px */
  line-height: 1.16;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.375rem;
  font-weight: 600;
}
h4, h5, h6 {
  font-size: 1.125rem;
  font-weight: 600;
}
p, li {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: #3C4667;
  margin-bottom: 12px;
  line-height: 1.7;
}
strong, b { font-weight: 700; }

/* ======== PASTEL COLOR PALETTE ========== */
:root {
  --primary: #1A3663;
  --primary-light: #4B74C5;
  --secondary: #76C86B;
  --secondary-light: #B6F0CE;
  --accent: #F7F7F9;
  --soft-blue: #CCE3F6;
  --soft-green: #D7F4EB;
  --soft-yellow: #FFF5CC;
  --soft-pink: #FFDEE7;
  --soft-lavender: #ECE6FC;
  --white: #FFFFFF;
  --grey: #E9EBF0;
  --text: #1A3663;
  --card-shadow: 0 4px 18px rgba(60,70,103,0.10), 0 2px 6px rgba(60,70,103,0.06);
}

/* ================= CONTAINER & LAYOUT ======================== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
}

section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.feature-grid, .card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}

.content-grid { 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;
  justify-content: flex-start;
  margin-top: 24px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--white);
  box-shadow: var(--card-shadow);
  border-radius: 18px;
  padding: 28px 24px 24px 24px;
  min-width: 280px;
  max-width: 340px;
  gap: 18px;
  margin-bottom: 20px;
  border: 1px solid #ECE6FC;
}
.testimonial-card p {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.7;
}
.testimonial-card strong {
  font-size: 1rem;
  color: #50A187;
  font-weight: 700;
}
.testimonial-card span {
  color: #F8C954;
  font-size: 1.25rem;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.18em;
}

.card {
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--card-shadow);
  padding: 28px 22px;
  margin-bottom: 20px;
}
.card-container { gap: 24px; }

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

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

.news-list,
.event-calendar,
.event-highlights,
.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}

/* ============= HEADER ========================= */
header {
  background: linear-gradient(90deg, #ECE6FC 0%, #D7F4EB 100%);
  padding: 0;
  box-shadow: 0 1px 6px rgba(60,70,103,0.05);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0 18px;
  min-height: 80px;
}
header img {
  height: 44px;
  width: auto;
  margin-right: 24px;
}
nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #345183;
  padding: 8px 12px;
  border-radius: 12px;
  transition: background 0.18s, color 0.14s;
  position: relative;
}
header nav a:hover,
header nav a:focus {
  background: var(--soft-blue);
  color: var(--primary);
  outline: none;
}
.cta-button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  background: linear-gradient(90deg, #FFF5CC 0%, #CCE3F6 100%);
  color: var(--primary);
  padding: 14px 34px;
  border-radius: 32px;
  border: none;
  font-size: 1.12rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(102,189,155,0.10);
  margin-left: 32px;
  transition: background 0.18s, box-shadow 0.18s, color 0.13s;
  outline: none;
  text-align: center;
  display: inline-block;
}
.cta-button:hover,
.cta-button:focus {
  background: linear-gradient(90deg,#FFDEE7 0%, #B6F0CE 100%);
  color: #348355;
  box-shadow: 0 6px 20px rgba(60,70,103,0.18);
}

button,
.mobile-menu-close {
  font-family: 'Montserrat', sans-serif;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5em;
  font-size: 1.6rem;
  color: var(--primary);
  transition: color 0.16s;
}
button:focus-visible { outline: 2px solid #4B74C5; }

.mobile-menu-toggle {
  display: none;
  margin-left: 24px;
  background: var(--soft-pink);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #CCE3F6;
  color: #326698;
}

/* ============ MOBILE MENU (BURGER) ============= */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(180deg, #FFDEE7 0%, #ECE6FC 100%);
  z-index: 1200;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
  box-shadow: -6px 0 22px rgba(52,79,131,0.12);
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 28px 30px 0 0;
  background: var(--soft-blue);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #25487a;
  font-size: 2.2rem;
  transition: background 0.15s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--soft-pink);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 36px 0 0 42px;
  width: 90vw;
}
.mobile-nav a {
  font-size: 1.25rem;
  color: #1A3663;
  background: var(--soft-yellow);
  border-radius: 14px;
  padding: 13px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  transition: background 0.18s, color 0.14s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--soft-blue);
  color: #348355;
}

/* ============= FOOTER ===================== */
footer {
  background: linear-gradient(90deg,#CCE3F6 0%, #FFDEE7 100%);
  border-top: 1px solid #D5D9EA;
  padding: 40px 0 24px 0;
  font-size: 0.97rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 16px;
}
footer nav a {
  color: #345183;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.97rem;
  padding: 8px 10px;
  border-radius: 10px;
  transition: background 0.16s;
}
footer nav a:hover,
footer nav a:focus {
  background: var(--soft-pink);
  color: #1A3663;
}
.footer-contact p, .footer-contact a {
  color: #46806A;
  font-size: 0.98rem;
  margin-bottom: 2px;
}
.footer-contact a {
  text-decoration: underline;
}

/* =============== CARDS & FEATURES =============== */
.feature-grid > div, .card, .text-section, .content-wrapper > div {
  margin-bottom: 20px;
}
.feature-grid > div {
  background: var(--accent);
  border-radius: 15px;
  box-shadow: var(--card-shadow);
  padding: 24px 20px;
  min-width: 240px;
  max-width: 310px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
  transition: box-shadow 0.18s, background 0.25s;
  border: 1px solid var(--soft-lavender);
}
.feature-grid > div:hover,
.feature-grid > div:focus-within {
  background: var(--soft-blue);
  box-shadow: 0 7px 28px rgba(76, 174, 186, 0.18);
}
.feature-grid img {
  height: 48px;
  width: 48px;
  margin-bottom: 8px;
}

/* "content-wrapper" helpers (e.g. in cards) */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.card-container > .card,
.content-grid > .card,
.feature-grid > div {
  margin-right: 0;
}

/* ================= TABLES ==================== */
table {
  width: 100%;
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--card-shadow);
  margin-bottom: 16px;
  border: 1px solid #ECE6FC;
  overflow: hidden;
}
table caption {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: #326698;
  background: #D7F4EB;
  padding: 7px 0;
  font-size: 1.07rem;
}
table th,
table td {
  text-align: left;
  padding: 12px 14px;
  font-size: 1rem;
}
table th {
  background: #F7F7F9;
  color: #1A3663;
  font-weight: 700;
}
table tr {
  border-bottom: 1px solid #ECE6FC;
}
table tr:last-child { border-bottom: none; }
table td { color: #46806A; }

td, th { min-width: 110px; }

/* ============ FORMS GENERIC ================ */
input,
textarea,
select {
  font-family: 'Open Sans', sans-serif;
  border: 1px solid #CCE3F6;
  border-radius: 11px;
  padding: 12px 14px;
  font-size: 1rem;
  margin-bottom: 16px;
  transition: border 0.16s;
  width: 100%;
  background: #FFF;
}
input:focus,
textarea:focus,
select:focus {
  border-color: #B6F0CE;
  outline: none;
}
label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  margin-bottom: 8px;
}

/* ============ LINKS & INTERACTIVE =============== */
a, button, .cta-button {
  transition: color 0.14s, background 0.18s, box-shadow 0.18s, border 0.15s;
}

/* =============== RESPONSIVE DESIGN ================== */
@media (max-width: 1080px) {
  .container { max-width: 960px; }
  .feature-grid > div, .card {
    min-width: 200px;
    max-width: 100%;
  }
}
@media (max-width: 900px) {
  .container { max-width: 98vw; }
}
@media (max-width: 768px) {
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.26rem; }
  .container { padding: 0 6vw; }
  .content-wrapper,
  .content-grid,
  .feature-grid,
  .card-container,
  .testimonials,
  .news-list,
  .event-calendar,
  .event-highlights,
  .contact-details {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  section {
    padding: 24px 0 28px 0;
    margin-bottom: 36px;
  }
  .content-wrapper { gap: 18px; }
  .feature-grid > div {
    min-width: 98%;
    max-width: 99vw;
    padding: 18px 10px;
  }
  .testimonial-card { min-width: 100%; max-width: 99vw; }
  .cta-button { width: 100%; text-align: center; font-size: 1.07rem; margin-left: 0; }
  
  .mobile-menu-toggle {
    display: flex;
    z-index: 1201;
  }
  header nav {
    display: none !important;
  }
}
@media (max-width: 540px) {
  h1 { font-size: 1.16rem; }
  h2 { font-size: 1rem; }
  .cta-button { font-size: 0.99rem; padding: 13px 6px; }
  .testimonial-card { padding: 16px 8px 14px 8px; }
  .feature-grid > div { padding: 11px 4px; }
  .container { padding: 0 2vw; }
}

/* =============== HERO STYLES ================== */
section:first-of-type {
  background: linear-gradient(95deg, #FFDEE7 0%, #CCE3F6 100%);
  border-radius: 0 0 30px 30px;
  box-shadow: 0 12px 48px rgba(122, 204, 224, 0.09);
  margin-bottom: 50px;
  padding-top: 58px;
}
section:first-of-type h1, section:first-of-type h2 {
  color: #326698;
}
section:first-of-type .cta-button {
  margin-left: 0;
  margin-top: 19px;
}

/* =============== NAVIGATION FIXES ============= */
@media (max-width: 900px) {
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    min-height: 70px;
    gap: 11px;
  }
  .cta-button { margin-top: 10px; margin-bottom: 8px; }
}

/* =============== COOKIE CONSENT BANNER ================== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, #FFF5CC 0%, #CCE3F6 100%);
  border-top: 1px solid #E9EBF0;
  box-shadow: 0 -2px 30px #FFDEE766;
  padding: 28px 10vw 20px 10vw;
  z-index: 1400;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px;
}
.cookie-banner p {
  color: #4264A1;
  font-size: 1.05rem;
  margin-right: 12px;
  flex: 3 1 220px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 22px;
  padding: 10px 23px;
  font-size: 1.08rem;
  margin-right: 13px;
  background: #76C86B;
  color: #1A3663;
  cursor: pointer;
  transition: background 0.17s;
  box-shadow: 0 1px 4px #CCE3F680;
}
.cookie-btn.reject {
  background: #FFDEE7;
  color: #46637A;
}
.cookie-btn.settings {
  background: #ECE6FC;
  color: #493B7A;
}
.cookie-btn:hover,
.cookie-btn:focus {
  background: #B6F0CE;
  color: #25487a;
}
.cookie-btn.reject:hover {
  background: #FFE5E5;
}
.cookie-btn.settings:hover {
  background: #D7F4EB;
}

@media (max-width: 720px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 5vw;
    gap: 14px;
  }
  .cookie-banner p { margin: 0 0 4px 0; }
}

/* =========== COOKIE CONSENT MODAL =============== */
.cookie-modal-overlay {
  position: fixed;
  z-index: 1500;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(29,51,99,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(1.3px);
  animation: fadeinModalBg 0.34s;
}
@keyframes fadeinModalBg { from {opacity:0;} to {opacity:1;} }
.cookie-modal {
  min-width: 340px;
  max-width: 480px;
  background: linear-gradient(107deg, #ECE6FC 0%, #CCE3F6 100%);
  border-radius: 22px;
  box-shadow: 0 13px 43px #6B8DEC30;
  padding: 27px 28px 19px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 19px;
  animation: fadeinModal 0.44s cubic-bezier(.8,0,.16,1);
}
@keyframes fadeinModal { from{opacity:0;transform:translateY(32px);} to{opacity:1;transform:translateY(0);} }
.cookie-modal h3 {
  font-size: 1.23rem;
  margin-bottom: 13px;
  color: #25487a;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 14px; right: 18px;
  background: var(--soft-yellow);
  color: #25487a;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  border: none; cursor: pointer;
  transition: background 0.15s;
}
.cookie-modal .close-modal:hover { background: #FFDEE7; }
.cookie-modal .cookie-category {
  padding: 8px 0;
  margin-bottom: 5px;
  border-bottom: 1px solid #D7F4EB;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cookie-modal .cookie-category label {
  font-size: 1.04rem;
  color: #326698;
  font-weight: 600;
}
.cookie-modal .cookie-category input[type=checkbox] {
  width: 22px; height: 22px;
  accent-color: #76C86B;
}
.cookie-modal .category-disabled {
  color: #888;
  opacity: 0.78;
}
.cookie-modal .cookie-modal-actions {
  margin-top: 17px;
  display: flex;
  gap: 12px;
}
.cookie-modal .cookie-btn { min-width: 110px; }

@media (max-width: 540px){
  .cookie-modal { min-width: 95vw; max-width:98vw; padding: 18px 8px 10px 16px; }
}

/* === TRANSITION/MICRO-INTERACTIONS === */
.cta-button, .cookie-btn, .feature-grid > div, .card {
  transition: background 0.23s, color 0.16s, box-shadow 0.15s, border 0.22s;
}

/* =============== MISCELLANEOUS ================ */
::-webkit-scrollbar {
    width: 10px;
    background: #ECE6FC;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb {
    background: #CCE3F6;
    border-radius: 10px;
}

hr {
  border: none;
  border-top: 1px solid #D7F4EB;
  margin: 26px 0;
}

/* =========== VISUAL PASTEL ACCENTS =========== */
body {
  background: linear-gradient(150deg, #F7F7F9 60%, #D7F4EB 100%);
}

/* =========== Z-INDEX LAYERING FOR UI ========== */
header { z-index: 1100; position: relative; }
footer { z-index: 1100; }

/* Hide cookie banner/modal until needed (must have JS logic) */
.cookie-banner.hide,
.cookie-modal-overlay.hide { display: none !important; }

/* ============== ACCESSIBILITY (FOCUS STATES) ============ */
a:focus, .cta-button:focus, .cookie-btn:focus {
  outline: 2px solid #76C86B;
  outline-offset: 2px;
}

/* Ensure FAQ/collapsible or tabs in legal pages (if present) */
[role="tab"], [role="tablist"] {
  font-family: 'Montserrat', Arial, sans-serif;
}

/* ============== SOCIAL ICONS ================ */
.text-section a img[alt="Facebook"],
.text-section a img[alt="Instagram"] {
  display: inline-block;
  width: 36px;
  height: 36px;
  margin-right: 9px;
  filter: drop-shadow(0 2px 5px #B6F0CE30);
  transition: filter 0.12s;
}
.text-section a:hover img[alt="Facebook"], .text-section a:hover img[alt="Instagram"] {
  filter: drop-shadow(0 4px 10px #CCE3F6ff);
}

/* ======= PASTEL, SOFT BUTTON-LIKE LOOK FOR ALL .card, .feature-grid etc ======= */
.card, .feature-grid > div, .testimonial-card {
  box-shadow: 0 4px 18px rgba(60,70,103,0.10), 0 2px 6px rgba(60,70,103,0.06);
  border-radius: 18px;
  border: 1px solid #ECE6FC;
}

/* ================= CLARIFYING SPACING (MANDATORY) ============= */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; align-items: center; gap: 20px; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* =============== STANDOUT CLASSES FOR SPECIAL ELEMENTS ============= */
ul li::before {
  content: '\2022';
  color: #B6F0CE;
  font-size: 1.3em;
  margin-right: 7px;
  vertical-align: -0.11em;
}
ul { padding-left: 1.1em; margin-bottom: 14px; }

/**** NO grid, NO columns or clamp() anywhere as instructed ****/
