/* ----------------------------------------------------
   Mythic Mentor - Luxury Premium CSS (Mobile-first)
   ----------------------------------------------------
   Flexbox only. No grid, columns, or clamp().
*/

/* 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
html { scroll-behavior: smooth; }
body {
  line-height: 1.5;
  background: #F5F8FA;
  color: #23374D;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
img, video, svg { max-width: 100%; height: auto; display: block; border: 0; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
a:focus { outline: 2px solid #FFD87A; outline-offset: 2px; }
ul, ol { list-style-position: inside; }
input, button, textarea, select { font: inherit; }

/* ----------------------------------------------------
   Brand Fonts (Montserrat for headings, Roboto for body)
   ---------------------------------------------------- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500|Roboto:400,500,700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #1F2532;
  line-height: 1.15;
  margin-bottom: 16px;
}
h1 { font-size: 2.2rem; letter-spacing: -1px; }
h2 { font-size: 1.6rem; font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 500; }

@media (min-width: 600px) {
  h1 { font-size: 2.7rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.4rem; }
}
p, li, blockquote, cite {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #23374D;
  margin-bottom: 12px;
}
blockquote {
  font-size: 1.1rem;
  color: #364F6B;
  font-style: italic;
  margin-bottom: 8px;
  margin-top: 4px;
}
cite {
  display: block;
  color: #8E96A3;
  font-size: 0.98rem;
  margin-top: 6px;
  font-style: normal;
}
strong { font-weight: 700; }

/* ----------------------------------------------------
   Brand Colors & Accent Gold
------------------------------------------------------- */
:root {
  --primary: #23374D;
  --secondary: #1F522B;
  --accent: #F5F8FA;
  --gold: #FFD87A; /* premium gold accent */
  --gold-hover: #FFCA2C;
  --grey-light: #E6EAF0;
  --grey-dark: #45587A;
  --white: #ffffff;
  --dark-text: #23374D;
  --danger: #D12C2C;
  --modal-bg: rgba(49,54,63,0.92);
}

/* ----------------------------------------------------
   General Layout Containers
------------------------------------------------------ */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  max-width: 1200px;
}
.content-wrapper {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

@media (min-width: 768px) {
  .section {
    padding: 50px 0 60px 0;
  }
}

.hero {
  background: var(--primary);
  background-image: linear-gradient(135deg, var(--primary) 75%, var(--gold) 150%);
  color: var(--white);
  padding: 60px 0 40px 0;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  text-align: left;
  max-width: 600px;
  margin: 0 auto;
}
.hero h1 { color: var(--gold); text-shadow: 0 2px 8px rgba(60, 44, 0, 0.11); }
.hero p { color: #F5F8FA; font-size: 1.1rem; }

@media (min-width: 768px) {
  .hero .content-wrapper { align-items: flex-start; }
}

/* ------------------------------------------------
   NAVIGATION & HEADER
--------------------------------------------------- */
header {
  width: 100%;
  background: var(--white);
  box-shadow: 0 2px 10px 0 rgba(35,55,77,0.04);
  z-index: 60;
  position: relative;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 14px;
  padding-bottom: 14px;
}
header nav {
  display: none;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: var(--primary);
  margin-right: 28px;
  transition: color 0.18s;
  letter-spacing: 0.02em;
  position: relative;
}
header nav a:last-child { margin-right: 0; }
header nav a:hover, header nav a:focus {
  color: var(--gold);
}
header .cta-btn {
  display: none;
}

/* Desktop Nav Show */
@media (min-width: 960px) {
  header nav {
    display: flex;
    align-items: center;
    gap: 0;
  }
  header .cta-btn {
    display: inline-flex;
    margin-left: 16px;
  }
  .mobile-menu-toggle { display: none !important; }
}

/* Brand Logo */
header img {
  width: 170px;
  height: auto;
  display: block;
}
@media (max-width: 500px) {
  header img { width: 135px; }
}

/* ------------------------------------------------
   CTA BUTTONS - luxury premium styling
--------------------------------------------------- */
.cta-btn {
  background: var(--gold);
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 12px 32px;
  border-radius: 32px;
  border: none;
  box-shadow: 0 2px 16px 0 rgba(255, 216, 122, 0.09);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  outline: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--gold-hover);
  color: var(--primary);
  box-shadow: 0 4px 26px 0 rgba(255, 216, 122, 0.17);
}

/* ------------------------------------------------
   FLEXBOX Content Grids & Section Layouts
--------------------------------------------------- */
.feature-grid, .service-list, .article-previews {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
  margin-bottom: 20px;
}
.feature-item, .service-item, .card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 22px;
  padding: 28px 24px 24px 24px;
  box-shadow: 0 2px 18px 0 rgba(35,55,77,0.05);
  margin-bottom: 20px;
  align-items: flex-start;
  min-width: 230px;
  max-width: 410px;
  position: relative;
  border: 1.5px solid var(--grey-light);
  transition: box-shadow 0.22s, border-color 0.18s, transform 0.20s;
  gap: 15px;
}
.feature-item:hover, .service-item:hover, .card:hover {
  box-shadow: 0 7px 34px 0 rgba(35,55,77,0.11);
  border-color: var(--gold);
  transform: translateY(-3px) scale(1.013);
  z-index: 2;
}
.feature-item img, .service-item img { width: 44px; height: 44px; margin-bottom: 6px; }
.feature-item h3, .service-item h3 { color: var(--secondary); font-size: 1.12rem; margin-bottom: 4px; }
.feature-item p, .service-item p { color: #4A5A6A; }

@media (max-width: 900px) {
  .feature-grid, .service-list, .article-previews { gap: 16px; }
  .feature-item, .service-item, .card { padding: 20px 14px; min-width: 180px; }
}
@media (max-width: 640px) {
  .feature-grid, .service-list, .article-previews {
    flex-direction: column;
    gap: 18px;
  }
  .feature-item, .service-item, .card { max-width: 100%; width: 100%; }
}

/* TEXT & IMAGE SECTION */
.text-section, .text-image-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 20px;
}
@media (min-width: 960px) {
  .text-image-section {
    flex-direction: row;
    align-items: center;
    gap: 30px;
  }
}


