/* =====================================================
   CSS RESET & NORMALIZATION FOR PROFESSIONAL CORPORATE
   ===================================================== */
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;
  vertical-align: baseline;
  box-sizing: border-box;
  font: inherit;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #fff;
  color: #243452;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
a {
  color: #143669;
  text-decoration: none;
  transition: color 0.18s;
}
a:focus, a:hover {
  color: #21A179;
  outline: none;
}
ul, ol {
  list-style: none;
}
img, svg {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
strong {
  font-weight: bold;
}

/* ================================
   BRAND COLOR & FONT VARIABLES
   ================================ */
:root {
  --color-primary: #143669;
  --color-secondary: #21A179;
  --color-accent: #F7F8FA;
  --color-bg: #fff;
  --color-text: #243452;
  --color-heading: #143669;
  --color-muted: #7E8BA3;
  --color-border: #D7DEE7;
  --color-danger: #B00020;
  --shadow: 0 2px 16px 0 rgba(20,54,105,0.07);
  --shadow-hover: 0 3px 24px 0 rgba(20,54,105,0.13);

  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

/* =============================================
   STRUCTURE, CONTAINERS, SPACING, AND LAYOUTS
   ============================================= */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
  margin-top: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.bg-accent {
  background: var(--color-accent);
}

/* SPACING Utility classes */
.mb-20 { margin-bottom: 20px; }
.mb-32 { margin-bottom: 32px; }
.gap-20 { gap: 20px; }
.gap-24 { gap: 24px; }

/* =======================================
   TYPOGRAPHY SCALE & HEADINGS
   ======================================= */
h1, .h1 {
  font-family: var(--font-display);
  color: var(--color-heading);
  font-weight: 700;
  font-size: 2.75rem;
  line-height: 1.11;
  margin-bottom: 16px;
}
h2, .h2 {
  font-family: var(--font-display);
  color: var(--color-heading);
  font-weight: 600;
  font-size: 2rem;
  margin-bottom: 16px;
}
h3, .h3 {
  font-family: var(--font-display);
  color: var(--color-heading);
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 10px;
}
h4, .h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-heading);
  margin-bottom: 8px;
}
p, ul, ol, blockquote {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  margin-bottom: 16px;
}
blockquote {
  border-left: 4px solid var(--color-primary);
  padding-left: 18px;
  color: var(--color-primary);
  font-style: italic;
  background: none;
}
.subheadline {
  font-size: 1.25rem;
  color: var(--color-muted);
  font-family: var(--font-body);
  max-width: 700px;
  margin-bottom: 12px;
}
.text-section ul {
  padding-left: 18px;
  margin-bottom: 16px;
}
.text-section ul li {
  margin-bottom: 10px;
  padding-left: 8px;
  position: relative;
}
.text-section ul li::before {
  content: '\2022';
  color: var(--color-secondary);
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

/* =======================================
   BUTTONS & CTAs
   ======================================= */
.btn-primary,
.btn-secondary,
.btn-accept,
.btn-reject,
.btn-settings {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  padding: 12px 32px;
  border-radius: 24px;
  border: none;
  cursor: pointer;
  text-align: center;
  font-size: 1rem;
  transition: background-color 0.15s, box-shadow 0.22s, color 0.15s;
  box-shadow: var(--shadow);
  outline: none;
  margin-right: 12px;
}
.btn-primary {
  background: var(--color-primary);
  color: #fff;
  letter-spacing: 0.025em;
}
.btn-primary:hover, .btn-primary:focus {
  background: #2b5ca4;
  box-shadow: var(--shadow-hover);
  color: #fff;
}
.btn-secondary {
  background: var(--color-secondary);
  color: #fff;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #168b66;
}
.btn-accept {
  background: var(--color-primary);
  color: #fff;
}
.btn-accept:hover, .btn-accept:focus {
  background: #3560a3;
}
.btn-reject {
  background: #fff;
  color: var(--color-danger);
  border: 2px solid var(--color-danger);
}
.btn-reject:hover, .btn-reject:focus {
  background: var(--color-danger);
  color: #fff;
}
.btn-settings {
  background: var(--color-secondary);
  color: #fff;
}
.btn-settings:hover, .btn-settings:focus {
  background: #168b66;
}

/* =======================================
   HEADER, NAVIGATION, LOGO
   ======================================= */
header {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 30;
  width: 100%;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-primary);
  padding: 4px 2px;
  position: relative;
  transition: color 0.16s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--color-secondary);
}
.btn-primary {
  margin-left: 20px;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-primary);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  padding: 7px 8px;
  margin-left: 12px;
  transition: background 0.16s, color 0.15s;
  border-radius: 8px;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--color-accent);
  color: var(--color-secondary);
}

