/* ========================== */
/*  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;
}
html {
  scroll-behavior: smooth;
  min-height: 100%;
}
body {
  min-height: 100vh;
  background: linear-gradient(135deg, #F3F8FB 0%, #E6EFF8 100%);
  font-family: 'Source Sans Pro', Arial, sans-serif;
  color: #222;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #19336D;
  text-decoration: none;
  transition: color 0.15s;
}
a:hover, a:focus {
  color: #26A899;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
}
strong {
  font-weight: 700;
}

/* ========================== */
/*  TYPOGRAPHY               */
/* ========================== */
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: #19336D;
  letter-spacing: 0.02em;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: #19336D;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #19336D;
}
p, li {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 12px;
  color: #222;
}

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

.text-section {
  max-width: 740px;
}
.text-section h1 {
  margin-bottom: 12px;
}
.text-section h2 {
  margin-top: 24px;
}

/* ========================== */
/*  BUTTONS                  */
/* ========================== */
.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  outline: none;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 12px rgba(25,51,109,0.06);
  min-width: 120px;
}
.btn-primary {
  background: linear-gradient(90deg, #19336D 40%, #26A899 100%);
  color: #fff;
  border: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(90deg, #26A899 0%, #19336D 90%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(25,51,109,0.14);
}
.btn-secondary {
  background: #fff;
  color: #19336D;
  border: 2px solid #26A899;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #26A899;
  color: #fff;
  border-color: #19336D;
}

/* ========================== */
/*  HEADER/NAVIGATION        */
/* ========================== */
header {
  width: 100%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 68px;
  box-shadow: 0 2px 12px rgba(25,51,109,0.04);
  position: relative;
  z-index: 101;
}
.logo {
  display: flex;
  align-items: center;
  height: 48px;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-left: 28px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #19336D;
  padding: 0 6px;
  position: relative;
}
.main-nav a:hover, .main-nav a.active {
  color: #26A899;
}
header .btn-primary {
  margin-left: 32px;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #19336D;
  cursor: pointer;
  margin-left: 24px;
  z-index: 102;
  line-height: 1;
  padding: 4px 8px;
  transition: color 0.2s;
}
.mobile-menu-toggle:focus {
  color: #26A899;
  outline: 2px solid #26A899;
}

/* ========================== */
/*  MOBILE NAV               */
/* ========================== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 8px 32px rgba(25,51,109,0.18);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.55, .06, .68, .19);
  z-index: 998;
  padding: 32px 0 0 32px;
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #19336D;
  align-self: flex-end;
  margin-right: 32px;
  margin-bottom: 16px;
  cursor: pointer;
  padding: 8px 12px;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #26A899;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  color: #19336D;
  padding: 8px 0;
  border-bottom: 1px solid #F3F8FB;
  transition: color 0.2s, background 0.2s;
  touch-action: manipulation;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #fff;
  background: #26A899;
}

/* Overlay for mobile menu (optional darken the bg behind slide-in menu) */
.mobile-menu-backdrop {
  content: '';
  display: block;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(25,51,109,0.24);
  z-index: 997;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.mobile-menu.open ~ .mobile-menu-backdrop {
  opacity: 1;
  pointer-events: auto;
}

/* ========================== */
/*  CONTAINER & WRAPPER      */
/* ========================== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
}

/* ========================== */
/*  HERO SECTION             */
/* ========================== */
.hero-section {
  width: 100%;
  background: linear-gradient(100deg, #c7c7c7 0%, #26A899 120%);
  color: #fff;
  padding: 70px 0 60px 0;
  position: relative;
  border-radius: 0 0 40px 40px;
  box-shadow: 0 10px 40px rgba(25,51,109,0.07);
}
.hero-section .content-wrapper {
  align-items: flex-start;
  gap: 18px;
  max-width: 670px;
}
.hero-section h1 {
  color: #fff;
  margin-bottom: 14px;
}
.hero-section p {
  color: #F3F8FB;
}
.hero-section .btn-primary {
  margin-top: 16px;
  color: #fff;
}

/* ========================== */
/*  FEATURES GRID            */
/* ========================== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
  margin-top: 12px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 24px;
  padding: 28px 24px 28px 24px;
  box-shadow: 0 4px 20px rgba(25,51,109,0.05);
  min-width: 220px;
  flex: 1 1 240px;
  margin-bottom: 20px;
}
.feature-item img {
  width: 40px;
  height: 40px;
}
.feature-item h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}
.feature-item p {
  color: #444;
  margin-bottom: 0;
}

/* =========================== */
/*  COURSE CARDS (Courses)     */
/* =========================== */
.course-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
  width: 100%;
}
.course-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 18px rgba(25,51,109,0.07);
  padding: 30px 22px;
  flex: 1 1 250px;
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  transition: box-shadow 0.18s;
}
.course-card:hover, .course-card:focus-within {
  box-shadow: 0 6px 24px rgba(38,168,153,0.13);
}
.course-card h2 {
  font-size: 1.21rem;
  margin-bottom: 14px;
  color: #19336D;
}
.course-card p {
  margin-bottom: 0;
  font-size: 1rem;
}

/* ========================== */
/*  BLOG & NEWS               */
/* ========================== */
.blog-article-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.blog-article {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(25,51,109,0.07);
  padding: 24px 20px 24px 20px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s;
}
.blog-article h2 {
  font-size: 1.13rem;
  margin-bottom: 8px;
  color: #19336D;
}
.blog-article a {
  display: inline-block;
  color: #26A899;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-top: 8px;
}
.blog-article:hover {
  box-shadow: 0 8px 32px rgba(25,51,109,0.13);
}
.blog-article p {
  font-size: 0.97rem;
}

.search-filter {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}
#blog-search {
  padding: 8px 14px;
  border-radius: 16px;
  border: 1px solid #B7D5E8;
  background: #F3F8FB;
  font-size: 1rem;
  outline: none;
}

/* ========================== */
/*  TESTIMONIALS              */
/* ========================== */
.testimonials-section, .testimonial-grid {
  width: 100%;
}
.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}
.testimonial-card {
  background: #F3F8FB;
  border-radius: 18px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  box-shadow: 0 2px 10px rgba(25,51,109,0.06);
  margin-bottom: 20px;
  min-width: 240px;
  flex: 1 1 250px;
  border: 1px solid #E6EFF8;
  color: #212642;
}
.testimonial-card p {
  color: #19336D;
  font-weight: 500;
}
.testimonial-card span {
  color: #26A899;
  font-size: 0.98rem;
  font-weight: 500;
}

