/* ==== CSS RESET & NORMALIZE ==== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font-size: 16px;
  line-height: 1.5;
  scroll-behavior: smooth;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #F6F7F9;
  color: #1d232b;
  min-height: 100vh;
  font-size: 1rem;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg {
  max-width: 100%;
  display: block;
}
a {
  color: #204158;
  text-decoration: none;
  transition: color 0.18s cubic-bezier(.75,0,.03,1);
}
a:hover, a:focus {
  color: #3AB54A;
  outline: none;
}
ul, ol {
  list-style-position: inside;
  margin: 12px 0 24px 0;
  padding-left: 0;
}
li + li {
  margin-top: 8px;
}
h1, h2, h3 {
  font-family: 'Montserrat', 'Arial', sans-serif;
  font-weight: 700;
  color: #204158;
  margin-bottom: 12px;
  line-height: 1.18;
}
h1 {
  font-size: 2.5rem;
  color: #3AB54A;
  text-shadow: 0 2px 16px rgba(58,181,74,0.10);
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}
p {
  margin-bottom: 12px;
  font-size: 1rem;
  color: #204158;
}
strong, b {
  font-weight: 700;
  color: #3AB54A;
}
blockquote {
  padding: 16px 24px;
  margin: 16px 0;
  color: #204158;
  background: #eafdde;
  border-left: 6px solid #3AB54A;
  border-radius: 10px;
  font-style: italic;
}

/* ==== CONTAINER & SECTION LAYOUTS ==== */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
}
.section, section:not(.hero):not(.newsletter):not(.contact-details) {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(32, 65, 88, 0.06);
}
section.hero {
  background: linear-gradient(90deg, #3AB54A 0%, #204158 96%);
  color: #fff;
  padding: 54px 0 48px 0;
  margin-bottom: 48px;
  border-radius: 0 0 36px 36px;
  box-shadow: 0 6px 36px rgba(32, 65, 88, 0.09);
}
.hero h1, .hero p {
  color: #fff;
  text-shadow: 0 4px 24px rgba(34,34,34,0.12);
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

/* ==== FLEX PATTERNS ==== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 18px rgba(32,65,88,0.07);
  padding: 28px 22px 28px 22px;
  min-width: 280px;
  flex: 1 1 280px;
  transition: box-shadow 0.2s cubic-bezier(.75,0,.03,1);
}
.card:hover {
  box-shadow: 0 6px 42px 0 rgba(58, 181, 74, 0.17);
  z-index: 2;
}
.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;
  background: #fff;
  padding: 20px;
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 2px 14px rgba(58,181,74,0.10);
  color: #204158;
  font-size: 1.06rem;
  min-width: 220px;
  max-width: 530px;
}
.testimonial-card strong {
  color: #204158;
  font-weight: 700;
  font-family: 'Montserrat', 'Arial', sans-serif;
  font-size: 1rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ==== NAVIGATION & HEADER ==== */
header {
  background: #fff;
  box-shadow: 0 3px 12px rgba(58,181,74,0.08);
  z-index: 10;
  position: sticky;
  top: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  min-height: 78px;
  gap: 24px;
}
header img {
  height: 44px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 12px;
  border-radius: 8px;
  color: #204158;
  transition: background 0.15s, color 0.19s;
}
header nav a:hover, header nav a.active {
  background: #eafdde;
  color: #3AB54A;
  text-decoration: none;
}
.cta-primary {
  background: #3AB54A;
  color: #fff;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 1rem;
  padding: 12px 32px;
  border-radius: 18px;
  box-shadow: 0 3px 18px rgba(32,65,88,0.09);
  cursor: pointer;
  transition: background 0.17s cubic-bezier(.65,0,.03,1), transform 0.13s;
}
.cta-primary:hover, .cta-primary:focus {
  background: #204158;
  color: #fff;
  transform: translateY(-2px) scale(1.04);
}

.mobile-menu-toggle {
  background: #204158;
  color: #fff;
  border: none;
  font-size: 2rem;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: 14px;
  transition: background 0.18s;
  z-index: 104;
  box-shadow: 0 2px 10px rgba(32,65,88,0.13);
}
.mobile-menu-toggle:hover {
  background: #3AB54A;
  color: #fff;
}

/* === MOBILE MENU === */
.mobile-menu {
  display: none; /* Hidden by default, controlled by JS */
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(32, 65, 88, 0.97);
  z-index: 999;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  transition: transform 0.33s cubic-bezier(.77,0,.18,1);
  will-change: transform;
  transform: translateX(100%);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 28px 32px 20px 0;
  background: transparent;
  color: #fff;
  border: none;
  font-size: 2.5rem;
  font-weight: 300;
  cursor: pointer;
  transition: color 0.15s;
}
.mobile-menu-close:hover {
  color: #3AB54A;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100vw;
  align-items: flex-start;
  text-align: left;
  padding: 16px 32px;
}
.mobile-nav a {
  font-size: 1.20rem;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255,255,255,0.13);
  width: 100%;
  border-radius: 6px;
  transition: background 0.18s, color 0.16s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a.active {
  background: #3AB54A;
  color: #fff;
}

@media (max-width: 1050px) {
  header nav {
    gap: 10px;
  }
  .container {
    padding: 0 8px;
  }
}
@media (max-width: 900px) {
  header .container {
    gap: 10px;
  }
}
@media (max-width: 830px) {
  header nav {
    display: none;
  }
  header .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 831px) {
  .mobile-menu-toggle {
    display: none;
  }
}

/* ==== HERO STYLES ==== */
.hero .content-wrapper {
  gap: 22px;
  align-items: flex-start;
}
.hero a.cta-primary {
  background: #fff;
  color: #204158;
  font-size: 1.1rem;
}
.hero a.cta-primary:hover, .hero a.cta-primary:focus {
  background: #3AB54A;
  color: #fff;
}

/* ==== FEATURE GRIDS AND LISTS ==== */
.feature-grid, .program-type-grid, .value-list, .benefit-list, .integration-options, .mini_case_study_grid, .post-list, .faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 32px 0 0 0;
  width: 100%;
  justify-content: flex-start;
}
.feature-grid > div, .value-list > div, .benefit-list > div, .integration-options > div, .program-type-grid > div, .mini_case_study_grid > div, .post-list > div, .faq-list > div {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 18px rgba(32,65,88,0.07);
  padding: 28px 18px 22px 18px;
  min-width: 220px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.2s cubic-bezier(.75,0,.03,1), transform 0.12s;
}
.feature-grid > div:hover, .value-list > div:hover, .benefit-list > div:hover, .integration-options > div:hover, .program-type-grid > div:hover, .mini_case_study_grid > div:hover, .post-list > div:hover, .faq-list > div:hover {
  box-shadow: 0 8px 36px 0 rgba(58, 181, 74, 0.13);
  transform: translateY(-3px) scale(1.03);
}
.feature-grid img, .program-type-grid img, .value-list img, .benefit-list img, .integration-options img {
  height: 48px;
  width: 48px;
  margin-bottom: 18px;
}

.cta-banner {
  background: #204158;
  color: #fff;
  border-radius: 23px;
  box-shadow: 0 4px 36px rgba(32,65,88,0.16);
  padding: 40px 22px 36px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}
.cta-banner h2, .cta-banner p {
  color: #fff;
}
.cta-banner a.cta-primary {
  background: #3AB54A;
  color: #fff;
  margin-top: 10px;
}
.cta-banner a.cta-primary:hover {
  background: #fff;
  color: #204158;
}

/* ==== NEWSLETTER SECTION ==== */
section.newsletter {
  background: #3AB54A;
  padding: 54px 0 48px 0;
  border-radius: 32px;
  margin-bottom: 58px;
}
section.newsletter .cta-banner {
  background: #fff;
  color: #204158;
  box-shadow: 0 3px 32px 0 rgba(58,181,74,0.11);
}
section.newsletter .cta-banner h2,
section.newsletter .cta-banner p {
  color: #204158;
}

.post-list {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.post-preview {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 18px rgba(32,65,88,0.09);
  padding: 26px 18px 22px 18px;
  min-width: 220px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.18s, transform 0.11s;
}
.post-preview h3 {
  color: #3AB54A;
}
.post-preview a {
  align-self: flex-start;
  color: #204158;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  margin-top: 8px;
  border-bottom: 1.5px solid #3AB54A;
  padding-bottom: 2px;
  transition: color 0.18s, border-color 0.15s;
}
.post-preview a:hover {
  color: #3AB54A;
  border-color: #204158;
}

/* ==== CASE STUDY / MINI GRID ==== */
.mini_case_study_grid > div h3 {
  color: #204158;
  margin-bottom: 7px;
}
.mini_case_study_grid > div blockquote {
  font-size: 1rem;
}

/* ==== FAQ LIST ==== */
.faq-list > div h3 {
  color: #3AB54A;
  font-size: 1.11rem;
  margin-bottom: 7px;
}

/* ==== STEPPER ==== */
.stepper {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 24px 0 0 0;
}
.stepper li {
  background: #eafdde;
  border-radius: 16px;
  padding: 20px 20px 20px 20px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  font-size: 1.05rem;
  box-shadow: 0 2px 18px rgba(32,65,88,0.09);
}
.stepper img {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

/* ==== FORMS (for possible future use) ==== */
input[type="text"], input[type="email"], textarea {
  appearance: none;
  border-radius: 10px;
  font: inherit;
  font-size: 1rem;
  padding: 11px 16px;
  border: 1.5px solid #3AB54A;
  margin-bottom: 14px;
  background: #fafdff;
  transition: border-color 0.14s;
}
input:focus, textarea:focus {
  border-color: #204158;
  outline: none;
}

/* ==== FOOTER ==== */
footer {
  background: #204158;
  color: #fff;
  padding: 50px 0 36px 0;
  font-size: 1rem;
  border-radius: 32px 32px 0 0;
  box-shadow: 0 -2px 26px rgba(32,65,88,0.09);
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px;
  justify-content: space-between;
}
footer img {
  height: 40px;
  margin-bottom: 14px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
footer nav a {
  color: #3AB54A;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: color 0.16s;
  font-size: 1rem;
}
footer nav a:hover {
  color: #fff;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  font-size: 1rem;
  color: #fff;
}
.footer-contact img {
  display: inline;
  vertical-align: -8px;
  height: 22px;
  margin-right: 6px;
}

/* ==== CONTACT SUMMARY ==== */
.contact-summary ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
}
.contact-summary li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.11rem;
  color: #204158;
  font-weight: 500;
}
.contact-summary img {
  width: 24px;
  height: 24px;
}

.contact-details {
  background: #fff;
  border-radius: 17px;
  box-shadow: 0 2px 17px rgba(32,65,88,0.09);
  margin-bottom: 60px;
  padding: 40px 24px;
}
.contact-details strong {
  color: #3AB54A;
}

/* ==== TEXT SECTIONS, LISTS, VALUES ==== */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: #204158;
}
.text-section ul, .text-section ol {
  margin: 0 0 17px 0;
  padding-left: 16px;
}
.value-list {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 30px;
}

/* ==== TESTIMONIAL SLIDER ==== */
.testimonial-slider {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-top: 10px;
}

/* ==== COOKIE BANNER ==== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #204158;
  color: #fff;
  z-index: 10004;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 26px 20px;
  box-shadow: 0 -8px 36px rgba(58,181,74,0.13);
  border-radius: 24px 24px 0 0;
  animation: cookie-slide-in 0.7s cubic-bezier(.77,0,.18,1) forwards;
  gap: 14px;
}
@keyframes cookie-slide-in {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner-message {
  font-size: 1.05rem;
  line-height: 1.45;
}
.cookie-banner-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.cookie-btn {
  border-radius: 20px;
  padding: 11px 27px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
  cursor: pointer;
  background: #3AB54A;
  color: #fff;
  margin-left: 0;
  transition: background 0.18s, color 0.13s, box-shadow 0.12s;
  box-shadow: 0 2px 14px rgba(58,181,74,0.11);
}
.cookie-btn.settings {
  background: #fff;
  color: #204158;
  border: 1.5px solid #3AB54A;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #204158;
  color: #fff;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #3AB54A;
  color: #fff;
}

/* ==== COOKIE MODAL ==== */
.cookie-modal-overlay {
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  background: rgba(32,65,88,0.87);
  z-index: 10010;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s cubic-bezier(.77,0,.18,1);
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #204158;
  border-radius: 18px;
  padding: 40px 32px 32px 32px;
  max-width: 430px;
  width: 96vw;
  box-shadow: 0 10px 60px rgba(32,65,88,0.17);
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: modalUp 0.24s cubic-bezier(.77,0,.18,1) forwards;
}
@keyframes modalUp {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  margin-bottom: 8px;
  color: #3AB54A;
  font-size: 1.2rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 16px;
}
.cookie-category label {
  font-size: 1rem;
  color: #204158;
  font-weight: 500;
}
.cookie-category input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: #3AB54A;
}
.cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 13px;
}
.cookie-modal-close {
  position: absolute;
  top: 15px;
  right: 22px;
  background: transparent;
  color: #3AB54A;
  font-size: 2rem;
  border: none;
  cursor: pointer;
}

