/* ====================================================
  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 {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  box-sizing: border-box;
}
*, *::before, *::after {
  box-sizing: inherit;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #171717;
  background: #fff;
  font-size: 16px;
  min-height: 100vh;
  scroll-behavior: smooth;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #20455A;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}
a:hover, a:focus {
  color: #2E8C6D;
  outline: none;
}
ol, ul {
  list-style: none;
  padding-left: 0;
}
strong { font-weight: 700; }
hr {
  border: none;
  border-top: 1px solid #ddd;
  margin: 32px 0;
}

/* ====================================================
    TYPOGRAPHY
==================================================== */
body, p, li, ul, ol, span, label {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  color: #232323;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #090A0B;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
h1 { font-size: 2.75rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.5rem; margin-bottom: 16px; }
h4 { font-size: 1.125rem; margin-bottom: 12px; }
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.125rem; }
}
.section h2, .hero h1 { color: #090A0B; }

p, ul li, ol li {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 16px;
  color: #232323;
  font-family: 'Roboto', Arial, sans-serif;
}

/* ================================================
  COLOR PALETTE (Monochrome + Brand Accents)
=============================================== */
:root {
  --color-bg: #fff;
  --color-bg-dark: #090A0B;
  --color-surface: #F8FAF9;
  --color-primary: #20455A;
  --color-secondary: #2E8C6D;
  --color-accent: #F8FAF9;
  --color-border: #E3E4E6;
  --color-text: #171717;
  --color-text-light: #F8FAF9;
  --color-headline: #090A0B;
  --color-link: #20455A;
  --color-btn-bg: #090A0B;
  --color-btn-bg-hover: #232323;
  --color-btn-text: #fff;
  --color-shadow: rgba(30,33,38,0.08);
}

/* ===================================================
  LAYOUT CONTAINERS & SPACING
=================================================== */
.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-bg);
  border-radius: 18px;
  box-shadow: 0 6px 32px -8px var(--color-shadow);
}
@media (max-width: 992px) {
  .section {
    padding: 32px 12px;
  }
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

/* Flexbox utility containers */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 0 3px 24px -8px var(--color-shadow);
  padding: 32px 24px;
  flex: 1 1 300px;
  transition: box-shadow 0.2s, transform 0.2s;
  position: relative;
}
.card:hover {
  box-shadow: 0 6px 32px -5px var(--color-shadow);
  transform: translateY(-4px) scale(1.011);
}
.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;
  }
}
.testimonials-section, .feature-list, .feature-grid, .team-list, .service-list, .success-stories-list, .blog-list, .course-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 16px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 16px -4px var(--color-shadow);
  padding: 24px 28px 20px 28px;
  margin-bottom: 20px;
  min-width: 260px;
  flex: 1 1 330px;
  border-left: 6px solid #20455A;
  transition: box-shadow 0.2s, transform 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 32px -5px rgba(20,20,20,0.13);
  transform: translateY(-2px) scale(1.012);
}
.testimonial-name {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #2E8C6D;
  letter-spacing: 0.03em;
  font-size: 1rem;
  margin-bottom: 0.25em;
}
.star-rating {
  color: #090A0B;
  font-size: 1.2rem;
  letter-spacing: 0.12em;
  font-family: monospace, monospace;
}
.feature-item { /* See utility for item layout */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.feature-grid li, .feature-list li, .service-list li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  font-size: 1rem;
  background: #F8FAF9;
  padding: 16px 18px;
  border-radius: 9px;
  box-shadow: 0 1.5px 8px -3px rgba(30,33,38,0.03);
  margin-bottom: 10px;
  color: #232323;
}
.feature-grid img, .feature-list img, .service-list img {
  width: 30px; height: 30px;
  margin-right: 10px;
  filter: grayscale(100%) contrast(180%);
}
.team-list li, .success-stories-list li, .course-list li, .blog-list li {
  background: #fff;
  padding: 14px 18px;
  border-radius: 7px;
  margin-bottom: 10px;
  font-size: 1rem;
  box-shadow: 0 2px 10px -3px var(--color-shadow);
}

