/* ========================================================
   CSS RESET & BASE NORMALIZATION - Mobile First Approach
   ======================================================== */
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: #F4F1DE;
  min-height: 100vh;
  color: #264653;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}
button {
  cursor: pointer;
}

hr {
  border: 0;
  border-top: 1.5px solid #E9E6E3;
  margin: 32px 0;
}

/* ============================================
   TYPOGRAPHY - Modern Bold Style
   ============================================ */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,800,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

h1,h2,h3,h4,h5,h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  color: #264653;
  letter-spacing: 0.01em;
  line-height: 1.15;
}

h1 { font-size: 2.4rem; margin-bottom: 18px; }
h2 { font-size: 1.8rem; margin-bottom: 16px; }
h3 { font-size: 1.28rem; margin-bottom: 8px; }
h4, h5, h6 { font-size: 1.08rem; }

p, ul, ol, li, .testimonial-meta, .service-tag, span {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-size: 1rem;
  color: #264653;
}

strong, b {
  font-weight: 700;
}

/* Typography Adjustments for Brand Boldness */
.section h2, .cta h2 {
  font-size: 2.1rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 900;
  background: none;
}

/* ===============
   CONTAINER WIDTH
   =============== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px;
  box-sizing: border-box;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* =====================================
   SPACING & LAYOUT (MANDATORY CLASSES)
   ===================================== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 14px 0 rgba(38,70,83,0.09), 0 1.5px 3px 0 rgba(42,157,143,0.04);
  position: relative;
  min-width: 265px;
  overflow: hidden;
  padding: 28px 26px;
  transition: box-shadow .22s cubic-bezier(.86, .01, .43, 1);
}
.card:hover {
  box-shadow: 0 4px 24px 0 rgba(38,70,83,0.15), 0 2.5px 7px 0 rgba(42,157,143,0.10);
}

.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(38,70,83,0.08);
  margin-bottom: 22px;
  flex-direction: column;
  transition: box-shadow .2s;
  min-width: 240px;
  max-width: 460px;
}

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

.feature-grid, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}

.feature-grid li, .service-list li {
  flex: 1 1 235px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 10px 0 rgba(38,70,83,0.05);
  padding: 28px 20px 18px 20px;
  margin-bottom: 20px;
  min-width: 225px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow .2s;
}
.feature-grid li:hover, .service-list li:hover {
  box-shadow: 0 4px 18px 0 rgba(38,70,83,0.15);
}

.recognized-certificates, .learning-levels {
  background: #2A9D8F;
  color: #fff;
  font-weight: 500;
  border-radius: 10px;
  padding: 16px 20px;
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.08rem;
}

.faq-teaser {
  margin-top: 14px;
}

.faq-teaser a {
  color: #2A9D8F;
  font-weight: 700;
  text-decoration: underline;
  padding: 2px 4px;
  border-radius: 6px;
  transition: background .19s;
}
.faq-teaser a:hover {
  background: #2A9D8F;
  color: #fff;
}

/* ================
   HERO SECTION
   ================ */
