/* ==========================================================================
   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 {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #FFFFFF;
  color: #123D4A;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.6;
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
*, *::before, *::after {
  box-sizing: inherit;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: inside disc; }
img { max-width: 100%; display: block; height: auto; border: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; }
input, textarea, select { font-family: inherit; }

/* ==========================================================================
   BRAND COLOR VARIABLES & PREMIUM GOLD
   ========================================================================== */
:root {
  --color-primary: #123D4A;
  --color-secondary: #F5F3EF; /* offwhite-cream bg for luxury feel */
  --color-white: #FFFFFF;
  --color-text: #123D4A;
  --color-accent: #4A945F;
  --color-light-gold: #ECD882;
  --color-rich-gold: #C5A349;
  --color-gold: #B3975A;
  --color-gold-hover: #A98E4E;
  --color-grey: #858585;
  --color-error: #C3442B;
  --shadow: 0 6px 24px 0 rgba(18,61,74,0.08), 0 1.5px 6px 0 rgba(179,151,90,0.07);
}

/* ==========================================================================
   FONTS (Luxury/Professional)
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700&family=Roboto:wght@400;500;700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', Georgia, serif;
  color: var(--color-text);
  font-weight: 700;
  line-height: 1.2;
}
h1 { font-size: 2.75rem; letter-spacing: -1px; margin-bottom: 22px; }
h2 { font-size: 2rem;   margin-bottom: 16px; }
h3 { font-size: 1.2rem;   margin-bottom: 12px; font-family: 'Merriweather', Georgia, serif; }
h4, h5, h6 { font-family: 'Merriweather', Georgia, serif; }
p, ul, ol, li, span, a, blockquote {
  font-family: 'Roboto', Arial, sans-serif;
}
p { font-size: 1rem; margin-bottom: 20px; }
ul, ol { margin-bottom: 20px; padding-left: 22px; }
blockquote {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.15rem;
  color: var(--color-primary);
  font-style: italic;
  border-left: 4px solid var(--color-rich-gold);
  padding-left: 18px;
  margin-bottom: 18px;
  background: rgba(236, 216, 130, 0.04);
}

/* ==========================================================================
   CONTAINER + LAYOUT (FLEXBOX ONLY)
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-secondary);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
header {
  width: 100%;
  padding: 0;
  background: var(--color-primary);
  box-shadow: 0 4px 24px 0 rgba(18,61,74,0.10);
  z-index: 50;
  position: relative;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}
.logo img {
  height: 45px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(179,151,90,0.14));
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-size: 1rem;
  color: var(--color-light-gold);
  font-family: 'Merriweather', serif;
  font-weight: 400;
  transition: color 0.2s cubic-bezier(.4,0,.2,1);
  position: relative;
}
.main-nav a::after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  background: var(--color-rich-gold);
  position: absolute;
  left: 0; bottom: -3px;
  transition: width 0.22s cubic-bezier(.54,0,.5,1);
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--color-rich-gold);
}
.main-nav a:hover::after,
.main-nav a:focus::after {
  width: 100%;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(89deg, var(--color-gold) 60%, var(--color-rich-gold) 100%);
  color: var(--color-primary);
  font-family: 'Merriweather', serif;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 12px 32px;
  border-radius: 28px;
  border: none;
  box-shadow: 0 2px 10px 0 rgba(18,61,74,0.10);
  transition: background 0.18s cubic-bezier(.44,0,.2,1),
              transform 0.12s cubic-bezier(.44,0,.2,1),
              box-shadow 0.12s linear;
  letter-spacing: 0.06em;
  cursor: pointer;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(89deg, var(--color-gold-hover) 70%, var(--color-light-gold) 100%);
  color: var(--color-primary);
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 4px 16px 0 rgba(179,151,90,0.16);
  outline: none;
}

/* ==========================================================================
   MOBILE NAVIGATION (BURGER + OVERLAY)
   ========================================================================== */