/* =================
   HEADER & NAVBAR
================== */
header {
  background: #fff;
  box-shadow: 0 2px 10px -2px var(--color-shadow);
  width: 100%;
  z-index: 20;
  position: sticky;
  top: 0;
  transition: box-shadow 0.18s;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo img {
  width: 156px;
  height: auto;
  filter: grayscale(100%) brightness(0.2) contrast(120%);
  transition: filter 0.25s;
}
.logo:hover img, .logo:focus img {
  filter: grayscale(0%) brightness(1) contrast(106%);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: .015em;
  color: #20455A;
  opacity: 0.93;
  padding: 5px 0;
  position: relative;
  transition: color 0.19s, border .18s;
}
.main-nav a:not(.cta-btn):hover, .main-nav a:not(.cta-btn):focus {
  color: #2E8C6D;
  opacity: 1;
  border-bottom: 2px solid #2E8C6D;
  outline: none;
}
.main-nav .cta-btn {
  margin-left: 16px;
}
/* Burger menu button */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #171717;
  cursor: pointer;
  margin-left: 16px;
  z-index: 31;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background .15s, color .2s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #F8FAF9;
  color: #20455A;
}
@media (max-width: 992px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ======================
   MOBILE NAV (SLIDE-IN)
======================= */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-bg-dark);
  z-index: 40;
  padding: 0;
  transform: translateX(-100vw);
  opacity: 0;
  transition: transform 0.32s cubic-bezier(0.8,0,0.2,1), opacity 0.22s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #F8FAF9;
  font-size: 2.3rem;
  padding: 20px 26px 6px 0;
  cursor: pointer;
  margin-bottom: 12px;
  transition: color 0.18s;
  z-index: 41;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #2E8C6D;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  gap: 12px;
  padding: 24px 32px;
  margin-top: 22px;
}
.mobile-nav a {
  color: #F8FAF9;
  font-size: 1.23rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 13px 0;
  width: 100%;
  border-bottom: 1px solid rgba(248,250,249,0.09);
  transition: background 0.13s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #232323;
  color: #2E8C6D;
}
@media (min-width: 993px) {
  .mobile-menu { display: none !important; }
}

/* ====================================================
  BUTTONS & CTAs
==================================================== */
.cta-btn, .cookie-banner button, .cookie-modal button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  background: var(--color-btn-bg);
  color: var(--color-btn-text)!important;
  border-radius: 8px;
  border: none;
  box-shadow: 0 2px 10px -3px var(--color-shadow);
  padding: 13px 27px;
  text-align: center;
  margin-top: 10px;
  transition: background 0.22s, color 0.18s, box-shadow 0.2s, outline .15s;
  cursor: pointer;
  outline: none;
  letter-spacing: 0.03em;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus,
.cookie-banner button:hover, .cookie-banner button:focus,
.cookie-modal button:hover, .cookie-modal button:focus {
  background: var(--color-btn-bg-hover);
  color: #fff !important;
  box-shadow: 0 4px 18px -6px #17171733;
  outline: 2px solid #2E8C6D;
  outline-offset: 2px;
}
.cta-btn:active {
  background: #20455A;
}

/* Outlined/Secondary Buttons (for cookie banner/modal) */
.cookie-banner .btn-outline, .cookie-modal .btn-outline {
  background: #fff;
  color: #20455A !important;
  border: 2px solid #20455A;
  padding: 12px 23px;
}
.cookie-banner .btn-outline:hover, .cookie-modal .btn-outline:hover {
  background: #20455A;
  color: #fff !important;
}

