/* === CSS RESET & NORMALIZATION === */
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 {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  background: #F9F9F9;
  color: #1A325B;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 0.05em;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  color: inherit;
  background: none;
  outline: none;
  border: none;
  border-radius: 0;
  appearance: none;
}

*, *::before, *::after {
  box-sizing: inherit;
}

ul, ol {
  list-style-position: inside;
}

/* === BRAND VARIABLES === */
:root {
  --color-primary: #1A325B;
  --color-secondary: #39BFA4;
  --color-accent: #F9F9F9;
  --color-white: #fff;
  --color-black: #151E2D;
  --color-grey: #E8ECEE;
  --color-dark: #222F44;
  --shadow-subtle: 0 2px 14px 0 rgba(17,39,61,0.05), 0 1.5px 5px 0 rgba(78,89,111,0.05);

  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
  --transition: 0.24s cubic-bezier(.4,.3,0,1);
  --radius: 12px;
}

/* === TYPOGRAPHY === */
h1 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 18px;
  color: var(--color-primary);
  letter-spacing: 0.01em;
}

h2 {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 600;
  line-height: 1.14;
  margin-bottom: 16px;
  color: var(--color-primary);
}

h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--color-dark);
}

h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--color-dark);
}

p,
ul, ol {
  margin-bottom: 1.1em;
  color: var(--color-primary);
}

ul, ol {
  padding-left: 1.2em;
}

li + li {
  margin-top: 0.5em;
}

strong {
  font-weight: 600;
  color: var(--color-primary);
}

.subheadline {
  font-size: 1.09rem;
  font-family: var(--font-body);
  color: var(--color-secondary);
  margin-bottom: 21px;
  font-weight: 400;
}

/* === SPACING & CONTAINER === */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  position: relative;
  margin-bottom: 20px;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-subtle);
  padding: 28px 20px;
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card:hover, .feature:hover, .testimonial-card:hover {
  box-shadow: 0 6px 32px rgba(17,39,61,0.10), 0 2.5px 11px 0 rgba(78,89,111,0.07);
  transform: translateY(-4px) scale(1.015);
}

.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-subtle);
  background: var(--color-white);
  margin-bottom: 20px;
  transition: box-shadow var(--transition), transform var(--transition);
}

.testimonial-details {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1rem;
  color: var(--color-primary);
}

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

/* === HERO STYLING === */
.hero {
  background: var(--color-accent);
  padding: 56px 20px 48px 20px;
  margin-bottom: 46px;
  text-align: left;
  display: flex;
  align-items: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 14px;
}
.hero h1 {
  font-size: 2.2rem;
  margin-bottom: 9px;
}
.hero .cta-btn {
  margin-top: 10px;
}

@media (min-width:768px) {
  .hero {
    padding-top: 80px;
    padding-bottom: 80px;
    text-align: left;
  }
  .hero .content-wrapper {
    max-width: 620px;
    align-items: flex-start;
  }
  .hero h1 {
    font-size: 2.7rem;
  }
}

/* === NAVIGATION === */
header {
  background: var(--color-white);
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 110;
  box-shadow: 0 1.5px 14px 0 rgba(17,39,61,0.04);
}
.main-nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
header img {
  height: 38px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: var(--font-display);
  text-decoration: none;
  color: var(--color-primary);
  font-weight: 500;
  font-size: 1rem;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-bottom var(--transition);
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--color-secondary);
  border-bottom: 2px solid var(--color-secondary);
}
.cta-btn {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--color-white);
  background: var(--color-secondary);
  border-radius: 6px;
  padding: 9px 20px;
  font-weight: 600;
  letter-spacing: 0.04em;
  outline: none;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
  box-shadow: 0 1px 6px rgba(57,191,164,0.10);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  border: none;
  cursor: pointer;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 6px 18px rgba(26,50,91,0.12);
  transform: translateY(-2px) scale(1.027);
}

