/* ===========================
   CSS RESET & NORMALIZE RULES
   =========================== */
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;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  line-height: 1.6;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #1A2736;
  background: #FEF6E3;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
ul,ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.4,0,.2,1);
}
img {
  max-width: 100%;
  height: auto;
  display: inline-block;
  vertical-align: middle;
}

/* ===========================
   TYPE & GEOMETRIC STRUCTURE
   =========================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Slab', 'Segoe UI', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #1A2736;
  margin-bottom: 0.7em;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.1;
}
h2 {
  font-size: 2rem;
  margin-bottom: 0.6em;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5em;
}
h4, h5, h6 {
  font-size: 1.1rem;
}

p, ul, ol {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 1em;
}
strong {
  font-weight: 700;
  color: #1A2736;
}

/* Typography scaling for smaller screens */
@media (max-width: 600px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.2rem; }
  p, ul, ol { font-size: 0.97rem; }
}

/* ===========================
   FLEX CONTAINER CLASSES
   =========================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
  width: 100%;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(20,129,186,0.07),0 0.5px 1.5px rgba(26,39,54,0.04);
  background: #fff;
  padding: 32px 24px;
  transition: box-shadow 0.2s cubic-bezier(.4,0,.2,1), transform 0.18s cubic-bezier(.4,0,.2,1);
}
.card:hover {
  box-shadow: 0 4px 24px rgba(20,129,186,0.13);
  transform: translateY(-4px) scale(1.02);
}
.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) {
  .content-wrapper, .container, .section {
    padding-left: 8px;
    padding-right: 8px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* ===========================
   NAVIGATION (DESKTOP & MOBILE)
   =========================== */
header {
  position: sticky;
  top: 0;
  width: 100%;
  background: #fff;
  z-index: 100;
  box-shadow: 0 1px 6px rgba(20,129,186,0.07);
  display: flex;
  flex-direction: column;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: flex-start;
  padding: 0 20px;
  min-height: 68px;
}
.main-nav img {
  height: 44px;
  width: auto;
  margin-right: 16px;
}
.main-nav a {
  font-family: 'Roboto Slab', 'Segoe UI', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #1A2736;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.18s, color 0.15s;
  position: relative;
}
.main-nav a:hover, .main-nav a.active {
  background: #F3EADA;
  color: #1481BA;
}
.main-nav .cta.primary {
  background: #1481BA;
  color: #fff;
  border-radius: 16px;
  padding: 10px 22px;
  margin-left: 10px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(20,129,186,0.12);
  transition: background 0.18s, color 0.15s;
}
.main-nav .cta.primary:hover, .main-nav .cta.primary:focus {
  background: #1A2736;
  color: #FEF6E3;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #1481BA;
  padding: 10px 16px;
  margin-left: auto;
  cursor: pointer;
  line-height: 1;
  z-index: 300;
  transition: color 0.15s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: #1A2736;
}

/* Hide desktop nav on mobile */
@media (max-width: 950px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* MOBILE MENU OVERLAY*/
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 6px 36px rgba(20,129,186,0.11);
  z-index: 9000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.68,-0.6,.32,1.6);
  pointer-events: none;
  opacity: 0.96;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.2rem;
  background: none;
  border: none;
  color: #1481BA;
  margin: 22px 18px 10px 0;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  color: #1A2736;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 8px;
  padding: 32px 22px 22px 28px;
}
.mobile-nav a {
  font-family: 'Roboto Slab', 'Segoe UI', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 14px 10px;
  color: #1A2736;
  border-radius: 10px;
  background: none;
  margin-bottom: 8px;
  box-shadow: none;
  transition: background 0.18s, color 0.15s;
}
.mobile-nav a:active,
.mobile-nav a:focus,
.mobile-nav a:hover {
  background: #F3EADA;
  color: #1481BA;
}

@media (max-width: 599px) {
  .mobile-nav a {
    font-size: 1rem;
    padding: 12px 6px;
  }
}

