/* ========================
   CSS RESET & NORMALIZE
==========================*/
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html, body {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #254153;
  background: linear-gradient(135deg, #F2F7FA 0%, #e2eef3 100%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}
ul, ol {
  padding-left: 1.2em;
}
a {
  color: #0697A8;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #254153;
  text-decoration: underline;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}
button {
  background: none;
  border: none;
  cursor: pointer;
}

/* =====================================
   TYPOGRAPHY & VISUAL HIERARCHY
====================================== */
h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #254153;
  margin: 0 0 16px 0;
  line-height: 1.15;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem; /* 40px */
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem; /* 32px */
  margin-bottom: 18px;
}
h3 {
  font-size: 1.375rem; /* 22px */
  margin-bottom: 12px;
}
h4 {
  font-size: 1.125rem; /* 18px */
}
p, li, .testimonial-meta {
  font-size: 1rem;
  line-height: 1.7;
}
strong {
  font-weight: 700;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(37, 65, 83, 0.065);
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .section { padding: 32px 10px; }
}

/* =====================================
      LAYOUT & CONTAINERS (FLEXBOX)
====================================== */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1.5px 8px rgba(37,65,83,0.08);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 4px 24px rgba(37, 65, 83, 0.12);
  transform: translateY(-2px) scale(1.02);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.content-grid,
.course-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
/* For course list specifically (cards with padding, spacing) */
.course-list {
  margin-bottom: 20px;
}
.course-card {
  background: #f6fbfc;
  border-radius: 13px;
  box-shadow: 0 1.5px 8px rgba(6,151,168,0.08);
  flex: 1 1 230px;
  min-width: 250px;
  margin-bottom: 20px;
  padding: 26px 20px 20px 20px;
  transition: box-shadow 0.2s, background 0.25s;
  display: flex;
  flex-direction: column;
}
.course-card:hover {
  background: #e8f4f7;
  box-shadow: 0 3px 15px rgba(6,151,168,0.13);
}

.text-image-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 12px;
}

.feature-item {
  flex: 1 1 210px;
  min-width: 190px;
  background: #f5fafc;
  border-radius: 12px;
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  box-shadow: 0 1px 6px rgba(6,151,168,0.07);
  transition: box-shadow 0.18s;
  margin-bottom: 20px;
}
.feature-item img {
  width: 40px; height: 40px;
}
.feature-item h3 {
  font-size: 1.18rem;
  margin-bottom: 3px;
}
.feature-item:hover {
  box-shadow: 0 7px 25px rgba(6,151,168,0.13);
}

.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.testimonial-card {
  background: #fff;
  color: #254153;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(37, 65, 83, 0.13);
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 230px;
  flex: 1 1 280px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.14s;
  position: relative;
}
.testimonial-card:hover {
  box-shadow: 0 7px 20px rgba(37,65,83,0.15);
  transform: translateY(-1px) scale(1.01);
}
.testimonial-meta {
  font-weight: 600;
  font-size: 0.98rem;
  color: #0697A8;
  margin-left: 12px;
}

@media (max-width: 900px) {
  .feature-grid, .testimonials, .course-list, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-item, .testimonial-card, .course-card {
    min-width: 0;
    width: 100%;
  }
}

.faq-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-section details {
  background: #f5fafc;
  padding: 16px 14px;
  border-radius: 11px;
  border: 1px solid #dde7eb;
  box-shadow: 0 0.5px 2px rgba(37,65,83,0.03);
  margin-bottom: 7px;
  transition: background 0.2s;
}
.faq-section details[open] {
  background: #e1f2f7;
}
.faq-section summary {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.07rem;
  color: #0697A8;
  cursor: pointer;
  outline: none;
}

.included-features, .package-descriptions {
  margin-top: 26px;
}
.included-features ul, .package-descriptions ul {
  margin-bottom: 4px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 12px;
}

.contact-info p, .contact-details span {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  color: #254153;
}

.brand-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  font-size: 1rem;
  color: #254153;
  opacity: 0.8;
  padding-bottom: 8px;
}