/* ===== MOBILE NAVIGATION ===== */
.mobile-menu-toggle {
  background: var(--color-secondary);
  color: var(--color-white);
  border: none;
  border-radius: 7px;
  width: 42px;
  height: 42px;
  font-size: 2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), box-shadow var(--transition);
  box-shadow: 0 1.5px 5px rgba(57,191,164,0.10);
  z-index: 201;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--color-primary);
}
@media (min-width: 1024px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--color-white);
  z-index: 4000;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.53,.21,.29,.85);
  box-shadow: 0 5px 40px 0 rgba(17,39,61,0.08);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  margin-top: 28px;
  margin-left: 20px;
  background: var(--color-grey);
  color: var(--color-primary);
  border: none;
  border-radius: 7px;
  font-size: 2.1rem;
  font-weight: 400;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition);
  z-index: 4050;
  overflow: visible;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-secondary);
  color: var(--color-white);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 36px 36px 0 36px;
  width: 100vw;
  margin-top: 24px;
}
.mobile-nav a {
  font-size: 1.25rem;
  font-family: var(--font-display);
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-grey);
  transition: color var(--transition), background var(--transition);
  border-radius: 4px;
  display: block;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--color-secondary);
  color: var(--color-white);
}

@media (max-width:1023px) {
  .main-nav {
    display: none;
  }
}
@media (max-width: 768px) {
  .main-nav-container {
    padding-right: 10px;
    padding-left: 10px;
  }
  .cta-btn {
    font-size: 0.98rem;
    padding: 7px 16px;
  }
}

@media (min-width:1024px) {
  .mobile-menu {
    display: none !important;
  }
  .main-nav {
    display: flex !important;
  }
}

/* === SECTION & CARD GRID PATTERNS === */
.features-grid, .services-list, .about-features, .course-list, .story-list, .testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.features-grid {
  gap: 24px;
}
.feature, .service, .course {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-subtle);
  padding: 32px 24px;
  flex: 1 0 260px;
  min-width: 235px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.feature img {
  width: 40px;
  height: 40px;
  margin-bottom: 6px;
}
.price {
  color: var(--color-secondary);
  background: #E6F7F2;
  font-weight: 600;
  padding: 5px 13px;
  border-radius: 8px;
  font-size: 1rem;
  margin-top: 6px;
  letter-spacing: 0.01em;
  display: inline-block;
}
.course-btn, .service-btn {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--color-white);
  background: var(--color-secondary);
  border-radius: 6px;
  padding: 8px 20px;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: background var(--transition), transform var(--transition);
  border: none;
  outline: none;
  text-decoration: none;
  cursor: pointer;
  margin-top: 10px;
}
.course-btn:hover, .course-btn:focus, .service-btn:hover, .service-btn:focus {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* SUCCESS STORIES / TESTIMONIALS */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card h3 {
  font-size: 1.08rem;
  margin-bottom: 7px;
  color: var(--color-secondary);
}

/* ---- THANK YOU SECTION ---- */
.thank-you-section {
  background: var(--color-accent);
  padding: 56px 20px;
  min-height: 50vh;
  display: flex;
  align-items: center;
}
@media (min-width:768px) {
  .thank-you-section {
    padding-top: 100px;
    padding-bottom: 70px;
  }
}

/* === ABOUT/CONTACT SECTION === */
.text-section {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-subtle);
  padding: 30px 22px;
}

.contact-section {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 20px;
}
.contact-details p, .location-map p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 13px;
  color: var(--color-dark);
}
.location-map {
  background: var(--color-grey);
  border-radius: 8px;
  padding: 18px 16px;
}
.address-info, .public-transport-tips {
  margin: 10px 0 10px 0;
}

