/* --- CSS RESET & BASIC 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;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  background: linear-gradient(120deg, #FEE385 0%, #FFFFFF 100%);
  color: #26326F;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #26326F;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #FEE385;
}

/* --- BRAND FONTS (Font-face or Google Fonts import assumed in HTML) --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #26326F;
}
h1 {
  font-size: 2.6rem;
  margin-bottom: 26px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
p {
  font-size: 1rem;
  color: #26326F;
  margin-bottom: 1.2em;
}
strong {
  font-weight: bold;
}
ul, ol {
  padding-left: 1.3em;
  margin-bottom: 1.2em;
}
ul li, ol li {
  margin-bottom: 6px;
  list-style: none;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
ul li img, ol li img {
  width: 22px;
  height: 22px;
}

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

/* --- HEADER --- */
header {
  background: #26326F;
  padding: 0;
  box-shadow: 0 3px 16px rgba(38,50,111,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  min-height: 70px;
  gap: 0;
}
header a img {
  height: 48px;
  margin-right: 24px;
}
header nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #ffffff;
  letter-spacing: 0.1px;
  padding: 8px 0;
  transition: color 0.18s;
}
header nav a.cta-primary {
  background: linear-gradient(90deg, #FEE385 20%, #FFFFFF 120%);
  color: #26326F;
  padding: 9px 18px;
  border-radius: 24px;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(255,193,77,0.07);
  transition: background 0.24s, color 0.22s;
  margin-left: 16px;
  border: none;
}
header nav a.cta-primary:hover, header nav a.cta-primary:focus {
  background: #FEE385;
  color: #26326F;
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  color: #FEE385;
  font-size: 2.1rem;
  border: none;
  cursor: pointer;
  margin-left: 18px;
  transition: color 0.18s;
  z-index: 2001;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #FEE385;
}

/* --- MOBILE NAV MENU --- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #26326F;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(.77,0,.18,1);
  z-index: 2100;
  padding-top: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  margin-top: 20px;
  margin-left: 22px;
  background: none;
  border: none;
  color: #FEE385;
  font-size: 2rem;
  cursor: pointer;
  align-self: flex-start;
  transition: color 0.14s;
  z-index: 2120;
}
.mobile-menu-close:focus {
  outline: 2px solid #FEE385;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 48px;
  width: 100%;
  align-items: flex-start;
  padding-left: 40px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.12rem;
  color: #ffffff;
  font-weight: 500;
  letter-spacing: .5px;
  padding: 8px 0;
  transition: color 0.18s, background 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #FEE385;
}

/* --- MAIN SECTIONS & FLEX SPACING --- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #ffffffcc;
  border-radius: 28px;
  box-shadow: 0 2px 16px rgba(38,50,111,0.07);
}

.card-container, .team-bio-cards, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
}
.card, .team-card {
  background: #FFFFFF;
  border-radius: 22px;
  box-shadow: 0 2px 14px rgba(38,50,111,0.09);
  padding: 32px 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 240px;
  max-width: 340px;
  flex: 1 1 240px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #FEE385;
  border-radius: 18px;
  box-shadow: 0 3px 16px rgba(38,50,111,0.08);
  margin-bottom: 20px;
  max-width: 580px;
}
.testimonial-card p {
  color: #26326F;
  font-size: 1.07rem;
}
.testimonial-card span {
  color: #26326F;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- FAQ DETAILS --- */
details {
  background: #F9F7EF;
  border-radius: 10px;
  margin-bottom: 16px;
  padding: 16px 18px;
  box-shadow: 0 2px 8px rgba(38,50,111,0.06);
}
details summary {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #26326F;
  font-weight: 700;
  cursor: pointer;
  font-size: 1.1rem;
}
.faq-answer {
  padding-top: 9px;
  font-size: 1rem;
}

/* --- BUTTONS & CTA --- */
.cta-primary, .cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #26326F 0%, #FEE385 100%);
  background-size: 200% 100%;
  background-position: right center;
  color: #26326F;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.12rem;
  border: none;
  border-radius: 26px;
  padding: 12px 32px;
  margin-top: 16px;
  margin-bottom: 16px;
  box-shadow: 0 2px 10px rgba(38,50,111,0.13);
  cursor: pointer;
  transition: background-position 0.24s, color 0.12s, box-shadow 0.18s;
  outline: none;
}
.cta-primary:hover, .cta-primary:focus {
  background-position: left center;
  color: #FFFFFF;
  box-shadow: 0 6px 24px rgba(38,50,111,0.18);
  text-decoration: none;
}
.cta-secondary {
  background: #26326F;
  color: #FEE385;
  border: 2px solid #FEE385;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #FEE385;
  color: #26326F;
  border-color: #26326F;
}