/* ==== RESPONSIVE RULES (FLEX, FONT-SIZE, ETC) ==== */
@media (max-width: 1240px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 950px) {
  .feature-grid, .program-type-grid, .value-list, .benefit-list, .integration-options, .mini_case_study_grid, .post-list, .faq-list {
    gap: 16px;
  }
  .cta-banner {
    padding: 22px 8px 20px 8px;
  }
  .section {
    padding: 30px 10px;
  }
}
@media (max-width: 820px) {
  .feature-grid, .program-type-grid, .value-list, .benefit-list, .integration-options, .mini_case_study_grid, .post-list, .faq-list {
    flex-direction: column;
    gap: 19px;
  }
  .mini_case_study_grid>div, .feature-grid>div, .value-list>div, .benefit-list>div, .integration-options>div, .faq-list >div, .program-type-grid>div, .post-preview {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }
  .content-grid, .testimonial-slider {
    flex-direction: column;
    gap: 22px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 1.85rem;
  }
  h2 {
    font-size: 1.35rem;
  }
  h3 {
    font-size: 1rem;
  }
  .hero, section.hero {
    padding: 36px 0 32px 0;
    border-radius: 0 0 18px 18px;
  }
  .section, section:not(.hero):not(.newsletter):not(.contact-details) {
    padding: 20px 5px;
  }
  .container {
    padding: 0 4px;
    max-width: 100vw;
  }
  .content-wrapper, .card-container {
    gap: 15px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .footer-contact {
    font-size: 0.95rem;
  }
  .cta-banner {
    border-radius: 13px;
    padding: 18px 6px 15px 6px;
  }
  footer .container {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    padding: 16px 8px;
    font-size: 0.95rem;
  }
  .cookie-modal {
    padding: 24px 8px 12px 8px;
    width: 98vw;
  }
}

@media (max-width: 590px) {
  .footer-contact span {
    font-size: 0.9rem;
  }
  .post-list, .content-grid, .testimonial-slider {
    gap: 14px;
  }
  .cta-primary, .cookie-btn {
    font-size: 0.95rem;
    padding: 10px 20px;
    border-radius: 12px;
  }
}

/* ==== MICRO-INTERACTIONS & TRANSITIONS ==== */
.cta-primary, .card, .feature-grid > div, .value-list > div, .benefit-list > div, .program-type-grid > div, .mini_case_study_grid > div, .post-preview {
  transition: box-shadow 0.19s, transform 0.14s;
}
.testimonial-card:hover {
  box-shadow: 0 10px 38px rgba(58,181,74,0.16);
}
.cookie-btn, .cookie-btn.settings {
  transition: background 0.17s, color 0.13s, box-shadow 0.13s;
}

/* ==== SCROLLBAR STYLES FOR ENERGY ==== */
::-webkit-scrollbar {
  width: 8px;
  background: #eafdde;
}
::-webkit-scrollbar-thumb {
  background: #3AB54A;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: #204158;
}

/* ==== ELECTRIC COLOR UTILS ==== */
.bg-accent {
  background: #F6F7F9 !important;
}
.bg-primary {
  background: #204158 !important;
}
.bg-secondary {
  background: #3AB54A !important;
  color: #fff !important;
}
.text-accent {
  color: #F6F7F9 !important;
}
.text-primary {
  color: #204158 !important;
}
.text-secondary {
  color: #3AB54A !important;
}

/* ==== Z-INDEX LAYERS ==== */
header { z-index: 100; }
.mobile-menu { z-index: 999; }
.cookie-banner { z-index: 10004; }
.cookie-modal-overlay { z-index: 10010; }

/* ==== FOCUS & ACCESSIBILITY ==== */
a:focus, button:focus, .cta-primary:focus, .cookie-btn:focus {
  outline: 2px solid #3AB54A;
  outline-offset: 2px;
}

/* ==== HIDE ELEMENT UTIL ==== */
[hidden] { display: none !important; }
