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

/* --- 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;
}
body {
  line-height: 1.5;
  background: #F1F1EF;
  color: #0C2D48;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
  box-sizing: border-box;
}
ul, ol {list-style: none;}

img, svg {max-width: 100%; height: auto; display: block;}
a {text-decoration: none; color: inherit; transition: color 0.2s;}
a:focus {outline: 2px solid #F9A825; outline-offset: 2px;}

/* --- ROOT COLORS --- */
:root {
  --brand-primary: #0C2D48;
  --brand-secondary: #F9A825;
  --brand-accent: #F1F1EF;
  --brand-neutral: #fff;
  --brand-gray: #E5E8EC;
  --brand-border: #DFE2E6;
  --brand-shadow: rgba(12,45,72,0.08);
  --text-main: #0C2D48;
  --text-muted: #344966;
  --text-light: #566981;
}


/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--text-main);
  font-weight: 700;
  letter-spacing: 0.02em;
}
h1 {font-size: 2.5rem; line-height: 1.1; margin-bottom: 24px;}
h2 {font-size: 2rem; font-weight: 600; margin-bottom: 20px;}
h3 {font-size: 1.25rem; font-weight: 600; margin-bottom: 8px;}
h4, h5, h6 {font-size: 1.1rem; margin-bottom: 8px;}

p, blockquote, ul, ol, dl, table, details {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}
blockquote {
  border-left: 4px solid var(--brand-secondary);
  padding-left: 20px;
  color: var(--text-main);
  font-style: italic;
  background: #FEF9EC;
  margin-top: 8px; margin-bottom: 24px;
}

strong {
  font-weight: bold;
  color: var(--text-main);
}

ul, ol {
  margin-left: 18px;
  margin-bottom: 16px;
}
ul li, ol li {
  margin-bottom: 6px;
  list-style-type: disc;
}
dt {font-weight: 600; color: var(--text-main); margin-top: 16px; margin-bottom: 2px;}
dd {margin-left: 16px; color: var(--text-muted); margin-bottom: 12px;}

.table, table {
  width: 100%;
  border-collapse: collapse;
  background: var(--brand-neutral);
  margin-bottom: 24px;
}
th, td {
  border: 1px solid var(--brand-border);
  text-align: left;
  padding: 12px 16px;
  font-size: 1rem;
}
th {background: var(--brand-accent); color: var(--text-main); font-weight: 600;}

/* --- LAYOUT CONTAINERS --- */
.container {
  width: 100%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

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

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--brand-neutral);
  border-radius: 20px;
  box-shadow: 0 2px 8px var(--brand-shadow);
}

.text-section {
  background: var(--brand-accent);
  border-radius: 16px;
  padding: 32px 24px;
}

/* --- FLEXBOX GRID UTILITIES AS REQUIRED --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.feature-list li {
  background: var(--brand-neutral);
  border-radius: 16px;
  box-shadow: 0 1px 4px var(--brand-shadow);
  padding: 24px 18px;
  flex: 1 1 250px;
  min-width: 220px;
  max-width: 330px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-list li:hover, .service-card:hover {
  box-shadow: 0 4px 16px rgba(12,45,72,0.14);
  transform: translateY(-3px) scale(1.02);
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-top: 8px;
}
.service-card {
  background: var(--brand-neutral);
  border-radius: 16px;
  box-shadow: 0 2px 8px var(--brand-shadow);
  padding: 28px 22px 22px 22px;
  flex: 1 1 250px;
  min-width: 240px;
  max-width: 320px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  border: 1px solid var(--brand-border);
}
.service-card h3 {
  margin-bottom: 6px;
}
.service-price {
  color: var(--brand-secondary);
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: auto;
}

/* Testimonial slider/cards */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #FAFAF9;
  border-radius: 14px;
  box-shadow: 0 1px 8px rgba(12,45,72,0.08);
  padding: 20px 24px;
  gap: 16px;
  margin-bottom: 20px;
  min-width: 250px;
  max-width: 355px;
  border: 1px solid #E9EBEE;
  transition: box-shadow 0.22s, transform 0.17s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 20px rgba(12,45,72,0.11);
  transform: scale(1.018);
}
.testimonial-card p, .testimonial-card .testimonial-author {
  color: var(--text-main);
}
.testimonial-author {
  font-size: 1rem;
  color: var(--brand-secondary);
  font-weight: 600;
}

/* --- TIMELINE (about.html) --- */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.timeline li {
  background: var(--brand-neutral);
  border-left: 4px solid var(--brand-secondary);
  padding: 18px 20px 16px 18px;
  border-radius: 12px;
  box-shadow: 0 2px 8px var(--brand-shadow);
  margin-bottom: 8px;
}

