/* RESET & BASE LAYOUT */
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,
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;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #fff;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  display: inline-block;
}

ul, ol {
  list-style: none;
}

a {
  text-decoration: none;
  position: relative;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #275C8B;
  outline: none;
}

button, .cta-btn {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.03em;
  border: none;
  border-radius: 6px;
  padding: 12px 32px;
  cursor: pointer;
  background: #18191A;
  color: #fff;
  box-shadow: 0 2px 10px rgba(24,25,26,0.06);
  transition: background 0.21s, color 0.21s, box-shadow 0.21s, transform 0.17s;
  display: inline-block;
  margin-top: 16px;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus,
button:hover, button:focus {
  background: #fff;
  color: #18191A;
  box-shadow: 0 4px 18px rgba(24,25,26,0.11);
  transform: translateY(-2px) scale(1.03);
  border: 1.5px solid #18191A;
}

.container {
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

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

/* TYPOGRAPHY - MONOCHROME SOPHISTICATED */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #111214;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
  line-height: 1.15;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 18px;
  color: #10101A;
}
h2 {
  font-size: 2rem;
  color: #111214;
  margin-bottom: 10px;
}
h3 {
  font-size: 1.25rem;
  color: #18191A;
}
h4 {
  font-size: 1.15rem;
}
p, li, blockquote, cite {
  font-size: 1rem;
  line-height: 1.7;
  font-family: 'Roboto', Arial, sans-serif;
}
blockquote {
  font-style: italic;
  color: #212224;
  border-left: 3px solid #18191A;
  padding-left: 18px;
  margin-bottom: 8px;
}
cite {
  font-style: normal;
  font-weight: 600;
  color: #18191A;
  font-size: 15px;
  letter-spacing: 0.04em;
  margin-left: 7px;
}
strong {
  font-weight: 700;
  color: #18191A;
}


/* HEADER & NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 2px 16px rgba(18,18,19,0.04);
  position: relative;
  z-index: 20;
}
.logo-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
}
.logo img {
  height: 44px;
  width: auto;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: #242426;
  letter-spacing: 0.01em;
  transition: color 0.19s;
  padding: 4px 0;
}
.main-nav a:hover,
.main-nav a.active {
  color: #275C8B;
  border-bottom: 2px solid #275C8B;
}

/* Hamburger burger button */
.mobile-menu-toggle {
  display: none;
  position: relative;
  background: #18191A;
  color: #fff;
  border-radius: 6px;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  z-index: 201;
  border: none;
  margin-left: 14px;
  transition: background 0.23s, color 0.19s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #fff;
  color: #18191A;
  border: 1.3px solid #18191A;
}

/* Mobile menu overlay */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 6px 32px rgba(24,25,26,0.13);
  transform: translateX(-105vw);
  transition: transform 0.33s cubic-bezier(0.74,0.02,0.23,1.01);
  z-index: 200;
  padding-top: 28px;
  padding-left: 0;
  padding-right: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: #f7f7f8;
  border: none;
  color: #18191A;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 7px;
  margin-right: 18px;
  margin-bottom: 15px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #18191A;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100vw;
  margin-left: 28px;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.22rem;
  font-weight: 600;
  color: #232526;
  padding: 12px 0;
  display: block;
  border-bottom: 1.3px solid #ECECEC;
  transition: color 0.19s, background 0.17s;
  min-width: 60vw;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #275C8B;
  background: #f6f7f9;
}

/* Responsive: show burger */
@media (max-width: 1020px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (max-width: 1020px) {
  .logo-nav {
    padding: 15px 0;
  }
}

@media (min-width: 1021px) {
  .mobile-menu {
    display: none !important;
  }
}


/* SECTIONS & LAYOUT SPACING */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 26px rgba(24,25,26,0.07);
}

@media (max-width: 600px) {
  section {
    padding: 26px 7px;
    margin-bottom: 36px;
    border-radius: 0;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #F9F9FA;
  border-radius: 13px;
  box-shadow: 0 1.9px 13px rgba(18, 20, 20, 0.055);
  margin-bottom: 20px;
  position: relative;
  padding: 20px 26px;
  flex: 1 1 315px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover,
.card:focus-within {
  box-shadow: 0 4px 28px rgba(24,25,26,0.15);
  transform: translateY(-3px) scale(1.025);
}

.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;
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F5F5F7;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 1.5px 10px rgba(24,25,26,0.05);
  flex-direction: column;
}
.testimonial-card blockquote {
  font-size: 1.12rem;
  font-weight: 500;
  color: #18191A;
  margin-bottom: 8px;
  border-left: 3.5px solid #111214;
  padding-left: 12px;
}
.testimonial-card cite {
  align-self: flex-end;
}

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

/* Custom grid for features section (index + about) */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
}
.feature-grid li {
  background: #FAFAFA;
  border-radius: 11px;
  box-shadow: 0 1.1px 7px rgba(24,25,26,0.055);
  padding: 22px 17px;
  min-width: 210px;
  flex: 1 1 215px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 12px;
  transition: box-shadow 0.16s, transform 0.15s;
}
.feature-grid li:hover {
  box-shadow: 0 3px 16px rgba(24,25,26,0.13);
  transform: translateY(-1.5px) scale(1.013);
}
.feature-grid img {
  width: 33px;
  height: 33px;
  margin-bottom: 10px;
}

