/* ------------------ 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;
}
body {
  line-height: 1.5;
  background: #162936;
  color: #F6F5F5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  text-decoration: none;
  color: inherit;
}
ul, ol {
  list-style: none;
}
img, svg {
  max-width: 100%;
  vertical-align: middle;
}
table {
  border-collapse: collapse;
  width: 100%;
}

/* ------------------ VARIABLES (WITH FALLBACKS) ------------------ */
:root {
  --primary: #205072;
  --primary-dark: #162936;
  --secondary: #329D9C;
  --accent: #F6F5F5;
  --bg-gradient: linear-gradient(135deg, #162936 0%, #205072 100%);
  --neon: #08ffe6;
  --danger: #EF476F;
  --success: #29F19C;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
  --shadow-soft: 0 4px 24px rgba(32, 80, 114, 0.08);
  --shadow-neon: 0 0 12px var(--neon), 0 2px 20px rgba(50,157,156, 0.18);
  --radius: 20px;
  --radius-sm: 14px;
  --trans: 0.25s cubic-bezier(.6,.43,.14,1);
}

/* ------------------ TYPOGRAPHY ------------------ */
body {
  font-family: var(--font-body), Arial, sans-serif;
  font-size: 16px;
  background: var(--bg-gradient);
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display), Arial, sans-serif;
  color: var(--accent);
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.75rem;
  font-weight: 700;
  margin-bottom: 18px;
  line-height: 1.15;
  background: linear-gradient(90deg, var(--secondary), var(--neon));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 12px;
}
p, ul, li, th, td, label, a, input, textarea {
  font-size: 1rem;
  line-height: 1.7;
}
p {
  color: #e3e8ea;
  margin-bottom: 18px;
}
blockquote {
  border-left: 3px solid var(--neon);
  padding-left: 18px;
  color: var(--accent);
  font-style: italic;
  margin: 20px 0;
}

/* ------------------ GLOBAL CONTAINERS & LAYOUT ------------------ */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #22394b;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow var(--trans), border-color var(--trans);
  border: 1.5px solid transparent;
}
.card:hover, .feature:hover {
  border-color: var(--neon);
  box-shadow: var(--shadow-neon);
}
.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;
}

/* -------------- MAIN NAVIGATION ---------------- */
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  z-index: 10;
  position: relative;
}
.main-nav .logo {
  margin-right: 32px;
  display: flex;
  align-items: center;
}
.main-nav ul {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav li {
  display: flex;
  align-items: center;
}
.main-nav a {
  color: var(--accent);
  font-family: var(--font-display), Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
  padding: 7px 0;
  transition: color var(--trans);
}
.main-nav a:after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0%; height: 2px;
  background: var(--neon);
  transition: width var(--trans);
  border-radius: 2px;
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--neon);
}
.main-nav a:hover:after,
.main-nav a:focus:after {
  width: 100%;
}
.cta-btn {
  display: inline-block;
  color: var(--accent);
  background: var(--secondary);
  border: none;
  border-radius: var(--radius-sm);
  padding: 13px 32px;
  font-family: var(--font-display), Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-left: 28px;
  box-shadow: 0 2px 14px 0 rgba(50,157,156,0.11);
  cursor: pointer;
  transition: background var(--trans), color var(--trans), box-shadow var(--trans);
  position: relative;
  outline: none;
}
.cta-btn.primary {
  background: var(--primary);
  box-shadow: 0 0 10px 0 var(--primary), var(--shadow-neon);
  color: var(--accent);
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--neon);
  color: var(--primary);
  box-shadow: var(--shadow-neon);
}

/* ------------------ HERO & SECTION STYLES ------------------ */
section {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
}
section .container {
  width: 100%;
}
section .content-wrapper > h1,
section .content-wrapper > h2 {
  margin-bottom: 6px;
}

