/* ==================== CSS RESET & NORMALIZE ==================== */
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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F8FEFF;
  color: #243B55;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
*, *:before, *:after {
  box-sizing: border-box;
}
a { color: #08AEEA; text-decoration: none; transition: color .15s; }
a:hover, a:focus { color: #243B55; text-decoration: underline; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; }
strong { font-weight: 700; }
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  letter-spacing: -.01em;
  color: #243B55;
}
h1 { font-size: 2.75rem; line-height: 1.1; margin-bottom: 20px; }
h2 { font-size: 2rem; line-height: 1.2; margin-bottom: 20px; }
h3 { font-size: 1.5rem; line-height: 1.3; margin-bottom: 16px; }
h4, h5, h6 { font-size: 1.15rem; margin-bottom: 12px; }
p { font-size: 1.15rem; color: #243B55; margin-bottom: 12px; }

/* ==================== GLOBAL LAYOUT ==================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

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

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(36,59,85,0.08);
  padding: 28px;
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 280px;
  min-width: 260px;
  transition: box-shadow .2s, transform .2s;
}
.card:hover {
  box-shadow: 0 8px 40px rgba(36,59,85,0.17);
  transform: translateY(-5px) scale(1.02);
  z-index: 2;
}
.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;
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 14px rgba(36,59,85,0.07);
  border-left: 6px solid #08AEEA;
  transition: box-shadow .18s, transform .18s;
  max-width: 560px;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px rgba(36,59,85,0.14);
  transform: scale(1.025);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ==================== NAVIGATION ==================== */
header {
  background: #fff;
  padding-top: 0;
  position: sticky;
  top: 0;
  z-index: 30;
  box-shadow: 0 2px 16px rgba(36,59,85,0.08);
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  padding: 0 16px;
  height: 72px;
  font-weight: 700;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.main-nav a {
  color: #243B55;
  font-size: 1.08rem;
  letter-spacing: 0.01em;
  border-radius: 7px;
  padding: 7px 14px;
  transition: background .13s, color .13s;
}
.main-nav a.active,
.main-nav a:hover,
.main-nav a:focus {
  background: #08AEEA;
  color: #fff;
}
.main-nav img {
  height: 44px;
  margin-right: 12px;
}
.cta-primary {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  background: #243B55;
  color: #fff !important;
  font-weight: 800;
  letter-spacing: .02em;
  font-size: 1.15rem;
  border-radius: 9px;
  padding: 13px 30px;
  margin-left: auto;
  transition: background .17s, color .17s, box-shadow .17s, transform .18s;
  box-shadow: 0 3px 16px rgba(8,174,234,0.07);
  border: none;
  cursor: pointer;
}
.cta-primary:hover, .cta-primary:focus {
  background: #08AEEA;
  color: #243B55 !important;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 32px rgba(8,174,234,0.17);
}

/* ==================== HERO ==================== */
.hero {
  background: linear-gradient(to right, #08AEEA 0%, #F8FEFF 100%);
  border-bottom: 4px solid #08AEEA;
  padding: 60px 0 46px 0;
  display: flex;
  align-items: center;
  min-height: 330px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.hero h1 {
  color: #243B55;
  font-size: 2.3rem;
  font-weight: 800;
}
.hero p {
  color: #243B55;
  font-size: 1.25rem;
  font-weight: 500;
  max-width: 730px;
}
.hero .cta-primary {
  margin-top: 25px;
  box-shadow: 0 3px 36px rgba(36,59,85,0.13);
}

/* ========== SECTIONS & FEATURES ========== */
.features, .services, .about-short, .about-story, .team, .blog-list, .newsletter,
.policy, .thank-you, .thank-you-confirmation, .contact-details, .cta {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.features ul, .services ul, .team ul, .about-story ul, .contact-details ul, .blog-list ul, .testimonials .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0;
}
.features ul li, .services ul li, .about-story ul li, .team ul li, .blog-list ul li, .contact-details ul li {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  border-radius: 12px;
  padding: 18px 20px;
  font-size: 1.07rem;
  font-weight: 600;
  box-shadow: 0 1px 10px rgba(36,59,85,0.04);
}
.features ul li img,
.services ul li img,
.about-story ul li img,
.team ul li img {
  height: 40px;
  width: 40px;
  flex-shrink: 0;
}
.features h2, .services h2, .about-short h2, .about-story h2, .team h2, .newsletter h2, .cta h2, .testimonials h2, .blog-list h2 {
  color: #243B55;
  font-size: 2rem;
  font-weight: 800;
}
.services ul li, .features ul li {
  border-left: 6px solid #08AEEA;
}
.services ul li strong { color: #243B55;}
.course-highlights, .certification-info {
  font-size: 1.09rem;
  background: #E5F9FD;
  margin-top: 16px;
  border-radius: 7px;
  padding: 13px 20px;
  color: #243B55;
}

/* ========== TESTIMONIALS & REVIEWS ========== */
.testimonials {
  background: #f5fcff;
  margin-bottom: 60px;
}
.testimonials .h2 {
  color: #243B55;
}
.testimonials .content-wrapper {
  gap: 32px;
}
.testimonial-card p {
  color: #243B55;
  font-size: 1.12rem;
  font-weight: 600;
}
.testimonial-card span {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: #08AEEA;
  font-size: 1.02rem;
}
.testimonial-card img {
  height: 26px;
  width: 26px;
  display: inline-block;
  margin-right: 1px;
}

/* Stylistic touch for testimonials */
.testimonial-card {
  border-left: 6px solid #08AEEA;
  background: #fff;
  font-weight: 600;
  color: #243B55;
}

/* ========== CTA ========== */
.cta {
  background: #243B55;
  color: #fff;
  text-align: left;
  border-radius: 20px;
  margin-bottom: 60px;
}
.cta h2,
.cta p {
  color: #fff;
}
.cta .cta-primary {
  background: #08AEEA;
  color: #243B55 !important;
  box-shadow: 0 3px 16px rgba(8,174,234,0.16);
  margin-top: 20px;
}
.cta .cta-primary:hover {
  background: #fff;
  color: #08AEEA !important;
}

/* ========== FOOTER ========== */
footer {
  background: #243B55;
  color: #fff;
  padding: 44px 0 24px 0;
  font-size: 1rem;
  letter-spacing: .02em;
  margin-top: 40px;
}
.footer-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}
.footer-nav a{
  color: #08AEEA;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
  text-decoration: underline;
}
.footer-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.footer-info img {
  height: 44px;
  margin-bottom: 5px;
}
address {
  font-style: normal;
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 8px;
  line-height: 1.6;
}
footer span {
  color: #B1C7E1;
  font-size: .9rem;
}

/* ========== BLOG LIST & FEATURED POSTS ========== */
.blog-list .featured-posts {
  background: #E5F9FD;
  border-radius: 11px;
  padding: 18px 21px;
  margin-top: 26px;
}
.blog-list .featured-posts h3 {
  color: #08AEEA;
  font-size: 1.23rem;
  font-weight: 700;
  margin-bottom: 7px;
}
.blog-list ul li {
  border-left: 4px solid #243B55;
}

/* ========== POLICY SECTIONS ========== */
.policy, .thank-you, .thank-you-confirmation {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(36,59,85,0.05);
  margin-top: 30px;
  margin-bottom: 50px;
}
.policy .text-section,
.thank-you .content-wrapper,
.thank-you-confirmation .content-wrapper {
  background: none;
  padding: 0;
  color: #243B55;
}
.policy h1 { font-size: 2.1rem; }
.policy h2 {
  color: #08AEEA;
  font-size: 1.23rem;
  margin-top: 20px;
  font-weight: 800;
}

/* ========== COOKIE CONSENT BANNER ========== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #243B55;
  color: #fff;
  padding: 26px 22px 22px 22px;
  z-index: 99;
  box-shadow: 0 -3px 30px rgba(36,59,85,0.13);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
  justify-content: center;
  font-size: 1.09rem;
  border-top: 3px solid #08AEEA;
  animation: cookie-slide-in .35s;
}
@keyframes cookie-slide-in {
  from { transform: translateY(100%);} to { transform: translateY(0);}
}
.cookie-banner__text {
  flex: 1;
  color: #fff;
  font-size: 1.09rem;
  max-width: 550px;
}
.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-banner button, .cookie-banner .cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.01rem;
  font-weight: 700;
  padding: 9px 21px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  margin: 0 2px;
  transition: background .14s, color .14s;
}
.cookie-banner .accept {
  background: #08AEEA;
  color: #243B55;
}
.cookie-banner .accept:hover {
  background: #fff;
  color: #08AEEA;
}
.cookie-banner .reject {
  background: #fff;
  color: #243B55;
  border: 2px solid #08AEEA;
}
.cookie-banner .reject:hover {
  background: #08AEEA;
  color: #fff;
}
.cookie-banner .settings {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}
.cookie-banner .settings:hover {
  background: #08AEEA;
  color: #243B55;
  border: 2px solid #08AEEA;
}

/* ----- Cookie Preferences Modal ----- */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 110;
  background: rgba(36,59,85,.94);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookie-modal-in .28s;
}
@keyframes cookie-modal-in {
  from { opacity: 0; transform: scale(.98);} to {opacity: 1; transform: scale(1);}
}
.cookie-modal__dialog {
  background: #fff;
  color: #243B55;
  border-radius: 16px;
  max-width: 440px;
  width: 94vw;
  padding: 38px 26px 28px 26px;
  box-shadow: 0 8px 80px rgba(36,59,85,0.21);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modal-scale-in .22s;
}
@keyframes modal-scale-in {
  from { transform: scale(.98); opacity: 0;} to {transform: scale(1); opacity: 1;}
}
.cookie-modal__close {
  position: absolute;
  right: 16px;
  top: 15px;
  font-size: 1.7rem;
  color: #08AEEA;
  background: none;
  border: none;
  font-weight: 800;
  cursor: pointer;
  transition: color .17s;
  z-index: 2;
}
.cookie-modal__title {
  font-size: 1.25rem;
  font-weight: 800;
  font-family: 'Montserrat', sans-serif;
  color: #08AEEA;
}
.cookie-modal__categories {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin: 18px 0 14px 0;
}
.cookie-modal__category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.10rem;
}
.cookie-modal__category label {
  font-weight: 600; user-select: none;
}
.cookie-modal__category input[type=checkbox]{
  accent-color: #08AEEA;
  width: 22px;
  height: 22px;
  margin-right: 9px;
  border-radius: 5px;
}
.cookie-modal__category.essential input[type=checkbox]{
  accent-color: #08AEEA;
}
.cookie-modal__category.essential label {
  opacity: .68;
}
.cookie-modal__footer {
  display: flex;
  gap: 14px;
  margin-top: 10px;
  justify-content: flex-end;
}
.cookie-modal .accept, .cookie-modal .reject {
  font-size: 1rem;
  font-weight: 700;
  border-radius: 8px;
  padding: 10px 18px;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(36,59,85,0.07);
}
.cookie-modal .accept { background: #08AEEA; color: #fff; }
.cookie-modal .accept:hover { background: #243B55; color: #fff; }
.cookie-modal .reject { background: #fff; color: #08AEEA; border: 2px solid #08AEEA; }
.cookie-modal .reject:hover { background: #08AEEA; color: #fff; }

/* ==================== MOBILE NAVIGATION ==================== */
.mobile-menu-toggle {
  display: none;
  background: #08AEEA;
  color: #243B55;
  border: none;
  border-radius: 8px;
  font-size: 2.1rem;
  padding: 8px 14px;
  position: absolute;
  right: 24px;
  top: 14px;
  z-index: 35;
  cursor: pointer;
  transition: background .14s, color .14s, transform .16s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #243B55;
  color: #fff;
  transform: scale(1.06);
}
.mobile-menu {
  display: none;
  position: fixed;
  z-index: 99;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: #243B55;
  color: #fff;
  transition: transform .32s cubic-bezier(0.75,0.02,0.3,1), opacity .24s;
  transform: translateX(100%);
  opacity: 0;
}
.mobile-menu.open {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(0);
  opacity: 1;
  animation: mobile-slide-in .28s;
}
@keyframes mobile-slide-in {
  from { transform: translateX(100%);} to { transform: translateX(0); }
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #08AEEA;
  font-size: 2.2rem;
  position: absolute;
  right: 24px;
  top: 16px;
  z-index: 100;
  font-weight: bold;
  transition: color .17s, transform .16s;
  cursor: pointer;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #fff;
  transform: scale(1.13);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 80px;
  width: 100%;
  align-items: flex-start;
  padding-left: 36px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.27rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: .01em;
  padding: 7px 0;
  border-radius: 7px;
  transition: background .13s, color .13s, padding-left .15s;
  width: 92%;
  display: block;
}
.mobile-nav a.active,
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #08AEEA;
  color: #243B55;
  padding-left: 15px;
}

/* ==================== FORM & CONTACT DETAILS ==================== */
.contact-details ul li {
  border-left: 6px solid #08AEEA;
  background: #fff;
  color: #243B55;
}
.contact-details ul li strong { min-width: 88px; }
.contact-details ul li img {
  height: 25px;
  width: 25px;
  margin-right: 7px;
}
.contact-details .text-section {
  background: #E5F9FD;
  padding: 14px 17px;
  margin-top: 14px;
  border-radius: 8px;
  font-size: 1.09rem;
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .content-wrapper, .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .section, .features, .services, .about-short, .about-story, .team, .blog-list, .newsletter, .policy, .thank-you, .thank-you-confirmation {
    padding: 32px 8px;
    margin-bottom: 36px;
  }
  .hero {
    padding: 38px 0 22px 0;
    min-height: 210px;
  }
  .hero h1 { font-size: 1.45rem; }
  h2 { font-size: 1.18rem; }
  h1 { font-size: 1.6rem; }
  .cta, .policy, .testimonials, .card {
    margin-bottom: 30px;
    border-radius: 11px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 12px;
  }
  .footer-info {
    font-size: .97rem;
  }
  .blog-list .featured-posts {
    margin-top: 13px;
    padding: 11px 7px;
    font-size: 1rem;
  }
  .card-container, .content-grid, .features ul, .services ul, .about-story ul, .team ul, .testimonials .content-wrapper, .blog-list ul {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    max-width: 99vw;
    padding: 14px;
    border-radius: 10px;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 16px;
    padding: 18px 8px;
    font-size: 1rem;
    align-items: flex-start;
  }
  .cookie-banner__text {
    font-size: 1em;
  }
  .cookie-modal__dialog {
    padding: 13vw 4vw 9vw 4vw;
    border-radius: 10px;
    width: 98vw;
    min-width: unset;
    max-width: 97vw;
  }
}

/* ==================== VISUAL EFFECTS & BUTTONS ==================== */
button, .btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  background: #08AEEA;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 11px 23px;
  font-size: 1.09rem;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(8,174,234,0.06);
  transition: background .13s, color .13s, box-shadow .13s, transform .13s;
}
button:hover, button:focus, .btn:hover, .btn:focus {
  background: #243B55;
  color: #08AEEA;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 5px 25px rgba(36,59,85,0.17);
}

/* ==================== MISC & ACCESSIBILITY ==================== */
::selection {
  background: #08AEEA;
  color: #fff;
}

[tabindex]:focus, a:focus, button:focus {
  outline: 2px solid #08AEEA;
  outline-offset: 1px;
}

/* ========== Utility classes ========== */
.text-section {
  background: #f7fcff;
  border-radius: 8px;
  padding: 13px 18px;
  margin-bottom: 9px;
  font-size: 1.05rem;
}

/* Ensure visual spacing for all major elements */
.section, .features, .services, .about-short, .about-story, .team, .blog-list, .newsletter, .policy, .thank-you, .thank-you-confirmation, .testimonials, .cta {
  margin-bottom: 60px;
}
.card, .testimonial-card { margin-bottom: 20px; }

/* Always use flexbox for all layouts */
/* All .container, .content-wrapper, .features ul, etc. are flex-based above */
