/* ===== CSS RESET & BASE TYPOGRAPHY ===== */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #fff;
  color: #212121;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-text-size-adjust: 100%;
  font-size: 1rem;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
a {
  color: #157DEC;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #212121;
}
ul, ol {
  margin-left: 1.2em;
}

/* ===== BRAND TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #212121;
  font-weight: 700;
  line-height: 1.13;
  letter-spacing: -0.01em;
}
h1 {
  font-size: 2.25rem; /* 36px */
  margin-bottom: 24px;
}
h2 {
  font-size: 1.75rem; /* 28px */
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem; /* 20px */
  margin-bottom: 12px;
}
h4 {
  font-size: 1rem; /* 16px */
}
.subheadline {
  font-size: 1.1rem;
  color: #444;
  line-height: 1.7;
  margin-bottom: 32px;
}
p {
  margin-bottom: 16px;
}
strong {
  font-weight: 600;
}

/* ==== UTILITY CLASSES ==== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  width: 100%;
}

/* ===== HEADER, NAVIGATION, LOGO ===== */
header {
  background: #fff;
  border-bottom: 1px solid #ECECEC;
  box-shadow: 0 2px 12px rgba(33, 33, 33, 0.06);
  position: sticky;
  top: 0;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 20px;
}
.logo img {
  height: 38px;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #212121;
  padding: 8px 10px;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
}
.main-nav .btn-primary {
  margin-left: 16px;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F4F7FA;
  color: #157DEC;
}

/* Hamburger (mobile) button */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #212121;
  cursor: pointer;
  padding: 8px 12px;
  transition: color 0.18s;
}
.mobile-menu-toggle:focus {
  outline: none;
  color: #157DEC;
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 50;
  display: none;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(0.76,0,0.24,1);
  box-shadow: -5px 0 32px rgba(44,44,44,0.09);
  padding: 36px 26px 26px 26px;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #157DEC;
  font-size: 2rem;
  align-self: flex-end;
  cursor: pointer;
  margin-bottom: 18px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: #212121;
  border-radius: 7px;
  padding: 14px 8px;
  transition: background 0.19s, color 0.19s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #EFF3F8;
  color: #157DEC;
}

/* Hide main nav by default on mobile */
@media (max-width: 992px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 993px) {
  .mobile-menu {
    display: none !important;
  }
}


/* ===== BUTTONS ===== */
.btn-primary {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  background: #157DEC;
  color: #fff;
  border: none;
  border-radius: 32px;
  padding: 13px 36px;
  margin-top: 5px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(21,125,236,0.08);
  transition: background 0.21s, box-shadow 0.21s, transform 0.15s;
  display: inline-block;
}
.btn-primary:hover, .btn-primary:focus {
  background: #105DBF;
  box-shadow: 0 6px 15px rgba(21, 125, 236, 0.12);
  transform: translateY(-1px) scale(1.03);
  color: #fff;
}

.btn-secondary {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  background: #F4F7FA;
  color: #212121;
  border: none;
  border-radius: 32px;
  padding: 12px 32px;
  cursor: pointer;
  margin-top: 5px;
  transition: background 0.2s, color 0.2s, box-shadow 0.21s;
  box-shadow: 0 2px 6px rgba(44,44,44,0.07);
  display: inline-block;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #e8ebee;
  color: #157DEC;
}

/* ===== HERO SECTION ===== */
.hero {
  background: #F4F7FA;
  min-height: 280px;
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  padding: 0 0 32px 0;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 10px;
  max-width: 620px;
}
.hero h1 {
  color: #212121;
}
.hero .btn-primary {
  margin-top: 16px;
}

/* ====== FLEX PATTERNS & CONTENT GRIDS ====== */
.feature-grid, .service-list, .benefit-grid, .tips-list, .team-bios, .faq-list, .testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-grid {
  align-items: stretch;
}
.feature-item, .service-item, .benefit-item, .testimonial-card, .faq-item, .text-section {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 16px rgba(33, 33, 33, 0.06);
  padding: 32px 24px 24px 24px;
  flex: 1 1 270px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 230px;
  transition: box-shadow 0.23s, transform 0.19s;
}
.feature-item:hover, .service-item:hover, .testimonial-card:hover, .faq-item:hover {
  box-shadow: 0 8px 32px rgba(21, 125, 236, 0.11);
  transform: translateY(-2px) scale(1.02);
}

@media (max-width: 900px) {
  .feature-item, .service-item, .testimonial-card, .faq-item, .text-section {
    min-width: 180px;
    flex: 1 1 100%;
  }
}