/* =============================
   MOBILE NAV OVERLAY
   ============================= */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 80vw;
  max-width: 380px;
  background: var(--color-bg);
  box-shadow: 2px 0 18px 0 rgba(20,54,105,0.19);
  z-index: 120;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(.47,1.64,.41,.8);
  padding: 36px 24px 24px 24px;
}
.mobile-menu.open {
  transform: translateX(0);
  transition: transform 0.32s cubic-bezier(.38,1.37,.35,.87);
}
.mobile-menu-close {
  font-size: 2rem;
  color: var(--color-primary);
  background: none;
  border: none;
  align-self: flex-end;
  margin-bottom: 16px;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 0.14s, color 0.13s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: var(--color-accent);
  color: var(--color-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 18px;
}
.mobile-nav a {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--color-primary);
  padding: 12px 6px;
  border-radius: 6px;
  transition: background 0.13s, color 0.13s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--color-accent);
  color: var(--color-secondary);
}

/* BLOCKING SCROLL WHEN MOBILE MENU IS OPEN (optional JS toggling) */
body.menu-open {
  overflow: hidden;
}

/* ==============
   HERO
   ============== */
.hero {
  padding: 64px 0 48px 0;
  background: var(--color-accent);
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  gap: 24px;
}

/* =========================
   FEATURES & CARDS
   ========================= */
.features {
  margin-bottom: 60px;
  padding: 40px 0;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}
.feature-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 32px 28px 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  min-width: 230px;
  max-width: 300px;
  flex: 1 1 250px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.feature-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px) scale(1.03);
}
.feature-card img {
  height: 40px;
  width: 40px;
  margin-bottom: 18px;
}
.feature-card h3 {
  margin-bottom: 10px;
  font-size: 1.17rem;
}
.featureCard h4 { margin-bottom: 8px; }

/* ==========
   SERVICES
   ========== */
.services {
  margin-bottom: 60px;
  padding: 40px 0;
}
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.service-list li,
.service-detail {
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 28px 24px;
  margin-bottom: 20px;
  flex: 1 1 240px;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.price {
  font-family: var(--font-display);
  color: var(--color-secondary);
  font-weight: 700;
  font-size: 1.12rem;
  margin-top: 10px;
}

.activity-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.activity-item {
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 28px 24px;
  margin-bottom: 20px;
  flex: 1 1 240px;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* LIST in features */
.features ul,
.services ul,
.activity-item ul {
  padding-left: 22px;
}
.features ul li,
.services ul li,
.activity-item ul li {
  margin-bottom: 8px;
}

/* ===============
   TESTIMONIALS
   =============== */
.testimonials {
  margin-bottom: 60px;
  padding: 40px 0;
}
.testimonials .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 28px 20px 28px;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
  min-width: 260px;
  flex: 1 1 220px;
  margin-bottom: 20px;
  max-width: 370px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.bg-accent .testimonial-card {
  background: #f7faff;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-hover);
  transform: scale(1.025);
}
.testimonial-card blockquote {
  color: var(--color-primary);
  font-size: 1rem;
  margin: 0;
  border-left: 3px solid var(--color-secondary);
  padding-left: 16px;
  background: none;
}
.testimonial-author {
  color: var(--color-muted);
  font-size: 0.98rem;
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 500;
  margin-top: 2px;
  letter-spacing: 0.01em;
}

/* ==========
   CALL TO ACTION
   ========== */
.cta {
  margin-bottom: 60px;
  padding: 32px 0;
  background: var(--color-secondary);
  color: #fff;
}
.cta .content-wrapper {
  align-items: center;
}
.cta h2, .cta .h2 {
  color: #fff;
}
.cta .btn-primary {
  margin-top: 18px;
}

/* ============
   CONTACT PAGE
   ============ */
.contact-info, .opening-hours {
  background: var(--color-accent);
  border-radius: 10px;
  padding: 20px 24px;
  margin-bottom: 20px;
  font-size: 1rem;
}

/* ==============
   FOOTER
   ============== */
footer {
  background: var(--color-primary);
  color: #fff;
  padding: 40px 0 0 0;
  font-size: 1rem;
  letter-spacing: 0.015em;
  border-top: 4px solid var(--color-secondary);
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 20px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #d0e2fd;
  font-size: 1rem;
  transition: color 0.16s;
}
.footer-nav a:focus,
.footer-nav a:hover {
  color: var(--color-secondary);
  text-decoration: underline;
}
.footer-contact {
  font-size: 0.98rem;
  color: #b2c3df;
  margin-bottom: 6px;
}
.footer-contact a {
  color: #dbf4ed;
  font-weight: 700;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  font-size: 0.97rem;
}
.footer-brand img {
  width: 48px;
}

/* ===================
   RESPONSIVE FLEXBOX
   =================== */
.card-container,
.card-grid,
.features .content-wrapper,
.service-list,
.activity-list,
.testimonials .content-wrapper,
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 14px;
  box-shadow: var(--shadow);
  background: #fff;
  padding: 22px 18px;
}
.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;
}