/* --- BUTTONS & CTAs --- */
.cta, button, .btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 30px;
  background: var(--brand-primary);
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 5px var(--brand-shadow);
  transition: background 0.18s, color 0.18s, box-shadow 0.22s, transform 0.17s;
  display: inline-block;
  margin-top: 6px;
}
.cta.primary, .btn.primary {
  background: var(--brand-primary);
  color: #fff;
}
.cta.secondary, .btn.secondary {
  background: var(--brand-secondary);
  color: var(--brand-primary);
}
.cta:hover, .btn:hover, button:hover {
  background: var(--brand-secondary);
  color: var(--brand-primary);
  box-shadow: 0 4px 12px rgba(12,45,72,0.14);
  transform: translateY(-2px);
}
.cta:focus, .btn:focus, button:focus {
  outline: 2px solid var(--brand-secondary);
  outline-offset: 2px;
}

/* --- NAVIGATION --- */
header {
  width: 100%;
  background: var(--brand-neutral);
  box-shadow: 0 2px 8px rgba(12,45,72,0.05);
  position: relative;
  z-index: 22;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 18px 20px;
  justify-content: flex-start;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--brand-primary);
  font-weight: 600;
  letter-spacing: 0.01em;
  font-size: 1.12rem;
  padding: 6px 12px;
  border-radius: 18px;
  transition: background 0.14s, color 0.14s;
}
.main-nav a:hover, .main-nav a.active {
  background: var(--brand-secondary);
  color: var(--brand-primary);
}

.main-nav a img {
  height: 38px; width: auto;
  padding: 0; margin-right: 10px;
  border-radius: 0;
}

