/* =========================
   CSS RESET & NORMALIZE
========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #0B1F32;
  color: #EAF6FB;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #C1E7F5;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #F4B831;
  outline-offset: 2px;
}
a:hover {
  color: #F4B831;
}
ul, ol {
  padding-left: 22px;
}
section,
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
/* =============================
   TYPOGRAPHY
============================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #C1E7F5;
  margin-bottom: 12px;
  line-height: 1.15;
}
h1 {
  font-size: 2.5rem;
  color: #F4B831;
  text-shadow: 0 0 10px #F4B8312a, 0 2px 24px #13407544;
  letter-spacing: 0.03em;
}
h2 {
  font-size: 2rem;
  color: #C1E7F5;
  letter-spacing: 0.02em;
}
h3 {
  font-size: 1.25rem;
  color: #F4B831;
  font-weight: 600;
}
h4, h5, h6 {
  font-size: 1.1rem;
  font-weight: 500;
  color: #C1E7F5;
}
p, li {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #EAF6FB;
}
strong {
  color: #F4B831;
  font-weight: 600;
}
/* =============================
   HEADER & NAVIGATION
============================= */
header {
  width: 100%;
  background: linear-gradient(90deg, #134075 0%, #0B1F32 80%);
  box-shadow: 0 2px 16px #13407542;
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: 60px;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 18px;
}
header img {
  width: 170px;
  height: auto;
}
header nav {
  display: flex;
  gap: 24px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: #C1E7F5;
  padding: 7px 12px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
  font-size: 1.06rem;
  position: relative;
}
header nav a:hover,
header nav a:focus {
  color: #134075;
  background: #C1E7F5;
  z-index: 1;
}
.cta {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 30px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  transition: background 0.22s, box-shadow 0.22s, color 0.21s, border 0.18s;
  cursor: pointer;
  box-shadow: 0 5px 32px #13407518, 0 1px 8px #F4B83121;
  border: 2px solid transparent;
}
.cta.primary {
  background: #F4B831;
  color: #134075;
  border: 2px solid #F4B831;
  text-shadow: 0 1px 12px #F4B83115;
}
.cta.primary:hover,
.cta.primary:focus {
  background: #134075;
  color: #F4B831;
  border: 2px solid #F4B831;
  box-shadow: 0 0 24px #F4B8317a, 0 4px 24px #13407533;
}
.cta.secondary {
  background: #134075;
  color: #C1E7F5;
  border: 2px solid #C1E7F5;
}
.cta.secondary:hover,
.cta.secondary:focus {
  background: #C1E7F5;
  color: #134075;
  border: 2px solid #134075;
  box-shadow: 0 0 12px #C1E7F5c0, 0 4px 14px #13407546;
}
.mobile-menu-toggle {
  display: none;
  background: #0B1F32;
  border: 2px solid #F4B831;
  border-radius: 10px;
  color: #F4B831;
  font-size: 1.65rem;
  padding: 6px 18px 6px 14px;
  margin-left: 8px;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, color 0.14s;
  z-index: 45;
}
.mobile-menu-toggle:hover {
  background: #F4B831;
  color: #134075;
  border-color: #134075;
}

/* =============================
   MOBILE MENU OVERLAY
============================= */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #0B1F32fa;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: translateX(110vw);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.5s cubic-bezier(.86, .01, .15, .99), opacity 0.3s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}
.mobile-menu-close {
  background: #F4B831;
  border: none;
  color: #134075;
  font-size: 2.2rem;
  padding: 0 18px;
  margin: 20px 20px 0 0;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 1px 8px #F4B83119;
  transition: background 0.16s, color 0.16s;
}
.mobile-menu-close:hover {
  background: #134075;
  color: #F4B831;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  margin: 32px 32px 0 40px;
}
.mobile-nav a {
  color: #C1E7F5;
  font-size: 1.22rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 12px 0;
  border-bottom: 1px solid #C1E7F532;
  min-width: 200px;
  transition: color 0.13s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:focus,
.mobile-nav a:hover {
  color: #F4B831;
}
@media (max-width: 968px) {
  header nav {
    display: none;
  }
  .cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 580px) {
  header img { width: 128px; }
  .mobile-nav { margin: 18px 10px 0 20px; gap: 17px; }
  .mobile-nav a { font-size: 1.08rem; }
}
/* =============================
   HERO SECTIONS
============================= */
.hero {
  width: 100%;
  background: linear-gradient(120deg, #134075 70%, #0B1F32 100%);
  box-shadow: 0 3px 32px #13407528;
  padding: 55px 0 50px 0;
  min-height: 280px;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 28px;
  max-width: 900px;
}
.hero h1 {
  margin-top: 0;
  margin-bottom: 15px;
  color: #F4B831;
  font-size: 2.75rem;
}
.hero p {
  font-size: 1.2rem;
  color: #C1E7F5;
}
@media (max-width: 768px) {
  .hero {
    padding: 36px 0 32px 0;
    min-height: 200px;
  }
}
/* =============================
   CARDS, FEATURES, FLEX WRAPPERS
============================= */
.features-grid,
.services-cards,
.team-list,
.values-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.team-list {
  gap: 32px;
}
.features-grid {
  gap: 30px;
  flex-wrap: wrap;
}
.services-cards {
  flex-wrap: wrap;
  gap: 24px;
}
.values-grid {
  gap: 24px;
  margin-top: 6px;
}
.value-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #1A2F4F;
  border-radius: 13px;
  border: 1.5px solid #C1E7F526;
  padding: 18px 22px;
  min-width: 130px;
  box-shadow: 0 2px 14px #C1E7F503;
  font-size: 1.09rem;
  color: #C1E7F5;
}
.value-item img {
  margin-bottom: 7px;
  width: 45px;
}
.feature,
.service-card {
  background: #132A52;
  border-radius: 15px;
  flex: 1 1 260px;
  min-width: 265px;
  max-width: 345px;
  padding: 28px 22px 22px 22px;
  margin-bottom: 20px;
  box-shadow: 0 2px 28px #13407524, 0 1px 8px #F4B83112;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 2px solid #13407522;
  transition: box-shadow 0.21s, transform 0.17s, border 0.16s;
}
.feature:hover,
.service-card:hover {
  border: 2px solid #F4B83160;
  box-shadow: 0 2px 20px #C1E7F547, 0 10px 22px #F4B83149;
  transform: translateY(-5px) scale(1.017);
}
.feature img,
.service-card img {
  width: 48px;
  height: auto;
  margin-bottom: 8px;
  filter: drop-shadow(0 0 6px #F4B8312b);
}
.service-card h3,
.feature h3 {
  margin-bottom: 6px;
}
.service-card .service-price {
  color: #F4B831;
  font-size: 1.11rem;
  font-weight: 600;
  margin-top: 8px;
  margin-bottom: 2px;
}
.testimonials-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
.testimonial-card {
  background: #C1E7F5;
  color: #134075;
  border-radius: 15px;
  box-shadow: 0 2px 25px #13407525, 0 1px 5px #0B1F321a;
  min-width: 265px;
  max-width: 360px;
  padding: 24px 19px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  font-size: 1.08rem;
  font-weight: 400;
  border: 2px solid #F4B83111;
  position: relative;
  transition: box-shadow 0.2s, transform 0.13s;
}
.testimonial-card .stars {
  color: #F4B831;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.07em;
  margin-bottom: 3px;
}
.testimonial-user {
  color: #134075;
  font-weight: 700;
  font-size: 0.99rem;
  margin-top: 7px;
}
.testimonial-card:hover {
  box-shadow: 0 2px 38px #F4B83128, 0 8px 30px #13407522;
  transform: translateY(-2px) scale(1.015);
}
/* =============================
   PRICING TABLE
============================= */
.pricing-table table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  background: #132A52;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 22px #C1E7F507;
}
.pricing-table th, .pricing-table td {
  padding: 13px 18px;
  font-size: 1.09rem;
  border-bottom: 1px solid #13407522;
}
.pricing-table th {
  background: #134075;
  color: #F4B831;
  text-align: left;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.08rem;
}
.pricing-table td {
  color: #C1E7F5;
  font-family: 'Roboto', Arial, sans-serif;
}
.pricing-table tr:last-child td {
  border-bottom: none;
}
.course-comparison,
.feature-list {
  color: #EAF6FB;
  background: #1A2F4F;
  border-radius: 10px;
  padding: 21px 15px;
  margin-bottom: 15px;
  box-shadow: 0 1px 10px #13407512;
}
.feature-list img {
  width: 22px;
  margin-right: 7px;
  vertical-align: middle;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
}
.feature-list li:last-child { margin-bottom: 0; }
/* =============================
   FAQ
============================= */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  background: #132A52;
  padding: 18px 22px 16px 22px;
  border-radius: 13px;
  border-left: 3px solid #F4B831;
  box-shadow: 0 1px 12px #C1E7F508;
  transition: box-shadow 0.18s;
}
.faq-item h3 {
  color: #F4B831;
  font-size: 1.13rem;
  margin-bottom: 7px;
}
.faq-item p {
  color: #C1E7F5;
  font-size: 1rem;
}
.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 14px;
}
.quick-links a {
  font-weight: 500;
  color: #F4B831;
  transition: color 0.13s;
}
.quick-links a:hover { color: #C1E7F5; }
/* ============================
   ABOUT / TEAM SECTION
============================ */
.qualifications-list {
  background: #1A2F4F;
  padding: 16px 22px;
  border-radius: 10px;
  margin-top: 24px;
  box-shadow: 0 1px 10px #C1E7F515;
}
.qualifications-list h3 {
  color: #F4B831;
  font-size: 1.13rem;
  margin-bottom: 7px;
}
.team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 24px;
  margin-bottom: 18px;
}
.teacher-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #132A52;
  border-radius: 12px;
  padding: 21px 20px 17px 20px;
  box-shadow: 0 1px 12px #F4B83113;
  min-width: 180px;
  max-width: 260px;
  margin-bottom: 20px;
  border: 2px solid #13407522;
  gap: 10px;
  transition: box-shadow 0.18s, border 0.15s;
}
.teacher-profile img {
  width: 45px;
  margin-bottom: 8px;
  filter: drop-shadow(0 0 4px #F4B83128);
}
.teacher-profile h3 {
  margin-bottom: 2px;
  font-size: 1.07rem;
}
.teacher-profile p {
  color: #C1E7F5;
  font-size: 0.98rem;
  text-align: center;
}
.teacher-profile:hover {
  box-shadow: 0 2px 25px #F4B83119, 0 6px 18px #13407512;
  border: 2px solid #F4B83156;
}
/* =============================
   CTA SECTION
============================= */
.cta-section {
  background: linear-gradient(90deg, #134075 0%, #F4B831 120%);
  box-shadow: 0 3px 22px #F4B83117;
  border-radius: 22px;
  margin: 60px 0 0 0;
  padding: 55px 0;
}
.cta-section h2 {
  color: #134075;
}
.cta-section p {
  color: #134075;
}
.cta-section .cta.primary {
  background: #134075;
  color: #C1E7F5;
  border: 2px solid #F4B831;
}
.cta-section .cta.primary:hover { 
  background: #F4B831;
  color: #134075;
 }
/* =============================
   THANK YOU PAGE
============================= */
.thank-you {
  min-height: 53vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.next-steps-list {
  color: #C1E7F5;
  background: #132A52;
  border-radius: 10px;
  padding: 20px 18px;
  margin-top: 9px;
  box-shadow: 0 1px 10px #13407512;
  font-size: 1rem;
  margin-bottom: 20px;
}
/* =============================
   FOOTER
============================= */
footer {
  background: #0B1F32;
  color: #C1E7F5;
  border-top: 2px solid #13407555;
  padding: 40px 0 20px 0;
  width: 100%;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
}
footer nav a {
  color: #C1E7F5;
  font-size: 0.97rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 400;
  transition: color 0.17s;
}
footer nav a:hover { color: #F4B831; }
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  font-size: 0.97rem;
  color: #C1E7F5;
}
/* =============================
   CONTACT DETAILS & MAP
============================= */
.contact-details, .directions-text {
  background: #132A52;
  padding: 18px 20px;
  border-radius: 13px;
  box-shadow: 0 2px 12px #13407517;
  color: #C1E7F5;
  font-size: 1rem;
  margin-bottom: 18px;
}
.map-embed {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  margin-bottom: 18px;
}
.map-embed img {
  border-radius: 10px;
}
/* =============================
   COOKIE BANNER + MODAL
============================= */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #132A52;
  color: #F4B831;
  padding: 24px 15px 20px 15px;
  z-index: 1200;
  border-top: 4px solid #F4B831;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  box-shadow: 0 -3px 12px #F4B83133, 0 -1px 6px #0B1F3240;
  font-size: 1rem;
  transition: transform 0.32s, opacity 0.25s;
}
.cookie-banner.hidden { opacity: 0; transform: translateY(150%); pointer-events: none; }
.cookie-banner .cookie-text {
  flex: 2 2 400px;
  min-width: 190px;
  color: #F4B831;
  font-weight: 500;
  font-size: 1rem;
}
.cookie-banner .cookie-actions {
  flex: 1 1 220px;
  display: flex;
  flex-direction: row;
  gap: 15px;
  justify-content: flex-end;
}
.cookie-btn, .cookie-settings-btn {
  padding: 10px 22px;
  border-radius: 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border: 2px solid #F4B831;
  background: #F4B831;
  color: #134075;
  margin-right: 2px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border 0.16s;
}
.cookie-btn.reject {
  background: transparent;
  color: #F4B831;
  border: 2px solid #F4B831;
}
.cookie-btn.reject:hover,
.cookie-settings-btn:hover {
  background: #134075;
  color: #F4B831;
  border: 2px solid #F4B831;
}
.cookie-btn:hover,
.cookie-btn:focus {
  background: #134075;
  color: #F4B831;
}
.cookie-settings-btn {
  background: #C1E7F5;
  border: 2px solid #F4B831;
  color: #134075;
}
.cookie-settings-btn:hover {
  background: #F4B831;
  color: #134075;
}
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: #0B1F32dc;
  z-index: 1400;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #132A52;
  border-radius: 16px;
  box-shadow: 0 4px 36px #0B1F3270, 0 16px 52px #F4B83119;
  min-width: 310px;
  max-width: 98vw;
  padding: 40px 32px 32px 32px;
  color: #F4B831;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 1450;
  animation: fadeInModal 0.5s;
}
@keyframes fadeInModal {
  from { opacity: 0; transform: scale(0.93); }
  to { opacity: 1; transform: scale(1); }
}
.cookie-modal .close-modal {
  position: absolute;
  top: 15px;
  right: 18px;
  background: none;
  border: none;
  color: #F4B831;
  font-size: 2rem;
  cursor: pointer;
  z-index: 1460;
}
.cookie-modal h2 {
  color: #F4B831;
  margin-bottom: 7px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.cookie-category-row {
  display: flex;
  align-items: center;
  gap: 11px;
  background: #1A2F4F;
  padding: 11px 16px;
  border-radius: 10px;
}
.cookie-category-row label {
  color: #C1E7F5;
  font-size: 1.04rem;
  flex: 1 1 auto;
}
.cookie-category-row input[type="checkbox"] {
  accent-color: #F4B831;
  width: 22px; height: 22px;
  border-radius: 8px;
}
.cookie-category-row .essential {
  font-weight: 700;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 20px;
  margin-top: 10px;
}
/* =============================
   RESPONSIVE DESIGN
============================= */
@media (max-width: 1200px) {
  .container { max-width: 98vw; }
  .feature,
  .service-card,
  .testimonial-card { min-width: 230px; max-width: 96vw; }
}
@media (max-width: 980px) {
  .hero h1 { font-size: 2.1rem; }
  .feature, .service-card, .testimonial-card { min-width: 180px; }
  .services-cards, .features-grid, .testimonials-slider, .team-list, .values-grid { gap: 18px; }
}
@media (max-width: 768px) {
  .container { padding: 0 7px; }
  .content-wrapper { gap: 20px; }
  .hero { padding: 20px 0 20px 0; }
  .hero .content-wrapper { gap: 15px; }
  .features-grid, .services-cards, .testimonials-slider, .team-list, .values-grid {
    flex-direction: column;
    gap: 16px;
  }
  .feature, .service-card, .testimonial-card, .teacher-profile, .value-item {
    min-width: 90vw;
    max-width: 99vw;
  }
  .section { padding: 24px 3px; }
  .cta-section { margin: 45px 0 0 0; padding: 30px 0; border-radius: 10px; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.18rem; }
  .hero h1 { font-size: 1.42rem; }
  .feature, .service-card, .testimonial-card, .teacher-profile, .value-item {
    min-width: 84vw;
    max-width: 100vw;
    padding: 16px 7px 16px 13px;
  }
  .cookie-modal { min-width: 97vw; padding: 20px 5px 20px 9px; }
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 15px; padding: 17px 4px 11px 7px; font-size: 0.99rem; }
  .cookie-banner .cookie-actions { justify-content: flex-start; }
}
@media (max-width: 420px) {
  .feature, .service-card, .testimonial-card, .teacher-profile { min-width: 97vw; }
  .hero .content-wrapper { padding-left: 0 !important; }
  .footer-contact { font-size: 0.86rem; }
  .cookie-banner { font-size: 0.96rem; }
}
/* =============================
   TRANSITIONS & MICROINTERACTIONS
============================= */
button, .cta, .service-card, .feature, .teacher-profile, .testimonial-card, .value-item, .cookie-btn,
.cookie-settings-btn {
  transition: box-shadow 0.18s, background 0.18s, color 0.12s, border 0.15s, transform 0.13s;
}
button:active, .cta:active, .cookie-btn:active, .cookie-settings-btn:active {
  transform: scale(0.97);
}
::selection { background: #F4B831; color: #134075; }
/* =============================
   SPECIAL UTILITIES
============================= */
.section { margin-bottom: 60px; padding: 40px 20px; }
.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;
}
.testimonial-card p {
  color: #0B1F32;
}
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 18px; }
}
/* =============================
   ACCESSIBILITY
============================= */
:focus-visible {
  outline: 2.5px solid #F4B831;
  outline-offset: 2px;
}