.mobile-menu-toggle {
  background: var(--color-rich-gold);
  color: var(--color-primary);
  border: none;
  border-radius: 50%;
  padding: 12px 14px;
  font-size: 1.5rem;
  margin-left: 18px;
  display: none;
  transition: background 0.18s, color 0.18s;
  z-index: 120;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--color-light-gold);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(18,61,74,0.96);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-110vw);
  transition: transform 0.35s cubic-bezier(.45,0,.15,1);
  z-index: 200;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 24px 24px 10px 0;
  border: none;
  background: var(--color-gold);
  color: var(--color-primary);
  border-radius: 50%;
  font-size: 2rem;
  padding: 10px 17px;
  cursor: pointer;
  transition: background .14s;
  box-shadow: 0 2px 10px 0 rgba(179,151,90,0.10);
}
.mobile-menu-close:focus {
  outline: 2px solid var(--color-rich-gold);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-left: 28px;
  margin-top: 12px;
  width: 85vw;
}
.mobile-nav a {
  color: var(--color-light-gold);
  font-size: 1.35rem;
  font-family: 'Merriweather', serif;
  font-weight: 400;
  padding: 12px 6px;
  border-radius: 10px;
  transition: color 0.2s, background 0.13s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: rgba(236,216,130,0.18);
  color: var(--color-rich-gold);
  outline: none;
}
@media (max-width: 992px) {
  .main-nav { display: none; }
  .btn-primary { display: none; }
  .mobile-menu-toggle { display: block; }
  header .container { justify-content: space-between; }
}
@media (min-width: 993px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}

/* ==========================================================================
   HERO & ADVANTAGES & FEATURES
   ========================================================================== */
.feature-grid, .team-grid, .course-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
  justify-content: space-between;
}
.feature, .team-member, .course-item {
  flex: 1 1 300px;
  background: var(--color-white);
  border-radius: 17px;
  box-shadow: var(--shadow);
  padding: 32px 18px 26px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 20px;
  border: 1.5px solid var(--color-light-gold);
  position: relative;
  transition: box-shadow 0.23s cubic-bezier(.44,0,.18,1),
              border-color 0.18s linear;
}
.feature:hover, .team-member:hover, .course-item:hover {
  box-shadow: 0 8px 32px 0 rgba(179,151,90,0.16);
  border-color: var(--color-gold-hover);
  z-index: 2;
}
.feature img {
  height: 44px;
  width: 44px;
  margin-bottom: 5px;
}

/* ==========================================================================
   TESTIMONIALS & CARDS
   ========================================================================== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: var(--color-white);
  border: 1.5px solid var(--color-light-gold);
  box-shadow: var(--shadow);
  border-radius: 16px;
  padding: 28px 28px 18px 24px;
  margin-bottom: 20px;
  margin-top: 12px;
  color: var(--color-primary);
  transition: box-shadow 0.18s, border-color .15s;
}
.testimonial-card:hover {
  box-shadow: 0 7px 24px 0 rgba(179,151,90,0.17);
  border-color: var(--color-gold-hover);
}
.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-gold);
  font-size: 1.09rem;
}
.star-rating {
  font-size: 1.12em;
  letter-spacing: 1.3px;
  color: var(--color-gold);
  margin-left: 10px;
}

.case-study {
  background: var(--color-secondary);
  box-shadow: var(--shadow);
  border-radius: 14px;
  padding: 26px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
  border-left: 5px solid var(--color-gold);
}

/* ==========================================================================
   CTA SECTIONS & ULTRA GOLD DETAILS
   ========================================================================== */
