/* CSS RESET & NORMALIZATION */
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
{
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  background: #F1F7FA; /* subtle accent background */
}

body {
  font-family: "Open Sans", Arial, sans-serif;
  background: linear-gradient(135deg, #F1F7FA 0%, #E6F0F6 100%);
  color: #222;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
}

section {
  margin-bottom: 60px;
  padding: 40px 20px;
  width: 100%;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
}

/* TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  color: #10375C;
  font-weight: 700;
  letter-spacing: -0.5px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 12px;
  margin-top: 20px;
}
h3 {
  font-size: 1.375rem;
  margin-bottom: 10px;
}
h4 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}

p, li {
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 1rem;
  color: #222;
  line-height: 1.7;
}
.subheadline {
  font-size: 1.2rem;
  color: #2c6393;
  margin-bottom: 16px;
}

strong {
  font-weight: 700;
  color: #10375C;
}

/* LINKS & BUTTONS */
a {
  color: #39A9DB;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #10375C;
  text-decoration: underline;
}

.btn-primary {
  display: inline-block;
  min-width: 150px;
  text-align: center;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 1.13rem;
  background: linear-gradient(90deg, #39A9DB 0%, #58BEF4 100%);
  color: #fff;
  padding: 14px 32px;
  border-radius: 30px;
  border: none;
  box-shadow: 0 3px 16px rgba(57,169,219,0.10);
  cursor: pointer;
  margin-top: 10px;
  margin-bottom: 10px;
  transition: background 0.3s, box-shadow 0.3s, transform 0.15s;
  letter-spacing: .2px;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(90deg, #10375C 0%, #39A9DB 100%);
  box-shadow: 0 6px 24px rgba(16,55,92,0.12);
  transform: translateY(-2px) scale(1.03);
}

/* HEADER & NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 2px 18px rgba(16,55,92,0.09);
  width: 100%;
  position: relative;
  z-index: 99;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 18px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}
header nav a {
  font-size: 1rem;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 500;
  color: #10375C;
  position: relative;
  padding: 4px 2px;
  transition: color 0.2s;
}
header nav a:hover, header nav a:focus {
  color: #39A9DB;
}

header .btn-primary {
  margin-left: 18px;
  min-width: 130px;
  padding: 12px 24px;
  font-size: 1rem;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #10375C;
  cursor: pointer;
  margin-left: 18px;
  line-height: 1;
  z-index: 120;
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  transform: translateX(-100vw);
  transition: transform 0.4s cubic-bezier(.7,.3,0,1);
  box-shadow: 0 4px 38px rgba(16,55,92,.17);
  z-index: 199;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 24px 24px 24px;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #10375C;
  align-self: flex-end;
  cursor: pointer;
  margin-bottom: 32px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.2rem;
  font-family: "Montserrat", Arial, sans-serif;
  color: #10375C;
  font-weight: 600;
  padding: 12px 6px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F1F7FA;
  color: #39A9DB;
}

/* HERO, CTA, AND PAGE BLOCKS */
section {
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 3px 24px 0 rgba(39,100,150,0.07);
}

.content-wrapper > .btn-primary,
.content-wrapper > a.btn-primary {
  margin-top: 8px;
  margin-bottom: 4px;
}

/* FEATURE GRID & CARDS */
.feature-grid,
.course-card-grid,
.jobs-listing,
.event-cards,
.blog-posts-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  width: 100%;
  margin-top: 20px;
}

.feature-grid > div,
.course-card,
.job-card,
.event-card,
.blog-post-card {
  background: #F8FBFC;
  border-radius: 18px;
  box-shadow: 0 2px 14px 0 rgba(16,55,92,0.06);
  padding: 28px 22px 22px 22px;
  margin-bottom: 20px;
  flex: 1 1 270px;
  min-width: 210px;
  max-width: 330px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid #E6F0F6;
  transition: box-shadow 0.28s, border 0.26s, transform 0.18s;
}
.feature-grid > div:hover,
.course-card:hover,
.job-card:hover,
.event-card:hover,
.blog-post-card:hover {
  box-shadow: 0 8px 32px 0 rgba(57,169,219,0.13);
  border: 1px solid #39A9DB;
  transform: translateY(-4px) scale(1.025);
}
.feature-grid img {
  width: 44px;
  height: 44px;
  margin-bottom: 7px;
}

/* CATEGORY TABS & TAGS */
.category-tabs,
.blog-tags,
.date-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  margin-bottom: 12px;
  font-size: 1rem;
  color: #39A9DB;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 600;
  align-items: center;
}
.category-tabs span,
.blog-tags span,
.date-filters span {
  background: #E6F0F6;
  padding: 6px 18px;
  border-radius: 18px;
  color: #10375C;
  font-size: 0.93rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  user-select: none;
}
.category-tabs span:hover,
.blog-tags span:hover,
.date-filters span:hover {
  background: #39A9DB;
  color: #fff;
}

/* TESTIMONIALS */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #FAFCFD;
  border-radius: 18px;
  box-shadow: 0 2px 18px 0 rgba(16,55,92,0.06);
  margin-bottom: 20px;
  margin-top: 8px;
  border: 1px solid #E6F0F6;
  font-size: 1.13rem;
  color: #24292f;
  transition: box-shadow 0.24s, border 0.2s, transform 0.18s;
}
.testimonial-card p {
  color: #1B3555;
  font-style: italic;
  margin-bottom: 8px;
}
.testimonial-card strong {
  color: #10375C;
}