/* --- FOOTER --- */
footer {
  background: #26326F;
  color: #FFFFFF;
  padding: 36px 0 18px 0;
  font-size: 1rem;
}
footer .container {
  flex-direction: column;
  gap: 0;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: flex-start;
  gap: 40px 24px;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 8px;
}
footer nav a {
  color: #FFF;
  font-weight: 500;
  transition: color 0.15s;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
footer nav a:hover, footer nav a:focus {
  color: #FEE385;
}
.footer-contact ul {
  margin-bottom: 0;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-contact li {
  color: #fff;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.social-media {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 12px;
}
.social-media a img {
  width: 28px;
  height: 28px;
  transition: filter 0.18s;
}
.social-media a:hover img {
  filter: brightness(1.1) drop-shadow(0 3px 5px #fee38577);
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #26326F;
  color: #fff;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 18px 20px 28px 20px;
  box-shadow: 0 -4px 20px rgba(38,50,111,0.08);
  gap: 16px;
  animation: cookieSlideUp 0.42s cubic-bezier(.77,0,.18,1) 0.1s both;
}
@keyframes cookieSlideUp {
  0% { transform: translateY(120px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: #fff;
  font-size: 0.98rem;
}
.cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
.cookie-accept, .cookie-reject, .cookie-settings {
  padding: 8px 20px;
  border-radius: 18px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  outline: none;
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.12s;
}
.cookie-accept {
  background: #FEE385;
  color: #26326F;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #fffbea;
}
.cookie-reject {
  background: #FFFFFF;
  color: #26326F;
  border: 1px solid #FEE385;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #FEE385;
  color: #26326F;
}
.cookie-settings {
  background: transparent;
  color: #FEE385;
  border: 1.5px solid #FEE385;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: #FEE385;
  color: #26326F;
}

/* --- COOKIE PREFERENCES MODAL --- */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 3150;
  background: rgba(38,50,111,0.76);
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.20s;
}
.cookie-modal.active {
  display: flex;
}
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 7px 36px #26326F22;
  max-width: 400px;
  width: 90%;
  padding: 34px 26px 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal-content h2 {
  color: #26326F;
  margin-bottom: 4px;
  font-size: 1.28rem;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.cookie-category label {
  font-size: 1rem;
  color: #26326F;
}
.cookie-category input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: #26326F;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 15px;
  margin-top: 16px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  color: #26326F;
  font-size: 1.44rem;
  cursor: pointer;
  z-index: 3160;
}

/* --- RESPONSIVE FLEX LAYOUT & UTILS --- */
@media (max-width: 1024px) {
  .container {
    max-width: 970px;
  }
  .content-wrapper {
    gap: 14px;
  }
  .card, .team-card {
    max-width: 310px;
    padding: 22px 12px;
  }
}
@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 36px;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  section {
    padding: 28px 8px;
    margin-bottom: 38px;
  }
  h1 {
    font-size: 2rem;
    margin-bottom: 16px;
  }
  h2 {
    font-size: 1.2rem;
    margin-bottom: 12px;
  }
  .card, .team-card {
    min-width: 90%;
    max-width: 100%;
    padding: 16px 10px;
  }
  .card-container, .team-bio-cards, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    max-width: 100%;
    padding: 16px 8px;
    gap: 14px;
  }
  .cookie-modal-content {
    padding: 20px 6vw 14px 6vw;
    font-size: 1rem;
  }
}
@media (max-width: 480px) {
  body {
    font-size: 14px;
  }
  .footer-contact li, .content-wrapper, .card, .team-card {
    font-size: 0.95rem;
  }
  header .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  .cookie-banner {
    padding-left: 6px;
    padding-right: 6px;
  }
}

/* --- SMOOTH TRANSITIONS & INTERACTIVE EFFECTS --- */
.card, .team-card, .testimonial-card, section {
  transition: box-shadow 0.19s, transform 0.18s;
}
.card:hover, .team-card:hover, .testimonial-card:hover {
  box-shadow: 0 6px 32px #fee38544, 0 1px 4px #26326F13;
  transform: translateY(-3px) scale(1.01);
}
section:hover {
  box-shadow: 0 4px 28px #fee38529;
}
summary::-webkit-details-marker {
  display:none; 
}

details[open] summary {
  color: #FEE385;
}

/* Hide scrollbars inside cookie banner (optional visual polish) */
.cookie-modal-content {
  scrollbar-width: thin;
  scrollbar-color: #26326F #fff;
}

/* Hide cookie modal when not active */
.cookie-modal:not(.active) {
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}

/* --- VISUAL HIERARCHY & UTILS --- */
.mt8 { margin-top: 8px; }
.mt16 { margin-top: 16px; }
.mt24 { margin-top: 24px; }
.mb8 { margin-bottom: 8px; }
.mb16 { margin-bottom: 16px; }
.mb24 { margin-bottom: 24px; }
.mb32 { margin-bottom: 32px; }

/* --- ACCESSIBILITY FOCUS RING (visible only when navigating via keyboard) --- */
:focus-visible {
  outline: 2px solid #FEE385 !important;
  outline-offset: 2px;
}

/* --- Hide by default for non-interactive classes --- */
@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
}

/* --- END --- */
