/* =============================================================
   RESET & BASELINE NORMALIZATION
   ============================================================= */
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 {
  box-sizing: border-box;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
}

body {
  background: #FFFFFF;
  color: #244869;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

img {
  max-width: 100%;
  display: block;
  border: none;
}
a {
  color: #295377;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #EDB94D;
  outline: none;
}
ul, ol {
  padding-left: 1.25em;
  margin-bottom: 1em;
}
li {
  margin-bottom: 0.5em;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 1em;
  color: inherit;
  background: transparent;
  border: none;
  outline: none;
  box-shadow: none;
}

/* =============================================================
   TYPOGRAPHY – Minimalist / Brand Style
   ============================================================= */
@font-face {
  font-family: 'Playfair Display';
  src: local('Playfair Display'), url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&display=swap');
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: local('Montserrat'), url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');
  font-display: swap;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: #295377;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.6rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
}
h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}
p, .text-section p, .content-wrapper p, .footer-contact {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #244869;
  margin-bottom: 16px;
}
blockquote {
  font-style: italic;
  background: #F2EDE3;
  border-left: 4px solid #EDB94D;
  padding: 18px 24px;
  border-radius: 8px;
  margin: 24px 0;
  color: #244869;
  font-size: 1.1rem;
}

/* Responsive Typography */
@media (max-width: 480px) {
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.1rem; }
  h3 { font-size: 1rem; }
  p, li, input, button, a, .footer-contact {
    font-size: 0.96rem;
  }
}

/* =============================================================
   CONTAINER & SPACING
   ============================================================= */
.container {
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* For all major wrappers that should have spacing */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

/* =============================================================
   FLEXBOX PATTERNS
   ============================================================= */
.card-container, .card-grid, .service-teaser, .services-list, .category-grid, .country-tiles, .tip-grid, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.content-grid {
  gap: 20px;
}
.category-grid, .country-tiles, .tip-grid, .service-teaser, .services-list {
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 260px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(41,83,119,0.07), 0 0.5px 2px rgba(41,83,119,0.06);
  padding: 28px 20px;
  transition: box-shadow 0.2s, transform 0.12s;
}
.card:hover, .card:focus-within{
  box-shadow: 0 4px 20px rgba(41, 83, 119, 0.13);
  transform: translateY(-2px);
}

.content-grid > * {
  flex: 1 1 260px;
}

/* ========== SPECIAL SECTION FLEXBOX ========== */
.service-teaser > div,
.services-list > div,
.category-grid > div,
.country-tiles > div,
.tip-grid > div {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(41,83,119,0.06);
  padding: 24px 18px;
  flex: 1 1 220px;
  min-width: 0;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: box-shadow 0.18s, transform 0.12s;
}
.service-teaser > div:hover, .services-list > div:hover,
.category-grid > div:hover, .country-tiles > div:hover, .tip-grid > div:hover {
  box-shadow: 0 6px 32px rgba(41,83,119, 0.12);
  transform: translateY(-3px);
}
@media (max-width: 900px) {
  .service-teaser, .services-list,
  .category-grid, .country-tiles, .tip-grid {
    flex-direction: column;
    gap: 18px;
  }
}

/* =============================================================
   HEADER & NAVIGATION
   ============================================================= */
header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #F2EDE3;
  position: sticky;
  top: 0;
  z-index: 30;
  box-shadow: 0 2px 10px rgba(41,83,119,0.03);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 16px;
}
.main-nav {
  display: flex;
  gap: 28px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #244869;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  transition: color 0.16s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #EDB94D;
}
.main-nav a.active {
  color: #EDB94D;
}
.cta-button {
  display: inline-block;
  background: #EDB94D;
  color: #244869;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 10px 28px;
  border-radius: 32px;
  box-shadow: 0 2px 8px rgba(41,83,119,0.09);
  transition: background 0.18s, box-shadow 0.16s, color 0.14s;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}
.cta-button:hover, .cta-button:focus {
  background: #295377;
  color: #fff;
  box-shadow: 0 4px 20px rgba(41, 83, 119, 0.19);
}