/* ===========================
   HERO BANNER
   =========================== */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FEF6E3;
  min-height: 280px;
  padding-top: 48px;
  padding-bottom: 48px;
  margin-bottom: 44px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
  margin-top: 10px;
}
.hero h1 {
  font-size: 2.1rem;
  background: linear-gradient(90deg, #1A2736, #1481BA 85%, #FEF6E3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}
.hero p {
  font-size: 1.1rem;
  color: #1A2736;
  margin-bottom: 18px;
  max-width: 560px;
}
.hero .cta.primary {
  font-size: 1.07rem;
  font-weight: 700;
}

/* ===========================
   CTA BUTTONS
   =========================== */
.cta {
  display: inline-block;
  border: none;
  outline: none;
  padding: 11px 28px;
  font-family: 'Roboto Slab', 'Segoe UI', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border-radius: 20px;
  background: transparent;
  box-shadow: 0 2.5px 10px rgba(20,129,186,0.10);
  transition: background 0.2s cubic-bezier(.4,0,.2,1), color 0.2s;
  margin-top: 8px;
}
.cta.primary {
  background: #1481BA;
  color: #fff;
  border: 2.3px solid #1481BA;
}
.cta.primary:hover:not(:disabled), .cta.primary:focus {
  background: #1A2736;
  border-color: #1A2736;
  color: #FEF6E3;
}
.cta.secondary {
  background: #fff;
  color: #1481BA;
  border: 2.3px solid #1481BA;
}
.cta.secondary:hover:not(:disabled), .cta.secondary:focus {
  background: #1481BA;
  color: #fff;
}
.cta:active {
  transform: scale(0.98);
}
.cta:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Features, Services, etc. Lists */
.features ul, .services ul, .about ul {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.features ul li, .services ul li, .about ul li {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1rem;
  padding: 13px 12px;
  background: #F9F6ED;
  border-left: 4px solid #1481BA;
  border-radius: 10px;
  margin-bottom: 6px;
  font-family: 'Open Sans', Arial, sans-serif;
  line-height: 1.5;
  font-weight: 500;
}
.features ul li img,
.about ul li img,
.services ul li img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* ===========================
   SERVICE GRID (Courses)
   =========================== */
.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
}
.service-grid > div {
  flex: 1 1 300px;
  min-width: 260px;
  max-width: 380px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 11px rgba(20,129,186,0.08);
  padding: 26px 18px 20px 22px;
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  border: 2.2px solid #F0EAE0;
  transition: box-shadow 0.22s, transform 0.16s;
}
.service-grid > div:hover {
  box-shadow: 0 8px 24px rgba(20,129,186,0.15),0 0.5px 2.5px rgba(26,39,54,0.04);
  transform: translateY(-6px) scale(1.02);
}
.service-grid h3 {
  font-size: 1.22rem;
  margin-bottom: 8px;
}
.service-grid p {
  flex-grow: 1;
  margin-bottom: 14px;
}
.service-grid div div {
  font-weight: bold;
  color: #1481BA;
  background: #F9F6ED;
  padding: 7px 13px;
  border-radius: 7px;
  align-self: flex-end;
}

@media (max-width: 800px) {
  .service-grid {
    flex-direction: column;
    gap: 14px;
  }
  .service-grid > div {
    min-width: 160px;
    max-width: 100%;
    margin-bottom: 12px;
  }
}

/* ===========================
   TESTIMONIALS
   =========================== */
.testimonials .content-wrapper {
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(20,129,186,0.09);
  padding: 20px 32px 20px 26px;
  margin-bottom: 24px;
  color: #1A2736;
  font-size: 1.07rem;
  min-width: 220px;
  max-width: 640px;
  border-left: 6px solid #1481BA;
  transition: box-shadow 0.18s;
}
.testimonial-card p {
  margin-bottom: 0;
  font-family: 'Open Sans', Arial, sans-serif;
  line-height: 1.5;
}
.testimonial-card span {
  font-size: 0.97rem;
  color: #1481BA;
  font-weight: 600;
  letter-spacing: 0.04em;
  align-self: flex-end;
}
.testimonial-card:hover {
  box-shadow: 0 4px 22px rgba(20,129,186,0.14);
}

@media (max-width: 540px) {
  .testimonial-card {
    padding: 16px 11px;
    font-size: 1rem;
    border-left-width: 4px;
  }
}

/* ===========================
   ABOUT SECTION & FEATURE BLOCKS
   =========================== */
.about {
  background: #EFF4FA;
  border-radius: 28px;
}
.about h2 {
  color: #1481BA;
}
.about ul li {
  background: #fff;
  border-left: 4px solid #1481BA;
  color: #1A2736;
}

/* ===========================
   CONTACT SECTION
   =========================== */
.contact-section .address-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fff;
  border-radius: 12px;
  padding: 20px 18px;
  margin-bottom: 18px;
  box-shadow: 0 2px 10px rgba(20,129,186,0.06);
}
.contact-section .address-block p {
  margin-bottom: 0.3em;
  font-size: 1rem;
}
.contact-section .info-text {
  background: #F9F6ED;
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 1rem;
  color: #1A2736;
}

/* ===========================
   TEXT SECTIONS FOR LEGAL, ETC.
   =========================== */
.text-section {
  background: #fff;
  border-radius: 26px;
  margin-bottom: 60px;
  padding: 40px 20px;
  color: #1A2736;
  box-shadow: 0 1.5px 7px rgba(20,129,186,0.075);
}
.text-section h1, .text-section h2, .text-section h3 {
  color: #1481BA;
}
.text-section ul li {
  background: transparent;
  border-left: 3px solid #1481BA;
  border-radius: 7px;
  padding: 7px 12px;
  margin-bottom: 4px;
  font-family: 'Open Sans', Arial, sans-serif;
}

/* ===========================
   FOOTER
   =========================== */
footer {
  background: #1A2736;
  color: #fff;
  width: 100%;
  padding: 0;
}
footer .container {
  padding-top: 42px;
  padding-bottom: 32px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px 60px;
  justify-content: space-between;
  align-items: flex-start;
}
.contact-info img {
  height: 37px;
  margin-bottom: 8px;
}
.contact-info p {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.footer-nav, .privacy-links, .social-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a, .privacy-links a {
  color: #B5BCC6;
  font-family: 'Roboto Slab', 'Segoe UI', Arial, sans-serif;
  font-size: 1rem;
  padding: 6px 0;
  border-radius: 8px;
  transition: color 0.14s, background 0.14s;
  width: fit-content;
}
.footer-nav a:hover, .privacy-links a:hover {
  color: #1481BA;
  background: #fff;
}
.social-links {
  flex-direction: row;
  gap: 16px;
  margin-top: 8px;
}
.social-links a img {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: #1481BA;
  padding: 4px;
  transition: background 0.16s;
}
.social-links a:hover img {
  background: #FEF6E3;
}
@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 20px;
  }
}