/* FOOTER */
footer {
  background: linear-gradient(90deg, #10375C 60%, #39A9DB 100%);
  color: #fff;
  padding: 40px 0;
  box-shadow: 0 -2px 15px rgba(16,55,92,.09);
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.footer-logo img {
  width: 46px;
  height: 46px;
  margin-bottom: 8px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin-bottom: 10px;
}
footer nav a {
  color: #fff;
  font-size: 1rem;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 500;
  transition: color 0.2s;
  opacity: 0.9;
}
footer nav a:hover,footer nav a:focus {
  color: #F1F1F1;
  text-decoration: underline;
  opacity: 1;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.98rem;
  justify-content: center;
  color: #e7e9ee;
  align-items: flex-start;
}
.footer-contact img {
  width: 20px;
  height: 20px;
  margin-right: 7px;
  vertical-align: middle;
}
.footer-tagline {
  margin-top: 10px;
  font-size: 1.1rem;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 500;
  opacity: 0.96;
  text-align: center;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0;
  width: 100vw;
  background: #10375C;
  color: #fff;
  box-shadow: 0 -2px 16px rgba(16,55,92,0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 28px 20px 28px 20px;
  z-index: 299;
  flex-wrap: wrap;
  animation: fadeInUp 0.7s cubic-bezier(.76,-0.01,.2,1.07);
}
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(60px); }
  100% { opacity: 1; transform: translateY(0); }
}
.cookie-banner p {
  color: #fff;
  font-size: 1.06rem;
  margin: 0 10px 0 0;
  max-width: 450px;
}
.cookie-banner .cookie-btn {
  min-width: 110px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1rem;
  padding: 12px 26px;
  margin: 0 4px;
  border-radius: 24px;
  border: none;
  outline: none;
  cursor: pointer;
  background: #39A9DB;
  color: #fff;
  font-weight: bold;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px 0 rgba(57,169,219,.08);
}
.cookie-banner .cookie-btn.accept {
  background: linear-gradient(90deg, #39A9DB 0%, #58BEF4 100%);
  color: #fff;
}
.cookie-banner .cookie-btn.reject {
  background: #F1F1F1;
  color: #10375C;
}
.cookie-banner .cookie-btn.settings {
  background: #fff;
  color: #39A9DB;
  border: 1px solid #39A9DB;
}
.cookie-banner .cookie-btn:hover, 
.cookie-banner .cookie-btn:focus {
  filter: brightness(1.08);
  box-shadow: 0 4px 18px 0 rgba(39,100,150,0.13);
  outline: none;
}

.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 399;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(16,55,92,0.57);
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.4s;
}
.cookie-modal-overlay.show {
  display: flex;
}
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 36px 0 rgba(16,55,92,0.15);
  max-width: 96vw;
  width: 410px;
  padding: 36px 26px 28px 26px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  animation: fadeInUp 0.7s cubic-bezier(.76,-0.01,.2,1.07);
}
.cookie-modal h2 {
  color: #10375C;
  font-size: 1.45rem;
  margin-bottom: 12px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
  font-size: 1rem;
  color: #10375C;
}
.cookie-modal .toggle {
  width: 34px;
  height: 20px;
  border-radius: 10px;
  background: #E6F0F6;
  position: relative;
  transition: background 0.18s;
  cursor: pointer;
  margin-right: 7px;
}
.cookie-modal .toggle[data-enabled="true"] {
  background: #39A9DB;
}
.cookie-modal .toggle .dot {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.22s;
}
.cookie-modal .toggle[data-enabled="true"] .dot {
  left: 16px;
}
.cookie-modal .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}
.cookie-modal .cookie-btn {
  min-width: 98px;
  font-size: 0.98rem;
  padding: 9px 20px;
  border-radius: 20px;
}

