/* ====== CSS RESET & BASE ====== */
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 {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #19304D;
  background: linear-gradient(135deg, #FFFFFF 0%, #F9D857 100%);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img, picture {
  max-width: 100%;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul {
  list-style: none;
}

/* ====== TYPOGRAPHY ====== */
h1, h2, h3, h4 {
  color: #19304D;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  letter-spacing: -0.5px;
  font-weight: 700;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  font-weight: 600;
}
@media (min-width: 600px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.2rem; }
  h3 { font-size: 1.5rem; }
}
p, li, address, label {
  font-size: 1rem;
  color: #19304D;
}
strong {
  color: #19304D;
  font-weight: 600;
}

/* ====== CONTAINER UTIL ====== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

/* ====== SPACING SECTIONS ====== */
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  width: 100%;
  box-sizing: border-box;
}
@media (max-width: 600px) {
  .section, section { padding: 32px 10px; }
}

/* ====== HEADER & NAVIGATION ====== */
header {
  background: #19304D;
  width: 100%;
  box-shadow: 0 4px 16px rgba(25,48,77,0.09);
  position: relative;
  z-index: 1000;
}
header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1160px;
  margin: 0 auto;
  padding: 18px 20px;
  gap: 24px;
}
header nav > a img {
  height: 44px;
}
header nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0 16px;
  align-items: center;
}
header nav ul li a {
  color: #FFFFFF;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.02em;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 18px;
  transition: background 0.16s;
}
header nav ul li a:hover, header nav ul li a:focus {
  background: #F9D857;
  color: #19304D;
}
header .cta-btn {
  background: #F9D857;
  color: #19304D;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  border-radius: 20px;
  padding: 10px 28px;
  margin-left: 16px;
  box-shadow: 0 4px 12px 0 rgba(249,216,87,0.16);
  transition: background 0.17s, color 0.17s, box-shadow 0.2s;
}
header .cta-btn:hover, header .cta-btn:focus {
  background: #19304D;
  color: #F9D857;
  box-shadow: 0 2px 8px 0 rgba(25,48,77,0.18);
}

/* ====== MOBILE NAVIGATION ====== */
.mobile-menu-toggle {
  display: none;
  background: #F9D857;
  border: none;
  font-size: 2rem;
  color: #19304D;
  border-radius: 8px;
  padding: 7px 14px 10px 14px;
  margin-left: 16px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  z-index: 1012;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #19304D;
  color: #F9D857;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  background: #19304D;
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 1200;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.43,0.18,0.22,1);
  box-shadow: -8px 0 40px rgba(25,48,77,0.16);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  color: #F9D857;
  font-size: 2rem;
  border: none;
  padding: 18px 18px 10px 6px;
  cursor: pointer;
  transition: color 0.14s;
  z-index: 1108;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  color: #FFF;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  padding: 32px 30px 16px 30px;
  align-items: flex-start;
}
.mobile-nav a {
  color: #F9D857;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  padding: 12px 4px;
  border-radius: 8px;
  width: 100%;
  transition: background 0.16s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F9D857;
  color: #19304D;
}

