/* =====================================================
   CSS Reset & Base 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;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  line-height: 1.6;
  font-family: 'Roboto', Arial, sans-serif;
  color: #202430;
  background: linear-gradient(135deg, #F4F4F4 60%, #159879 120%);
  min-height: 100vh;
}
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
ul, ol {
  padding-left: 20px;
}
a {
  color: #159879;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #1F4068;
  text-decoration: underline;
}
img {
  max-width: 100%;
  display: block;
}
strong, b {
  font-weight: 600;
}

/* Typography */
h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #1F4068;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  color: #1F4068;
  font-weight: 700;
  margin-bottom: 16px;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  color: #159879;
  margin-bottom: 12px;
  font-weight: 600;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #1F4068;
}
p, li, span, em {
  font-size: 1rem;
  color: #202430;
}
.subheadline {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 32px;
  line-height: 1.7;
  color: #1F4068;
}
.text-section p,
.text-section li {
  font-size: 1rem;
  color: #202430;
  margin-bottom: 12px;
}


/* Utility containers and responsive spacing */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ----------------------------------------------------
   Layout Flex Patterns (MANDATORY - per instructions)
----------------------------------------------------- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px 0 rgba(31,64,104,0.07);
  padding: 28px 20px 22px 20px;
  flex: 1 1 260px;
  min-width: 260px;
  transition: box-shadow 0.25s, transform 0.25s;
}
.feature-item:hover,
.service-card:hover,
.resource-item:hover {
  box-shadow: 0 4px 32px 0 rgba(21,152,121,0.19);
  transform: translateY(-6px) scale(1.02);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(90deg, #1F4068 0%, #159879 100%);
  color: #fff;
  padding: 70px 20px 65px 20px;
}
.hero-section h1,
.hero-section .subheadline {
  color: #fff;
}
.hero-section .cta-primary {
  background: #fff;
  color: #159879;
  border: none;
  font-weight: 700;
  box-shadow: 0 2px 20px 0 rgba(31,64,104,0.06);
}
.hero-section .cta-primary:hover {
  background: #F4F4F4;
  color: #1F4068;
}

/* CTAs and Buttons */
.cta-primary {
  display: inline-block;
  background: linear-gradient(90deg, #159879 0%, #1F4068 100%);
  color: #fff;
  padding: 13px 38px;
  border-radius: 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: none;
  box-shadow: 0 2px 16px 0 rgba(31,64,104,0.13);
  cursor: pointer;
  margin-top: 20px;
  transition: background 0.18s, box-shadow 0.18s, color 0.18s, transform 0.22s;
  outline: none;
}
.cta-primary:hover, .cta-primary:focus {
  background: #1F4068;
  color: #fff;
  transform: translateY(-2px) scale(1.025);
  box-shadow: 0 4px 36px 0 rgba(21,152,121,0.14);
}

/* Navigation */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 16px 0 rgba(31,64,104,0.05);
  position: relative;
  z-index: 99;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  justify-content: flex-start;
  padding: 18px 20px 18px 20px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #1F4068;
  font-weight: 500;
  border-radius: 20px;
  padding: 7px 18px;
  transition: background 0.15s, color 0.17s;
}
header nav a.cta-primary {
  margin-left: auto;
}
header nav a:not(.cta-primary):hover,
header nav a:not(.cta-primary):focus {
  background: #15987910;
  color: #159879;
}
header img {
  width: 44px;
  height: 44px;
  margin-right: 6px;
  vertical-align: middle;
  border-radius: 8px;
}

/* Hamburger Menu (mobile) */
.mobile-menu-toggle {
  display: none;
  background: none;
  color: #1F4068;
  font-size: 2.2rem;
  border: none;
  position: absolute;
  right: 24px;
  top: 12px;
  z-index: 110;
  cursor: pointer;
  padding: 3px 8px;
  border-radius: 11px;
  transition: background 0.14s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #15987922;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 8px 64px 0 rgba(31,64,104,0.12);
  z-index: 2001;
  display: flex;
  flex-direction: column;
  transform: translateX(-100vw);
  transition: transform 0.33s cubic-bezier(0.77,0,0.175,1);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 22px 26px 0 0;
  font-size: 2.1rem;
  background: none;
  color: #1F4068;
  border: none;
  cursor: pointer;
  z-index: 2010;
  transition: background 0.12s;
  border-radius: 50%;
  padding: 3px 9px;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: #15987914;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
  margin: 40px 0 0 38px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.35rem;
  color: #1F4068;
  font-weight: 600;
  background: none;
  padding: 10px 0;
  width: 90vw;
  border-radius: 0;
  transition: color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #159879;
  text-decoration: underline;
}

/* ------------------------------------------
   Responsive Navigation Display
------------------------------------------- */
@media (max-width: 1024px) {
  header nav a.cta-primary {
    margin-left: 0;
  }
}
@media (max-width: 880px) {
  header nav {
    gap: 18px;
    padding: 13px 12px 13px 12px;
  }
}
@media (max-width: 768px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ------------------------------------------
   Main Content - Cards & Flex Layouts
------------------------------------------- */

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  justify-content: flex-start;
  align-items: stretch;
  margin: 28px 0 0 0;
}
.usp-list,
.value-prop-list,
.team-member-list,
.workshop-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
  margin-bottom: 24px;
}
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 28px 0 0 0;
  justify-content: flex-start;
}
.service-card {
  flex: 1 1 280px;
  min-width: 265px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 18px 0 rgba(21,152,121,0.08);
  padding: 28px 20px 28px 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  position: relative;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.service-card h2 {
  font-size: 1.28rem;
  color: #1F4068;
  margin-bottom: 10px;
}
.price {
  background: #15987915;
  color: #159879;
  border-radius: 11px;
  font-size: 0.97rem;
  padding: 6px 14px;
  margin-top: 12px;
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
}
.resource-library {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 28px;
}
.resource-item {
  flex: 1 1 285px;
  min-width: 250px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px 0 rgba(31,64,104,0.06);
  padding: 24px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.15s;
}
.resource-item a {
  color: #1F4068;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: color 0.14s;
}
.resource-item a:hover,
.resource-item a:focus {
  color: #159879;
}

/* FAQ List */
.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.faq-list > div {
  flex: 1 1 260px;
  background: #fff;
  border-radius: 11px;
  box-shadow: 0 2px 16px 0 rgba(31,64,104,0.06);
  padding: 18px 16px 14px 16px;
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  gap: 9px;
  min-width: 220px;
}
.faq-list h3 {
  margin-bottom: 7px;
  color: #1F4068;
}

/* Testimonial Styles */
.testimonials-section, .testimonial-carousel {
  background: linear-gradient(95deg, #F4F4F4 80%, #159879 200%);
}
.testimonial-carousel {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 29px;
  flex-direction: row;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  box-shadow: 0 2px 16px 0 rgba(21,152,121,0.07);
  padding: 24px 22px 18px 22px;
  border-radius: 15px;
  gap: 14px;
  min-width: 270px;
  max-width: 390px;
  margin-bottom: 20px;
  border-left: 5px solid #159879;
  transition: box-shadow 0.21s, border-color 0.2s, transform 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 32px 0 rgba(31,64,104,0.13);
  border-left: 5px solid #1F4068;
  transform: translateY(-3px);
}
.testimonial-card p {
  color: #222;
  font-size: 1.08rem;
  font-style: italic;
  letter-spacing: 0.01em;
  margin-bottom: 6px;
}
.star-rating {
  font-size: 1.22rem;
  color: #159879;
  margin-bottom: 4px;
}
.client-name {
  font-size: 0.96rem;
  font-weight: 600;
  color: #1F4068;
}

/* Other Content Elements */
.confirmation-message, .next-steps {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 16px 0 rgba(31,64,104,0.07);
  padding: 32px 22px 20px 22px;
  margin-top: 20px;
  margin-bottom: 22px;
}
.next-steps a {
  margin-top: 20px;
}
.map-section {
  margin-top: 13px;
  font-size: 0.99rem;
  color: #1f4068;
  font-style: italic;
}
.contact-details {
  margin-bottom: 22px;
}
.trust-badges {
  margin-top: 26px;
  font-size: 1.11rem;
  color: #159879;
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* Table Styles */
.benefits-table {
  width: 100%;
  background: #fff;
  border-radius: 9px;
  box-shadow: 0 2px 14px 0 rgba(31,64,104,0.06);
  margin: 22px 0 32px 0;
  border-collapse: separate;
  border-spacing: 0;
  overflow-x: auto;
}
.benefits-table th, .benefits-table td {
  padding: 17px 9px;
  border-bottom: 1px solid #e0e6ed;
  text-align: left;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
}
.benefits-table th {
  background: #15987919;
  color: #1F4068;
  font-weight: 700;
}
.benefits-table tr:last-child td {
  border-bottom: none;
}

/* Footer */
footer {
  background: linear-gradient(90deg, #1F4068 0%, #159879 180%);
  color: #fff;
  padding: 40px 20px 10px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 -2px 18px 0 rgba(21,152,121,0.12);
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 12px;
}
footer nav a {
  color: #fff;
  background: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.03rem;
  padding: 7px 13px;
  border-radius: 13px;
  font-weight: 500;
  transition: background 0.13s, color 0.13s;
}
footer nav a:hover {
  background: #ffffff2b;
  color: #F4F4F4;
}
footer .text-section span {
  color: #F4F4F4;
  font-size: 0.98rem;
}

/* ------------------------------------------
   Cookie Consent Banner & Modal
------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: linear-gradient(90deg, #159879 0%, #1F4068 120%);
  color: #fff;
  box-shadow: 0 -2px 18px 0 rgba(31,64,104,0.13);
  z-index: 4100;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 12px 22px 12px;
  animation: slideUpBanner 0.6s cubic-bezier(0.7,0.2,0.2,1) 0s 1;
}
@keyframes slideUpBanner {
  0% {transform: translateY(120%); opacity:0;}
  68% {transform: translateY(-14px); opacity:1;}
  100% {transform: translateY(0); opacity:1;}
}
.cookie-banner p {
  color: #fff;
  font-size: 1.08rem;
  margin-bottom: 12px;
}
.cookie-banner-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-accept-btn, .cookie-reject-btn, .cookie-settings-btn {
  padding: 9px 22px;
  border-radius: 22px;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-top: 4px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  background: #fff;
  color: #159879;
}
.cookie-reject-btn {
  background: #1F4068;
  color: #fff;
}
.cookie-accept-btn:hover, .cookie-settings-btn:hover {
  background: #159879;
  color: #fff;
}
.cookie-reject-btn:hover {
  background: #159879;
  color: #fff;
}
.cookie-settings-btn {
  background: #15987915;
  color: #1F4068;
}

.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(31, 64, 104, 0.45);
  z-index: 4200;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInBg 0.33s;
}
@keyframes fadeInBg {
  0% {opacity:0;}
  100% {opacity:1;}
}
.cookie-modal {
  background: #fff;
  border-radius: 17px;
  box-shadow: 0 2px 30px 0 rgba(21,152,121,0.19);
  min-width: 340px;
  max-width: 96vw;
  padding: 30px 22px 20px 26px;
  color: #1F4068;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  animation: dialogPopIn 0.33s cubic-bezier(0.45,1.48,0.34,1);
  position: relative;
}
@keyframes dialogPopIn {
  0% {transform: scale(0.8) translateY(60px); opacity:0;}
  100% {transform: scale(1) translateY(0); opacity:1;}
}
.cookie-modal h2 {
  color: #1F4068;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 12px;
}
.cookie-category input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #159879;
}
.cookie-category label {
  font-size: 1rem;
  color: #1F4068;
}
.cookie-category span {
  font-size: 0.92rem;
  color: #202430;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 22px;
}
.cookie-modal-close {
  position: absolute;
  top: 10px; right: 13px;
  font-size: 1.4rem;
  color: #1F4068;
  background: none;
  border: none;
  cursor: pointer;
  transition: background 0.11s;
  border-radius: 6px;
  padding: 1px 7px;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  background: #15987916;
}

/* ------------------------------------------
   Responsive - Mobile First
------------------------------------------- */
@media (max-width: 1100px) {
  .container { max-width: 94vw; }
  .feature-grid, .service-cards, .resource-library { gap: 16px; }
  .testimonial-carousel { gap: 17px; }
}
@media (max-width: 880px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.45rem; }
}
@media (max-width: 768px) {
  .hero-section {
    padding: 42px 9px 45px 9px;
    text-align: left;
  }
  .container {
    padding: 0 6px;
  }
  .content-wrapper {
    gap: 17px;
  }
  .feature-grid,
  .service-cards,
  .resource-library,
  .testimonial-carousel,
  .faq-list {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card { min-width: 0; max-width: none; width: 100%; }
  .hero-section h1 { font-size: 1.6rem; }
  .hero-section .subheadline, h2, h3 { font-size: 1.05rem; }
  .content-grid, .text-image-section { flex-direction: column; gap: 22px; }
}
@media (max-width: 500px) {
  section, .section {
    margin-bottom: 38px;
    padding: 21px 5px;
  }
  .cookie-modal { min-width: 84vw; padding: 18px 6vw 14px 4vw; }
}

/* ------------------------------------------
   Animations & Micro-interactions
------------------------------------------- */
.feature-item, .service-card, .resource-item, .testimonial-card {
  transition: box-shadow 0.22s, border-color 0.21s, transform 0.16s;
}
.feature-item:hover, .service-card:hover, .testimonial-card:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 8px 36px 0 rgba(31,64,104,0.12);
}
.cta-primary, .cookie-accept-btn, .cookie-reject-btn, .cookie-settings-btn {
  transition: background 0.14s, color 0.17s, box-shadow 0.17s, transform 0.16s;
}

/* ------------------------------------------
   Accessibility & Focus
------------------------------------------- */
a:focus, button:focus, .cta-primary:focus {
  outline: 2px solid #159879;
  outline-offset: 2px;
  z-index: 2;
}

/* ------------------------------------------
  Miscellaneous (Non-layout) classes
------------------------------------------- */
.text-section {
  margin-top: 10px;
  margin-bottom: 16px;
}

/* Remove default table scroll on small screens */
@media (max-width: 600px) {
  .benefits-table th, .benefits-table td {
    font-size: 0.93rem;
    padding: 12px 4px;
  }
}

/* Hide content that is only for screen readers */
.sr-only {
  position: absolute !important;
  height: 1px; width: 1px; overflow: hidden;
  clip: rect(1px,1px,1px,1px);
  white-space: nowrap;
}