/* Content Grid for mixed items */
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 2px 14px 0 rgba(35,55,77,0.07);
  padding: 32px 24px;
  transition: box-shadow 0.19s;
}

/* --------------------------------------------------
   SERVICES & SPECIAL LISTS
---------------------------------------------------- */
.services-list,
.location-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 22px 0 22px 0;
}
.services-list li, .location-list li {
  background: var(--white);
  box-shadow: 0 1px 7px 0 rgba(35,55,77,0.04);
  border-radius: 14px;
  padding: 18px 18px 18px 48px;
  position: relative;
  color: #23374D;
  min-height: 48px;
  font-size: 1rem;
}
.location-list li img {
  position: absolute;
  left: 15px;
  top: 24px;
  width: 18px;
  height: 18px;
}
@media (max-width: 550px) {
  .services-list li, .location-list li { padding-left: 22px; }
  .location-list li img { left: 3px; }
}

/* --------------------------------------------------
   TESTIMONIALS & CERTIFICATIONS
---------------------------------------------------- */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--accent);
  box-shadow: 0 1px 10px 0 rgba(143,118,40,0.04);
  border: 1.8px solid var(--gold);
  border-radius: 20px;
  padding: 20px;
  color: #2B3145;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.18s, border-color 0.19s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 6px 26px 0 rgba(143,118,40,0.10);
  border-color: var(--primary);
}
.testimonial-card blockquote {
  color: #314169;
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.47;
}
.testimonial-card cite {
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.99rem;
}

.certification-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--primary);
  color: var(--gold);
  padding: 14px 32px;
  border-radius: 18px;
  font-family: 'Montserrat',sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-top: 12px;
}
.certification-bar img { width: 28px; height: 28px; }

/* ------------------------------------------------------
   ARTICLE (Resources) & FAQ ACCORDION
-------------------------------------------------------- */
.article-previews article {
  background: var(--white);
  border-radius: 17px;
  padding: 22px 24px;
  box-shadow: 0 1px 6px 0 rgba(35,55,77,0.07);
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 8px;
  border-left: 6px solid var(--gold);
  transition: box-shadow 0.17s, transform 0.13s;
}
.article-previews article:hover {
  box-shadow: 0 8px 16px 0 rgba(255, 216, 122, 0.13);
  transform: translateY(-3px);
}
.article-previews a {
  color: var(--secondary);
  font-weight: 500;
  text-decoration: underline;
  letter-spacing: 0.02em;
  margin-top: 4px;
}

.faq-accordion {
  background: var(--accent);
  border-radius: 14px;
  padding: 18px 20px 6px 24px;
  margin-top: 20px;
  margin-bottom: 18px;
}
.faq-accordion h3 { color: var(--primary); margin-bottom: 10px; }
.faq-accordion div {
  margin-bottom: 12px;
}
.faq-accordion strong {
  color: var(--secondary);
  font-weight: 700;
}