/* Testimonials in section (index) */
.testimonials-section .testimonial-card {
  background: #fff;
  color: #19336D;
  border-color: #26A89922;
}
.testimonials-section .testimonial-card p {
  color: #222;
}

/* ========================== */
/*  ACCORDION FAQ             */
/* ========================== */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.faq-item {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(25,51,109,0.05);
  padding: 18px 16px;
  transition: box-shadow 0.14s;
  margin-bottom: 10px;
}
.faq-item h3 {
  margin-bottom: 6px;
  color: #19336D;
  font-size: 1.1rem;
  font-weight: 600;
}

/* ========================== */
/*  BLOG PREVIEW LINKS        */
/* ========================== */
.blog-preview ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 16px;
}
.blog-preview li {
  margin-bottom: 14px;
}
.blog-preview li a {
  display: flex;
  flex-direction: column;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fff;
  color: #19336D;
  transition: background 0.15s, box-shadow 0.15s;
  box-shadow: 0 2px 8px rgba(25,51,109,0.04);
}
.blog-preview li a:hover {
  background: #26A89911;
  color: #26A899;
  box-shadow: 0 6px 18px rgba(38,168,153,0.11);
}


/* ========================== */
/*  MAP ADDRESS BLOCK         */
/* ========================== */
.contact-details {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
}
.map-address {
  flex: 1 1 200px;
  background: #F3F8FB;
  border-radius: 16px;
  padding: 18px 20px;
  color: #19336D;
  margin-bottom: 12px;
  min-width: 200px;
}

/* ========================== */
/*  STEP-BY-STEP TIMELINE     */
/* ========================== */
.step-by-step-timeline {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 8px;
}
.step-by-step-timeline li {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 1px 7px rgba(25,51,109,0.04);
  padding: 18px 12px;
}
.step-by-step-timeline img {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}
.step-by-step-timeline strong {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  margin-right: 3px;
  color: #26A899;
  font-size: 1rem;
}