/* Services/Courses list styles */
.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.services-list > div {
  background: #F4F4F7;
  border-radius: 11px;
  box-shadow: 0 1px 7px rgba(18,18,20,0.04);
  padding: 20px 16px;
  min-width: 220px;
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
  transition: box-shadow 0.16s, transform 0.16s;
}
.services-list > div:hover {
  box-shadow: 0 4px 18px rgba(24,25,26,0.11);
  transform: scale(1.02);
}
.services-list .price, .services-list strong {
  font-size: 1.04rem;
  color: #2B2B3A;
  font-weight: 700;
}

.values-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 12px;
}
.values-grid li {
  flex: 1 1 200px;
  background: #F9F9FA;
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 1.02rem;
  box-shadow: 0 1px 6px rgba(20,20,21,0.03);
}

/* .text-section for About/Other layouts */
.text-section {
  margin-bottom: 24px;
}
.text-section h2, .text-section h3 {
  margin-top: 0;
  margin-bottom: 10px;
}


/* FAQ Styles */
ul li > strong + p {
  margin-top: 7px;
}
ul li > strong {
  display: block;
  margin-bottom: 0.5em;
}

/* FOOTER */
footer {
  background: #111214;
  padding: 38px 0 0 0;
  color: #ececec;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  margin-top: 50px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 36px;
  padding-bottom: 26px;
  border-bottom: 1.5px solid #2B2C32;
}
.footer-nav nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a {
  color: #EAEDEF;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 16px;
  transition: color 0.2s;
  padding: 2px 0;
}
.footer-nav a:hover {
  color: #FAC857;
}
.footer-contact {
  margin-top: 19px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-contact strong {
  color: #FAC857;
}
.footer-contact a {
  color: #E8F0FA;
}
.footer-contact a:hover {
  color: #FAC857;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .footer-nav {
    flex-direction: column;
    gap: 16px;
    padding: 0 0 17px 0;
  }
  .footer-contact {
    margin-top: 16px;
  }
}


/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  z-index: 3000;
  background: #18191A;
  color: #fff;
  box-shadow: 0 -3px 22px rgba(18,18,18,0.16);
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  font-size: 1rem;
  transition: transform 0.33s cubic-bezier(0.63,0.04,0.3,1.04), opacity 0.18s;
  opacity: 1;
}
.cookie-banner.hide {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 11px;
}
.cookie-banner button, .cookie-banner .cookie-btn {
  background: #fff;
  color: #18191A;
  border-radius: 6px;
  border: none;
  padding: 8px 23px;
  font-size: 1rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 1.5px 6px rgba(181,180,180,0.07);
  transition: background 0.19s, color 0.19s;
}
.cookie-banner button:hover, .cookie-banner .cookie-btn:hover {
  background: #FAC857;
  color: #18191A;
}
.cookie-banner .cookie-btn-secondary {
  background: transparent;
  border: 1.2px solid #7C7D80;
  color: #fff;
}
.cookie-banner .cookie-btn-secondary:hover {
  background: #2B2C32;
  color: #FAC857;
}
@media (max-width: 540px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 17px 7px;
    font-size: 0.95rem;
  }
}

/* COOKIE MODAL DIALOG */
.cookie-modal-overlay {
  position: fixed;
  z-index: 4000;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(24,24,26,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.23s;
}
.cookie-modal {
  background: #fff;
  color: #18191A;
  border-radius: 13px;
  box-shadow: 0 6px 42px rgba(24,25,26,0.21);
  padding: 32px 28px;
  max-width: 410px;
  min-width: 310px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.28rem;
  margin-bottom: 12px;
  color: #111214;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: transparent;
  border: none;
  color: #18191A;
  font-size: 2rem;
  cursor: pointer;
}
.cookie-modal .modal-close:hover { color: #FAC857; }
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 13px;
  font-size: 1.04rem;
}
.cookie-modal .cookie-category label {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  cursor: pointer;
}
.cookie-modal .cookie-switch {
  width: 36px; height: 22px;
  background: #E8F0FA;
  border-radius: 12px;
  position: relative;
  margin-left: 4px;
}
.cookie-modal .cookie-switch input {
  opacity: 0;
  width: 0; height: 0;
  position: absolute;
}
.cookie-modal .slider {
  position: absolute;
  top: 3px; left: 3px;
  width: 16px;
  height: 16px;
  background: #aaa;
  border-radius: 50%;
  transition: background 0.19s, left 0.19s;
}
.cookie-modal .cookie-switch input:checked + .slider {
  background: #275C8B;
  left: 17px;
}
.cookie-modal .cookie-category[data-essential] label {
  color: #888;
}
.cookie-modal .cookie-category[data-essential] .cookie-switch {
  background: #ececec;
}
.cookie-modal .cookie-category[data-essential] .slider {
  background: #d2d2d2;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.cookie-modal .modal-actions button {
  padding: 8px 22px;
  background: #18191A;
  color: #fff;
  border-radius: 6px;
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  font-weight: 600;
}
.cookie-modal .modal-actions button.secondary {
  background: transparent;
  border: 1.1px solid #18191A;
  color: #18191A;
}
.cookie-modal .modal-actions button.secondary:hover {
  background: #111214;
  color: #FAC857;
}
.cookie-modal .modal-actions button:hover {
  background: #FAC857;
  color: #18191A;
}

@media (max-width: 600px) {
  .cookie-modal {
    max-width: 95vw;
    min-width: unset;
    padding: 24px 7px;
  }
}

/* MEDIA QUERIES: MOBILE-FIRST FLEX DIRECTION */
@media (max-width: 900px) {
  .feature-grid, .card-container, .services-list, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .feature-grid li, .services-list > div, .card {
    min-width: unset;
    max-width: 100%;
    flex: 1 1 100%;
  }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 22px;
  }
  .content-wrapper {
    gap: 19px;
  }
}