/* =======================================
    HEADER & NAVIGATION (DESKTOP + MOBILE)
======================================= */
header {
  width: 100%;
  background: linear-gradient(90deg, #F2F7FA 0%, #e2eef3 100%);
  box-shadow: 0 2px 10px rgba(6, 151, 168, 0.065);
  position: relative;
  padding: 0 0 4px 0;
  z-index: 70;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 0;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #254153;
  letter-spacing: 0.02em;
  padding: 7px 1px;
  border-radius: 3px 3px 8px 8px;
  transition: background 0.18s, color 0.19s;
  position: relative;
}
header nav a.active, header nav a:focus, header nav a:hover {
  background: #eaf3f5;
  color: #0697A8;
}
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  background: linear-gradient(88deg,#0697A8 0%, #20b6ce 100%);
  color: #fff;
  border-radius: 100px;
  box-shadow: 0 4px 18px rgba(6,151,168,0.15);
  padding: 12px 32px;
  margin-left: 24px;
  transition: background 0.19s, box-shadow 0.16s, transform 0.16s;
  border: none;
  outline: none;
}
.cta-button:hover, .cta-button:focus {
  background: #254153;
  color: #fff;
  box-shadow: 0 8px 32px rgba(37,65,83,0.13);
  transform: scale(1.04);
}

@media (max-width: 1100px) {
  header .container {
    flex-direction: row;
    align-items: flex-start;
  }
  header nav {
    gap: 13px;
  }
  .cta-button {
    margin-left: 8px;
    padding: 11px 22px;
  }
}
@media (max-width: 880px) {
  header .container {
    padding: 0 5px;
  }
}

/* Burger mobile menu */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 20px;
  right: 23px;
  z-index: 101;
  font-size: 2.2rem;
  color: #0697A8;
  background: #fff;
  border-radius: 9px;
  padding: 6px 14px 6px 10px;
  box-shadow: 0 2px 14px rgba(37,65,83,0.09);
  transition: background 0.14s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #eaf6fa;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 210;
  transform: translateX(-100vw);
  transition: transform 0.36s cubic-bezier(.78,-0.17,.48,1.16);
  box-shadow: 2px 0 28px rgba(6,151,168,0.18);
  padding: 32px 24px 14px 24px;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.2rem;
  color: #254153;
  background: #f2f7fa;
  border-radius: 50%;
  align-self: flex-end;
  padding: 8px 14px 10px 14px;
  margin-bottom: 24px;
  margin-right: 0;
  transition: background 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #dde8ee;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 17px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.14rem;
  font-weight: 600;
  color: #0697A8;
  padding: 13px 0;
  border-bottom: 1px solid #eaf3f5;
  transition: color 0.17s;
  outline: none;
  width: 100%;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #254153;
}

@media (max-width: 850px) {
  header nav, .cta-button {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block !important;
  }
}

@media (min-width: 851px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* Prevent background scroll when menu open - js adds body.mobile-menu-open */
body.mobile-menu-open {
  overflow: hidden;
}

/* =======================================
   FOOTER
======================================= */
footer {
  background: #F2F7FA;
  width: 100%;
  color: #254153;
  border-top: 1.5px solid #e4eaea;
  font-size: 1rem;
  padding: 0 0 7px 0;
  margin-top: 48px;
}
footer .container {
  flex-direction: column;
  gap: 18px;
  padding: 32px 20px 14px 20px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 13px;
}
.footer-nav a {
  color: #0697A8;
  font-weight: 600;
  transition: color 0.18s;
  font-size: 1rem;
}
.footer-nav a:hover {
  color: #254153;
}
.contact-details {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 26px 40px;
  margin-top: 8px;
  font-size: 1rem;
}
.contact-details span {
  gap: 8px;
  display: flex;
  align-items: center;
}
.contact-details img {
  width: 22px; height: 22px;
  opacity: 0.79;
}

@media (max-width: 800px) {
  .contact-details {
    flex-direction: column;
    gap: 10px 0;
  }
}

/* =======================================
    TABLES (Pricing Table)
======================================= */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: #f5fafc;
  border-radius: 13px;
  overflow: hidden;
  margin-bottom: 34px;
  margin-top: 15px;
  box-shadow: 0 2px 10px rgba(6,151,168,0.10);
}
.pricing-table th, .pricing-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid #e5edee;
  font-size: 1.02rem;
}
.pricing-table th {
  background: #eaf3f5;
  color: #0697A8;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
}
.pricing-table tr:last-child td {
  border-bottom: none;
}
@media (max-width: 600px) {
  .pricing-table th, .pricing-table td {
    padding: 10px 6px;
    font-size: 0.97rem;
  }
}

/* =======================================
      BUTTONS & INTERACTIVES
======================================= */
button, .cta-button, .cookie-btn {
  cursor: pointer;
  outline: none;
  transition: background 0.18s, color 0.16s, box-shadow 0.15s, transform 0.13s;
}
.cookie-btn {
  padding: 11px 22px;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  background: #0697A8;
  color: #fff;
  margin-right: 1.2em;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #254153;
}
.cookie-btn.secondary {
  background: #eaf3f5;
  color: #0697A8;
  border: 1px solid #0697A8;
}
.cookie-btn.secondary:hover {
  background: #d5ebf0;
  color: #254153;
}
.cookie-btn.settings {
  background: #fff;
  color: #0697A8;
  border: 1px solid #0697A8;
}
.cookie-btn.settings:hover {
  background: #eaf3f5;
  color: #254153;
}