.hero {
  background: #264653;
  background-image: linear-gradient(100deg, #2A9D8F 0%, #264653 140%);
  color: #fff;
  padding: 60px 0 46px 0;
  border-bottom-left-radius: 48px 32px;
  border-bottom-right-radius: 54px 36px;
}
.hero .content-wrapper h1,
.hero h1,
.hero p {
  color: #fff;
}
.hero .primary-cta {
  margin-top: 32px;
}

/* ================
   NAVBAR / HEADER
   ================ */
header {
  background: #fff;
  box-shadow: 0 4px 20px 0 rgba(38,70,83,0.04);
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
  padding: 0 18px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  padding: 8px 10px;
  color: #264653;
  border-radius: 7px;
  transition: background .18s, color .18s;
}
.main-nav a:hover {
  background: #2A9D8F;
  color: #fff;
}

.primary-cta {
  display: inline-block;
  background: #2A9D8F;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  padding: 12px 28px;
  border-radius: 32px;
  box-shadow: 0 2px 12px 0 rgba(42,157,143,0.10);
  letter-spacing: 0.015em;
  transition: background .22s, transform .15s, box-shadow .22s;
}
.primary-cta:hover, .primary-cta:focus {
  background: #264653;
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 4px 18px 0 rgba(42,157,143,0.17);
}

.secondary-cta {
  display: inline-block;
  margin-top: 30px;
  background: #fff;
  color: #2A9D8F;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  padding: 10px 26px;
  border: 2px solid #2A9D8F;
  border-radius: 32px;
  transition: background .16s, color .16s, border .16s;
}
.secondary-cta:hover {
  background: #2A9D8F;
  color: #fff;
  border-color: #264653;
}

header .container img {
  max-height: 46px;
  transition: filter .15s;
}
header .container img:hover {
  filter: brightness(1.12) saturate(1.2);
}

.mobile-menu-toggle {
  font-size: 2.2rem;
  background: #2A9D8F;
  color: #fff;
  border: none;
  border-radius: 11px;
  padding: 6px 18px;
  line-height: 1;
  display: none;
  z-index: 101;
  transition: background .18s;
}
.mobile-menu-toggle:hover {
  background: #264653;
}

/* ================
   MOBILE MENU
   ================ */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #264653;
  z-index: 105;
  box-shadow: 0 4px 36px 0 rgba(38,70,83,0.38);
  transform: translateX(-100%);
  transition: transform .42s cubic-bezier(.86,0,.07,1);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 20px 22px 0 0;
  font-size: 2.3rem;
  color: #fff;
  background: none;
  border: none;
  border-radius: 7px;
  transition: background .14s;
  padding: 2px 12px 2px 12px;
}
.mobile-menu-close:hover {
  background: #2A9D8F;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin-top: 40px;
  gap: 16px;
  padding: 0 28px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.24rem;
  font-weight: 800;
  color: #fff;
  padding: 14px 12px;
  border-radius: 10px;
  background: none;
  transition: background .16s;
}
.mobile-nav a:active, .mobile-nav a:hover {
  background: #2A9D8F;
  color: #fff;
}

@media (max-width: 992px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ================
   CTA SECTION
   ================ */
.cta {
  background: #2A9D8F;
  color: #fff;
  text-align: center;
  border-radius: 24px;
  box-shadow: 0 4px 24px 0 rgba(42,157,143,0.08);
  margin: 48px auto 0 auto;
}
.cta h2, .cta p {
  color: #fff;
}

/* =============================================
   TESTIMONIALS (HIGH CONTRAST & READABILITY)
   ============================================= */
.testimonials {
  padding: 44px 0 40px 0;
}
.testimonials .testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  justify-content: flex-start;
}
.testimonial-card {
  background: #fff;
  color: #264653;
  border-left: 6px solid #2A9D8F;
  min-width: 240px;
  max-width: 420px;
  flex: 1 1 260px;
  box-shadow: 0 2px 14px 0 rgba(38,70,83,0.09);
}
.testimonial-stars {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.3rem;
  font-weight: 900;
  color: #2A9D8F;
  margin-bottom: 6px;
}
.testimonial-card p {
  font-size: 1.08rem;
  font-weight: 500;
  margin-bottom: 12px;
}
.testimonial-meta {
  font-size: 1.02rem;
  color: #6B7B88;
  font-weight: 700;
  margin-top: 6px;
}

/* Single static testimonial card (e.g. About/Success)
   gets version without border accent */
.testimonials .testimonial-card:not(.testimonial-slider .testimonial-card),
.about .testimonial-card {
  border-left: none;
  box-shadow: 0 2px 12px 0 rgba(38,70,83,0.06);
}

/* ======================================
   CARDS, SERVICE-LISTS, FEATURE-LISTS
   ====================================== */
.card, .feature-grid li, .service-list li {
  /* Already styled above for consistency */
}
.service-tag {
  display: inline-block;
  background: #2A9D8F;
  color: #fff;
  font-size: .98rem;
  font-weight: 700;
  padding: 3px 12px;
  margin-bottom: 7px;
  border-radius: 6px 22px 12px 22px/20px 8px 24px 10px;
}

.category-filters {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
  font-weight: 700;
}
.category-filters ul {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.category-filters li {
  background: #F4F1DE;
  color: #264653;
  border: 2px solid #2A9D8F;
  border-radius: 9px;
  font-size: .95rem;
  padding: 5px 14px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  transition: background .13s, color .13s, border .13s;
  cursor: pointer;
}
.category-filters li:hover,
.category-filters li.selected {
  background: #2A9D8F;
  color: #fff;
  border-color: #264653;
}

/* ==========================
   INFO & CONTACT
   ========================== */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 30px;
}
.contact-info div {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1.08rem;
}
.map-placeholder {
  background: #EAF9F7;
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 15px;
  color: #264653;
  font-weight: 500;
  margin-top: 24px;
}