.section:last-of-type, .section.cta-section {
  background: linear-gradient(92deg, var(--color-rich-gold) 10%, var(--color-gold) 55%, var(--color-light-gold) 100%);
  color: var(--color-primary);
  box-shadow: 0 4px 36px 0 rgba(179,151,90,0.16);
}
.section:last-of-type h2, .section.cta-section h2 {
  color: var(--color-primary);
}
.section:last-of-type .btn-primary {
  background: var(--color-primary);
  color: var(--color-light-gold);
  border: 2px solid var(--color-white);
}
.section:last-of-type .btn-primary:hover {
  background: var(--color-light-gold);
  color: var(--color-primary);
  border-color: var(--color-primary);
}

/* ==========================================================================
   TEXT-IMAGE & FLEX PATTERNS
   ========================================================================== */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-white);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 30px 18px 22px 18px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 10px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  background: var(--color-primary);
  color: var(--color-light-gold);
  padding: 46px 0 18px 0;
  box-shadow: 0 -5px 28px 0 rgba(74,148,95,0.065);
  border-top: 2px solid var(--color-rich-gold);
  position: relative;
}
.footer-logo img {
  height: 37px;
  width: auto;
  margin-bottom: 12px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 25px;
  margin-bottom: 16px;
}
.footer-nav a {
  color: var(--color-light-gold);
  font-family: 'Merriweather', serif;
  font-size: 1rem;
  opacity: 0.88;
  transition: color 0.16s, opacity 0.12s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-rich-gold);
  opacity: 1;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.97rem;
  color: var(--color-light-gold);
}
.footer-contact img {
  height: 16px;
  width: 16px;
  margin-right: 4px;
  vertical-align: middle;
}

/* ==========================================================================
   LINKS & ACCESSIBILITY
   ========================================================================== */
a,
.text-section a,
ul li a {
  color: var(--color-accent);
  text-decoration: underline dotted var(--color-gold-hover);
  text-underline-offset: 4px;
  font-weight: 500;
  transition: color 0.17s;
}
a:hover, a:focus {
  color: var(--color-rich-gold);
  outline: none;
}

/* ==========================================================================
   COOKIE CONSENT BANNER & MODAL (FIXED)
   ========================================================================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--color-primary);
  color: var(--color-light-gold);
  width: 100vw;
  z-index: 999;
  padding: 22px 28px;
  box-shadow: 0 -2px 22px 0 rgba(18,61,74,0.12);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 1.03rem;
  animation: cookieBannerIn 0.6s cubic-bezier(.64,0,.19,1);
}
@keyframes cookieBannerIn {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-buttons {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}
.cookie-banner .btn-cookie {
  border-radius: 20px;
  font-family: 'Merriweather', serif;
  font-size: 1rem;
  padding: 9px 23px;
  background: var(--color-gold);
  color: var(--color-primary);
  border: none;
  font-weight: 700;
  margin-left: 2px;
  box-shadow: 0 1px 8px 0 rgba(179,151,90,0.08);
  transition: background .14s, color .14s, transform .11s;
}
.cookie-banner .btn-cookie:hover {
  background: var(--color-gold-hover);
  color: var(--color-light-gold);
  transform: translateY(-2px) scale(1.045);
}
.cookie-banner .btn-cookie-secondary {
  background: transparent;
  border: 1.5px solid var(--color-gold);
  color: var(--color-gold);
  font-weight: 500;
  transition: background .14s, color .11s;
}
.cookie-banner .btn-cookie-secondary:hover {
  background: var(--color-light-gold);
  color: var(--color-primary);
}

.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(18,61,74,0.85);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieModalFadeIn 0.37s cubic-bezier(.53,0,.18,1);
}
@keyframes cookieModalFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: var(--color-secondary);
  color: var(--color-primary);
  min-width: 340px;
  max-width: 95vw;
  border-radius: 18px;
  box-shadow: 0 7px 32px 0 rgba(179,151,90,0.19);
  padding: 38px 32px 30px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cookie-modal h3 {
  color: var(--color-primary);
  font-size: 1.22rem;
  margin-bottom: 9px;
  font-family: 'Merriweather', serif;
  letter-spacing: 0.01em;
  font-weight: 700;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 14px;
  margin-bottom: 18px;
}
.cookie-modal .toggle-switch {
  width: 37px;
  height: 20px;
  position: relative;
  display: inline-block;
}
.cookie-modal .toggle-switch input {
  opacity: 0;
  width: 0; height: 0;
}
.cookie-modal .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--color-gold);
  border-radius: 32px;
  transition: background 0.15s;
}
.cookie-modal .toggle-switch input:checked + .slider {
  background: var(--color-accent);
}
.cookie-modal .slider:before {
  content: '';
  position: absolute;
  left: 2px; top: 2px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--color-white);
  transition: transform 0.21s cubic-bezier(.44,0,.14,1);
}
.cookie-modal .toggle-switch input:checked + .slider:before {
  transform: translateX(17px);
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 17px;
}
.cookie-modal .btn-cookie {
  padding: 8px 20px;
  font-size: 1rem;
  background: var(--color-gold);
  color: var(--color-primary);
  border-radius: 17px;
  border: none;
  font-family: 'Merriweather', serif;
  font-weight: 700;
  transition: background 0.13s, color 0.13s;
}
.cookie-modal .btn-cookie:hover {
  background: var(--color-rich-gold);
  color: var(--color-light-gold);
}

.cookie-modal .btn-cookie-secondary {
  background: transparent;
  border: 1.5px solid var(--color-gold);
  color: var(--color-gold);
  font-weight: 500;
  transition: background .14s, color .11s;
}
.cookie-modal .btn-cookie-secondary:hover {
  background: var(--color-light-gold);
  color: var(--color-primary);
}
.cookie-modal .essential {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ==========================================================================
   FORM ELEMENTS
   ========================================================================== */