/* ========================== */
/*  FOOTER                    */
/* ========================== */
footer {
  background: #19336D;
  color: #fff;
  padding: 36px 0 18px 0;
  margin-top: 48px;
  border-radius: 40px 40px 0 0;
  box-shadow: 0 -8px 32px rgba(25,51,109,0.03);
}
.footer-nav {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: center;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  opacity: 0.88;
  transition: color 0.15s, opacity 0.16s;
  padding: 6px 2px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #26A899;
  opacity: 1;
}
footer .contact-details {
  color: #f3f8fb;
  font-size: 0.99rem;
  gap: 12px;
  justify-content: center;
  align-items: flex-start;
}
footer .contact-details img {
  width: 34px;
  margin-right: 12px;
}
footer .contact-details div {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ========================== */
/*  SECTION, CARD, GRID RULES */
/* ========================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(25,51,109,0.06);
  padding: 24px;
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 220px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.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;
}

/* ========================== */
/*  NEWSLETTER SIGNUP         */
/* ========================== */
.newsletter-signup {
  background: linear-gradient(100deg, #c7c7c7 0%, #26A899 120%);
  color: #fff;
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 24px;
  box-shadow: 0 2px 18px rgba(38,168,153,0.07);
}

/* ========================== */
/*  COOKIE CONSENT BANNER     */
/* ========================== */
.cookie-consent-banner {
  position: fixed;
  left: 0; bottom: 0; right: 0;
  z-index: 1200;
  background: #19336D;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
  align-items: flex-start;
  padding: 20px 24px 18px 24px;
  box-shadow: 0 -4px 28px rgba(25,51,109,0.19);
  border-radius: 22px 22px 0 0;
  animation: cookie-banner-slide-up 0.5s cubic-bezier(0.5,1.5,0.7,1) 1;
}
@keyframes cookie-banner-slide-up {
  from { transform: translateY(110%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner p {
  margin-bottom: 3px;
  color: #fff;
}
.cookie-actions {
  display: flex;
  gap: 15px;
  margin-top: 2px;
}
.cookie-actions .btn-primary, .cookie-actions .btn-secondary {
  min-width: 106px;
  font-size: 0.99rem;
  padding: 8px 18px;
  border-radius: 16px;
  margin: 0;
  box-shadow: none;
}
.cookie-actions .btn-secondary {
  border-radius: 16px;
  background: #fff;
  color: #19336D;
  border: 1.5px solid #26A899;
}
.cookie-actions .btn-secondary:hover, .cookie-actions .btn-secondary:focus {
  background: #26A899;
  color: #fff;
}

/* Cookie Preferences Modal */
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%, -120%);
  z-index: 1400;
  min-width: 325px;
  max-width: 90vw;
  background: #fff;
  color: #19336D;
  border-radius: 18px;
  box-shadow: 0 6px 36px rgba(25,51,109,0.14);
  padding: 28px 24px 20px 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.42s cubic-bezier(.55,.06,.68,.19);
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%,-50%);
}
.cookie-modal h2 {
  color: #19336D;
  font-size: 1.18rem;
  margin-bottom: 14px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 1rem;
}
.cookie-modal input[type="checkbox"] {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #19336D;
  border-radius: 4px;
  background: #F3F8FB;
  outline: none;
  cursor: pointer;
  position: relative;
}
.cookie-modal input[type="checkbox"]:checked {
  background: #26A899;
  border-color: #26A899;
}
.cookie-modal input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 5px; top: 2px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.cookie-modal .cookie-note {
  color: #26A899;
  font-size: 0.94rem;
  margin-bottom: 18px;
  margin-top: -4px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.cookie-modal .btn-primary, .cookie-modal .btn-secondary {
  padding: 8px 16px;
  font-size: 1rem;
}
.cookie-modal .close-modal-btn {
  background: none;
  border: none;
  display: block;
  font-size: 1.4rem;
  color: #19336D;
  position: absolute;
  top: 14px;
  right: 18px;
  cursor: pointer;
  padding: 2px 8px;
}
.cookie-modal .close-modal-btn:hover {
  color: #26A899;
}

/* ========================== */
/*  RESPONSIVE STYLES         */
/* ========================== */
@media (max-width: 990px) {
  .container {
    max-width: 95vw;
  }
  .main-nav {
    gap: 14px;
    margin-left: 10px;
  }
  .footer-nav {
    gap: 14px;
  }
}
@media (max-width: 768px) {
  header {
    height: 56px;
    padding: 0 10px;
  }
  .main-nav, header .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero-section, .newsletter-signup {
    padding: 44px 0 36px 0;
    border-radius: 0 0 28px 28px;
  }
  .footer-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.96rem;
  }
  .container {
    padding: 0 8px;
  }
  .content-wrapper {
    gap: 16px;
  }
  .feature-grid, .course-cards, .blog-article-grid, .testimonial-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .feature-item, .course-card, .blog-article, .card {
    flex: 1 1 100%;
    min-width: 0;
    padding: 18px 12px;
  }
  .step-by-step-timeline li {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  footer {
    padding: 28px 0 14px 0;
    border-radius: 18px 18px 0 0;
  }
}
@media (max-width: 573px) {
  h1,
  .h1 {
    font-size: 2rem;
  }
  h2,
  .h2 {
    font-size: 1.4rem;
  }
  .container {
    padding: 0 4px;
  }
  .cookie-consent-banner {
    padding: 14px 6px;
    font-size: 0.97rem;
  }
  .cookie-modal {
    padding: 20px 7px 14px 7px;
    min-width: unset;
  }
}

/* ========================== */
/*  FOCUS STATES              */
/* ========================== */
a:focus,
.btn-primary:focus,
.btn-secondary:focus {
  outline: 2px solid #26A899;
  outline-offset: 2px;
}

/* ========================== */
/*  TRANSITIONS & ANIMATIONS  */
/* ========================== */
.card,
.course-card,
.card-content,
.blog-article,
.testimonial-card,
.feature-item,
.faq-item {
  transition: box-shadow 0.17s, transform 0.15s;
}
.card:hover,
.course-card:hover,
.blog-article:hover,
.testimonial-card:hover,
.feature-item:hover,
.faq-item:hover {
  box-shadow: 0 6px 22px rgba(25,51,109,0.13);
  transform: translateY(-5px) scale(1.012);
}
.btn-primary,
.btn-secondary {
  transition: background 0.18s, color 0.18s, border 0.18s, box-shadow 0.17s, transform 0.1s;
}
.btn-primary:active, .btn-secondary:active {
  transform: scale(0.95);
}

/* END CSS */