.next-steps-info {
  background: #EAF9F7;
  border-radius: 14px;
  padding: 16px 22px;
  margin: 22px 0;
}
.next-steps-info ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: disc inside;
}

/* ==========================
   FOOTER
   ========================== */
footer {
  background: #264653;
  color: #fff;
  padding: 38px 0 30px 0;
  margin-top: 50px;
  border-top-left-radius: 22px 16px;
  border-top-right-radius: 32px 26px;
  box-shadow: 0 -2px 18px 0 rgba(38,70,83,0.07);
}
footer .container {
  display: flex;
  justify-content: center;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
footer img {
  max-height: 38px;
}
.footer-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.01rem;
  font-weight: 700;
  opacity: 0.94;
  border-radius: 6px;
  padding: 4px 8px;
  transition: background .16s, color .16s;
}
.footer-nav a:hover {
  background: #2A9D8F;
  color: #fff;
  opacity: 1;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  align-items: center;
  justify-content: center;
  font-size: .97rem;
  margin-top: 6px;
}
.footer-contact span {
  color: #fff;
  opacity: 0.88;
  font-weight: 500;
}
.footer-contact img {
  width: 19px;
  height: 19px;
}

/* ==========================
   LEGAL PAGE LIST STYLES
   ========================== */
.legal section, .legal .container {
  padding: 40px 20px;
}
.legal ol, .legal ul {
  margin-left: 23px;
  list-style: disc;
  margin-top: 8px;
  margin-bottom: 8px;
}
.legal li {
  margin-bottom: 8px;
  font-size: 1rem;
  color: #264653;
  line-height: 1.45;
}
.legal a {
  color: #2A9D8F;
  font-weight: 700;
  transition: color .16s;
}
.legal a:hover {
  color: #264653;
}

/* ==========================
   RESPONSIVE DESIGN
   ========================== */