/* --------------------------------------------------
   MAP & CONTACT DETAILS
---------------------------------------------------- */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: #465669;
  font-size: 1rem;
  margin-bottom: 18px;
}
.google-map-placeholder {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--accent);
  border-radius: 14px;
  padding: 16px 24px;
  color: #565967;
  margin: 12px 0;
  min-height: 50px;
}
.office-hours {
  margin: 18px 0;
  background: var(--grey-light);
  border-radius: 10px;
  padding: 13px 20px;
  color: #23374D;
}

/* ------------------------------------------------------
   CASE STUDY TEASER
-------------------------------------------------------- */
.case-study-teaser {
  background: var(--white);
  border-radius: 13px;
  padding: 16px 22px 14px 22px;
  margin-top: 18px;
  box-shadow: 0 1px 7px 0 rgba(35,55,77,0.03);
  border-left: 5px solid var(--gold);
}

/* ------------------------------------------------------
   FOOTER
-------------------------------------------------------- */
footer {
  background: var(--primary);
  color: var(--accent);
  padding: 36px 0 22px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
}
footer nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
footer nav a {
  color: var(--gold);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0.01em;
  font-size: 1rem;
  padding: 4px 10px;
  border-radius: 5px;
  transition: background 0.13s, color 0.15s;
}
footer nav a:hover, footer nav a:focus {
  background: var(--gold);
  color: var(--primary);
}
footer .contact-details {
  color: #F7EFD6;
  font-size: 0.97rem;
}
footer small {
  margin-top: 12px;
  color: #FFD87A;
  font-size: 0.91rem;
}

/* ------------------------------------------------------
   MOBILE NAV & BURGER MENU
-------------------------------------------------------- */
.mobile-menu-toggle {
  display: block;
  background: var(--gold);
  color: var(--primary);
  border: none;
  border-radius: 7px;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  cursor: pointer;
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 120;
  box-shadow: 0 3px 12px rgba(35,55,77,0.07);
  transition: background 0.18s, box-shadow 0.2s;
}
.mobile-menu-toggle:focus {
  background: var(--gold-hover);
}

.mobile-menu {
  display: block;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--modal-bg);
  transform: translateX(100vw);
  transition: transform 0.44s cubic-bezier(0.65, 0, 0.35, 1);
  z-index: 200;
  box-shadow: 0 8px 40px 0 rgba(35,55,77,0.17);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: transparent;
  color: var(--gold);
  border: none;
  font-size: 2.2rem;
  position: absolute;
  top: 20px;
  right: 24px;
  cursor: pointer;
  z-index: 210;
  transition: color 0.23s;
}
.mobile-menu-close:hover {
  color: var(--gold-hover);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding: 100px 32px 32px 40px;
}
.mobile-nav a {
  color: var(--gold);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.32rem;
  padding: 12px 0;
  font-weight: 600;
  border-radius: 7px;
  transition: color 0.18s, background 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--gold);
  color: var(--primary);
}

/* Hide header desktop nav on mobile */
@media (max-width: 959px) {
  header nav { display: none !important; }
  header .cta-btn { display: none !important; }
}
@media (max-width: 700px) {
  .mobile-nav { padding-left: 16px; padding-top: 70px; }
}

/* Prevent body scroll when mobile menu open */
body.menu-open {
  overflow: hidden;
}