/* ================
   COOKIE BANNER
   ================ */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  color: var(--color-text);
  padding: 24px 20px 24px 20px;
  box-shadow: 0 -2px 24px 0 rgba(20,54,105,0.10);
  z-index: 2000;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: transform 0.24s cubic-bezier(.55,.11,.6,1), opacity 0.18s;
}
.cookie-banner.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner p {
  margin: 0;
  font-size: 1rem;
  color: var(--color-text);
  flex: 1 1 260px;
}
.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Cookie modal (Settings) */
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20,54,105,0.30);
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.22s;
}
.cookie-modal {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 42px 0 rgba(20,54,105,0.14);
  width: 98vw;
  max-width: 410px;
  padding: 38px 30px 28px 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: cookieModalIn 0.32s both;
}
@keyframes cookieModalIn {
  0% { opacity: 0; transform: translateY(40px) scale(0.98); }
  90% { opacity: 1; transform: translateY(-2px) scale(1.01); }
  100% { opacity: 1; transform: none; }
}
.cookie-modal h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
  color: var(--color-primary);
}
.cookie-category {
  margin-bottom: 14px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.cookie-category label {
  font-size: 1rem;
  color: var(--color-text);
  flex: 1 1 auto;
}
.cookie-toggle {
  width: 44px;
  height: 24px;
  border-radius: 12px;
  background: var(--color-accent);
  position: relative;
  display: inline-block;
  transition: background 0.2s;
}
.cookie-toggle input {
  display: none;
}
.cookie-slider {
  position: absolute;
  top: 2px; left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(20,54,105,0.06);
  transition: left 0.18s, background 0.2s;
}
.cookie-toggle.on { background: var(--color-secondary); }
.cookie-toggle.on .cookie-slider { left: 22px; background: var(--color-secondary); }
.cookie-toggle.off { background: #dae2ef; }
.cookie-toggle.off .cookie-slider { left: 2px; background: #fff; }
.cookie-modal-actions {
  margin-top: 10px;
  display: flex;
  flex-direction: row;
  gap: 14px;
  justify-content: flex-end;
}

/* ============
   MEDIA QUERIES
   ============ */

@media (max-width: 1023px) {
  .container { max-width: 95vw; }
  .feature-grid, .service-list, .activity-list, .testimonials .content-wrapper, .card-container, .card-grid, .content-grid {
    gap: 16px;
  }
}
@media (max-width: 850px) {
  header .container {
    flex-direction: row;
    gap: 10px;
  }
  .main-nav { gap: 15px; }
  .hero .content-wrapper { max-width: 92vw; }
}
@media (max-width: 830px) {
  .content-wrapper { gap: 24px; }
}
@media (max-width: 768px) {
  h1, .h1 { font-size: 2.05rem; }
  h2, .h2 { font-size: 1.35rem; }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .btn-primary {
    margin-left: 10px;
    padding: 10px 16px;
    font-size: 0.98rem;
  }
  .footer-nav, .footer-contact, .footer-brand {
    align-items: flex-start !important;
    flex-direction: column !important;
    gap: 8px !important;
  }
  footer .container {
    flex-direction: column;
    gap: 20px;
  }
  .feature-grid,
  .service-list,
  .activity-list,
  .testimonials .content-wrapper,
  .card-container, .card-grid, .content-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .feature-card,
  .service-list li,
  .service-detail,
  .activity-item,
  .testimonial-card {
    max-width: 100% !important;
    min-width: 0;
    width: 100%;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 18px 8px 18px 8px;
  }
  .cookie-modal {
    max-width: 96vw;
    padding: 24px 8px 18px 10px;
  }
}
@media (max-width: 520px) {
  html { font-size: 15px; }
  .container { padding: 0 6px; }
  h1, .h1 { font-size: 1.38rem; }
  h2, .h2 { font-size: 1.13rem; }
  .btn-primary, .btn-secondary { font-size: 0.94rem; padding: 9px 12px; }
}
@media (max-width: 375px) {
  html { font-size: 14px; }
}

/* ===============
   THANK YOU PAGE
   =============== */
.thank-you {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 56vh;
}
.thank-you .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 24px;
}

/* =========================
   Misc
   ========================= */
::selection {
  background: var(--color-secondary);
  color: #fff;
}

input, select, textarea, button {
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
}
button:focus, .btn:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

/* Hide visually, but remain accessible */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* Accessibility highlight for tab navigation */
:focus-visible {
  outline: 2.5px solid var(--color-secondary);
}

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