@media (max-width: 900px) {
  .main-nav {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .cta-button {
    display: none;
  }
}

/* =================== MOBILE BURGER MENU =================== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.05rem;
  color: #295377;
  cursor: pointer;
  margin-left: 12px;
  padding: 4px 12px;
  z-index: 101;
  transition: color 0.15s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  color: #EDB94D;
}
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.37s cubic-bezier(.66,0,.36,1);
  z-index: 100;
  box-shadow: 0 0 0 rgba(0,0,0,0.01);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: -6px 0 30px rgba(41,83,119,0.13);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #295377;
  align-self: flex-end;
  margin: 12px 26px 12px 0;
  cursor: pointer;
  transition: color 0.18s;
  z-index: 112;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #EDB94D;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 30px 40px 0 38px;
  width: 100%;
  background: #fff;
}
.mobile-nav a {
  font-size: 1.1rem;
  color: #244869;
  padding: 10px 0;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: color 0.14s;
  border-bottom: 1px solid #F2EDE3;
}
.mobile-nav a:last-child {
  border-bottom: 0;
}
.mobile-nav a:active, .mobile-nav a:focus {
  color: #EDB94D;
}

/* =============================
   HERO & FEATURE PATTERNS
   ============================= */
section {
  margin-bottom: 60px;
  padding: 40px 0;
}
@media (max-width: 600px) {
  section {
    padding: 30px 0;
    margin-bottom: 38px;
  }
}

/* =======================
   TESTIMONIAL PATTERNS
   ======================= */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #F2EDE3;
  color: #244869;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(41,83,119,0.03);
  margin-bottom: 20px;
  min-width: 0;
}
.testimonial-card p {
  color: #244869;
  font-size: 1.08rem;
  font-style: italic;
}
.testimonial-details {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  opacity: 0.90;
}
.testimonial-details strong {
  color: #244869;
  font-weight: 700;
}
.testimonial-details span {
  color: #EDB94D;
  font-size: 1.1em;
  letter-spacing: 1px;
  font-weight: 600;
}

/* Contrast for any stars or attribution */
.testimonial-card, .testimonial-card p, .testimonial-details, .testimonial-details strong {
  color: #244869;
}

/* ============================
   FORMS & SEARCH BAR
   ============================ */
.search-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 16px;
  padding-top: 4px;
}
.search-bar input[type="text"] {
  flex: 1 1 180px;
  padding: 10px 16px;
  border: 1px solid #F2EDE3;
  border-radius: 32px;
  background: #F2EDE3;
  font-size: 1rem;
  transition: border 0.12s;
  outline: none;
}
.search-bar input:focus {
  border-color: #EDB94D;
}
.search-bar button, input[type="submit"] {
  background: #EDB94D;
  color: #244869;
  border-radius: 32px;
  padding: 10px 24px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.16s, color 0.14s;
  box-shadow: 0 2px 6px rgba(41,83,119,0.09);
}
.search-bar button:hover, .search-bar button:focus {
  background: #295377;
  color: #fff;
}

/* ============================
   COURSE & SERVICE PRICES
   ============================ */
.service-price, strong {
  color: #295377;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-top: 6px;
}

/* ============================
   LIST STYLES IN SECTIONS
   ============================ */
ul {
  list-style-type: disc;
  margin-left: 20px;
}
ul li {
  margin-bottom: 10px;
}

ol {
  list-style-type: decimal;
  margin-left: 20px;
  margin-bottom: 16px;
}

.commitment-section {
  background: #F2EDE3;
  border-radius: 14px;
  padding: 18px 24px;
  margin-top: 18px;
}

/* ===============
   FOOTER
   =============== */
footer {
  background: #fff;
  border-top: 1px solid #F2EDE3;
  color: #295377;
  margin-top: 50px;
  padding: 36px 0 32px 0;
  width: 100%;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
}
footer nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
footer nav a {
  color: #295377;
  font-size: 0.97rem;
  padding: 5px 0;
  transition: color 0.17s;
}
footer nav a:hover {
  color: #EDB94D;
}
.footer-contact {
  font-size: 0.98rem;
  color: #295377;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-contact img {
  width: 17px;
  height: 17px;
  vertical-align: middle;
  margin-right: 6px;
  display: inline-block;
}
@media (max-width: 700px) {
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* =========================================================
   COOKIE CONSENT BANNER & MODAL
   ========================================================= */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #F2EDE3;
  box-shadow: 0 -2px 16px rgba(41,83,119,0.05);
  color: #295377;
  padding: 24px 20px 24px 20px;
  z-index: 1150;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: 0.99rem;
  transition: transform 0.27s cubic-bezier(.66,0,.36,1);
  transform: translateY(0);
  border-top: 1px solid #EDB94D;
}
.cookie-banner.hide {
  transform: translateY(150%);
}
.cookie-banner p {
  flex: 1 1 200px;
  margin: 0;
  color: #295377;
  font-size: 1rem;
}
.cookie-banner button {
  background: #EDB94D;
  color: #295377;
  border-radius: 32px;
  padding: 10px 23px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  margin-right: 8px;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background 0.16s, color 0.12s;
  box-shadow: 0 2px 8px rgba(41,83,119,0.08);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #295377;
  color: #fff;
}
.cookie-banner .cookie-settings-btn {
  background: transparent;
  color: #295377;
  border: 1.5px solid #295377;
  margin-left: 2px;
  box-shadow: none;
  transition: background 0.18s, color 0.18s, border-color 0.24s;
}
.cookie-banner .cookie-settings-btn:hover,
.cookie-banner .cookie-settings-btn:focus {
  background: #295377;
  color: #fff;
  border-color: #EDB94D;
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(33,36,45, 0.32);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.23s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-dialog {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 36px rgba(41,83,119,0.17), 0 1px 4px rgba(41,83,119,0.06);
  max-width: 400px;
  width: 95%;
  padding: 36px 30px 26px 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  position: relative;
}
.cookie-modal-title {
  font-family: 'Playfair Display', serif;
  color: #295377;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 3px;
}
.cookie-modal-close {
  position: absolute;
  top: 18px; right: 20px;
  background: none;
  border: none;
  color: #244869;
  font-size: 1.4rem;
  cursor: pointer;
  transition: color 0.14s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #EDB94D;
}
.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}
.cookie-category-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
}
.cookie-category-title {
  flex: 1 1 140px;
  font-weight: 600;
  color: #244869;
  font-size: 1rem;
}
.cookie-toggle {
  appearance: none;
  width: 36px;
  height: 22px;
  border-radius: 12px;
  background: #F2EDE3;
  border: 1.5px solid #EDB94D;
  position: relative;
  transition: background 0.2s;
  outline: none;
  cursor: pointer;
}
.cookie-toggle:checked {
  background: #EDB94D;
  border-color: #295377;
}
.cookie-toggle:before {
  content: '';
  display: block;
  position: absolute;
  left: 2px; top: 2px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07);
  transition: left 0.2s;
}
.cookie-toggle:checked:before {
  left: 16px;
}
.cookie-toggle[disabled], .cookie-toggle[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
}
.cookie-modal-footer {
  display: flex;
  gap: 12px;
  width: 100%;
  justify-content: flex-end;
  margin-top: 12px;
}
.cookie-modal-footer button {
  background: #EDB94D;
  color: #295377;
  border-radius: 32px;
  padding: 10px 22px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  transition: background 0.14s, color 0.14s;
  cursor: pointer;
}
.cookie-modal-footer button:focus, .cookie-modal-footer button:hover {
  background: #295377;
  color: #fff;
}