/* ----------------- FEATURES & COURSES GRIDS ----------------- */
.feature-grid {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #22394b;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 24px;
  transition: border-color var(--trans), box-shadow var(--trans);
  border: 1.5px solid transparent;
  min-width: 220px;
  flex: 1 1 270px;
  gap: 10px;
  min-height: 220px;
  margin-bottom: 20px;
}
.feature img {
  width: 44px; height: 44px;
  margin-bottom: 14px;
  filter: drop-shadow(0 0 7px var(--neon));
}
.courses-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
  justify-content: space-between;
}
.course-highlight, .course {
  background: #22394b;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 26px 22px 18px 22px;
  position: relative;
  min-width: 215px;
  flex: 1 1 240px;
  margin-bottom: 20px;
  transition: box-shadow var(--trans), border-color var(--trans);
  border: 1.5px solid transparent;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.course-highlight:hover, .course:hover {
  box-shadow: var(--shadow-neon);
  border-color: var(--neon);
  z-index: 2;
}
.course-highlight span, .course p strong {
  color: var(--neon);
  font-weight: bold;
  letter-spacing: .03em;
}
/* Course Comparison Table Styles */
.course-comparison {
  width: 100%;
  background: #22394b;
  border-radius: var(--radius-sm);
  overflow-x: auto;
  margin-bottom: 20px;
  box-shadow: var(--shadow-soft);
  border: none;
}
.course-comparison th, .course-comparison td {
  padding: 14px 10px;
  text-align: left;
  font-size: 1rem;
  border-bottom: 1px solid #28465f;
}
.course-comparison th {
  color: var(--neon);
  font-weight: 600;
  background-color: #1c3243;
}
.course-comparison tr:last-child td {
  border-bottom: none;
}

/* ------------------ TESTIMONIALS ------------------ */
.testimonial-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.testimonial-card {
  background: var(--accent);
  color: #162936;
  border-radius: var(--radius);
  box-shadow: 0 4px 24px rgba(0,0,0,0.13);
  padding: 26px 24px;
  min-width: 240px;
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  border: 1.5px solid var(--neon);
  transition: box-shadow var(--trans), border-color var(--trans);
}
.testimonial-card:hover {
  box-shadow: var(--shadow-neon);
  border-color: var(--secondary);
}
.testimonial-card p {
  color: #205072;
  font-weight: 500;
  font-size: 1.04rem;
  text-align: center;
  margin-bottom: 0;
}
.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  justify-content: center;
  color: #205072;
  font-family: var(--font-display), Arial, sans-serif;
  font-size: 0.98rem;
  opacity: .89;
}

/* ------------------ FAQ ------------------ */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.faq-item {
  background: #22394b;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  padding: 20px 22px 18px 22px;
  margin-bottom: 20px;
  border: 1.5px solid transparent;
  transition: border-color var(--trans), box-shadow var(--trans);
}
.faq-item:hover {
  border-color: var(--neon);
  box-shadow: var(--shadow-neon);
}
.faq-item h3 {
  color: var(--neon);
  font-size: 1.18rem;
  font-weight: 600;
  margin-bottom: 7px;
  cursor: pointer;
}
.faq-item .text-section p {
  color: #e3e8ea;
}
.contact-reminder {
  margin-top: 24px;
  font-size: 1rem;
  color: var(--accent);
  background: #1b3342;
  border-radius: var(--radius-sm);
  padding: 16px 17px;
}
.contact-reminder a {
  color: var(--neon);
  text-decoration: underline;
}

