/* RESET & NORMALIZE */
html {box-sizing: border-box;}
*, *:before, *:after {box-sizing: inherit; margin: 0; padding: 0; border: 0; outline: 0; font: inherit; color: inherit; background: none;}
html, body {height: 100%;}
body {min-height: 100vh; font-family: 'Roboto', Arial, sans-serif; color: #f2f2f2; background-color: #162037; line-height: 1.6; font-size: 16px; letter-spacing: 0.01em;}
img {display: block; max-width: 100%; height: auto;}
a {color: #F8B400; text-decoration: none; transition: color 0.2s;}
a:hover, a:focus {color: #fff700;}
ul, ol {list-style-position: inside;}
strong {font-weight: 700;}

/* BRAND FONTS */
h1,h2,h3,h4,h5,h6 {font-family: 'Montserrat', 'Roboto', Arial, sans-serif; font-weight: 700; letter-spacing: 0.02em; color: #F8B400; margin-bottom: 16px;}
h1 {font-size: 2.4rem; line-height: 1.1; margin-bottom: 20px;}
h2 {font-size: 2rem; margin-bottom: 20px;}
h3 {font-size: 1.25rem; margin-bottom: 12px; color: #ace0ff;}
h4 {font-size: 1rem;}

/* UTILITIES */
.container {max-width: 1200px; margin: 0 auto; padding: 0 20px; width: 100%;}
.content-wrapper {display: flex; flex-direction: column; gap: 24px;}
.section {margin-bottom: 60px; padding: 40px 20px;}

/* ---------- HEADER ---------- */
header {
  background: linear-gradient(92deg, #203864 0%, #172542 100%);
  box-shadow: 0 4px 18px rgba(32,56,100,0.11);
  border-bottom: 2px solid #12306b;
  position: sticky;
  top: 0;
  z-index: 20;
}
header .container {display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 72px;}
.logo img {height: 48px; width: auto;}
.main-nav {display: flex; flex-direction: row; flex-wrap: wrap; gap: 20px; align-items: center;}
.main-nav a {padding: 9px 16px; font-family: 'Montserrat', Arial, sans-serif; font-weight: 600; font-size: 1rem; border-radius: 8px; transition: background 0.18s, box-shadow 0.18s; color: #ace0ff;}
.main-nav a:hover, .main-nav a:focus {background: #112452; color: #F8B400; box-shadow: 0 0 8px #F8B4003a;}
.btn-primary {background: #F8B400; color: #203864; border-radius: 32px; border: none; padding: 13px 30px; font-family: 'Montserrat', Arial, sans-serif; font-size: 1.1rem; font-weight: 700; letter-spacing: 0.03em; box-shadow: 0 3px 16px #f8b40044; transition: background 0.18s, color 0.18s, box-shadow 0.25s; cursor: pointer; display: inline-block;}
.btn-primary:hover, .btn-primary:focus {background: #ffcb61; color: #103759; box-shadow: 0 0 16px #ffd853cc, 0 3px 16px #f8b40044;}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  background: #F8B400;
  color: #203864;
  border-radius: 8px;
  font-size: 2.2rem;
  padding: 6px 16px;
  cursor: pointer;
  margin-left: 10px;
  z-index: 51;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; height: 100vh; width: 100vw;
  background: rgba(16,27,47,0.97);
  transform: translateX(-100vw);
  transition: transform 0.3s cubic-bezier(.61,.04,.28,.91);
  z-index: 50;
  display: flex;
  flex-direction: column;
  padding: 0 0;
  will-change: transform;
}
.mobile-menu.open {transform: translateX(0);}
.mobile-menu-close {
  align-self: flex-end;
  background: #F8B400;
  color: #203864;
  font-size: 2rem;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  margin: 22px 24px 0 0;
  cursor: pointer;
  box-shadow: 0 2px 12px #F8B40033;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {background: #ffe6a1; color: #203864;}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
  margin-top: 32px;
}
.mobile-nav a {
  font-size: 1.25rem; font-family: 'Montserrat', Arial, sans-serif; font-weight: 600;
  color: #F8B400;
  padding: 18px 0;
  width: 100%; text-align: center; border-radius: 12px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {background: #112452; color: #ace0ff;}

@media (max-width: 1024px) {
  .main-nav {display: none;}
  .mobile-menu-toggle {display: block;}
}
@media (min-width: 1025px) {
  .mobile-menu {display: none;}
  .mobile-menu-toggle {display: none;}
}

/* -------- HERO SECTION -------- */
.hero {
  background: linear-gradient(102deg,#203864 72%,#2b4986 100%);
  padding: 80px 0 60px 0;
  margin-bottom: 60px;
  border-bottom: 2px solid #132d54;
  box-shadow: 0 4px 28px #1d386944;
}
.hero .container {display: flex; flex-direction: column; align-items: center; justify-content: center;}
.hero .content-wrapper {align-items: flex-start; max-width: 700px; margin: 0 auto;}
.hero h1 {color: #fff; font-size: 2.4rem; margin-bottom: 15px;}
.hero p {color: #F2F2F2; margin-bottom: 16px;}

/* -------- FEATURES -------- */
.features {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #172542;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #1b284b;
  border-radius: 20px;
  box-shadow: 0 2px 16px #21397533;
  padding: 32px 24px 24px 24px;
  min-width: 240px;
  flex: 1 1 230px;
  transition: box-shadow 0.18s, transform 0.18s;
  border: 1.5px solid #233d63;
}
.feature-item img {width: 42px; height: 42px; margin-bottom: 8px; filter: drop-shadow(0 0 4px #F8B40066);}
.feature-item h3 {font-size: 1.1rem; margin-bottom: 7px; color: #F8B400; letter-spacing: 0.03em;}
.feature-item p {font-size: 0.98rem; color: #dde4f9;}
.feature-item:hover, .feature-item:focus {box-shadow: 0 6px 20px #F8B40077, 0 2px 16px #20386444; transform: translateY(-3px) scale(1.022);}

/* -------- COURSES / BLOG / SERVICES -------- */
.services-list, .team-bios, .post-grid {
  display: flex; flex-wrap: wrap; gap: 24px; margin-top: 16px;
}
.service-item, .team-member, .post-item {
  background: #222d48; border-radius: 18px; box-shadow: 0 2px 14px #1c266633;
  padding: 28px 20px 24px 20px; flex: 1 1 250px; margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.18s;
  border: 1.5px solid #2f4b71;
  display: flex; flex-direction: column;
}
.service-item h3, .team-member h3, .post-item h3 {color: #F8B400; font-size: 1.1rem; margin-bottom: 9px;}
.service-item p, .team-member p, .post-item p {color: #c2e8ea; font-size: 0.97rem; margin-bottom: 14px;}
.service-item .btn-secondary, .post-item .btn-secondary {
  align-self: flex-start; margin-top: auto;
  background: #203864; color: #F8B400; border-radius: 28px; padding: 10px 20px;
  font-family: 'Montserrat', Arial, sans-serif; font-size: 1rem; font-weight: 600;
  box-shadow: 0 2px 12px #20386433;
  border: none; cursor: pointer; transition: background 0.18s, color 0.18s, box-shadow 0.22s;
}
.btn-secondary:hover, .btn-secondary:focus {background: #12244a; color: #fff; box-shadow: 0 0 20px #F8B40044;}
.service-item:hover, .service-item:focus, .post-item:hover, .post-item:focus {box-shadow: 0 8px 28px #F8B40044, 0 3px 16px #20386455; transform: translateY(-2px) scale(1.017);}

.featured-post {
  background: #19294b; color: #F2F2F2; border-radius: 20px; padding: 32px 24px 18px 24px; margin-top: 28px; box-shadow: 0 3px 20px #F8B40022;
  border-left: 6px solid #F8B400;
  display: flex; flex-direction: column; gap: 11px;
}
.featured-post h3 {color: #F8B400; margin-bottom: 7px;}
.featured-post .author {color: #ace0ff; font-size: 0.98rem;}

/* -------- TEAM -------- */
.team-bios {display: flex; flex-wrap: wrap; gap: 24px;}
.team-member {margin-bottom: 20px; position: relative;}

/* -------- CTA -------- */
.cta {
  margin-bottom: 60px; padding: 40px 20px;
  background: linear-gradient(88deg,#F8B400 70%,#ffd346 100%);
  box-shadow: 0 2px 12px #f8b40033;
  color: #203864;
  border-radius: 32px 32px 0 0;
  text-align: center;
}
.cta h2 {color: #203864; margin-bottom: 14px;}
.cta p {color: #203864; margin-bottom: 16px;}
.cta .btn-primary {background: #203864; color: #F8B400; box-shadow: 0 2px 10px #20386422;}
.cta .btn-primary:hover, .cta .btn-primary:focus {background: #12244a; color: #ffd346;}

/* -------- TESTIMONIALS -------- */
.testimonials {
  padding: 60px 0; background: linear-gradient(85deg,#162037 65%,#1a294d 100%);
}
.testimonial-slider {
  display: flex; flex-wrap: wrap; gap: 24px; margin-top: 16px;
}
.testimonial-card {
  display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 20px 30px;
  background: #F2F2F2;
  color: #203864;
  border-radius: 14px;
  box-shadow: 0 4px 32px #1d386944, 0 1.5px 6px #F8B40033;
  min-width: 200px; flex: 1 1 250px; margin-bottom: 20px;
  border: 1.5px solid #f8b60024;
  transition: box-shadow 0.21s, transform 0.17s;
}
.testimonial-card:hover, .testimonial-card:focus {box-shadow: 0 8px 40px #F8B40055; transform: scale(1.019);}
.testimonial-card p {
  color: #203864;
  font-size: 1.04rem;
  font-style: italic;
  margin-bottom: 7px;
}
.testimonial-footer {
  display: flex; align-items: center; gap: 8px; justify-content: center; font-size: 0.97rem;}
.testimonial-footer strong {color: #203864;}
.testimonial-footer span {color: #72660a;}

/* -------- FAQ PAGE -------- */
.faq-list {
  display: flex; flex-direction: column; gap: 24px; margin-top: 20px;
}
.faq-item {
  background: #19294b;
  color: #ace0ff;
  border-radius: 13px;
  padding: 20px 26px;
  box-shadow: 0 2px 13px #20386411;
  border-left: 4px solid #F8B400;
}
.faq-item h3 {color: #F8B400;}

/* LEGAL / TEXT SECTIONS --------- */
.legal, .about .text-section, .contact .text-section {
  background: #1b284b;
  color: #ace0ff;
  border-radius: 13px;
  padding: 30px 22px;
  margin-top: 14px;
  box-shadow: 0 2px 14px #16203722;
}
.legal ul, .about .text-section ul, .contact .text-section ul {margin: 16px 0 0 18px;}
.legal li, .about .text-section li, .contact .text-section li {margin-bottom: 13px; font-size: 1rem;}

.resource-list {display: flex; flex-direction: column; gap: 14px; margin-top: 18px;}
.resource-list li {background: #233d63; color: #fff; border-radius: 8px; padding: 18px 16px; box-shadow: 0 2px 10px #233d6344;}

/* FOOTER */
footer {
  background: #162037;
  border-top: 2px solid #203864;
  padding: 44px 0 24px;
  color: #F2F2F2;
}
footer .container {display: flex; flex-wrap: wrap; gap: 42px; justify-content: space-between;}
.footer-nav {display: flex; gap: 22px; flex: 1 1 260px; flex-wrap: wrap; align-items: flex-start;}
.footer-nav a {
  color: #F8B400;
  font-size: 0.98rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-right: 8px;
  margin-bottom: 7px;
  transition: color 0.17s;
}
.footer-nav a:hover, .footer-nav a:focus {color: #FFD346; text-decoration: underline;}
.footer-contact {
  flex: 1 1 280px; color: #F2F2F2; font-size: 1rem;}
.footer-contact strong {color: #F8B400; letter-spacing: 0.02em;}
.footer-contact img {vertical-align: middle; height: 18px; margin-right: 5px;}

/* CONTACT PAGE ICONS */
.contact .text-section ul li img {height: 23px; width: 23px; vertical-align: middle; margin-right: 9px; filter: drop-shadow(0 0 2px #F8B40088);}

/* CARDS / GENERAL */
.card-container {display: flex; flex-wrap: wrap; gap: 24px;}
.card {margin-bottom: 20px; position: relative; border-radius: 18px; box-shadow: 0 2px 14px #20386422; background: #222d48; padding: 24px;}
.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;}

/* --- BUTTONS --- */
button, .btn-primary, .btn-secondary {
  font-family: 'Montserrat', Arial, sans-serif;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.22s, border 0.16s;
  outline: none;
}
button:focus-visible, .btn-primary:focus-visible, .btn-secondary:focus-visible {
  box-shadow: 0 0 0 3px #F8B40066;
}

/* --- ANIMATIONS / TRANSITIONS --- */
.section, .feature-item, .card, .post-item, .service-item, .testimonial-card, .faq-item, .resource-list li {
  transition: transform 0.17s, box-shadow 0.22s;
}
.section:hover, .card:hover, .service-item:hover, .post-item:hover, .testimonial-card:hover, .faq-item:hover, .resource-list li:hover {
  transform: scale(1.012);
  box-shadow: 0 4px 32px #F8B40066;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1000;
  background: #172542;
  color: #fff;
  box-shadow: 0 -3px 18px #20386444;
  padding: 24px 20px 16px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 1rem;
  animation: cookie-slide-in 0.32s cubic-bezier(.61,.04,.28,.91);
}
@keyframes cookie-slide-in {
  from {transform: translateY(100%); opacity: 0.4;}
  to {transform: translateY(0); opacity: 1;}
}
.cookie-banner__text {flex: 2 1 220px; min-width: 180px;}
.cookie-banner__actions {flex: 1 1 240px; display: flex; gap: 20px; flex-wrap: wrap; justify-content: flex-end; min-width: 200px;}
.cookie-btn {
  background: #F8B400;
  color: #203864;
  font-family: 'Montserrat', Arial, sans-serif; font-size: 1rem; font-weight: 600;
  border-radius: 24px; padding: 11px 20px; border: none;
  margin-bottom: 4px;
  transition: background 0.15s, color 0.15s;
}
.cookie-btn.setting {background: #203864; color: #F8B400; border: 1.5px solid #F8B400;}
.cookie-btn.reject {background: #f02d3a; color: #fff;}
.cookie-btn:hover, .cookie-btn:focus {background: #ffd346; color: #203864;}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {background: #cd101d; color: #fff;}

/* --- COOKIE MODAL --- */
.cookie-modal-overlay {
  display: none;
  position: fixed; z-index: 1100; top: 0; left: 0; height: 100vh; width: 100vw;
  background: rgba(20, 36, 54, 0.77);
  align-items: center; justify-content: center;
  animation: modal-fade-in 0.3s;
}
.cookie-modal-overlay.active {display: flex;}
@keyframes modal-fade-in {
  from {opacity:0;}
  to {opacity:1;}
}
.cookie-modal {
  background: #19294b;
  border-radius: 19px;
  color: #ace0ff;
  padding: 40px 32px 28px 32px;
  max-width: 480px;
  box-shadow: 0 10px 48px #20386488;
  border: 1.5px solid #F8B40044;
  animation: modal-pop-in 0.32s cubic-bezier(.61,.04,.28,.91);
  position: relative;
  display: flex; flex-direction: column; gap: 20px;
}
@keyframes modal-pop-in {
  0% {transform: scale(0.92) translateY(32px); opacity: 0.4;}
  100% {transform: scale(1) translateY(0); opacity:1;}
}
.cookie-modal__header {color: #F8B400; font-size: 1.25rem; font-family: 'Montserrat', Arial, sans-serif; margin-bottom: 9px;}
.cookie-modal__categories {display: flex; flex-direction: column; gap: 18px; margin: 14px 0;}
.cookie-modal__category {
  display: flex; align-items: center; justify-content: space-between;
  background: #1b284b;
  border-radius: 9px;
  padding: 13px 16px;
  color: #F2F2F2;
  font-size: 1rem;
}
.cookie-category-label {font-weight: 500;}
.cookie-category-toggle {
  width: 44px;
  height: 26px;
  background: #172542;
  border-radius: 13px; border: 1.5px solid #F8B40033;
  position: relative;
  cursor: pointer;
  transition: background 0.19s, border 0.17s;
}
.cookie-category-toggle input {display: none;}
.cookie-category-toggle .slider {
  position: absolute; left: 2px; top: 2px;
  width: 20px; height: 20px; border-radius: 50%;
  background: #F8B400; transition: left 0.19s, background 0.17s;
  box-shadow: 0 1px 4px #F8B40044;
}
.cookie-category-toggle input:checked + .slider {
  left: 22px; background: #21f0c0;
}
.cookie-modal__footer {display: flex; gap: 18px; align-items: center; justify-content: flex-end; margin-top: 14px;}
.cookie-modal__close-btn {
  background: #203864;
  color: #F8B400;
  border-radius: 50%;
  font-size: 1.45rem;
  border: none;
  width: 36px; height: 36px;
  line-height: 36px;
  display: flex; align-items: center; justify-content: center;
  position: absolute; top: 20px; right: 18px;
  cursor: pointer;
}
.cookie-modal__close-btn:hover, .cookie-modal__close-btn:focus {background: #F8B400; color: #203864;}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 992px) {
  .feature-grid, .services-list, .team-bios, .testimonial-slider {
    flex-direction: column;
    gap: 24px;
  }
  .footer-nav, .footer-contact {flex: 1 1 100%;}
  footer .container {gap: 22px; flex-direction: column;}
  .content-wrapper {gap: 20px;}
}
@media (max-width: 768px) {
  h1 {font-size: 2rem;}
  h2 {font-size: 1.5rem;}
  .container {padding: 0 12px;}
  .hero {padding: 48px 0 30px 0;}
  .cta {padding: 28px 10px; border-radius: 19px 19px 0 0;}
  .services-list, .post-grid, .feature-grid, .team-bios, .testimonial-slider, .faq-list {
    flex-direction: column;
    gap: 16px;
  }
  .card, .service-item, .feature-item, .testimonial-card, .faq-item {padding: 16px 12px;}
  .content-grid, .card-container {gap: 12px;}
  .footer-nav {gap: 13px;}
  .section {margin-bottom: 36px; padding: 20px 6px;}
  .text-image-section {flex-direction: column; gap: 16px;}
  .cookie-banner {flex-direction: column; gap: 11px; padding: 18px 5px 12px;}
  .cookie-banner__actions {justify-content: center; gap: 10px; min-width: 140px;}
}
@media (max-width: 540px) {
  .logo img {height: 35px;}
  .mobile-menu-close {font-size: 1.4rem; width: 39px; height: 39px; margin: 15px 14px 0 0;}
  .cookie-modal {padding: 16px 7px 12px 14px; max-width: 95vw;}
}


/* ---------- SCROLLBAR & FOCUS VISIBLE ---------- */
::-webkit-scrollbar {width: 9px; background: #233d63; border-radius: 8px;}
::-webkit-scrollbar-thumb {background: #F8B40033; border-radius: 8px;}
:focus-visible {outline: 2.5px solid #F8B400; z-index: 3;}

/* ---------- MISC ---------- */
hr {border-top: 1px solid #233d63; margin: 24px 0;}

/* MICROINTERACTIONS */
.btn-primary:active, .btn-secondary:active, button:active {transform: scale(0.97);}

/* END OF CSS */