/* ============================================================
   UTILS & ANIMATION
   ============================================================ */
.fade-in {
  animation: fadeIn 0.32s cubic-bezier(.47,0,.53,1) both;
}
@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(18px); }
  100% { opacity: 1; transform: translateY(0); }
}
.slide-in-right {
  animation: slideInRight 0.32s cubic-bezier(.62,0,.37,1) both;
}
@keyframes slideInRight {
  0% { opacity: 0; transform: translateX(120px); }
  100% { opacity: 1; transform: translateX(0); }
}

/* ===========
   MISC
   =========== */
::-webkit-input-placeholder { color: #b4b4b4; opacity: 1; }
::-moz-placeholder { color: #b4b4b4; opacity: 1; }
:-ms-input-placeholder { color: #b4b4b4; opacity: 1; }
::placeholder { color: #b4b4b4; opacity: 1; }

hr {
  border: none;
  border-top: 1px solid #F2EDE3;
  margin: 34px 0;
}

/* ================================
   CARD CONTAINER SPACING & SHADOWS
   ================================ */
.card-container {
  margin-bottom: 40px;
}
.card {
  min-height: 120px;
}
@media (max-width: 800px) {
  .card-container {
    flex-direction: column;
  }
  .card {
    width: 100%;
  }
}

/* ======================
   HIGHLIGHTS, BADGES
   ====================== */
.highlighted-advice, .regional-tips {
  background: #F2EDE3;
  border-radius: 12px;
  padding: 18px 20px;
  margin-top: 14px;
  font-size: 1rem;
  color: #244869;
}

/* =======================
   MAP, ADDRESS SECTIONS
   ======================= */
.contact-details p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.map-section {
  background: #F2EDE3;
  padding: 20px 16px;
  border-radius: 10px;
  margin: 18px 0 0 0;
  color: #295377;
}

/* =======================
   RESPONSIVE
   ======================= */
@media (max-width: 1200px) {
  .container {
    max-width: 97vw;
  }
}
@media (max-width: 700px) {
  body {
    font-size: 0.97rem;
  }
  h1 {
    font-size: 1.22rem;
  }
  h2 {
    font-size: 1rem;
  }
  h3 {
    font-size: 0.98rem;
  }
  .container {
    padding: 0 4vw;
  }
}
@media (max-width: 480px) {
  .container {
    padding: 0 3vw;
  }
  section, .section {
    padding: 18px 0;
  }
  .content-wrapper {
    gap: 18px;
  }
}

/* ================================
   ACCESSIBILITY VISUAL FOCUS
   ================================ */
:focus-visible {
  outline: 2px solid #EDB94D;
  outline-offset: 2px;
}

/* ===========================
   MINIMALIST BUTTON MODIFIER
   =========================== */
.button-minimal {
  background: none;
  color: #295377;
  border: 1.5px solid #295377;
  border-radius: 32px;
  padding: 8px 20px;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.13s, color 0.13s, border-color 0.11s;
  box-shadow: none;
}
.button-minimal:hover, .button-minimal:focus {
  background: #EDB94D;
  color: #244869;
  border-color: #EDB94D;
}

/* ===============================
   PRINT OPTIMIZATION
   =============================== */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal {
    display: none !important;
  }
  body, .container {
    background: #fff !important;
    color: #222 !important;
    box-shadow: none !important;
  }
}