/* ===================
  HERO sections
=================== */
.hero {
  background: linear-gradient(148deg, #fff 65%, #F6F7F8 98%);
  border-radius: 0 0 36px 36px;
  box-shadow: 0 4.5px 18px -4px var(--color-shadow);
  padding: 60px 0 48px 0;
  margin-bottom: 60px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 20px;
  max-width: 760px;
}
.hero h1 {
  color: #090A0B;
  font-size: 2.85rem;
  letter-spacing: -0.022em;
}
.hero p {
  color: #232323;
  font-size: 1.15rem;
  margin-bottom: 16px;
}
@media (max-width: 768px) {
  .hero {
    padding: 34px 0 22px 0;
    margin-bottom: 32px;
    border-radius: 0 0 16px 16px;
  }
  .hero h1 {
    font-size: 1.55rem;
  }
}

/* ===========================
   BLOG / FEATURED POSTS
=========================== */
.featured-post {
  background: var(--color-surface);
  border-left: 7px solid #20455A;
  padding: 18px 22px;
  border-radius: 10px;
  margin-top: 10px;
  box-shadow: 0 2px 10px -3px var(--color-shadow);
  font-family: 'Roboto', Arial, sans-serif;
}
.featured-post h3 {
  color: #20455A;
  font-size: 1.15rem;
  margin-bottom: 9px;
}

/* =============================
  COURSE COMPARISON TABLES
============================= */
.course-comparison {
  width: 100%;
  border-collapse: collapse;
  margin-top: 28px;
  margin-bottom: 18px;
  font-size: 0.98rem;
  background: #fff;
}
.course-comparison th, .course-comparison td {
  border: 1px solid #e0e0e0;
  padding: 11px 14px;
  text-align: left;
}
.course-comparison th {
  background: #20455A;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
.course-comparison tr:nth-child(odd) td {
  background: #F8FAF9;
}
.course-comparison td {
  color: #232323;
  font-family: 'Roboto', Arial, sans-serif;
}
@media (max-width: 568px) {
  .course-comparison, .course-comparison thead, .course-comparison tbody, .course-comparison th, .course-comparison td, .course-comparison tr {
    display: block;
  }
  .course-comparison tr {
    margin-bottom: 16px;
  }
  .course-comparison td, .course-comparison th {
    padding: 9px 4vw;
  }
  .course-comparison th {
    border-radius: 8px 8px 0 0;
  }
}

/* ======================
  CONTACT, FOOTER, ETC.
====================== */
.contact-info ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 9px;
}
.contact-info ul li {
  display: flex;
  align-items: center;
  font-size: 1.07rem;
  color: #232323;
}
.contact-info ul img {
  width: 22px; height: 22px;
  filter: grayscale(100%) contrast(140%);
  margin-right: 10px;
}
.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-contact ul li {
  display: flex;
  align-items: center;
  font-size: 0.98rem;
}
.footer-contact ul img {
  width: 19px; height: 19px;
  margin-right: 7px;
  filter: grayscale(100%) contrast(120%);
}
.footer-contact span {
  margin-top: 8px;
  font-size: 0.9rem;
  color: #525252;
}
.footer-contact a {
  color: #2E8C6D;
  text-decoration: underline;
}
footer {
  background: #090A0B;
  color: #F8FAF9;
  padding: 36px 0 24px 0;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  box-shadow: 0 -3px 20px -7px var(--color-shadow);
  margin-top: 42px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 180px;
}
.footer-nav a {
  color: #F8FAF9;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.022em;
  opacity: .87;
  transition: color 0.17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #2E8C6D;
  opacity: 1;
}
footer .logo img {
  width: 114px;
  filter: grayscale(100%) brightness(1.4);
  margin-bottom: 14px;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

/* =============================
  COOKIE CONSENT BANNER & MODAL
============================= */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  z-index: 80;
  background: #1d2022;
  color: #fff;
  box-shadow: 0 -2px 22px -8px #222c35cc;
  padding: 28px 16px 22px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  font-size: 1rem;
  flex-wrap: wrap;
  animation: fadeBanner 0.6s cubic-bezier(0.4,0,0.2,1);
}
@keyframes fadeBanner {
  0% { opacity: 0; transform: translateY(60px); }
  100% { opacity: 1; transform: translateY(0); }
}
.cookie-banner .btns {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-left: auto;
}
.cookie-banner p {
  color: #fff;
  margin: 0;
  font-size: 0.96rem;
  flex: 2 1 220px;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    padding: 21px 8px 15px 8px;
  }
  .cookie-banner .btns {
    gap: 9px;
  }
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10,16,19,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s cubic-bezier(0.4,0,0.2,1);
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: #fff;
  box-shadow: 0 8px 38px -7px #222c3540;
  border-radius: 17px;
  max-width: 430px;
  width: 92%;
  padding: 38px 28px 24px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modal-appear 0.37s cubic-bezier(0.7,0,0.2,1);
}
@keyframes modal-appear {
  0% { opacity: 0; transform: scale(0.92) translateY(32px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal-content h3 {
  color: #20455A;
  font-size: 1.12rem;
  margin-bottom: 10px;
}
.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 10px;
  margin-bottom: 18px;
}
.cookie-option-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #F8FAF9;
  border-radius: 7px;
  padding: 10px 13px;
  font-size: 0.99rem;
}
.cookie-modal .btn-row {
  display: flex;
  gap: 17px;
  margin-top: 16px;
  justify-content: flex-end;
}
.cookie-modal .close-modal {
  position: absolute;
  right: 14px;
  top: 15px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #20455A;
  cursor: pointer;
  z-index: 2;
  padding: 0;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  color: #2E8C6D;
}

/* ============================
  OTHER & FORMATTING
============================ */
.text-section {
  max-width: 800px;
  width: 100%;
}
.text-section ul, .text-section ol {
  margin-bottom: 17px;
  margin-left: 25px;
  color: #232323;
}
.text-section li {
  margin-bottom: 8px;
}
.text-section a {
  color: #2E8C6D;
  text-decoration: underline;
}
od, .blog-list li h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.06rem;
}