/* Hamburger menu styles */
.mobile-menu-toggle {
  display: none;
  background: var(--brand-secondary);
  color: var(--brand-primary);
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  width: 48px; height: 48px;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 18px;
  top: 14px;
  z-index: 51;
  box-shadow: 0 1px 4px rgba(12,45,72,0.13);
  transition: background 0.18s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #F7C344;
  outline: 2px solid var(--brand-primary);
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: var(--brand-neutral);
  box-shadow: 0 2px 16px rgba(12,45,72,0.22);
  z-index: 200;
  transform: translateX(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.64,0,0.56,1), opacity 0.23s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  color: var(--brand-primary);
  border: none;
  font-size: 2.2rem;
  margin: 20px 0 20px 22px;
  align-self: flex-start;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 50%;
  transition: background 0.18s;
}
.mobile-menu-close:hover {
  background: #EEE;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 12px 28px;
  width: 100%;
  margin-top: 16px;
}
.mobile-nav a {
  color: var(--brand-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  padding: 14px 0 8px 2px;
  border-bottom: 1px solid #F3F4F5;
  border-radius: 0;
  background: transparent;
  transition: color 0.2s, background 0.2s, padding 0.2s;
}
.mobile-nav a:hover {
  color: var(--brand-secondary);
  background: rgba(249,168,37,0.06);
  padding-left: 16px;
}

@media (max-width: 980px) {
  .main-nav {
    gap: 14px;
    padding: 16px 10px 16px 18px;
  }
  .feature-list li, .service-card, .testimonial-card {
    min-width: 180px;
    max-width: 99vw;
  }
  .container {
    padding-left: 12px; padding-right: 12px;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .services-grid, .card-container, .testimonial-slider, .feature-list {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .container {
    max-width: 97vw;
    padding: 0 4vw;
  }
  .section {
    padding: 28px 8px;
    margin-bottom: 42px;
  }
  .text-section {
    padding: 20px 6px;
  }
  h1 {font-size: 2rem;}
  h2 {font-size: 1.3rem;}
  .timeline li {
    padding: 14px 10px 11px 10px;
  }
  .service-card, .testimonial-card, .feature-list li {
    max-width: 100vw;
    min-width: 90px;
  }
}

/* --- FLEXBOX CONTENT LAYOUTS --- */
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
}

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


/* --- FOOTER --- */
footer {
  background: var(--brand-neutral);
  border-top: 1px solid var(--brand-border);
  padding: 32px 0 18px 0;
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.footer-menu {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-bottom: 8px;
}
.footer-menu a {
  color: var(--text-light);
  font-size: 1rem;
  transition: color 0.13s;
}
.footer-menu a:hover {
  color: var(--brand-secondary);
}
.footer-brand {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--brand-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.12rem;
}
.footer-brand img {
  height: 34px;
}
@media (max-width: 600px) {
  .footer-menu {flex-direction: column; gap: 8px;}
  footer {
    padding: 22px 0 14px 0;
    gap: 12px;
  }
}

/* --- MISC ELEMENTS --- */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #F5F6F8;
  padding: 14px 12px;
  border-radius: 11px;
  margin-bottom: 16px;
  border-left: 4px solid var(--brand-secondary);
  font-size: 1rem;
}

.course-price {
  color: var(--brand-secondary);
  font-weight: 700;
  font-size: 1.16rem;
}

.service-details {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.tour-schedule tr:nth-child(even) {
  background: #FAFAF8;
}

@media (max-width: 520px) {
  th, td {
    font-size: 0.93rem;
    padding: 8px 8px;
  }
}

/* --- MODAL / COOKIE BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-neutral);
  box-shadow: 0 2px 12px rgba(12,45,72,0.09);
  border: 1.5px solid var(--brand-secondary);
  border-radius: 16px;
  padding: 24px 18px;
  z-index: 3600;
  gap: 24px;
  max-width: 99vw;
  width: 520px;
  margin: 0 auto;
  opacity: 1;
  transition: opacity 0.25s, transform 0.33s cubic-bezier(0.72,0.15,0.52,1.22);
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(46px);
}
.cookie-banner-text {
  flex: 1 1 60%;
  font-size: 1rem;
  color: var(--text-main);
}
.cookie-banner-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 20px;
  padding: 10px 20px;
  cursor: pointer;
  background: var(--brand-primary);
  color: #fff;
  box-shadow: 0 2px 5px var(--brand-shadow);
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.12s;
}
.cookie-btn.secondary {
  background: var(--brand-secondary);
  color: var(--brand-primary);
}
.cookie-btn.outline {
  background: var(--brand-neutral);
  color: var(--brand-primary);
  border: 1.5px solid var(--brand-primary);
  box-shadow: none;
}
.cookie-btn:focus {outline: 2px solid var(--brand-secondary);}
.cookie-btn:hover {
  background: var(--brand-secondary);
  color: var(--brand-primary);
  box-shadow: 0 4px 10px rgba(12,45,72,0.11);
  transform: translateY(-2px);
}

@media (max-width: 600px) {
  .cookie-banner {
    width: 97vw;
    max-width: 99vw;
    padding: 14px 4px;
    flex-direction: column;
    gap: 14px;
    bottom: 8px;
  }
  .cookie-banner-text {
    font-size: 0.98rem;
  }
  .cookie-banner-actions {
    flex-direction: column;
    gap: 7px;
    width: 100%;
  }
}

.cookie-modal-overlay {
  position: fixed; left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(12,45,72,0.16);
  z-index: 3700;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
}
.cookie-modal-overlay.show {
  opacity: 1; pointer-events: auto;
}
.cookie-modal {
  position: fixed; left: 50%; top: 50%;
  transform: translate(-50%,-49%) scale(1);
  background: var(--brand-neutral);
  border-radius: 16px;
  box-shadow: 0 8px 36px rgba(12,45,72,0.19);
  max-width: 390px;
  width: 91vw;
  z-index: 3900;
  padding: 34px 24px 22px 24px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.27s, transform 0.26s cubic-bezier(0.43,0.08,0.48,1.0);
}
.cookie-modal.show {
  opacity: 1; pointer-events: auto;
  transform: translate(-50%,-51%) scale(1.021);
}
.cookie-modal h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 18px;
}
.cookie-category label {
  font-weight: 600;
  font-size: 1rem;
  color: var(--brand-primary);
}
.toggle-switch {
  width: 36px; height: 24px;
  background: #E7EAF0;
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  transition: background 0.18s;
  margin-right: 8px;
}
.toggle-switch input[type="checkbox"] {display: none;}
.toggle-switch .slider {
  position: absolute;
  top: 3px; left: 3px;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.18s, background 0.18s;
  box-shadow: 0 2px 6px var(--brand-shadow);
}
.toggle-switch input[type="checkbox"]:checked + .slider {
  left: 15px; background: var(--brand-secondary);
}
.toggle-switch input[type="checkbox"]:disabled + .slider {
  background: #ddd;
  cursor: not-allowed;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 13px;
  margin-top: 18px;
  justify-content: flex-end;
}
.cookie-modal-close {
  background: none;
  border: none;
  color: var(--brand-primary);
  font-size: 1.8rem;
  position: absolute;
  right: 16px; top: 14px;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.15s;
}
.cookie-modal-close:hover {
  background: #F1F1EB;
}

/* --- ACCESSIBILITY HELPERS --- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* --- SPACING & VISUAL HIERARCHY --- */
@media (min-width: 1200px) {
  h1 {font-size: 2.9rem;}
  h2 {font-size: 2.1rem;}
}

/* --- SMOOTH MICRO-INTERACTIONS --- */
button, .cta, .service-card, .feature-list li, .testimonial-card, .cookie-btn {
  transition: background 0.18s, color 0.16s, box-shadow 0.24s, transform 0.13s;
}

/* --- FORMS (generic, for extensibility) --- */
input, textarea, select {
  background: #fff;
  border: 1.5px solid var(--brand-border);
  border-radius: 16px;
  padding: 9px 14px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.1rem;
  transition: border 0.18s;
  margin-bottom: 14px;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--brand-secondary);
  outline: 2px solid var(--brand-secondary);
}
::placeholder {color: #9AACB8; font-size: 1rem;}

/* --- HIGHLIGHTS FOR EVENTS --- */
.highlight, .price-highlight {
  background: #FEF2C3;
  color: var(--brand-primary);
  border-radius: 8px;
  padding: 3px 10px;
  font-weight: bold;
}

/* --- ENSURE NO GRID PROPERTIES --- */
/* (No grid/columns-related CSS anywhere, only Flexbox used for layout) */

/* --- END CSS --- */