/* ------------------ TEXT SECTIONS, LISTS ------------------ */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.text-section ul {
  margin-left: 20px;
  list-style: disc inside;
  color: #e3e8ea;
}
.text-section li {
  margin-bottom: 7px;
  line-height: 1.7;
}
.text-section strong {
  color: var(--neon);
  font-weight: 600;
}
/* ------------------ SUCCESS HIGHLIGHTS (TESTIMONIALS) ------------------ */
.success-highlights {
  background: #205072;
  color: var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 24px 28px 18px 28px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.success-highlights h3 {
  color: var(--neon);
}
.success-highlights ul {
  color: var(--accent);
  margin-left: 12px;
  list-style: disc inside;
}
.success-highlights li {
  margin-bottom: 8px;
}

/* ------------------ FOOTER ------------------ */
footer {
  background: #162936;
  color: #F6F5F5;
  padding: 28px 0 0 0;
  border-top: 2px solid #223943;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 22px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 180px;
}
.footer-brand img {
  width: 48px; height: 48px;
}
.footer-contact {
  min-width: 220px;
  max-width: 260px;
}
.footer-contact h4 {
  color: var(--neon);
  font-weight: 600;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.footer-nav a {
  color: var(--accent);
  font-size: 0.97rem;
  letter-spacing: 0.01em;
  transition: color var(--trans);
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--neon);
}
.footer-social {
  display: flex;
  gap: 17px;
  align-items: center;
}
.footer-social a {
  display: flex;
  align-items: center;
}
.footer-social img {
  width: 26px; height: 26px;
  filter: drop-shadow(0 0 6px var(--neon));
}
footer .container > p {
  border-top: 1px solid #29475c;
  margin-top: 4px;
  padding: 12px 0 10px;
  text-align: center;
  color: #6aadb3;
  font-size: 0.94rem;
  opacity: .85;
}

/* ------------------ BUTTONS & LINKS ------------------ */
button, .cta-btn {
  font-family: var(--font-display);
  border: none;
  cursor: pointer;
  transition: background var(--trans), color var(--trans), box-shadow var(--trans);
}
button:focus {
  outline: 3px solid var(--neon);
}
a {
  transition: color var(--trans), text-decoration var(--trans);
}
a:hover, a:focus {
  color: var(--neon);
}

/* ------------------ MOBILE MENU ------------------ */
.mobile-menu-toggle {
  display: none;
  background: var(--primary);
  color: var(--neon);
  font-size: 2.18rem;
  border: none;
  border-radius: var(--radius);
  padding: 8px 12px;
  margin-left: 14px;
  cursor: pointer;
  transition: background var(--trans), color var(--trans);
  z-index: 31;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--secondary);
  color: var(--primary);
}
.mobile-menu {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(32,80,114,0.97);
  z-index: 40;
  transform: translateX(100%);
  transition: transform var(--trans);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 38px 28px 28px 28px;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0%);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  background: none;
  color: var(--neon);
  font-size: 2rem;
  border: none;
  margin-bottom: 22px;
  cursor: pointer;
  transition: color var(--trans);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--danger);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 20px;
}
.mobile-nav a {
  color: var(--accent);
  background: #22394b;
  border-radius: var(--radius-sm);
  padding: 15px 0 15px 24px;
  font-weight: 600;
  font-size: 1.14rem;
  transition: background var(--trans), color var(--trans);
  margin-bottom: 3px;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--neon);
  color: var(--primary);
}

/* ------------------ COOKIE CONSENT BANNER ------------------ */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  background: #22394b;
  color: var(--accent);
  box-shadow: 0 -2px 24px rgba(32, 80, 114, 0.18);
  z-index: 1003;
  padding: 22px 12px 18px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  animation: cookie-fadein .4s cubic-bezier(.6,.43,.14,1);
}
@keyframes cookie-fadein {
  from {transform: translateY(80px); opacity: 0;}
  to {transform: translateY(0); opacity: 1;}
}
.cookie-banner p {
  font-size: 1rem;
  color: var(--accent);
  text-align: center;
  margin-bottom: 0;
}
.cookie-btns {
  display: flex;
  gap: 18px;
  justify-content: center;
  width: 100%;
  flex-wrap: wrap;
}
.cookie-btn {
  background: var(--primary);
  color: var(--accent);
  border-radius: var(--radius-sm);
  padding: 10px 24px;
  font-family: var(--font-display), Arial, sans-serif;
  font-weight: 700;
  font-size: 0.97rem;
  border: none;
  cursor: pointer;
  margin-top: 3px;
  box-shadow: 0 2px 14px 0 rgba(50,157,156,0.08);
  transition: background var(--trans), color var(--trans), box-shadow var(--trans);
}
.cookie-btn.accept {
  background: var(--success);
  color: #0c3e3c;
}
.cookie-btn.reject {
  background: var(--danger);
  color: #fff;
}
.cookie-btn.settings {
  background: var(--secondary);
  color: var(--accent);
}
.cookie-btn:hover, .cookie-btn:focus {
  box-shadow: var(--shadow-neon);
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(32,80,114,0.85);
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--trans);
}
.cookie-modal-overlay.active {
  pointer-events: all;
  opacity: 1;
}
.cookie-modal {
  background: #f6f5f5;
  color: #205072;
  border-radius: var(--radius);
  min-width: 320px;
  max-width: 95vw;
  box-shadow: 0 4px 40px 1px rgba(32, 80, 114, .27);
  padding: 38px 22px 22px 22px;
  position: relative;
  animation: cookie-modal .32s cubic-bezier(.6,.43,.14,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  z-index: 1052;
}
@keyframes cookie-modal {
  from {transform: translateY(44px) scale(.94); opacity: 0;}
  to   {transform: translateY(0) scale(1); opacity: 1;}
}
.cookie-modal h3 {
  color: var(--primary);
  font-size: 1.32rem;
  margin-bottom: 6px;
}
.cookie-modal-close {
  position: absolute;
  top: 8px; right: 14px;
  background: none;
  color: var(--danger);
  font-size: 2rem;
  border: none;
  cursor: pointer;
  z-index: 1;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 12px;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--secondary);
  width: 21px; height: 21px;
  border-radius: 4px;
  margin-right: 3px;
}
.cookie-category label {
  font-size: 1.02rem;
  color: #205072;
}
.cookie-category .essential {
  color: #205072;
  font-weight: 700;
  background-color: #b2efef;
  padding: 2px 8px;
  border-radius: 9px;
  margin-left: 7px;
  font-size: 0.9rem;
}