input, textarea, select {
  border-radius: 12px;
  padding: 10px 16px;
  border: 1.5px solid var(--color-gold);
  font-size: 1rem;
  margin-bottom: 20px;
  color: var(--color-primary);
  background: var(--color-white);
  transition: border-color 0.15s;
  width: 100%;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-rich-gold);
  outline: none;
}
label {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 7px;
  font-weight: 500;
}

/* ==========================================================================
   UTILITIES & MICRO-ANIMATIONS
   ========================================================================== */
@media (hover: hover) {
  .feature, .team-member, .course-item, .testimonial-card, .case-study {
    transition: box-shadow .19s, border .17s, background .17s;
  }
  .feature:hover, .team-member:hover, .course-item:hover {
    background: #FAFAF7;
    border-color: var(--color-light-gold);
    box-shadow: 0 5px 22px rgba(179,151,90,0.12);
  }
}

hr {
  border: none;
  border-bottom: 2px solid var(--color-light-gold);
  margin: 34px 0;
}
.sr-only {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}

/* ==========================================================================
   RESPONSIVE DESIGN – MOBILE FIRST (768px+)
   ========================================================================== */
@media (max-width: 768px) {
  .container { padding-left: 11px; padding-right: 11px; }
  .section { padding: 28px 7px; margin-bottom: 36px; }
  .feature-grid, .team-grid, .course-grid, .card-container, .content-grid { flex-direction: column; gap: 20px; }
  .feature, .team-member, .course-item, .testimonial-card, .case-study, .card { padding: 20px 8px 17px 10px; margin-bottom: 20px; }
  .main-nav, .btn-primary { display: none !important; }
  .mobile-menu-toggle { display: block !important; }
  .footer-nav { flex-direction: column; gap: 9px; margin-bottom: 20px; }
  .text-image-section, .content-grid { flex-direction: column; gap: 18px; }
}

@media (max-width: 540px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1rem; }
  .section { padding: 20px 4px; }
  .cookie-banner { flex-direction: column; gap: 10px; padding: 14px 5px 14px 10px; align-items: flex-start; }
}

/* ==========================================================================
   END OF PREMIUM, LUXURY CSS FOR PEACEFUL QUEST PRO
   ========================================================================== */