@media (max-width: 850px) {
  .container { max-width: 98%; }
  .feature-grid, .service-list {
    gap: 18px;
  }
  .feature-grid li, .service-list li {
    flex: 1 1 300px;
  }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  .section { padding: 27px 7px; }
  .content-grid, .feature-grid, .service-list, .testimonial-slider, .footer-contact {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
  .text-image-section { flex-direction: column; gap: 22px; align-items: center; }
  .footer-contact { justify-content: flex-start; align-items: flex-start; }
}
@media (max-width: 560px) {
  html { font-size: 14px; }
  .hero { padding: 35px 0 22px 0; border-radius: 24px; }
  .cta { border-radius: 14px; }
  .card, .feature-grid li, .service-list li, .testimonial-card {
    padding: 16px 10px;
  }
}

/* ================
   ANIMATIONS
   ================ */
.primary-cta, .secondary-cta, .main-nav a, .mobile-nav a {
  transition: background .22s, color .19s, box-shadow .22s, border .13s, transform .15s;
}
.card, .feature-grid li, .service-list li, .testimonial-card {
  transition: box-shadow .18s, transform .18s;
}
.card:hover, .feature-grid li:hover, .service-list li:hover, .testimonial-card:hover {
  transform: translateY(-3px) scale(1.022);
}

a, .cta a {
  transition: color .13s, background .13s;
}

/* =================
   COOKIE CONSENT
   ================= */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  background: #264653;
  color: #fff;
  padding: 22px 18px 18px 18px;
  z-index: 400;
  box-shadow: 0 -2px 24px 0 rgba(38,70,83,0.11);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  font-size: .99rem;
  animation: banner-slidein .8s cubic-bezier(.75,0,.2,1);
}
@keyframes banner-slidein {
  0% { transform: translateY(100%); opacity: 0; }
  98% { opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: #fff;
  margin-bottom: 8px;
  text-align: center;
}
.cookie-banner-actions {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.cookie-btn, .cookie-btn-settings {
  padding: 9px 22px;
  border-radius: 22px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  transition: background .16s, color .16s, box-shadow .15s;
}
.cookie-btn {
  background: #2A9D8F;
  color: #fff;
}
.cookie-btn:hover {
  background: #F4F1DE;
  color: #2A9D8F;
}
.cookie-btn.reject {
  background: #fff;
  color: #264653;
  border: 1.5px solid #2A9D8F;
}
.cookie-btn.reject:hover {
  background: #2A9D8F;
  color: #fff;
}
.cookie-btn-settings {
  background: transparent;
  color: #fff;
  border: 2px solid #2A9D8F;
}
.cookie-btn-settings:hover {
  background: #2A9D8F;
  color: #fff;
}

/* Cookie modal overlay */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(38,70,83,0.40);
  z-index: 410;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: overlay-fadein .3s;
}
@keyframes overlay-fadein {
  0% { opacity: 0; } 100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 33px 0 rgba(38,70,83,0.21);
  padding: 36px 28px 28px 28px;
  min-width: 315px;
  max-width: 95vw;
  color: #264653;
  font-size: 1.06rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: modal-pop .35s cubic-bezier(.68,-0.6,.32,1.6);
}
@keyframes modal-pop {
  0% { transform: scale(.82) translateY(40px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal-title {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 900;
  font-size: 1.35rem;
  margin-bottom: 7px;
}
.cookie-category-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin: 14px 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #F4F1DE;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 1.01rem;
}
.cookie-category .cookie-switch {
  margin-left: auto;
  display: flex;
  align-items: center;
}
.cookie-switch input[type="checkbox"] {
  width: 38px; height: 21px;
  appearance: none;
  background: #E9E6E3;
  border-radius: 14px;
  position: relative;
  outline: none;
  transition: background .14s;
}
.cookie-switch input[type="checkbox"]:checked {
  background: #2A9D8F;
}
.cookie-switch input[type="checkbox"]:before {
  content: '';
  position: absolute;
  left: 2px; top: 2.2px;
  width: 17px; height: 17px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 6px 0 rgba(38,70,83,0.06);
  transition: left .13s;
}
.cookie-switch input[type="checkbox"]:checked:before {
  left: 19px;
}
.cookie-category[data-essential] .cookie-switch input {
  opacity: 0.6; pointer-events: none;
}
.cookie-modal .cookie-btn-row {
  display: flex;
  gap: 11px;
  margin-top: 12px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  top: 17px; right: 21px;
  background: #2A9D8F;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.15rem;
  width: 32px; height: 32px;
  display: flex;
  align-items: center; justify-content: center;
  transition: background .15s;
}
.cookie-modal-close:hover {
  background: #264653;
}

@media (max-width: 520px) {
  .cookie-modal { min-width: 92vw; padding: 17px 9px 13px 11px; }
}

/* ==================
   UTILITY CLASSES
   ================== */
.text-center { text-align: center !important; }
.hide { display: none !important; }
.flex { display: flex; }
.align-center { align-items: center; }
.flex-col { flex-direction: column; }
.bold { font-weight: 800; font-family: 'Montserrat', Arial, Helvetica, sans-serif; }

/* ===================================
   COLOR BOLDNESS FOR BRAND ACCENT
   =================================== */
.bg-primary { background: #264653!important; color: #fff!important; }
.bg-secondary { background: #2A9D8F!important; color: #fff!important; }
.bg-accent { background: #F4F1DE!important; color: #264653!important; }
.text-primary { color: #264653!important; }
.text-secondary { color: #2A9D8F!important; }
.text-accent { color: #F4F1DE!important; }

/* ===========================
   GEOMETRIC/DECORATIVE ACCENTS
   =========================== */
/* Example: Diagonal lines/underlines for section headings */
.section h2:after {
  content: '';
  display: block;
  width: 52px;
  height: 6px;
  margin-top: 8px;
  border-radius: 999px;
  background: #2A9D8F;
  opacity: 1;
}

@media (max-width: 560px) {
  .section h2:after {
    width: 30px; height: 4px;
  }
}


/* ========================
   MISCELLANEOUS IMPROVEMENTS
   ======================== */
::-webkit-input-placeholder, ::placeholder { color: #B1C6C2; opacity: 1; }

/* ::selection brand accent */
::selection {
  background: #2A9D8F;
  color: #fff;
}

/* Hide 3rd party floating banners */
iframe[title="Cookiebot"] { display: none!important; }