/* ===========================
   COOKIE CONSENT BANNER + MODAL
   =========================== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #1A2736;
  color: #fff;
  z-index: 12000;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 26px;
  padding: 20px 28px;
  box-shadow: 0 -6px 24px rgba(26,39,54,0.20);
  opacity: 0.98;
  animation: fadeInCookieBanner 0.33s cubic-bezier(.4,0,.2,1);
}
@keyframes fadeInCookieBanner {
  from { transform: translateY(100%); opacity: 0.4; }
  to { transform: translateY(0); opacity: 0.98; }
}
.cookie-banner p {
  font-size: 1rem;
  line-height: 1.4;
  color: #FFF;
  flex: 1 1 300px;
  max-width: 670px;
  margin-bottom: 0;
}
.cookie-btns {
  display: flex;
  gap: 18px;
  align-items: center;
}
.cookie-btns .cta {
  font-size: 1rem;
  padding: 11px 28px;
  border-radius: 10px;
  box-shadow: none;
  background: #1481BA;
  color: #fff;
  border: none;
  font-family: 'Roboto Slab', 'Segoe UI', Arial, sans-serif;
  font-weight: 600;
  transition: background 0.17s, color 0.12s;
}
.cookie-btns .cta.accept {
  background: #1481BA;
  color: #fff;
}
.cookie-btns .cta.reject {
  background: #db4545;
  color: #fff;
}
.cookie-btns .cta.settings {
  background: #fff;
  color: #1A2736;
  border: 2.5px solid #1481BA;
}
.cookie-btns .cta.accept:hover, .cookie-btns .cta.settings:hover {
  background: #1A2736;
  color: #FEF6E3;
  border-color: #1A2736;
}
.cookie-btns .cta.reject:hover {
  background: #2c2424;
}
.cookie-btns .cta:active {
  transform: scale(0.97);
}

/* Cookie modal overlay */
.cookie-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  background-color: rgba(26,39,54,0.63);
  z-index: 16000;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s cubic-bezier(.4,0,.2,1);
}
.cookie-modal.open {
  visibility: visible;
  opacity: 1;
  pointer-events: all;
}
.cookie-modal .modal-content {
  background: #fff;
  border-radius: 18px;
  max-width: 440px;
  width: 95vw;
  padding: 40px 28px 32px 28px;
  box-shadow: 0 8px 38px rgba(20,129,186,0.23);
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: fadeInModal 0.22s cubic-bezier(.7,-0.2,.3,1);
}
@keyframes fadeInModal {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  color: #1481BA;
  margin-bottom: 14px;
}
.cookie-modal .modal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 13px;
  font-size: 1rem;
}
.cookie-modal .modal-row:last-child {
  margin-bottom: 0;
}
.cookie-switch {
  display: inline-block;
  width: 46px;
  height: 26px;
  background: #EFF4FA;
  border-radius: 14px;
  position: relative;
  transition: background 0.19s;
}
.cookie-switch[aria-checked="true"] {
  background: #1481BA;
}
.cookie-switch .switch-slider {
  display: block;
  width: 24px;
  height: 24px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  left: 0; top: 1px;
  box-shadow: 0 1.5px 6px rgba(44,67,110,0.09);
  transition: left 0.21s cubic-bezier(.5,0,.5,1);
}
.cookie-switch[aria-checked="true"] .switch-slider {
  left: 22px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  margin-top: 24px;
}
.cookie-modal .modal-actions .cta {
  font-size: 1rem;
  border-radius: 10px;
  padding: 9px 24px;
}
.cookie-modal .close-modal-btn {
  position: absolute;
  top: 18px;
  right: 24px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #1481BA;
  cursor: pointer;
}
.cookie-modal .close-modal-btn:hover {
  color: #1A2736;
}
@media (max-width: 540px) {
  .cookie-modal .modal-content {
    padding: 22px 5vw 14px 5vw;
  }
  .cookie-banner {
    padding: 13px 8vw;
    flex-direction: column;
    gap: 14px;
    font-size: 0.99rem;
  }
  .cookie-banner p {
    max-width: 98vw;
    font-size: 0.96rem;
  }
  .cookie-btns {
    width: 100%;
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
  }
}