/* ------------------------------------------------------
   COOKIE CONSENT BANNER & MODAL
-------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: var(--primary);
  color: var(--gold);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 16px;
  z-index: 800;
  padding: 22px 16px 20px 16px;
  box-shadow: 0 -4px 32px 0 rgba(35,55,77,0.19);
  animation: banner-slide-up 0.7s cubic-bezier(0.22,1,0.34,1) forwards;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
}
@keyframes banner-slide-up {
  from { transform: translateY(120px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p { color: var(--gold); font-size: 1.01rem; margin-bottom: 0; }
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 4px;
}
.cookie-banner button {
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 24px;
  font-size: 1.03rem;
  cursor: pointer;
  transition: background 0.19s, color 0.17s, box-shadow 0.17s;
  outline: none;
}
.cookie-banner .accept { background: var(--gold); color: var(--primary); }
.cookie-banner .accept:hover, .cookie-banner .accept:focus { background: var(--gold-hover); }
.cookie-banner .reject { background: #fff3ec; color: var(--danger); border: 1px solid var(--danger); }
.cookie-banner .reject:hover, .cookie-banner .reject:focus { background: var(--danger); color: #fff; }
.cookie-banner .settings { background: var(--secondary); color: var(--gold); }
.cookie-banner .settings:hover, .cookie-banner .settings:focus { background: #12451A; }

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: var(--modal-bg);
  z-index: 9000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.27s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal .modal-content {
  background: var(--white);
  color: var(--primary);
  border-radius: 18px;
  max-width: 390px;
  min-width: 290px;
  padding: 34px 30px 26px 30px;
  box-shadow: 0 8px 52px 0 rgba(35,55,77,0.35);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal h2 {
  color: var(--primary);
  font-size: 1.28rem;
  margin-bottom: 8px;
}
.cookie-modal .modal-close {
  border: none;
  background: transparent;
  color: var(--primary);
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 1.55rem;
  cursor: pointer;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: var(--primary);
}
.cookie-modal .cookie-category label { font-weight: 500; }
.cookie-modal .cookie-category input[type="checkbox"] {
  accent-color: var(--gold);
  width: 18px; height: 18px;
}
.cookie-modal .cookie-category.essential {
  opacity: 0.76;
  font-style: italic;
}
.cookie-modal .modal-actions {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}
.cookie-modal .modal-actions button {
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 9px 22px;
  border-radius: 20px;
  font-size: 1.01rem;
  cursor: pointer;
  transition: background 0.17s, color 0.13s;
}
.cookie-modal .modal-actions .accept { background: var(--gold); color: var(--primary); }
.cookie-modal .modal-actions .reject { background: #fff3ec; color: var(--danger); border: 1px solid var(--danger); }
.cookie-modal .modal-actions .save { background: var(--secondary); color: var(--gold); }

@media (max-width: 400px) {
  .cookie-modal .modal-content { padding: 18px 6px; min-width: 0; }
}

/* ------------------------------------------------------
   UTILITY & RESPONSIVE FLEXBOX
-------------------------------------------------------- */

/* Responsive – column layout for .text-image-section on mobile */
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 20px; }
}

/* Apply decent margin between cards/sections */
.content-wrapper > * + * { margin-top: 20px; }
.section + .section { margin-top: 16px; }

/* Make sure nothing overlaps */
* { z-index: 1; }

/* ------------------------------------------------------
   FORM ELEMENTS (for inquiries, if added)
-------------------------------------------------------- */
input, textarea, select {
  border-radius: 12px;
  border: 1.5px solid var(--grey-light);
  padding: 13px 18px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 12px;
  background: var(--white);
  color: var(--primary);
  transition: border-color 0.14s;
  width: 100%;
  box-sizing: border-box;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--gold);
  outline: none;
}

label { display: block; font-size: 1.06rem; font-weight: 500; color: var(--secondary); margin-bottom: 3px; }

/* ------------------------------------------------------
   MICRO-INTERACTIONS & SMOOTH TRANSITIONS
-------------------------------------------------------- */
button, .cta-btn, a {
  transition: background 0.17s, color 0.17s, box-shadow 0.14s, border 0.12s, transform 0.13s;
}

/* Slight hover-up for link buttons */
a.cta-btn:hover, a.cta-btn:focus {
  transform: translateY(-2px) scale(1.03);
}

/* Animate appearing cards */
.feature-item, .service-item, .card, .testimonial-card, .article-previews article {
  animation: card-fade-in 0.5s cubic-bezier(0.5,1.2,0.3,1.0);
}
@keyframes card-fade-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ------------------------------------------------------
   MEDIA QUERIES FOR RESPONSIVENESS
-------------------------------------------------------- */
@media (max-width: 700px) {
  .container { padding-left: 8px; padding-right: 8px; }
  h1 { font-size: 1.45rem !important; }
  .hero { padding: 32px 0 24px 0; }
  .feature-item, .service-item, .testimonial-card { padding: 18px 9px; font-size: 0.98rem; }
  footer .container { gap: 12px; }
  .certification-bar { font-size: 0.95rem; padding: 9px 13px; }
}

@media (max-width: 420px) {
  .feature-item, .service-item, .testimonial-card { font-size: 0.95rem; }
  .cta-btn { padding: 11px 16px; font-size: 0.99rem; }
  .certification-bar { font-size: 0.85rem; }
  .google-map-placeholder { padding: 11px 7px; }
}


/* ------------------------------------------------------
   END Mythic Mentor Luxury Premium CSS
-------------------------------------------------------- */
