/* --- CSS RESET & BASE TYPOGRAPHY --- */
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, main, 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 {
  scroll-behavior: smooth;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #F5F6FB;
  color: #103873;
  min-height: 100vh;
  line-height: 1.7;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #3BC073;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #103873;
}
ul, ol {
  margin-bottom: 16px;
  padding-left: 24px;
}

/* --- BRAND TYPOGRAPHY & HEADINGS --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: bold;
  color: #103873;
  margin-bottom: 16px;
  line-height: 1.18;
}
h1 {
  font-size: 2.1rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-size: 1rem;
}

strong {
  font-weight: 700;
}

/* --- LAYOUT CONTAINERS & FLEXBOX --- */
.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 18px rgba(16,56,115,0.09);
  position: relative;
}

/* --- SPACING, GAPS & ALIGNMENTS (MANDATORY PATTERNS) --- */
.card-container, .feature-grid, .service-cards, .testimonial-list, .course-list, .footer-menu, .contact-details, .content-grid {
  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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #f7fbff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(16,56,115,0.07);
  min-width: 240px;
  margin-bottom: 24px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- NAVIGATION --- */
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(16,56,115,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  padding: 20px;
  justify-content: flex-start;
}
nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #103873;
  padding: 8px 18px;
  border-radius: 20px;
  transition: background 0.18s, color 0.18s;
}
nav a:hover, nav a:focus {
  background: #EEF6EE;
  color: #3BC073;
}
nav img {
  height: 38px;
  margin-right: 5px;
}
.cta-primary {
  background: #3BC073;
  color: #fff !important;
  font-weight: bold;
  padding: 10px 26px;
  border-radius: 999px;
  box-shadow: 0 1px 12px rgba(59, 192, 115, 0.16);
  font-size: 1.1rem;
  margin-left: 8px;
  transition: background 0.18s, box-shadow 0.24s, transform 0.14s;
  letter-spacing: 0.03em;
}
.cta-primary:hover, .cta-primary:focus {
  background: #103873;
  color: #fff;
  transform: translateY(-2px) scale(1.04) rotate(-2deg);
  box-shadow: 0 6px 20px rgba(16,56,115,0.11);
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 24px;
  top: 20px;
  background: #3BC073;
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  cursor: pointer;
  z-index: 111;
  transition: background 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #103873;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 0 40px rgba(16,56,115,0.12);
  z-index: 1200;
  transform: translateX(100vw);
  transition: transform .35s cubic-bezier(.73,-0.01,.51,1.36);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding-top: 42px;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  right: 20px;
  top: 22px;
  font-size: 2.2rem;
  background: none;
  border: none;
  color: #3BC073;
  cursor: pointer;
  transition: color .18s;
  z-index: 1300;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #103873;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 40px;
  align-items: center;
}
.mobile-nav a {
  color: #103873;
  font-size: 1.25rem;
  padding: 18px 0;
  width: 100%;
  text-align: center;
  border-radius: 12px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #3BC073;
  color: #fff;
}