/* ===========================
   UTILITIES & GEOMETRIC SHAPES
   =========================== */
.geometric-bg {
  pointer-events: none;
  position: absolute;
  z-index: 0;
  opacity: 0.18;
}

/* Example geometric decorative shape for hero. Use as needed in markup. */
.hero .geometric-bg {
  top: -70px;
  right: -110px;
  width: 200px;
  height: 160px;
  background: polygon(30% 0, 100% 0, 70% 100%, 0 100%);
  background-color: #1481BA;
  mix-blend-mode: multiply;
  opacity: .10;
}

/* ===========================
   MISC & SYSTEM UTILITIES
   =========================== */
::-webkit-scrollbar {
  width: 10px;
  background: #F3EADA;
}
::-webkit-scrollbar-thumb {
  background: #1481BA;
  border-radius: 8px;
}

input, button, select, textarea {
  font-family: inherit;
  font-size: 1rem;
}

.hide {
  display: none !important;
}

/* Prevent text selection on buttons & controls */
button, .cta, .cookie-btns .cta {
  user-select: none;
}

/* ===========================
   RESPONSIVE BREAKPOINTS
   =========================== */
@media (max-width: 699px) {
  .section, .text-section {
    padding: 30px 3vw;
    margin-bottom: 34px;
  }
  .card, .testimonial-card, .about, .text-section {
    border-radius: 12px;
    font-size: 0.99rem;
  }
  .service-grid {
    gap: 11px;
  }
}
