/* ========================================================================
   CSS RESET & GLOBAL STYLES
   ========================================================================= */
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;
}

a, a:visited {
  color: inherit;
  text-decoration: none;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  color: #1a232a;
  background: linear-gradient(120deg, #F5F8FA 0%, #e6f3ee 100%);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

ul, ol {
  list-style: disc inside;
  margin-left: 1.5em;
  margin-bottom: 1em;
}

ul li, ol li {
  margin-bottom: 0.5em;
}

button {
  font-family: inherit;
  cursor: pointer;
  background: none;
  border: none;
  outline: none;
}

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

strong {
  font-weight: 600;
}

blockquote {
  border-left: 4px solid #4DA47C;
  margin: 1em 0 1em 0;
  padding-left: 1em;
  font-style: italic;
  color: #185A77;
}

/* ========================================================================
   BRAND TYPOGRAPHY
   ========================================================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #185A77;
  margin-bottom: 18px;
  line-height: 1.18;
  font-weight: 700;
}
h1 { font-size: 2.4rem; margin-bottom: 26px; }
h2 { font-size: 2rem; margin-bottom: 22px; }
h3 { font-size: 1.32rem; margin-bottom: 15px; font-weight: 600; }
h4 { font-size: 1.1rem; margin-bottom: 12px; font-weight: 600; }
h5, h6 { font-size: 1rem; margin-bottom: 10px; font-weight: 600; }

p {
  margin-bottom: 17px;
  color: #1a232a;
}

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

.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.content-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.text-section {
  background: white;
  border-radius: 18px;
  box-shadow: 0 6px 23px -6px #185a7717;
  padding: 34px 26px;
  margin-bottom: 24px;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 0;
}

/* ========================================================================
   HEADER & NAVIGATION
   ========================================================================= */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 4px 16px -8px #185a7724;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding: 0 0 0 0;
  min-height: 72px;
  z-index: 1000;
}
header > a img {
  height: 48px;
  margin: 12px 22px 12px 18px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
header nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #185A77;
  padding: 10px 10px;
  border-radius: 5px;
  font-weight: 500;
  font-size: 1rem;
  transition: background 0.2s, color 0.2s;
}
header nav a:hover, header nav a:focus {
  background: #e6f3ee;
  color: #4DA47C;
}
.cta-btn {
  background: linear-gradient(90deg, #185A77 25%, #4DA47C 100%);
  color: #fff;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 28px;
  padding: 12px 32px;
  box-shadow: 0 2px 18px -2px #185a776c;
  font-size: 1.07rem;
  margin: 0 17px;
  transition: background 0.25s, transform 0.2s, box-shadow 0.2s;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, #4DA47C 5%, #185A77 90%);
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 32px -4px #185a7750;
}

/* ========================================================================
   MOBILE MENU
   ========================================================================= */
.mobile-menu-toggle {
  background: none;
  font-size: 2.25rem;
  color: #185A77;
  border: none;
  display: none;
  position: relative;
  z-index: 1202;
  margin-right: 18px;
  transition: color .2s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: #4DA47C;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  background: #fff;
  box-shadow: 0 0 32px #185a7733;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  transform: translateX(-100%);
  z-index: 1201;
  transition: transform 0.34s cubic-bezier(.87,.07,.14,.99);
  padding: 0 26px 26px 26px;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.2rem;
  align-self: flex-end;
  margin: 22px 0 22px 0;
  color: #185A77;
  background: none;
  border: none;
  transition: color 0.2s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  color: #4DA47C;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 22px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.18rem;
  color: #185A77;
  padding: 14px 10px;
  border-radius: 7px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #e6f3ee;
  color: #4DA47C;
}

/* Hide desktop nav and show mobile button on mobile */
@media (max-width: 1000px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (max-width: 1000px) {
  /* Place mobile menu overlay absolutely full screen */
  .mobile-menu { display: flex; }
}
@media (min-width: 1001px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* ========================================================================
   MAIN/SECTION, FLEX UTILITIES
   ========================================================================= */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 13px -2px #185a7718;
  padding: 32px 22px 28px 22px;
  transition: box-shadow 0.2s, transform 0.15s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 38px -8px #4da47c33;
  transform: translateY(-2px) scale(1.012);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  width: 100%;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
  justify-content: space-between;
}
.feature-grid > div {
  flex: 1 1 220px;
  background: #F5F8FA;
  border-radius: 12px;
  box-shadow: 0 1px 4px 0 #185a770c;
  padding: 32px 20px 22px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 180px;
  margin-bottom: 20px;
  transition: box-shadow 0.22s, transform 0.2s;
}
.feature-grid img {
  width: 38px;
  height: 38px;
  margin-bottom: 11px;
}
.feature-grid > div:hover, .feature-grid > div:focus-within {
  box-shadow: 0 4px 26px -6px #185a7728;
  transform: translateY(-4px) scale(1.025);
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.service-list > div {
  flex: 1 1 240px;
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 1px 9px -1px #185a7710;
  padding: 28px 20px 18px 20px;
  margin-bottom: 20px;
}
.service-list .cta-btn {
  align-self: flex-start;
  margin-top: 14px;
}

/* Card/Team/Testimonial formats */
.team-bios, .instructor-profiles, .course-list, .pricing-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
  justify-content: space-between;
  margin-bottom: 12px;
}
.team-bios > div,
.instructor-profiles > div,
.course-list > div,
.pricing-cards > div {
  flex: 1 1 280px;
  min-width: 230px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 7px -2px #185a7710;
  padding: 28px 20px 19px 20px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 20px;
}
.pricing-cards > div {
  border: 2px solid #e6f3ee;
  box-shadow: 0 1px 6px -1px #4da47c21;
  transition: box-shadow 0.18s;
}
.pricing-cards > div:hover, .pricing-cards > div:focus-within {
  box-shadow: 0 7px 24px -7px #185a7730;
  border-color: #4DA47C33;
  transform: translateY(-2px);
}

.course-list > div ul, .benefits-list ul, .pricing-cards > div ul {
  margin-top: 5px;
  margin-bottom: 10px;
  padding-left: 15px;
}

.benefits-list {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* ========================================================================
   TESTIMONIALS & SLIDERS
   ========================================================================= */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 1px 6px -2px #185a7722;
  margin-bottom: 20px;
  min-width: 220px;
  max-width: 400px;
  color: #1a232a !important;
}
.testimonial-card p {
  font-size: 1.02rem;
  color: #1a232a;
}
.testimonial-card strong {
  color: #185A77;
  font-weight: 700;
}
.testimonial-card > div:last-child {
  color: #4DA47C;
  font-weight: bold;
  font-size: 1.11rem;
}
.client-company-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  justify-content: flex-start;
}
.client-company-logos img {
  height: 36px;
  filter: grayscale(0.5) opacity(0.85);
  transition: filter .2s, transform .2s;
}
.client-company-logos img:hover {
  filter: none;
  transform: scale(1.07);
}

/* ========================================================================
   TABLES AND FAQ LISTS
   ========================================================================= */
.comparison-table {
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
  margin-bottom: 18px;
}
.comparison-table th, .comparison-table td {
  border: 1px solid #4da47c22;
  padding: 14px 12px;
  font-size: 1rem;
}
.comparison-table th {
  background: #e6f3ee;
  color: #185A77;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.07rem;
  font-weight: 600;
}
.comparison-table tr:nth-child(even) td {
  background: #F5F8FA;
}
.comparison-table tr:hover td {
  background: #e6f3ee65;
}

.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 12px;
}
.faq-list > div {
  flex: 1 1 280px;
  background: #F5F8FA;
  border-radius: 9px;
  padding: 20px 19px 16px 19px;
  margin-bottom: 20px;
  box-shadow: 0 2px 6px -2px #185a7711;
}
.faq-list h3 { margin-bottom: 6px; font-weight: 600; font-size: 1.07rem; color: #185A77; }

/* ========================================================================
   BLOG & ARTICLE LISTS
   ========================================================================= */
.blog-category-filter {
  margin-bottom: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.blog-category-filter a {
  background: #e6f3ee;
  color: #185A77;
  padding: 8px 18px;
  border-radius: 21px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 500;
  transition: background 0.18s, color 0.18s;
}
.blog-category-filter a:hover, .blog-category-filter a:focus {
  background: #4DA47C;
  color: #fff;
}
.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 25px;
}
.blog-list article {
  flex: 1 1 320px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 6px -2px #185a7712;
  padding: 26px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
  font-size: 1rem;
}
.blog-list article h2 {
  font-size: 1.32rem;
  color: #185a77;
  margin-bottom: 7px;
  font-weight: 700;
}
.blog-list article a {
  align-self: flex-start;
  font-weight: 500;
  color: #4DA47C;
  margin-top: 4px;
  border-bottom: 1px dashed #4DA47C;
  transition: color .15s, border-bottom-color .2s;
}
.blog-list article a:hover, .blog-list article a:focus {
  color: #185A77;
  border-bottom: 2px solid #185A77;
}

/* ========================================================================
   FOOTER
   ========================================================================= */
footer {
  width: 100%;
  background: #185A77;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 45px 0 20px 0;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-bottom: 13px;
}
footer nav a {
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  transition: color .14s, text-decoration .15s;
}
footer nav a:hover, footer nav a:focus {
  color: #4DA47C;
  text-decoration: underline;
}
.footer-brand {
  font-size: 1.08rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 400;
  margin-top: 10px;
  color: #c7e4da;
}

/* ========================================================================
   RESPONSIVE DESIGN - MOBILE FIRST
   ========================================================================= */
@media (max-width: 768px) {
  .container, .content-wrapper {
    padding-left: 0;
    padding-right: 0;
    max-width: 100%;
  }
  .content-wrapper {
    padding: 0 6px;
    gap: 16px;
  }
  .team-bios, .instructor-profiles, .course-list, .pricing-cards, .card-container, .feature-grid,
  .service-list, .blog-list, .faq-list, .testimonial-slider, .client-company-logos, .content-grid {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .feature-grid > div, .service-list > div, .team-bios > div, .instructor-profiles > div, .course-list > div, .pricing-cards > div {
    min-width: 0;
    width: 100%;
    flex: 1 1 100%;
    padding: 22px 11px 15px 14px;
  }
  .card {
    padding: 19px 8px 15px 13px;
  }
  .client-company-logos {
    gap: 16px;
    justify-content: start;
  }
  .testimonial-slider {
    gap: 12px;
  }
  section {
    padding: 32px 5px;
    margin-bottom: 36px;
  }
  h1 { font-size: 1.6rem; margin-bottom: 17px; }
  h2 { font-size: 1.32rem; margin-bottom: 13px; }
  h3 { font-size: 1.1rem; margin-bottom: 9px; }
  .text-image-section {
    flex-direction: column !important;
    gap: 16px;
    align-items: flex-start !important;
  }
}
@media (max-width: 450px) {
  .cta-btn { font-size: 0.97rem; padding: 10px 15px; }
  header > a img { height: 36px !important; margin: 7px 10px 7px 7px; }
}

/* ========================================================================
   COOKIE CONSENT BANNER & MODAL
   ========================================================================= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9999;
  width: 100vw;
  background: #185A77;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 23px 5vw 18px 5vw;
  box-shadow: 0 -2px 22px -6px #185A77;
  animation: slidein-banner 0.65s ease;
}
@keyframes slidein-banner {
  from { transform: translateY(110%); }
  to   { transform: translateY(0); }
}
.cookie-banner .cookie-text {
  text-align: center;
  margin-bottom: 10px;
  color: #fff;
  font-size: 1rem;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: center;
}
.cookie-banner button {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  border-radius: 7px;
  border: none;
  padding: 10px 21px;
  margin: 0;
  font-weight: 600;
  font-size: 1rem;
  background: #fff;
  color: #185A77;
  transition: background 0.18s, color 0.18s;
}
.cookie-banner .cookie-accept {
  background: linear-gradient(90deg, #185A77 65%, #4DA47C 100%);
  color: #fff;
  border: none;
}
.cookie-banner .cookie-accept:hover,
.cookie-banner .cookie-accept:focus {
  background: linear-gradient(90deg, #4DA47C 5%, #185A77 90%);
  color: #fff;
}
.cookie-banner .cookie-reject {
  background: #fff;
  color: #185A77;
  border: 1px solid #4DA47C;
}
.cookie-banner .cookie-reject:hover,
.cookie-banner .cookie-reject:focus {
  background: #e6f3ee;
  color: #185A77;
}
.cookie-banner .cookie-settings {
  background: #4DA47C;
  color: #fff;
  border: none;
}
.cookie-banner .cookie-settings:hover,
.cookie-banner .cookie-settings:focus {
  background: #185A77;
  color: #fff;
}

/* Cookie Modal Overlay */
.cookie-modal-overlay {
  position: fixed;
  z-index: 10001;
  background: #0008;
  left: 0; top: 0; width: 100vw; height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadein-modal 0.38s cubic-bezier(.87,.07,.14,.99);
}
@keyframes fadein-modal { from { opacity: 0;} to { opacity: 1; } }
.cookie-modal {
  background: #fff;
  color: #185A77;
  border-radius: 18px;
  max-width: 410px;
  box-shadow: 0 6px 28px -6px #185A7780;
  padding: 32px 22px 22px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 260px;
  animation: modal-pop 0.22s cubic-bezier(.54,1.6,.31,1);
  font-size: 1rem;
}
@keyframes modal-pop { from { transform: scale(.81); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.cookie-modal h2 {
  font-size: 1.36rem;
  margin-bottom: 12px;
  color: #185A77;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-bottom: 12px;
}
.cookie-modal label {
  font-weight: 500;
  color: #185A77;
  margin-left: 2px;
}
.cookie-modal input[type="checkbox"],
.cookie-modal input[type="radio"] {
  accent-color: #4DA47C;
}
.cookie-modal .cookie-actions {
  margin-top: 18px;
  width: 100%;
  justify-content: flex-end;
  gap: 15px;
}
.cookie-modal .cookie-save {
  background: #4DA47C;
  color: #fff;
  border: none;
  font-weight: 600;
  border-radius: 6px;
  padding: 8px 20px;
}
.cookie-modal .cookie-save:hover, .cookie-modal .cookie-save:focus {
  background: #185A77;
}
.cookie-modal .cookie-cancel {
  background: #e6f3ee;
  color: #185A77;
  border: none;
  border-radius: 6px;
  padding: 8px 18px;
}
.cookie-modal .cookie-cancel:hover, .cookie-modal .cookie-cancel:focus {
  background: #4DA47C22;
}

/* ========================================================================
   UTILITY CLASSES (spacing, alignment, etc.)
   ========================================================================= */
.mt-3 { margin-top: 24px !important; }
.mb-3 { margin-bottom: 24px !important; }
.mt-1 { margin-top: 8px !important; }
.mb-1 { margin-bottom: 8px !important; }
.align-center { align-items: center !important; }
.justify-center { justify-content: center !important; }

/* ========================================================================
   MICRO-INTERACTIONS & ANIMATIONS
   ========================================================================= */
.card, .feature-grid > div, .cta-btn,
.pricing-cards > div, .testimonial-card {
  transition: box-shadow 0.22s, transform 0.2s;
}
.cta-btn:active,
.card:active,
.feature-grid > div:active,
.pricing-cards > div:active {
  transform: scale(0.98);
}

/* ========================================================================
   Z-INDEX LAYERING
   ========================================================================= */
header, .mobile-menu, .cookie-banner, .cookie-modal-overlay { z-index: 2000; }

/* ========================================================================
   ACCESSIBILITY FOCUS STATES
   ========================================================================= */
a:focus-visible, button:focus-visible {
  outline: 2px solid #4DA47C !important;
  outline-offset: 2px;
}

/* ========================================================================
   CUSTOM SCROLLBAR STYLES
   ========================================================================= */
body::-webkit-scrollbar {
  width: 11px;
  background: #e6f3ee;
}
body::-webkit-scrollbar-thumb {
  border-radius: 13px;
  background: #4DA47C88;
  border: 2px solid #e6f3ee;
}

/* ========================================================================
   END OF CSS
   ========================================================================= */