/* --- SECTIONS & CARDS --- */
section {
  margin-bottom: 60px;
  padding: 40px 0;
  display: flex;
  flex-direction: column;
  width: 100%;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid > div {
  background: #F5F9F7;
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(59,192,115,0.08);
  flex: 1 1 220px;
  padding: 24px 16px;
  min-width: 220px;
  max-width: 270px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: transform .14s, box-shadow 0.18s;
  position: relative;
  margin-bottom: 20px;
}
.feature-grid > div:hover {
  transform: scale(1.025) rotate(-1.5deg);
  box-shadow: 0 6px 22px rgba(59,192,115,0.13);
}
.feature-grid img {
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
}

.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.service-card {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 14px rgba(16,56,115,0.12);
  padding: 26px 20px 22px 20px;
  min-width: 220px;
  max-width: 270px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.22s, transform 0.16s;
  z-index: 1;
}
.service-card:hover {
  box-shadow: 0 8px 28px rgba(16,56,115,0.17);
  transform: scale(1.03);
}
.service-card .price {
  font-size: 1.3rem;
  color: #3BC073;
  font-weight: bold;
  background: #F5F9F7;
  border-radius: 14px;
  padding: 6px 16px;
}
.service-card a {
  align-self: flex-end;
  margin-top: auto;
  background: #3BC073;
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  padding: 8px 18px;
  margin-bottom: 0;
  margin-right: 0;
  font-size: 1rem;
  transition: background 0.18s, transform 0.12s;
}
.service-card a:hover, .service-card a:focus {
  background: #103873;
  color: #fff;
  transform: translateY(-1px) scale(1.03) rotate(-3deg);
}

.detailed-course-descriptions {
  margin-top: 36px;
  background: #F5F9F7;
  padding: 28px 16px;
  border-radius: 18px;
  box-shadow: 0 1px 8px rgba(59,192,115,0.09);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Course Table Styling */
.course-list table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px;
  margin-bottom: 28px;
  background: transparent;
}
.course-list th, .course-list td {
  text-align: left;
  padding: 14px 8px;
  font-size: 1rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}
.course-list th {
  background: #103873;
  color: #fff;
  font-weight: bold;
  border-radius: 11px 11px 0 0;
  letter-spacing: 0.01em;
}
.course-list tr {
  background: #fff;
  border-radius: 0 0 11px 11px;
  box-shadow: 0 1px 6px rgba(16,56,115,0.06);
}
.course-list tr:not(:last-child) td {
  border-bottom: 2px solid #F5F6FB;
}
.course-list a {
  background: #3BC073;
  color: #fff;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 22px;
  transition: background 0.15s;
}
.course-list a:hover, .course-list a:focus { background: #103873 }

.testimonial-list {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.testimonial-card blockquote {
  font-family: 'Montserrat', cursive;
  font-size: 1.1rem;
  font-style: italic;
  color: #103873;
  margin-bottom: 12px;
  quotes: '“' '”' "'" "'";
  position: relative;
}
.testimonial-card blockquote:before {
  content: open-quote;
  color: #3BC073;
  font-size: 2.5rem;
  font-weight: bold;
  position: absolute;
  left: -18px;
  top: -18px;
}
.testimonial-card h3 {
  margin-bottom: 8px;
}
.testimonial-meta {
  font-size: 0.97rem;
  color: #3BC073;
  font-weight: 500;
  margin-top: 6px;
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
  align-items: center;
}
.contact-details div {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #F5F9F7;
  border-radius: 12px;
  padding: 12px 20px;
  font-size: 1rem;
  min-width: 210px;
  margin-bottom: 14px;
}
.contact-details img {
  width: 28px;
  height: 28px;
}

.map-snippet {
  background: #EDF6FF;
  border-radius: 12px;
  padding: 20px 16px;
  margin-bottom: 18px;
  box-shadow: 0 2px 8px rgba(16,56,115,0.05);
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.text-section ul{
  margin-bottom: 10px;
}

/* --- FOOTER --- */
footer {
  background: #103873;
  color: #fff;
  text-align: center;
  padding: 34px 16px 20px 16px;
  border-radius: 20px 20px 0 0;
  margin-top: 48px;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 18px;
}
.footer-menu a {
  color: #3BC073;
  font-size: 1.05rem;
  font-family: 'Montserrat',sans-serif;
  padding: 6px 14px;
  border-radius: 10px;
  background: rgba(59,192,115,0.08);
  transition: background 0.19s;
}
.footer-menu a:hover, .footer-menu a:focus {
  background: #3BC073;
  color: #fff;
}
footer p {
  color: #fff;
  opacity: .91;
  font-size: .97rem;
}

/* --- BUTTONS & INTERACTIVES --- */
button, input[type="button"], input[type="submit"], .cta-primary {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  cursor: pointer;
  border: none;
  outline: none;
  transition: background 0.14s, color 0.14s, box-shadow 0.18s;
}
button:active, .cta-primary:active {
  transform: scale(.98) rotate(-1deg);
}

/* --- FORMS (generic if forms are added in future) --- */
input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 10px 12px;
  border-radius: 7px;
  border: 1.5px solid #dde4f7;
  outline: none;
  margin-bottom: 1rem;
  transition: border-color .17s;
}
input:focus, select:focus, textarea:focus {
  border-color: #3BC073;
}

/* --- ANIMATIONS & MICRO-INTERACTIONS --- */
@keyframes floaty {
  0% { transform: translateY(0) scale(.98) rotate(-2deg); }
  44% { transform: translateY(-4px) scale(1.01) rotate(2deg); }
  88% { transform: translateY(3px) scale(.99) rotate(-3deg); }
  100% { transform: translateY(0) scale(.98) rotate(-2deg); }
}
.feature-grid > div, .service-card, .testimonial-card {
  animation: floaty 7s ease-in-out infinite;
  animation-delay: .3s;
}
.testimonial-card { animation-delay: 0.9s; }
.service-card { animation-delay: 0.6s; }
.feature-grid > div:nth-child(odd) { animation-delay: 0.2s; }

/* --- PLAYFUL DYNAMIC FONTS AND COLORS --- */
body {
  font-size: 1.05rem;
  background: #F5F6FB;
}

h1, h2 {
  font-family: 'Montserrat', cursive, sans-serif;
  letter-spacing: 0.015em;
}
h1 {
  color: #103873;
  text-shadow: 2px 4px 0 rgba(59,192,115,0.09), 0.5px 3px 9px rgba(34,139,230,0.12);
}
h2, h3 { color: #3BC073; }
h3 { font-family: 'Montserrat', cursive, sans-serif; }
blockquote { color: #103873; }

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #103873;
  color: #fff;
  box-shadow: 0 -2px 10px rgba(16,56,115,0.07);
  z-index: 2000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 26px 18px 20px 18px;
  font-size: 1rem;
  animation: cookieShow .7s ease;
}
@keyframes cookieShow {
  from {transform: translateY(100%);} to {transform: translateY(0);}
}
.cookie-banner p {
  margin: 0 10px 8px 0;
  flex: 1 0 190px;
}
.cookie-banner .cookie-btn {
  background: #3BC073;
  color: #fff;
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
  border-radius: 999px;
  padding: 9px 24px;
  border: none;
  margin-left: 10px;
  margin-bottom: 4px;
  transition: background 0.15s;
  font-weight: 700;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #fff;
  color: #103873;
}
.cookie-banner .cookie-settings-btn {
  background: #F5F6FB;
  color: #103873;
  border: 1.5px solid #3BC073;
  font-weight: 600;
  margin-right: 10px;
}
.cookie-banner .cookie-settings-btn:hover, .cookie-banner .cookie-settings-btn:focus {
  background: #3BC073;
  color: #fff;
}

/* Cookie Preferences Modal */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-60%) scale(0.98);
  width: 96vw;
  max-width: 420px;
  background: #fff;
  color: #103873;
  border-radius: 22px;
  box-shadow: 0 6px 42px rgba(16,56,115,0.23);
  padding: 34px 24px 24px 24px;
  z-index: 2100;
  display: none;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal.active {
  display: flex;
  animation: showModal .32s cubic-bezier(.93,0,.49,1.46);
}
@keyframes showModal {
  from { opacity: 0; transform: translate(-50%, -70%) scale(.91); }
  to { opacity: 1; transform: translate(-50%, -60%) scale(1); }
}
.cookie-modal h3 {
  color: #3BC073;
  font-size: 1.24rem;
  margin-bottom: 6px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 13px;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #3BC073;
  width: 21px;
  height: 21px;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 14px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  background: #3BC073;
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  padding: 9px 24px;
  border: none;
  transition: background 0.19s;
}
.cookie-modal .cookie-btn:hover, .cookie-modal .cookie-btn:focus {
  background: #103873;
  color: #fff;
}
.cookie-modal .esc-close {
  position: absolute;
  font-size: 2.1rem;
  top: 16px;
  right: 20px;
  color: #3BC073;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2150;
}
.cookie-modal .esc-close:hover {
  color: #103873;
}

/* --- RESPONSIVENESS (Mobile First!) --- */
@media (max-width: 1020px) {
  nav {
    gap: 6px;
    padding: 14px;
  }
  .feature-grid, .service-cards, .testimonial-list, .contact-details {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  .service-cards, .feature-grid, .testimonial-list {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .card, .service-card, .feature-grid > div, .testimonial-card {
    width: 100%;
    min-width: unset;
    max-width: unset;
  }
  .contact-details {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
}
@media (max-width: 768px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .container {
    padding-left: 7px;
    padding-right: 7px;
  }
  .section, section {
    padding: 28px 0;
    margin-bottom: 30px;
    border-radius: 14px;
  }
  h1 { font-size: 1.47rem; }
  h2 { font-size: 1.1rem; }
  h3 { font-size: 1rem; }
  .content-wrapper {
    gap: 13px;
  }
  .feature-grid, .service-cards, .testimonial-list, .contact-details, .footer-menu {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }
  .text-image-section {
    flex-direction: column;
    gap: 14px;
  }
  .testimonial-list {
    gap: 13px;
  }
  .testimonial-card {
    padding: 12px;
  }
  .map-snippet {
    padding: 14px 7px;
  }
  .detailed-course-descriptions {
    padding: 17px 7px;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    font-size: .96rem;
  }
  .cookie-modal {
    padding: 20px 7px 13px 7px;
    max-width: 99vw;
  }
}
@media (max-width: 480px) {
  .container { padding: 0 2px; }
  footer { border-radius: 9px 9px 0 0; padding: 22px 4px 14px 4px; }
  .footer-menu {
    gap: 8px;
    font-size: 0.96rem;
    margin-bottom: 7px;
  }
}

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