/* ====================
   COOKIE CONSENT BANNER
====================== */
.cookie-banner {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  position: fixed;
  width: 100vw;
  bottom: 0;
  left: 0;
  background: #eaf6fa;
  color: #254153;
  z-index: 1000;
  padding: 28px 5vw 20px 5vw;
  box-shadow: 0 -2px 12px rgba(6,151,168,0.10);
  border-top: 1.8px solid #caf2f5;
  font-size: 1.01rem;
  transition: transform 0.36s cubic-bezier(.78,-0.17,.48,1.16);
  transform: translateY(0);
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner-message {
  max-width: 580px;
  font-size: 1rem;
  padding-right: 14px;
}

.cookie-banner-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    gap: 16px;
    padding: 22px 7vw 18px 7vw;
    font-size: 0.98rem;
  }
}

/* Cookie preferences modal */
#cookie-modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(37, 65, 83, 0.16);
  z-index: 2002;
  align-items: center;
  justify-content: center;
}
#cookie-modal.active {
  display: flex;
}
.cookie-modal-container {
  background: #fff;
  color: #254153;
  padding: 34px 32px 26px 32px;
  border-radius: 18px;
  box-shadow: 0 7px 40px rgba(6,151,168,0.13);
  min-width: 320px;
  max-width: 98vw;
  max-height: 85vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  animation: modalIn 0.35s cubic-bezier(.82,-0.18,.58,1.12);
}
@keyframes modalIn {
  from { transform: scale(.92) translateY(80px); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.cookie-modal-header {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.14rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.cookie-modal-categories {
  margin-bottom: 21px;
}
.cookie-modal-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  background: #f5fafc;
  border-radius: 8px;
  padding: 11px 13px;
  margin-bottom: 10px;
}
.cookie-modal-category p {
  margin-bottom: 0;
  font-size: .99rem;
}
.cookie-modal-toggle {
  display: flex;
  align-items: center;
  gap: 9px;
}
.cookie-modal-toggle input[type="checkbox"] {
  width: 20px; height: 20px;
  accent-color: #0697A8;
}
.category-essential {
  color: #254153;
  font-weight: 600;
}

.cookie-modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 10px;
}
.cookie-modal-close {
  background: none;
  border: none;
  font-size: 1.35rem;
  color: #254153;
  position: absolute;
  top: 20px;
  right: 22px;
  z-index: 2;
}

@media (max-width: 480px) {
  .cookie-modal-container {
    padding: 17px 8px 13px 10px;
    min-width: unset;
  }
  #cookie-modal {
    padding: 6vw 0;
  }
}

/* Hide cookie modal background scroll - js adds body.cookie-modal-open */
body.cookie-modal-open {
  overflow: hidden;
}

/* =======================================
   UTILITY CLASSES & OVERRIDES
======================================= */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-20 { margin-top: 20px !important; }
.mb-20 { margin-bottom: 20px !important; }
gap-8 { gap: 8px !important; }
gap-12 { gap: 12px !important; }
.no-shadow { box-shadow: none !important; }
.bold { font-weight: 700 !important; }
.text-accent { color: #0697A8 !important; }
.bg-accent { background: #eaf3f5 !important; }

/* =======================================
   MODERN MICRO-INTERACTIONS & ANIMATION 
======================================= */
.cta-button, .cookie-btn {
  will-change: transform, box-shadow;
}
.cta-button:active, .cookie-btn:active {
  transform: scale(0.97);
  box-shadow: 0 2px 6px rgba(6,151,168,0.18);
}
@media (hover: hover) {
  .card:hover, .testimonial-card:hover, .feature-item:hover, .course-card:hover {
    box-shadow: 0 10px 28px rgba(6,151,168,0.13), 0 3px 15px rgba(37, 65, 83, 0.11);
  }
}

/* =======================================
          RESPONSIVE LAYOUT
======================================= */
@media (max-width: 700px) {
  .container {
    padding: 0 6px;
  }
  .section {
    padding: 20px 6px;
    margin-bottom: 36px;
  }
}
@media (max-width: 480px) {
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.08rem; }
  .cta-button {
    padding: 10px 15px;
    font-size: .98rem;
  }
}

/* =======================================
      PRINT STYLES (optional, minimal)
======================================= */
@media print {
  header, nav, .mobile-menu, footer, .cookie-banner, #cookie-modal { display: none !important; }
  .container, body, .section { box-shadow: none !important; background: #fff !important; }
}

/* =======================================
    BRAND FONTS (Web font fallbacks)
======================================= */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: local('Montserrat'), local('Montserrat-Regular'), url('https://fonts.gstatic.com/s/montserrat/v25/JTUSjIg1_i6t8kCHKm459WlhzQ.woff2') format('woff2');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Open Sans'), local('OpenSans-Regular'), url('https://fonts.gstatic.com/s/opensans/v34/mem8YaGs126MiZpBA-U1UpcaXcl0Aw.woff2') format('woff2');
}
