/* =================== 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, 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 {
  line-height: 1.15;
  scroll-behavior: smooth;
}
body {
  background: #F5F7FA;
  color: #22313A;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
  border: none;
}
a {
  color: #204065;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F4D35E;
  outline: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}
button {
  cursor: pointer;
  background: none;
}

/* ======================== BRAND FONTS ======================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', serif;
  color: #204065;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 14px;
}
h4, h5, h6 {
  font-size: 1.1rem;
}
p, ul, ol, li, span, a, cite, blockquote {
  font-family: 'Open Sans', Arial, sans-serif;
  line-height: 1.7;
  font-weight: 400;
  color: #647580;
}
p {
  margin-bottom: 18px;
  font-size: 1rem;
}
strong {
  font-weight: 700;
}

/* ==================== REUSABLE UTILITIES ===================== */
.container {
  width: 100%;
  max-width: 1080px;
  padding-left: 24px;
  padding-right: 24px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFF;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(32,64,101,0.05);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #F7FAFC;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(32,64,101,0.07);
  padding: 24px 18px;
  flex: 1 1 260px;
  min-width: 260px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 6px 18px rgba(32,64,101,0.12);
  transform: translateY(-2px) scale(1.011);
  z-index: 2;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  width: 100%;
}
.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;
  background: #F7FAFC;
  border: 1px solid #E3E8F0;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(32,64,101,0.06);
  max-width: 420px;
}
.testimonial-card blockquote {
  color: #22313A;
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 8px;
}
.testimonial-card cite {
  color: #204065;
  font-size: 0.97rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.highlights-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.highlights-grid > div {
  background: #F9FBFC;
  padding: 22px 18px;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(32,64,101,0.06);
  flex: 1 1 270px;
  min-width: 260px;
  max-width: 340px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.15s, transform 0.15s;
}
.highlights-grid > div:hover {
  box-shadow: 0 3px 10px rgba(32,64,101,0.17);
  transform: translateY(-2px) scale(1.014);
}

/* =============== HEADER & NAVIGATION ================ */
header {
  background: #204065;
  color: #FFF;
  padding: 0 0 2px 0;
  box-shadow: 0 2px 16px rgba(32,64,101,0.07);
  position: relative;
  z-index: 10;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 82px;
}
.logo img {
  height: 56px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  gap: 24px;
}
.main-nav a {
  color: #FFF;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.02rem;
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: border 0.17s, color 0.17s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #F4D35E;
  border-bottom: 2px solid #F4D35E;
}
.cta-btn {
  display: inline-block;
  background: #F4D35E;
  color: #204065;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 10px 28px;
  border-radius: 32px;
  box-shadow: 0 2px 8px rgba(32,64,101,0.11);
  transition: background 0.2s, color 0.2s, transform 0.17s, box-shadow 0.17s;
  border: none;
  margin-left: 16px;
}
.cta-btn:hover, .cta-btn:focus {
  background: #204065;
  color: #F4D35E;
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 5px 18px rgba(32,64,101,0.19);
}

/* =========== MOBILE MENU: Burger navigation ============= */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: transparent;
  color: #F4D35E;
  border: none;
  margin-left: 14px;
  z-index: 109;
  transition: color 0.2s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  color: #FFD95E;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  max-width: 100vw;
  background: #204065;
  color: #FFF;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.65,-0.02,.74,1.01);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.5rem;
  background: none;
  color: #F4D35E;
  border: none;
  position: absolute;
  top: 22px;
  right: 28px;
  z-index: 1210;
  transition: color 0.18s, background 0.18s;
  padding: 5px 12px;
  border-radius: 50%;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #2d5a8e;
  color: #FFF;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-top: 90px;
  padding-left: 38px;
}
.mobile-nav a {
  color: #F4D35E;
  font-size: 1.2rem;
  font-weight: 600;
  background: none;
  padding: 7px 0;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: #fff2b5;
  background: #293e5e;
}