/* ------------------ UTILITY & RESPONSIVE ------------------ */
@media (max-width: 1100px) {
  .feature-grid, .courses-list, .testimonial-cards, .content-wrapper, .footer .content-wrapper {
    flex-direction: column;
    gap: 24px;
  }
}
@media (max-width: 900px) {
  .footer .content-wrapper {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
  .feature-grid, .courses-list, .testimonial-cards {
    gap: 24px;
  }
  .section, section {
    padding: 32px 8px !important;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  .main-nav ul, .main-nav .cta-btn {
    display: none;
  }
  .main-nav .logo {
    margin-right: 0;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .content-wrapper, .feature-grid, .courses-list,
  .testimonial-cards, .footer .content-wrapper {
    flex-direction: column;
    gap: 20px;
  }
  .section, section {
    padding: 22px 2px !important;
  }
  .card, .feature, .course, .course-highlight {
    min-width: unset;
    width: 100%;
    box-sizing: border-box;
  }
  .testimonial-card { min-width: 0; width: 100%; }
  .cookie-modal {
    min-width: 80vw;
    padding: 26px 4vw 14px 4vw;
  }
}
@media (max-width: 540px) {
  .footer-brand img { width: 36px; height: 36px; }
  .footer-contact h4, .footer-brand p, footer .container > p {
    font-size: 0.91rem;
  }
  .cta-btn, .cookie-btn {
    width: 100%;
    font-size: 1.05rem;
    text-align: center;
    padding: 14px 0;
    margin-left: 0;
  }
  .cookie-banner {
    padding: 13px 4px 13px 4px;
  }
  .cookie-modal {
    min-width: 90vw;
    padding: 16px 2vw 8px 2vw;
  }
}

/* ------------------- Z-INDEX GUARDS --------------------- */
.mobile-menu, .mobile-menu.active { z-index: 40; }
.cookie-banner { z-index: 1003; }
.cookie-modal-overlay, .cookie-modal { z-index: 1050; }

/* ---------------- SUPPORTIVE MICRO-INTERACTIONS ----------------- */
.card, .feature, .course, .course-highlight, .faq-item, .testimonial-card, .cta-btn, .cookie-btn, .mobile-menu, .cookie-modal {
  transition: box-shadow var(--trans), border-color var(--trans), background var(--trans), color var(--trans), opacity var(--trans), transform var(--trans);
}

/* ------------------- FORM ELEMENTS (if any future) ------------------ */
input[type="text"], input[type="email"], textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid #205072;
  background: #22394b;
  color: var(--accent);
  margin-bottom: 17px;
}
input:focus, textarea:focus {
  outline: 2px solid var(--neon);
  background: #162936;
  color: var(--neon);
}

/* ------------------- GENERAL SPACING CONVENTIONS ------------------ */
.section, section {
  margin-bottom: 60px !important;
  padding: 40px 20px !important;
}
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* ------------- END OF CSS ------------- */