@media (max-width: 1024px) {
  header nav ul, header nav .cta-btn {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}

/* Ensure hamburger button is always top-right on mobile */
@media (max-width: 1024px) {
  header {
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  header nav {
    padding-right: 44px !important;
  }
}

/* ====== HERO ====== */
.hero {
  background: linear-gradient(135deg, #FFFFFF 40%, #F9D857 100%);
  margin-bottom: 60px;
  min-height: 290px;
  display: flex;
  align-items: center;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 230px;
}
.hero .content-wrapper {
  max-width: 680px;
  align-items: flex-start;
  gap: 18px;
}
.hero h1 {
  font-size: 2.35rem;
  background: linear-gradient(90deg, #19304D 55%, #F9D857 100%);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}
@media (min-width: 600px) {
  .hero h1 {
    font-size: 3.2rem;
  }
  .hero { min-height: 340px; }
}
.hero p {
  color: #19304D;
  font-size: 1.13rem;
  font-weight: 400;
}

/* ====== FEATURES SECTION ====== */
.features {
  background: #F9D857;
  border-radius: 26px;
  box-shadow: 0 8px 24px rgba(249, 216, 87, 0.11);
  margin-bottom: 60px;
  padding: 40px 20px;
}
.features .content-wrapper {
  width: 100%;
  align-items: flex-start;
  gap: 28px;
}
.features h2 {
  color: #19304D;
}
.features ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}
.features ul li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.07rem;
  color: #19304D;
  font-weight: 500;
  background: #FFFFFF;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(25,48,77,0.06);
  padding: 14px 20px;
  min-width: 210px;
}
.features ul li img {
  width: 34px;
  height: 34px;
}
@media (max-width: 768px) {
  .features ul {
    flex-direction: column;
    gap: 18px;
  }
  .features ul li { min-width: 0; }
}

/* ====== SERVICES (ADVENTURES OR COURSES) ====== */
.services {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 4px 32px rgba(25,48,77,0.06);
}
.services .content-wrapper {
  align-items: flex-start;
  width: 100%;
  gap: 28px;
}
.services ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  width: 100%;
}
.services ul li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  background: #F9D857;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(249,216,87,0.15);
  padding: 22px 18px 18px 24px;
  min-width: 260px;
  flex: 1 0 240px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.services ul li a.secondary-btn, .services ul li .secondary-btn {
  background: #19304D;
  color: #F9D857;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 18px;
  padding: 7px 18px;
  margin-top: 10px;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(25,48,77,0.11);
  transition: background 0.2s, color 0.2s;
  display: inline-block;
}
.services ul li a.secondary-btn:hover, .services ul li .secondary-btn:hover,
.services ul li a.secondary-btn:focus, .services ul li .secondary-btn:focus {
  background: #F9D857;
  color: #19304D;
  border: 1.5px solid #19304D;
}
.services ul li strong {
  font-weight: bold;
  color: #19304D;
  font-size: 1.07rem;
}
.services ul li h3 {
  color: #19304D;
}
@media (max-width: 900px) {
  .services ul {
    flex-direction: column;
    gap: 22px;
  }
  .services ul li {
    width: 100%;
    min-width: 0;
  }
}

/* ====== TESTIMONIALS ====== */
.testimonials {
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 4px 32px rgba(25,48,77,0.07);
  padding: 40px 20px;
  margin-bottom: 60px;
}
.testimonials .content-wrapper {
  align-items: flex-start;
  gap: 28px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 30px;
  background: #F9D857;
  color: #19304D;
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(249,216,87,0.13);
  font-size: 1.09rem;
  margin-bottom: 20px;
  flex-wrap: wrap;
  transition: box-shadow 0.23s, transform 0.19s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 28px rgba(25,48,77,0.18);
  transform: translateY(-3px) scale(1.025);
}
.testimonial-card p {
  color: #19304D;
  margin-right: 24px;
  flex: 2;
}
.testimonial-card strong {
  color: #19304D;
}
@media (max-width: 700px) {
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    padding: 18px 12px;
  }
  .testimonial-card p {
    margin-right: 0;
  }
}

/* ====== CTA SHARED SECTION ====== */
.cta {
  background: linear-gradient(90deg, #F9D857 75%, #19304D 100%);
  border-radius: 26px;
}
.cta .content-wrapper {
  align-items: center;
  gap: 22px;
}
.cta h2 {
  color: #19304D;
  font-size: 2rem;
  text-align: center;
  background: linear-gradient(90deg, #19304D 78%, #F9D857 100%);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}
.cta p {
  color: #19304D;
  text-align: center;
}
.cta .cta-btn {
  margin-top: 8px;
  font-size: 1.16rem;
}

/* ====== ABOUT, TEAM, CONTACT & POLICY ====== */
.about, .contact, .policy, .team {
  background: #FFFFFF;
  border-radius: 22px;
  box-shadow: 0 3px 28px rgba(25,48,77,0.06);
  margin-bottom: 60px;
  padding: 38px 16px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.text-section ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-left: 24px;
}

.team ul, .about ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.team p, .about p {
  margin-top: 8px;
}

/* ====== SECTION ALIGNED TO FLEX SYSTEM ====== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(25,48,77,0.06);
  padding: 18px 14px;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

@media (max-width: 768px) {
  .content-grid, .card-container, .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}

/* ====== NEWSLETTER SIGNUP ====== */
.newsletter-signup {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}
.newsletter-signup label {
  color: #19304D;
  font-weight: 500;
}
.newsletter-signup input[type="email"] {
  border: 1px solid #19304D;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 1rem;
  background: #FAFAFA;
  color: #19304D;
  margin-bottom: 4px;
}
.newsletter-signup button[type="submit"] {
  background: #F9D857;
  color: #19304D;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  padding: 9px 24px;
  cursor: pointer;
  margin-top: 2px;
  transition: background 0.13s, color 0.13s;
}
.newsletter-signup button[type="submit"]:hover,
.newsletter-signup button[type="submit"]:focus {
  background: #19304D;
  color: #F9D857;
}

/* ====== FOOTER ====== */
footer {
  background: #19304D;
  color: #F9D857;
  padding: 48px 0 18px 0;
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
}
.footer-content > * {
  flex: 1 1 190px;
  min-width: 160px;
}
.footer-content a {
  color: #F9D857;
  transition: color 0.16s, border 0.16s;
  font-family: 'Montserrat', Arial, sans-serif;
}
.footer-content a:hover, .footer-content a:focus {
  color: #FFFFFF;
  text-decoration: underline;
}
.footer-content img {
  max-height: 40px;
  margin-bottom: 10px;
}
footer address, footer .footer-contact > div {
  font-style: normal;
  color: #F9D857;
  font-size: 1rem;
  margin-bottom: 10px;
}
.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}
.footer-social a img {
  width: 30px;
  height: 30px;
  filter: brightness(1) contrast(1.2);
  transition: filter 0.21s;
}
.footer-social a:hover img, .footer-social a:focus img {
  filter: brightness(1.3) drop-shadow(0 2px 6px #F9D857);
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 18px;
}
footer nav a {
  font-size: 1rem;
  padding: 2px 0;
  font-family: 'Montserrat', Arial, sans-serif;
}
@media (max-width: 900px) {
  .footer-content {
    flex-direction: column;
    gap: 28px;
    align-items: flex-start;
  }
}

/* ====== BUTTONS & LINKS ====== */
.cta-btn, .cta .cta-btn, .services ul li a.cta-btn {
  background: #F9D857;
  color: #19304D;
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  border-radius: 20px;
  padding: 12px 32px;
  font-size: 1.2rem;
  font-weight: 700;
  box-shadow: 0 4px 18px 0 rgba(249,216,87,0.10);
  cursor: pointer;
  margin-top: 6px;
  transition: background 0.16s, color 0.16s, box-shadow 0.2s;
  display: inline-block;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: #19304D;
  color: #F9D857;
  box-shadow: 0 2px 10px 0 rgba(25,48,77,0.19);
}
.secondary-btn {
  background: #19304D;
  color: #F9D857;
  border-radius: 15px;
  padding: 8px 18px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(25,48,77,0.12);
  transition: background 0.18s, color 0.18s;
  outline: none;
  border: none;
}
.secondary-btn:hover, .secondary-btn:focus {
  background: #F9D857;
  color: #19304D;
  border: 1.5px solid #19304D;
}

/* ====== COOKIE CONSENT BANNER ====== */
.cookie-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: linear-gradient(90deg, #19304D 70%, #F9D857 100%);
  color: #FFFFFF;
  box-shadow: 0 -2px 24px 0 rgba(25,48,77,0.18);
  padding: 18px 20px;
  z-index: 3000;
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
  transition: opacity 0.28s, transform 0.28s;
}
.cookie-banner.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.cookie-banner-text {
  font-size: 1rem;
  line-height: 1.4;
  flex: 1 1 auto;
  margin-right: 14px;
}
.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cookie-btn {
  background: #F9D857;
  color: #19304D;
  border-radius: 8px;
  border: none;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 8px 16px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  outline: none;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #19304D;
  color: #F9D857;
  border: 1.5px solid #F9D857;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 8px;
    gap: 10px;
  }
}

/* ====== COOKIE SETTINGS MODAL ====== */
.cookie-modal-overlay {
  position: fixed;
  z-index: 4000;
  inset: 0;
  background: rgba(26,37,68,0.48);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s;
}
.cookie-modal-overlay.visible {
  pointer-events: all;
  opacity: 1;
}
.cookie-modal {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 40px 0 rgba(25,48,77,0.26);
  max-width: 360px;
  width: 96vw;
  padding: 32px 28px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  position: relative;
  animation: cookieModalAppear 0.36s cubic-bezier(0.4,0.2,0.6,1);
}
@keyframes cookieModalAppear {
  0% { opacity: 0; transform: translateY(80px) scale(0.95); }
  100% { opacity: 1; transform: none; }
}
.cookie-modal h3 {
  font-size: 1.4rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #19304D;
  margin-bottom: 10px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #19304D;
  gap: 10px;
  margin-top: 12px;
  cursor: pointer;
}
.cookie-modal input[type=checkbox],
.cookie-modal input[type=radio] {
  accent-color: #F9D857;
  width: 18px;
  height: 18px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 18px;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  color: #19304D;
  font-size: 1.15rem;
  font-family: 'Montserrat', Arial, sans-serif;
  cursor: pointer;
  padding: 2px 7px;
  border-radius: 6px;
  transition: color 0.18s, background 0.18s;
}
.cookie-modal .cookie-modal-close:hover,
.cookie-modal .cookie-modal-close:focus {
  color: #F9D857;
  background: #19304D;
}

/* ====== POLICY PAGE STYLES ====== */
.policy .content-wrapper {
  gap: 18px;
}
.policy .text-section p, .policy .text-section ul {
  margin-bottom: 10px;
}
.policy .text-section ul {
  margin-left: 16px;
  list-style: disc;
  color: #19304D;
}

/* ====== MISC ====== */
#map-placeholder {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.99rem;
  background: #F9D857;
  color: #19304D;
  border-radius: 10px;
  padding: 7px 19px;
  font-weight: 500;
  margin-top: 8px;
}
#map-placeholder img {
  width: 26px;
  height: 26px;
}

/* ====== RESPONSIVENESS ====== */
@media (max-width: 900px) {
  .container { padding: 0 8px; }
  .footer-content { padding: 0 6px; }
}
@media (max-width: 700px) {
  .hero { min-height: 170px; }
  .section, .features, .services, .about, .contact, .policy, .team {
    padding: 28px 6px;
    margin-bottom: 38px;
  }
  .cta {
    padding: 22px 1px;
    margin-bottom: 30px;
  }
  .newsletter-signup input[type=email] {
    width: 100%;
  }
}
@media (max-width: 430px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  .footer-content img { max-height: 30px; }
}

/* ====== FOCUS & ACCESSIBILITY ====== */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2.5px solid #F9D857;
  outline-offset: 2px;
}

/* ====== TRANSITIONS ====== */
.cta-btn,
.secondary-btn,
.services ul li,
.testimonial-card,
.header nav ul li a {
  transition: all 0.18s cubic-bezier(.77,.2,0,1);
}

/* ====== SCROLL BARS (MODERN) ====== */
::-webkit-scrollbar {
  width: 8px;
  background: #f3f3f3;
}
::-webkit-scrollbar-thumb {
  background: #F9D857;
  border-radius: 16px;
}

/* ====== MICRO-INTERACTIONS ====== */
.card:hover, .services ul li:hover {
  transform: translateY(-2px) scale(1.018);
  box-shadow: 0 6px 28px rgba(25,48,77,0.13);
}