@media (max-width: 1050px) {
  .container {
    max-width: 100vw;
  }
}
@media (max-width: 920px) {
  .main-nav {
    gap: 18px;
  }
  .card, .highlights-grid > div {
    min-width: 220px;
    max-width: 100%;
  }
}
@media (max-width: 820px) {
  .main-nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  header .container {
    padding-left: 12px;
    padding-right: 12px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.32rem; }
  h3 { font-size: 1.05rem; }
  .section, .container {
    padding: 22px 8px;
  }
  .content-grid, .highlights-grid, .card-container, .testimonial-slider {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
}
@media (max-width: 550px) {
  .logo img {
    height: 38px;
  }
  .section {
    padding: 15px 4px;
  }
  .container {
    padding-left: 6px;
    padding-right: 6px;
  }
  .testimonial-card {
    min-width: 0;
    max-width: 100%;
    padding: 15px 8px;
    font-size: 1rem;
  }
  .highlights-grid > div {
    padding: 12px 6px;
    font-size: 1rem;
  }
}

/* ================= HERO and MAIN SECTIONS ================= */
.hero, .reviews-hero, .tips-hero, .events-hero, .recommendations-hero, .contact-hero, .about-mission, .thank-you {
  background: linear-gradient(98deg, #204065 80%, #F4D35E 120%);
  background-size: cover;
  color: #FFF;
  margin-bottom: 60px;
  padding: 72px 0 44px 0;
  position: relative;
}
.hero h1, .hero p, .hero .cta-btn,
.reviews-hero h1, .tips-hero h1, .events-hero h1, .recommendations-hero h1, .contact-hero h1, .about-mission h1, .thank-you h1 {
  color: #FFF;
  background-color: #233956;
}
.hero .cta-btn, .reviews-hero .cta-btn, .about-mission .cta-btn {
  background: #F4D35E;
  color: #204065;
}
.hero .cta-btn:hover, .reviews-hero .cta-btn:hover, .about-mission .cta-btn:hover {
  background: #FFF;
  color: #204065;
}
.highlights {
  background: #f1f4f8;
  border-radius: 18px;
  margin-bottom: 60px;
  padding-top: 25px;
  padding-bottom: 25px;
}
.features {
  background: #FFF;
}
.features ul, .about-team ul, .about-mission ul, .tips-list ul, .event-list ul, .review-list ul, .recommendation-list ul, .contact-hero ul, .footer-contact {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.features li, .about-team li, .about-mission li, .tips-list li, .event-list li, .review-list li, .recommendation-list li, .contact-hero li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
}
.features li img, .about-team li img, .about-mission li img, .tips-list li img, .event-list li img, .review-list li img, .recommendation-list li img, .contact-hero li img {
  height: 32px;
  width: 32px;
}
/* CTA & JOIN COMMUNITY */
.cta,
.cta {
  background: #204065;
  color: #FFF;
  text-align: left;
  border-radius: 15px;
  margin-bottom: 36px;
  box-shadow: 0 3px 16px rgba(32,64,101,0.08);
}
.cta h2, .cta p {
  color: #fff;
}

/* ================== TESTIMONIALS ==================== */
.testimonials {
  background: #FAFBFC;
  border-radius: 16px;
  /* .testimonial-slider applied below */
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

/* ===================== FOOTER ======================= */
footer {
  background: #22313A;
  color: #F9F9F9;
  padding: 40px 0 16px 0;
  box-shadow: 0 -1px 12px rgba(32,64,101,0.06);
  margin-top: 60px;
}
footer .container {
  flex-direction: column;
  gap: 12px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  padding-bottom: 12px;
}
.footer-nav a {
  color: #F4D35E;
  font-size: 0.97rem;
  letter-spacing: 0.01em;
  padding: 6px 2px;
  border-radius: 2px;
  transition: background 0.13s, color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #FFF;
  background: #233956;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 0.98rem;
  color: #E2E9F4;
  background-color: #CED8E4;
  align-items: center;
  padding-bottom: 10px;
}
.footer-contact img {
  height: 18px;
  width: 18px;
  margin-right: 4px;
  vertical-align: middle;
}
footer p {
  font-size: 0.9rem;
  color: #CED8E4;
}

/* =============== SOCIAL LINKS =============== */
.social-links {
  display: flex;
  flex-direction: row;
  gap: 24px;
  margin-top: 8px;
  margin-bottom: 12px;
}
.social-links li {
  display: flex;
  align-items: center;
  font-size: 1.03rem;
  background: #F7FAFC;
  color: #204065;
  border-radius: 22px;
  padding: 7px 16px;
  box-shadow: 0 1px 4px rgba(32,64,101,0.11);
  transition: background 0.18s, color 0.18s;
}
.social-links li img {
  margin-right: 9px;
  width: 22px;
  height: 22px;
}
.social-links li:hover, .social-links li:focus {
  background: #F4D35E;
  color: #204065;
}

/* ============== COOKIE CONSENT BANNER =============== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #204065;
  color: #FFF;
  box-shadow: 0 -2px 12px rgba(32,64,101,0.21);
  padding: 20px 18px;
  z-index: 2002;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  transition: transform 0.4s, opacity 0.4s;
  transform: translateY(0);
  opacity: 1;
}
.cookie-banner.hidden {
  opacity: 0;
  transform: translateY(120%);
}
.cookie-banner .cookie-text {
  font-size: 1rem;
  color: #FFF;
  margin-bottom: 10px;
  text-align: center;
}
.cookie-banner .cookie-btn-row {
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.cookie-btn {
  padding: 9px 22px;
  color: #204065;
  background: #F4D35E;
  border-radius: 28px;
  border: none;
  font-weight: 700;
  font-size: 1.03rem;
  transition: background 0.18s, color 0.18s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #fffbe6;
  color: #204065;
}
.cookie-btn.secondary {
  background: #F7FAFC;
  color: #204065;
  border: 1.5px solid #E3E8F0;
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: #F4D35E;
  color: #204065;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 2100;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(30,40,56,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.34s;
}
.cookie-modal-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #FFF;
  border-radius: 22px;
  padding: 38px 26px 28px 26px;
  box-shadow: 0 5px 38px rgba(32,64,101,0.23);
  width: 95vw;
  max-width: 420px;
  color: #22313A;
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: flex-start;
  position: relative;
  animation: modalIn 0.45s cubic-bezier(.62,-0.01,.83,1.12);
}
@keyframes modalIn {
  0% { transform: scale(0.97) translateY(40px); opacity: 0; }
  80% { transform: scale(1.015) translateY(-6px); opacity: 1.03; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 19px;
  font-size: 1.7rem;
  color: #204065;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: color 0.16s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #F4D35E;
}
.cookie-modal h3 {
  font-size: 1.2rem;
  color: #204065;
  margin-bottom: 4px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin-bottom: 10px;
}
.cookie-category .label {
  font-size: 1.04rem;
}
.cookie-toggle {
  width: 38px;
  height: 20px;
  border-radius: 12px;
  background: #E3E8F0;
  position: relative;
  cursor: pointer;
  transition: background 0.16s;
  display: flex;
  align-items: center;
}
.cookie-toggle.enabled {
  background: #F4D35E;
}
.cookie-toggle-slider {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 16px;
  height: 16px;
  background: #FFF;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(32,64,101,0.12);
  transition: left 0.17s;
}
.cookie-toggle.enabled .cookie-toggle-slider {
  left: 20px;
}
.cookie-category .always-on {
  font-size: 0.97rem;
  color: #8CA6BF;
}
.cookie-modal-actions {
  margin-top: 18px;
  display: flex;
  flex-direction: row;
  gap: 14px;
  justify-content: flex-end;
  width: 100%;
}

/* ============= INTERACTIVE/ACCESSIBILITY ============== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
.cookie-btn:focus-visible {
  outline: 2px solid #F4D35E;
  outline-offset: 1.5px;
  background: #FFF4CA;
}

/* ============ PAGE-SPECIFIC CLASSES FOR HIERARCHY =========== */
.about-team, .about-community, .about-mission {
  background: #FFF;
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(32,64,101,0.04);
}
.review-list, .recommendation-list, .event-list, .tips-list {
  background: #FFF;
  border-radius: 13px;
  padding: 30px 18px;
  box-shadow: 0 2px 10px rgba(32,64,101,0.035);
  margin-bottom: 48px;
}
.submit-review, .personalize, .interactive, .participate, .join-community {
  background: #E8EEF4;
  border-radius: 13px;
  padding: 34px 18px;
  margin-bottom: 38px;
  box-shadow: 0 1px 4px rgba(32,64,101,0.07);
}
.cookie-policy, .privacy-policy, .gdpr, .terms-of-use {
  background: #FFF;
  border-radius: 12px;
  padding: 35px 16px;
  margin-bottom: 56px;
}
.thank-you {
  min-height: 60vh;
  background: linear-gradient(95deg, #204065 80%, #F4D35E 110%);
  border-radius: 19px;
  color: #FFF;
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}
.thank-you a {
  color: #F4D35E;
  font-weight: 700;
}
.thank-you .cta-btn {
  background: #F4D35E;
  color: #204065;
  margin-top: 26px;
}

/* ============ SPACING CLEANUP ============ */
main > section:not(:last-child), .section:not(:last-child), .highlights:not(:last-child), .features:not(:last-child), .testimonials:not(:last-child), .cta:not(:last-child) {
  margin-bottom: 60px;
}
.content-wrapper > * + * {
  margin-top: 15px;
}
@media (max-width: 768px) {
  main > section:not(:last-child), .section:not(:last-child), .highlights:not(:last-child), .features:not(:last-child), .testimonials:not(:last-child), .cta:not(:last-child) {
    margin-bottom: 40px;
  }
}

/* ========== BUTTON ANIMATION & TRANSITIONS ========== */
.button, .cta-btn, .cookie-btn, .cookie-modal-close, .mobile-menu-toggle, .social-links li {
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.13s;
}

/* ======= MISC: Animations for subtle entry ===== */
@media (prefers-reduced-motion: no-preference) {
  .card, .testimonial-card, .highlights-grid > div, .about-team, .about-community {
    animation: fadeinUp 0.81s cubic-bezier(.62,-0.01,.83,1.12) 0.01s 1;
  }
  @keyframes fadeinUp {
    0% { opacity: 0; transform: translateY(20px); }
    75% { opacity: .85; }
    100% { opacity: 1; transform: none; }
  }
}

/* =============== ACCESSIBILITY =============== */
@media (max-width: 380px) {
  h1, h2, h3, h4, h5, h6 { font-size: 1rem !important; }
}

/* END OF STYLE SHEET */