/* === FOOTER === */
footer {
  background: var(--color-white);
  color: var(--color-dark);
  padding: 40px 0 0 0;
  border-top: 1.5px solid var(--color-grey);
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-logo img {
  height: 38px;
  margin-bottom: 12px;
}
.footer-links {
  display: flex;
  gap: 38px;
}
.footer-links nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links a {
  color: var(--color-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  text-decoration: none;
  transition: color var(--transition);
}
.footer-links a:hover, .footer-links a:focus {
  color: var(--color-secondary);
}
.footer-contact, .footer-newsletter {
  font-size: 0.99rem;
  line-height: 1.55;
}
.footer-contact p {
  margin-bottom: 5px;
  color: var(--color-dark);
}
.footer-social {
  display: flex;
  gap: 14px;
  align-items: center;
}
.footer-social a img {
  width: 28px;
  height: 28px;
  opacity: 0.72;
  transition: opacity var(--transition), filter var(--transition);
}
.footer-social a:hover img, .footer-social a:focus img {
  opacity: 1;
  filter: brightness(1.18) grayscale(0);
}
.footer-newsletter form {
  display: flex;
  gap: 8px;
  flex-direction: column;
  margin-top: 2px;
}
.footer-newsletter input[type='email'] {
  padding: 8px 10px;
  border: 1.3px solid var(--color-grey);
  border-radius: 7px;
  background: #F6F7F9;
  font-size: 1rem;
  transition: border var(--transition);
}
.footer-newsletter input[type='email']:focus {
  border-color: var(--color-secondary);
  background: #fff;
}
.footer-newsletter button[type='submit'] {
  background: var(--color-secondary);
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 1rem;
  padding: 7px 15px;
  border-radius: 6px;
  border: none;
  transition: background var(--transition);
  cursor: pointer;
  font-weight: 600;
}
.footer-newsletter button:hover, .footer-newsletter button:focus {
  background: var(--color-primary);
}
.footer-newsletter label {
  font-family: var(--font-display);
  font-size: 0.99rem;
  color: var(--color-primary);
  margin-bottom: 2px;
  font-weight: 600;
}
.footer-copyright {
  width: 100%;
  text-align: left;
  font-size: 0.98rem;
  color: #7B98BA;
  margin: 18px 0 0 0;
  padding-bottom: 23px;
}
@media (max-width: 991px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
  .footer-links {
    gap: 16px;
  }
}
@media (max-width: 599px) {
  .footer-links nav {
    gap: 4px;
  }
  .footer-social {
    gap: 8px;
  }
  .footer-newsletter button {
    width: 100%;
  }
}

/* === BUTTONS + INTERACTIONS === */
button, .cta-btn, .course-btn, .service-btn {
  cursor: pointer;
  user-select: none;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}

/* === RESPONSIVE FLEXBOX LAYOUTS === */
@media (max-width: 768px) {
  .features-grid, .services-list, .about-features, .course-list, .story-list {
    flex-direction: column;
    gap: 20px;
  }
  .content-grid, .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
  .testimonial-slider {
    flex-direction: column;
    gap: 18px;
  }
}

/* === COOKIE BANNER & CONSENT === */
.cookie-banner {
  position: fixed;
  z-index: 9000;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-white);
  box-shadow: 0 -5px 18px rgba(23,39,61,0.12);
  border-radius: 16px 16px 0 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 30px 22px 18px 22px;
  width: 100%;
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(.52,.15,.39,1), opacity 0.28s;
  pointer-events: none;
}
.cookie-banner.visible {
  transform: translateY(0%);
  opacity: 1;
  pointer-events: all;
}
.cookie-banner p {
  color: var(--color-dark);
  font-size: 1.05rem;
  margin-bottom: 0.7em;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.cookie-banner button {
  background: var(--color-secondary);
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  padding: 7px 18px;
  border-radius: 6px;
  border: none;
  transition: background var(--transition), color var(--transition);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--color-primary);
  color: var(--color-white);
}
.cookie-banner .btn-secondary {
  background: var(--color-grey);
  color: var(--color-primary);
  border: 1px solid #d3dee3;
}
.cookie-banner .btn-secondary:hover, .cookie-banner .btn-secondary:focus {
  background: var(--color-secondary);
  color: var(--color-white);
}
.cookie-banner .btn-outlined {
  background: none;
  color: var(--color-primary);
  border: 1.5px solid var(--color-secondary);
}
.cookie-banner .btn-outlined:hover, .cookie-banner .btn-outlined:focus {
  background: var(--color-secondary);
  color: var(--color-white);
}

/* COOKIE CONSENT MODAL */
.cookie-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(26, 50, 91, 0.32);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.38s;
}
.cookie-modal.visible {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-content {
  background: var(--color-white);
  border-radius: 16px;
  padding: 36px 22px 28px 22px;
  min-width: 320px;
  max-width: 95vw;
  box-shadow: 0 4px 32px rgba(23,39,61,0.19);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  align-items: flex-start;
  animation: fade-in-modal 0.37s cubic-bezier(.74, .28, .37, 1);
}
@keyframes fade-in-modal {
  from { transform: scale(0.97) translateY(24px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal-content h2 {
  font-size: 1.32rem;
  margin-bottom: 8px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
}
.cookie-category input[type=checkbox] {
  width: 20px;
  height: 20px;
  accent-color: var(--color-secondary);
}
.cookie-category.essential label {
  color: #9BA3B7;
  font-weight: 500;
}
.cookie-modal-actions {
  display: flex;
  gap: 13px;
  margin-top: 12px;
}
.cookie-modal-close {
  position: absolute;
  top: 13px;
  right: 18px;
  background: #D8E1EB;
  border-radius: 5px;
  color: var(--color-primary);
  border: none;
  width: 34px;
  height: 34px;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--color-secondary);
  color: var(--color-white);
}

/* === UTILITY CLASSES === */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-2 { margin-top: 20px; }
.mb-2 { margin-bottom: 20px; }
.mt-4 { margin-top: 40px; }
.mb-4 { margin-bottom: 40px; }
.gap-20 { gap: 20px; }

/* === RESPONSIVE FONTS & SPACINGS === */
@media (min-width:600px) {
  h1 { font-size: 2.8rem; }
  h2 { font-size: 2.35rem; }
  .cta-btn { font-size: 1.06rem; }
  .hero { padding-top: 70px; padding-bottom: 70px; }
}
@media (max-width:599px) {
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.23rem; }
  h3 { font-size: 1.05rem; }
}

/* === FORM FIELD FOCUS STATES === */
input:focus, textarea:focus, select:focus {
  border-color: var(--color-secondary);
  background: #fff;
  outline: none;
}

/* === FOCUS VISIBLE FOR ACCESIBILITY === */
:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

/* === SCROLLBAR (minimal) === */
::-webkit-scrollbar {
  width: 10px;
  background: #F4F6F7;
}
::-webkit-scrollbar-thumb {
  background: #C6D4DF;
  border-radius: 8px;
}

/* === OVERRIDE: Prevent Card/Section Overlap === */
section, .card, .feature, .testimonial-card, .service, .course {
  margin-bottom: 20px;
}
@media (max-width: 480px) {
  .section, .hero, .thank-you-section {
    padding-left: 9px;
    padding-right: 9px;
  }
  .card, .feature, .testimonial-card, .text-section {
    padding-left: 11px;
    padding-right: 11px;
  }
}

/* === TABLES === */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 22px;
}
th, td {
  text-align: left;
  padding: 11px 7px;
  border-bottom: 1.2px solid var(--color-grey);
}
th {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 600;
  background: #F4F7F6;
}

/* === LINKS === */
a {
  color: var(--color-secondary);
  transition: color var(--transition);
  text-underline-offset: 2.2px;
}
a:hover, a:focus {
  color: var(--color-primary);
}

/* === PRINT === */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
  main { background: #fff; }
}

/* === END OF STYLE.CSS === */