/* SEPARATORS FOR CARDS & FLEX ELEMENTS */
.card:not(:last-child), .testimonial-card:not(:last-child), .feature-grid li:not(:last-child), .feature-list li:not(:last-child) {
  margin-bottom: 20px;
}

/* ===========================
  RESPONSIVE RULES
=========================== */
@media (max-width: 768px) {
  .container {
    padding: 0 9px;
  }
  .section {
    margin-bottom: 38px;
    padding: 22px 2px;
  }
  .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .testimonials-section, .feature-list, .feature-grid, .service-list, .success-stories-list, .team-list {
    flex-direction: column;
    gap: 13px;
  }
  .card {
    padding: 22px 14px;
    min-width: unset;
  }
  .footer-nav {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.13rem; }
  h2 { font-size: 1rem; }
  .card, .testimonial-card { padding: 14px 8px; }
  .footer-contact span {font-size: 0.8rem;}
}

/* =============================
  ANIMATIONS & MICROINTERACTIONS
============================= */
a, button, .cta-btn, .mobile-menu-toggle, .main-nav a {
  transition: color .2s, background .2s, box-shadow .2s, border-color .2s, transform .15s;
}
.card, .testimonial-card, .feature-grid li, .feature-list li, .footer-nav a {
  transition: box-shadow 0.2s, transform 0.15s;
}
.card:active, .testimonial-card:active {
  transform: scale(0.989);
}

/* =============
  UTILITIES
============== */
.visually-hidden {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  padding: 0 !important;
  border: 0 !important;
  height: 1px !important;
  width: 1px !important;
  overflow: hidden;
}

/* ==============
   SCROLLBAR
============== */
::-webkit-scrollbar {
  width: 12px;
  background: #F8FAF9;
}
::-webkit-scrollbar-thumb {
  background: #D1D2D4;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: #B0B1B3;
}

/* End of style.css */