/* TEXT-IMAGE & FEATURE ITEM FLEX SECTIONS FOR FUTURE USE */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* GENERIC CONTENT CARDS */
.card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 3px 24px 0 rgba(39,100,150,0.09);
  padding: 30px 24px;
  transition: box-shadow 0.21s, transform 0.19s;
}
.card:hover {
  box-shadow: 0 8px 28px rgba(16,55,92,0.14);
  transform: translateY(-2px) scale(1.012);
}

/* FORM & INPUTS */
input, textarea, select {
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid #E6F0F6;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 14px;
  width: 100%;
  background: #F8FBFC;
  transition: border 0.16s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #39A9DB;
  background: #fff;
}

/* Blog Tag Clouds & Next Steps */
.next-steps ul {
  margin-left: 24px;
  margin-bottom: 6px;
}
.next-steps a {
  color: #39A9DB;
  font-weight: 600;
}
.confirmation-message {
  color: #10375C;
  font-size: 1.08rem;
  margin-bottom: 20px;
}

/* RESPONSIVE LAYOUTS */
@media (max-width: 1060px) {
  .feature-grid,
  .course-card-grid,
  .jobs-listing,
  .event-cards,
  .blog-posts-grid {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
    padding: 0 10px;
  }
  .feature-grid > div,
  .course-card,
  .job-card,
  .event-card,
  .blog-post-card {
    min-width: 95vw;
    max-width: 100vw;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.1rem; }
  section {
    padding: 28px 6px;
    margin-bottom: 38px;
    border-radius: 14px;
  }
  .container {
    padding: 0 5px;
  }
  .header nav, header .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline;
  }
  .footer-contact {
    flex-direction: column;
    align-items: center;
    gap: 11px;
  }
  .category-tabs, .blog-tags, .date-filters {
    gap: 7px;
    font-size: 0.99rem;
  }
  .feature-grid, .course-card-grid, .jobs-listing, .event-cards, .blog-posts-grid {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }
  .content-wrapper {
    gap: 18px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    padding: 14px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 7px 18px 9px;
    text-align: left;
  }
  .cookie-modal {
    width: 99vw;
    padding: 20px 6px 22px 9px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .footer-logo img {
    margin-bottom: 4px;
  }
}
@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
  .btn-primary, .cookie-banner .cookie-btn {
    min-width: 90px;
    font-size: 0.93rem;
    padding: 10px 13px;
  }
  .footer-logo img {
    width: 32px;
    height: 32px;
  }
}

/* END OF CSS */