/* Special alignment for team bios */
.team-bios {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.team-bios .text-section {
  flex: 1 1 340px;
  background: #F7FAFC;
  min-width: 220px;
}

.usp-list, .core-values, .qualifications-list, .run-levels ul,
.target-audiences ul, .benefit-overview ul, .tip-list ul, .tips-list, .faq-list ul, .next_steps ul {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 10px;
  color: #252525;
}

.usp-list li, .core-values li, .qualifications-list li, .run-levels ul li,
.target-audiences ul li, .benefit-overview ul li, .tip-list ul li, .tips-list li, .faq-list ul li, .next_steps ul li {
  margin-bottom: 8px;
  font-size: 1rem;
}

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

@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
}

.text-section {
  background: #F7FAFC;
  border-radius: 16px;
  padding: 24px 18px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(33,33,33,0.05);
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  padding: 20px 24px;
  border-radius: 15px;
  box-shadow: 0 4px 22px rgba(21, 125, 236, 0.09), 0 1.5px 4px rgba(33,33,33,0.03);
  margin-bottom: 20px;
  min-width: 220px;
  flex: 1 1 270px;
  transition: box-shadow 0.22s, transform 0.19s;
}
.testimonial-card p {
  font-size: 1.08rem;
  color: #232323;
}
.testimonial-author {
  font-size: 0.98rem;
  color: #157DEC;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ====== FAQ ====== */
.faq-list {
  flex-direction: column;
  gap: 24px;
}
.faq-item {
  background: #F4F7FA;
  border-radius: 14px;
  padding: 22px 18px;
  box-shadow: 0 2px 8px rgba(33,33,33,0.05);
  margin-bottom: 20px;
  flex: 1 1 100%;
}
.faq-item h3 {
  margin-bottom: 10px;
  font-size: 1.11rem;
}

/* ====== MISCELLANEOUS CARDS, OVERVIEWS ====== */
.benefit-grid {
  width: 100%;
  gap: 20px;
}
.benefit-item {
  background: #F7FAFC;
  border-radius: 13px;
  padding: 16px 22px;
  font-size: 1.05rem;
  color: #212121;
  box-shadow: 0 1px 6px rgba(21,125,236,0.04);
  min-width: 145px;
  flex: 1 1 200px;
}
.benefit-overview, .tip-list, .run-levels, .target-audiences {
  margin-top: 20px;
  background: #F4F7FA;
  border-radius: 13px;
  padding: 14px 18px 14px 18px;
  box-shadow: 0 1.5px 8px rgba(21, 125, 236, 0.07);
  width: 100%;
}
.run-levels h3, .target-audiences h3, .benefit-overview h3, .tip-list h3 {
  margin-bottom: 10px;
  font-size: 1.07rem;
  color: #157DEC;
}

/* ===== FOOTER ===== */
footer {
  background: #fff;
  border-top: 1px solid #ECECEC;
  padding: 28px 0;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-menu {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-menu a {
  color: #757575;
  font-size: 1rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  transition: color 0.17s;
}
.footer-menu a:hover {
  color: #157DEC;
}
.contact-details {
  font-size: 0.96rem;
  color: #444;
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: flex-start;
  border-left: 2px solid #F4F7FA;
  padding-left: 20px;
  margin-left: 16px;
}
.contact-details img {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  vertical-align: middle;
  opacity: 0.7;
}
.social-links {
  display: flex;
  gap: 18px;
  align-items: center;
}
.social-links a img {
  width: 28px;
  height: 28px;
  filter: grayscale(30%);
  opacity: 0.93;
  transition: filter 0.18s, opacity 0.18s;
}
.social-links a:hover img {
  filter: none;
  opacity: 1;
}

@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .contact-details {
    border-left: none;
    padding-left: 0;
    margin-left: 0;
  }
}

/* Legal/Policy Pages */
.legal {
  background: #F4F7FA;
  min-height: 380px;
  padding: 40px 0 60px 0;
}
.legal .content-wrapper {
  background: #fff;
  border-radius: 18px;
  padding: 38px 24px 40px 24px;
  box-shadow: 0 3px 16px rgba(21, 125, 236, 0.06);
  gap: 32px;
}
.privacy-policy-text, .gdpr_compliance_details, .cookie_policy_text, .terms_of_use_text {
  font-size: 1.05rem;
  color: #232323;
}
.privacy-policy-text h2,
.gdpr_compliance_details h2,
.cookie_policy_text h2,
.terms_of_use_text h2 {
  margin-top: 24px;
  margin-bottom: 12px;
  font-size: 1.15rem;
  color: #157DEC;
}

/* Thank You Section */
.thank_you {
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F4F7FA;
}
.thank_you .content-wrapper {
  align-items: flex-start;
  max-width: 540px;
  gap: 20px;
  background: #fff;
  box-shadow: 0 3px 16px rgba(21, 125, 236, 0.05);
  padding: 36px 20px 32px 28px;
  border-radius: 16px;
}
.confirmation_message {
  margin-bottom: 18px;
  color: #157DEC;
  font-size: 1.13rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}
.next_steps {
  padding: 16px 12px;
  background: #F4F7FA;
  border-radius: 13px;
  font-size: 1rem;
}

/* ========== COOKIE CONSENT BANNER ========== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  padding: 24px 18px 16px 18px;
  background: #212121;
  color: #fff;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 -2px 18px rgba(33,33,33,0.19);
  z-index: 1000;
  gap: 16px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: opacity 0.19s, transform 0.32s cubic-bezier(0.6,0,0.4,1);
}
.cookie-banner.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.cookie-banner p {
  color: #fff;
  margin-bottom: 10px;
  font-size: 1.05rem;
  text-align: center;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.cookie-banner .btn-primary {
  background: #157DEC;
  color: #fff;
  padding: 11px 28px;
}
.cookie-banner .btn-secondary {
  background: #fff;
  color: #212121;
  padding: 10px 20px;
  border: 1.5px solid #ECECEC;
}
.cookie-banner .btn-secondary:hover {
  background: #F4F7FA;
  color: #157DEC;
}

/* ========== COOKIE SETTINGS MODAL ========== */
.cookie-modal {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 80%);
  width: 95vw;
  max-width: 480px;
  background: #fff;
  color: #212121;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -2px 38px rgba(21,125,236,0.14);
  z-index: 1050;
  padding: 36px 24px 28px 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.17s, transform 0.32s cubic-bezier(0.56,0,0.21,1);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.cookie-modal h2 {
  font-size: 1.21rem;
  color: #157DEC;
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.cookie-category label {
  font-weight: 500;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}
.cookie-category input[type="checkbox"] {
  accent-color: #157DEC;
}
.cookie-category .essential {
  color: #B3B3B3;
  font-size: 0.98rem;
  margin-left: 4px;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 11px;
  justify-content: flex-end;
}
.cookie-modal .btn-primary {
  padding: 10px 26px;
}
.cookie-modal .btn-secondary {
  padding: 10px 16px;
}
.cookie-modal .close-modal {
  background: none;
  border: none;
  color: #bbb;
  font-size: 1.5rem;
  position: absolute;
  right: 14px;
  top: 14px;
  cursor: pointer;
  transition: color 0.15s;
}
.cookie-modal .close-modal:hover {
  color: #157DEC;
}

@media (max-width: 540px) {
  .cookie-modal {
    max-width: 98vw;
    padding: 24px 6vw 20px 6vw;
  }
}

/* ====== RESPONSIVE DESIGN & MEDIA QUERIES ====== */
@media (max-width: 768px) {
  .container {
    max-width: 98vw;
    padding: 0 10px;
  }
  .section {
    padding: 24px 7px;
    margin-bottom: 38px;
  }
  .hero {
    min-height: 180px;
    padding-bottom: 14px;
  }
  h1 {
    font-size: 1.6rem;
    margin-bottom: 16px;
  }
  h2 {
    font-size: 1.19rem;
    margin-bottom: 14px;
  }
  .feature-item, .service-item, .testimonial-card, .faq-item {
    padding: 18px 10px 18px 14px;
  }
  .feature-grid, .service-list, .testimonial-grid {
    gap: 14px;
  }
  .content-wrapper {
    gap: 16px;
  }
}

/* ====== FOCUS STATES & ACCESSIBILITY ====== */
a, button, .btn-primary, .btn-secondary, input, textarea {
  outline-color: #157DEC;
  outline-width: 2px;
  outline-offset: 1px;
  outline-style: none;
  transition: outline 0.15s;
}
a:focus-visible, button:focus-visible {
  outline-style: solid;
}

/* ====== CUSTOM SCROLLBAR ====== */
::-webkit-scrollbar {
  width: 10px;
  background: #F4F7FA;
}
::-webkit-scrollbar-thumb {
  background: #ECECEC;
  border-radius: 8px;
}

/* ===== ANIMATIONS ===== */
@media (prefers-reduced-motion: no-preference) {
  .btn-primary, .btn-secondary, .main-nav a, .mobile-nav a, .cookie-banner, .cookie-modal {
    transition: background 0.21s, color 0.21s, box-shadow 0.21s, transform 0.16s;
  }
}

/* ============ END ============ */