/* Add space between any consecutive .section, .card, testimonial-card, etc., and within list containers */
.section + .section, .card + .card, .testimonial-card + .testimonial-card, .feature-grid li + .feature-grid li, .services-list > div + .services-list > div {
  margin-top: 24px;
}

/* WHITE/GRAY/ELEGANT MONOCHROME COLORS */
/* Use high contrast for headings, slightly muted for body */
section, .content-wrapper, .card, .feature-grid li, .values-grid li, .services-list > div, .testimonial-card, .cookie-modal {
  background: #fff;
}

/* ACCENTS: Primary & accent (used only as accents, not backgrounds) */
.cta-btn {
  background: #18191A;
  color: #fff;
  border: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: #FAC857;
  color: #18191A;
}

/* PRONOUNCED SHADOWS (sophisticated/dramatic) */
.card, .card-container > *, .services-list > div, .testimonial-card {
  box-shadow: 0 2px 18px rgba(38,38,39,0.06);
}

/* VISUAL HIERARCHY - Subtle Border bottom for heading groups */
h2, h1 {
  position: relative;
  padding-bottom: 7px;
}
h2:after, h1:after {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  background: #18191A;
  border-radius: 1.5px;
  position: absolute;
  left: 0;
  bottom: -3px;
  opacity: 0.15;
}

/* HIDE OUTLINE ON BUTTONS BUT KEEP FOCUS EFFECT ACCESSIBLY */
button:focus, .cta-btn:focus {
  outline: 2px solid #275C8B;
  outline-offset: 2px;
}

/* SPECIAL: Color for quotes / testimonials on bright background for contrast & accessibility */
.testimonial-card {
  background: #F5F5F7;
  color: #18191A;
}
.testimonial-card blockquote {
  color: #18191A;
  font-style: italic;
}
.testimonial-card cite {
  color: #273046;
}

/* ACCENTS IN TEXT: Brand blue as only links on white */
a {
  color: #18191A;
  font-weight: 500;
  text-decoration: underline dotted 1px #CCE4F8;
  text-underline-offset: 3px;
  transition: color 0.18s, text-decoration 0.15s;
}
a:hover, a:focus {
  color: #275C8B !important;
  background: #E8F0FA;
  text-decoration: underline solid 2px #275C8B;
}

/* FORM ELEMENTS: (if forms are added in the future) */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border: 1px solid #BEBEBF;
  border-radius: 6px;
  padding: 10px 14px;
  margin-bottom: 14px;
  width: 100%;
  background: #F4F4F7;
  color: #18191A;
  transition: border 0.2s;
}
input:focus, textarea:focus, select:focus {
  border-color: #275C8B;
  background: #fff;
  outline: none;
}

::-webkit-input-placeholder { color: #B1B3B7; }
:-moz-placeholder { color: #B1B3B7; }
::-moz-placeholder { color: #B1B3B7; }
:-ms-input-placeholder { color: #B1B3B7; }
::placeholder { color: #B1B3B7; }

/* Accessibility for number and email fields */
input[type="email"], input[type="number"] {
  direction: ltr;
}

/* Misc spacing to keep all cards/sections at least 20px apart */
section, .card, .card-container > *, .testimonial-card, .feature-grid li, .services-list > div {
  margin-bottom: 20px;
}

/* HELPERS - Hide & Animations */
.hide { display: none; }
.fade-in {
  animation: fadeIn 0.8s cubic-bezier(0.37,0.81,0.45,0.96) forwards;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Utilities for flexbox only layouts - NEVER use grid, columns, etc. */
.flex-center {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.flex-col {
  display: flex !important;
  flex-direction: column !important;
}
.flex-row {
  display: flex !important;
  flex-direction: row !important;
}
.gap-20 { gap: 20px !important; }
.gap-24 { gap: 24px !important; }
/* End of flex helpers */

/* PRINT STYLES (mainly color) for brand consistency */
@media print {
  body, section, .testimonial-card, .card, .feature-grid li, .values-grid li { background: #fff; color: #18191A; }
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
}
