/* === CSS RESET & NORMALIZATION (Mobile-First, Flex Only) === */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #FFF9F3;
  color: #1C2331;
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1em;
}
li {
  margin-bottom: 0.6em;
  line-height: 1.5;
}
a {
  color: #14A098;
  text-decoration: none;
  transition: color 0.2s;
  cursor: pointer;
  font-weight: 500;
}
a:hover,
a:focus {
  color: #F6C65B;
  text-decoration: underline;
}
button {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
}
::selection {
  background: #F6C65B;
  color: #1C2331;
}

/* === BRAND TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #1C2331;
  letter-spacing: 0.01em;
  font-weight: 700;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 1.7rem;
  margin-bottom: 15px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}
p {
  margin-bottom: 1em;
  font-size: 1.04rem;
}
strong {
  font-weight: 700;
}

/* === CONTAINER === */
.container {
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 16px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}


/* === SECTIONS & LAYOUTS (Spacing Patterns) === */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(30,14,2,0.07);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(246,198,91,0.18);
  transform: translateY(-3px) scale(1.015);
}
.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: #FFFDF7;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(28,35,49,0.11);
  margin-bottom: 24px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* === HERO BANNER === */
.hero {
  background: #FFF1DC;
  border-radius: 0 0 32px 32px;
  box-shadow: 0 8px 32px rgba(246,198,91,0.07);
  margin-bottom: 48px;
  padding-top: 40px;
  padding-bottom: 40px;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 18px;
}
.hero h1 {
  font-size: 2.4rem;
  color: #1C2331;
}
.hero p {
  color: #454857;
}

/* === FEATURE GRID === */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  list-style: none;
}
.feature-grid li {
  flex: 1 1 220px;
  min-width: 210px;
  max-width: 275px;
  background: #FFF;
  border-radius: 22px;
  box-shadow: 0 4px 16px rgba(28,35,49,0.11);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 18px 26px 18px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.18s;
  position: relative;
}
.feature-grid li:hover {
  box-shadow: 0 8px 32px rgba(246,198,91,0.14);
  transform: translateY(-2px) scale(1.01);
}
.feature-grid img {
  width: 62px;
  height: 62px;
  object-fit: contain;
  margin-bottom: 13px;
  background: #FFF9F3;
  border-radius: 50%;
  border: 2.5px solid #F6C65B;
  padding: 5px;
}
.feature-grid h3 {
  color: #1C2331;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.12rem;
  margin-bottom: 6px;
}

/* === CTA BUTTONS === */
.cta {
  display: inline-block;
  border-radius: 26px;
  padding: 12px 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 8px rgba(246,198,91,0.13);
  border: none;
  cursor: pointer;
  outline: none;
  margin-top: 10px;
  transition: background 0.19s, color 0.18s, box-shadow 0.19s, transform 0.17s;
}
.cta.primary {
  background: #F6C65B;
  color: #1C2331;
}
.cta.primary:hover,
.cta.primary:focus {
  background: #14A098;
  color: #FFF;
  box-shadow: 0 4px 18px rgba(20,160,152,0.22);
  transform: translateY(-1px) scale(1.04);
}
.cta.secondary {
  background: #14A098;
  color: #FFF;
}
.cta.secondary:hover,
.cta.secondary:focus {
  background: #F6C65B;
  color: #1C2331;
  box-shadow: 0 4px 18px rgba(246,198,91,0.16);
  transform: translateY(-1px) scale(1.05);
}

/* === NAVIGATION === */
header {
  width: 100%;
  background: #FFF9F3;
  box-shadow: 0 1px 6px rgba(246,198,91,0.05);
}
.main-navigation {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  padding: 16px 20px 14px 20px;
  background: transparent;
  flex-wrap: wrap;
}
.main-navigation a {
  color: #1C2331;
  padding: 8px 15px;
  border-radius: 18px;
  text-decoration: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.01rem;
  font-weight: 500;
  transition: background 0.17s, color 0.17s;
}
.main-navigation a:hover,
.main-navigation a:focus {
  background: #F6C65B;
  color: #1C2331;
  text-decoration: none;
}
.main-navigation .cta.primary {
  margin-left: 10px;
}
.main-navigation img {
  height: 38px;
  width: auto;
  margin-right: 10px;
  border-radius: 7px;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
  display: block;
  margin-left: auto;
  padding: 9px 16px;
  font-size: 2rem;
  background: #F6C65B;
  color: #1C2331;
  border-radius: 18px;
  border: none;
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 1502;
  box-shadow: 0 2px 8px rgba(28,35,49,0.12);
  transition: background 0.18s, color 0.18s, box-shadow 0.17s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #14A098;
  color: #FFF;
  box-shadow: 0 4px 18px rgba(20,160,152,0.13);
}

/* Hide hamburger & mobile menu by default on desktop */
.mobile-menu-toggle,
.mobile-menu {
  display: none;
}

/* === MOBILE NAVIGATION MENU === */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: 2000;
  background: #FFF1DC;
  box-shadow: 0 4px 32px rgba(246,198,91,0.28);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 32px;
  transform: translateX(110%);
  transition: transform 0.34s cubic-bezier(.58,.3,.25,1.15);
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: #F6C65B;
  color: #1C2331;
  font-size: 2.2rem;
  border-radius: 17px;
  margin-top: 28px;
  margin-bottom: 30px;
  box-shadow: 0 2px 8px rgba(28,35,49,0.14);
  padding: 6px 12px;
  z-index: 2003;
  transition: background 0.19s, color 0.19s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #14A098;
  color: #FFF;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}
.mobile-nav a {
  color: #1C2331;
  background: #FFFCED;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  padding: 13px 18px;
  border-radius: 16px;
  margin-bottom: 5px;
  width: 100%;
  transition: background 0.16s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #14A098;
  color: #FFF;
}

/* == RESPONSIVE NAVIGATION == */
@media (max-width: 900px) {
  .main-navigation a {
    padding: 8px 10px;
    font-size: 0.97rem;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 97vw;
    padding: 0 8px;
  }
  .main-navigation {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .mobile-menu {
    display: flex;
    width: 100vw;
    max-width: 100vw;
    min-height: 100vh;
    padding-top: 20px;
    padding-bottom: 30px;
  }
}

/* === FOOTER === */
footer {
  width: 100%;
  background: #FFE8B5;
  border-radius: 32px 32px 0 0;
  box-shadow: 0 -2px 24px rgba(246,198,91,0.11);
  padding-top: 36px;
  padding-bottom: 14px;
  font-size: 0.97rem;
  color: #1C2331;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-contact img {
  height: 48px;
  width: auto;
  border-radius: 9px;
  margin-bottom: 10px;
}
.footer-contact p, .footer-contact a {
  color: #1C2331;
  font-size: 0.97rem;
}
.footer-contact a:hover, .footer-contact a:focus {
  color: #14A098;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-nav a {
  color: #1C2331;
  padding: 4px 0px;
  border-radius: 14px;
  transition: background 0.16s, color 0.16s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  background: #14A098;
  color: #FFF;
}
.footer-social {
  display: flex;
  gap: 12px;
  align-items: center;
}
.footer-social a {
  display: flex;
  border-radius: 100%;
  background: #FFF9F3;
  box-shadow: 0 1px 4px #F6C65B80;
  padding: 5px;
  transition: background 0.15s;
}
.footer-social a:hover,
.footer-social a:focus {
  background: #F6C65B;
}
.footer-social img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

@media (max-width: 835px) {
  .footer-social {
    gap: 7px;
  }
  footer .content-wrapper {
    gap: 18px;
  }
}
@media (max-width: 768px) {
  footer .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

/* === TEXT IMAGE SECTION === */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .feature-grid {
    flex-direction: column;
    align-items: stretch;
  }
}

/* === LISTS, LINKS, and TABLES === */
.text-section ul,
.text-section ol {
  margin-left: 1.3em;
  margin-bottom: 1em;
  font-size: 1.04rem;
}
.text-section ul li, .feature-item li {
  margin-bottom: 0.5em;
}
.text-section a {
  color: #14A098;
  text-decoration: underline;
  font-weight: 500;
}
.text-section a:hover,
.text-section a:focus {
  color: #F6C65B;
  text-decoration: underline;
}

/* === TESTIMONIAL CARD STYLES (in case reviews/testimonials are added) === */
.testimonial-card {
  background: #FFFDF7;
  color: #1C2331;
  box-shadow: 0 4px 24px rgba(28,35,49,0.13);
}
.testimonial-card .testimonial-author {
  font-weight: 700;
  color: #14A098;
  font-size: 1.08rem;
}
.testimonial-card .testimonial-content {
  font-family: 'Roboto', Arial, sans-serif;
  color: #33343a;
  font-size: 1.02rem;
}

/* === FORMS (fallback, in case forms are later added) === */
input, textarea, select {
  width: 100%;
  padding: 11px 15px;
  border-radius: 16px;
  border: 1.5px solid #F6C65B;
  background: #FFF;
  font-family: inherit;
  font-size: 1rem;
  margin-bottom: 18px;
  color: #1C2331;
  box-shadow: 0 1px 4px rgba(246,198,91,0.07);
  transition: border 0.18s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border: 1.5px solid #14A098;
  background: #FFF9F3;
}
::placeholder {
  color: #BCBCBC;
  opacity: 1;
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  z-index: 3200;
  background: #1C2331;
  color: #FFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 22px 18px 22px;
  box-shadow: 0 -4px 28px rgba(28,35,49,0.22);
  gap: 13px;
  font-size: 1rem;
  animation: cookie-in 0.44s cubic-bezier(.68,.04,.22,1.1) both;
}
@keyframes cookie-in {
  from {transform: translateY(100%); opacity: 0;}
  to   {transform: translateY(0); opacity: 1;}
}
.cookie-banner p {
  color: #FFF;
  margin-bottom: 0.6em;
  font-size: 1rem;
}
.cookie-banner-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 2px;
}
.cookie-banner .cookie-btn {
  background: #F6C65B;
  color: #1C2331;
  border-radius: 22px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 9px 22px;
  margin-bottom: 3px;
  margin-right: 0px;
  box-shadow: 0 1px 6px rgba(246,198,91,0.18);
  cursor: pointer;
  transition: background 0.18s, color 0.15s, box-shadow 0.14s;
}
.cookie-banner .cookie-btn.settings {
  background: #14A098;
  color: #FFF;
  margin-left: 2px;
}
.cookie-banner .cookie-btn:hover,
.cookie-banner .cookie-btn:focus {
  background: #14A098;
  color: #FFF;
  box-shadow: 0 1.5px 9px rgba(20,160,152,0.12);
}
.cookie-banner .cookie-btn.settings:hover,
.cookie-banner .cookie-btn.settings:focus {
  background: #F6C65B;
  color: #1C2331;
}

/* === COOKIE SETTINGS MODAL === */
.cookie-modal-overlay {
  position: fixed;
  top:0; left:0; width:100vw; height:100vh;
  background: rgba(28,35,49,0.55);
  z-index: 3001;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookie-fadein 0.5s both;
}
@keyframes cookie-fadein {
  from {opacity: 0;}
  to {opacity: 1;}
}
.cookie-modal {
  background: #FFF;
  color: #1C2331;
  border-radius: 22px;
  min-width: 320px;
  max-width: 98vw;
  width: 425px;
  box-shadow: 0 8px 32px rgba(246,198,91,0.17);
  padding: 32px 28px 26px 26px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  animation: cookie-popup 0.5s cubic-bezier(.72,.03,.31,0.99) both;
}
@keyframes cookie-popup {
  from {transform: scale(0.86); opacity: 0;}
  to {transform: scale(1); opacity: 1;}
}
.cookie-modal h3 {
  font-size: 1.21rem;
  font-family: 'Montserrat';
  margin-bottom: 12px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  margin-bottom: 11px;
  gap: 12px;
}
.cookie-modal .category-label {
  font-size: 1rem;
  font-weight: 600;
  color: #1C2331;
  font-family: 'Montserrat';
}
.cookie-modal .cookie-modal-btns {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.cookie-modal .cookie-modal-btn {
  background: #14A098;
  color: #FFF;
  border-radius: 17px;
  padding: 8px 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  margin-bottom: 2px;
  margin-right: 0px;
  box-shadow: 0 1px 6px rgba(20,160,152,0.11);
  transition: background 0.17s, color 0.17s;
}
.cookie-modal .cookie-modal-btn:hover, .cookie-modal .cookie-modal-btn:focus {
  background: #F6C65B;
  color: #1C2331;
}
.cookie-modal .cookie-category input[type=checkbox] {
  accent-color: #F6C65B;
  width: 20px;
  height: 20px;
  border-radius: 7px;
  outline: 2px solid #F6C65B;
}
.cookie-modal .always-on {
  color: #999;
  font-style: italic;
  margin-left: 7px;
  font-size: 0.93em;
}
.cookie-modal-close {
  position: absolute;
  top: 20px;
  right: 18px;
  background: #F6C65B;
  color: #1C2331;
  font-size: 1.42rem;
  border-radius: 12px;
  padding: 4px 12px;
  border: none;
  cursor: pointer;
  transition: background 0.17s, color 0.17s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  background: #14A098;
  color: #FFF;
}

/* === GENERAL RESPONSIVE & FLEX SETTINGS === */
@media (max-width: 850px) {
  .feature-grid li {
    flex-basis: calc(50% - 24px);
    max-width: initial;
  }
}
@media (max-width: 650px) {
  section, .section {
    padding: 24px 3vw;
    margin-bottom: 42px;
  }
  .card {
    padding: 16px 10px;
  }
  .hero {
    padding-top: 24px;
    padding-bottom: 24px;
  }
}
@media (max-width: 500px) {
  .feature-grid li {
    flex-basis: 100%;
    min-width: 0;
  }
  .hero h1 {
    font-size: 1.32rem;
  }
  .hero {
    border-radius: 0 0 18px 18px;
  } 
}

/* === SCROLLBAR STYLING for warm/friendly feel === */
::-webkit-scrollbar {
  width: 12px;
  background: #FFEFD1;
  border-radius: 7px;
}
::-webkit-scrollbar-thumb {
  background: #F6C65B;
  border-radius: 7px;
}

/* === Miscellaneous Utilities === */
.align-center {
  text-align: center;
}
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.gap-24 { gap: 24px; }
.gap-16 { gap: 16px; }

/* === DARK TEXT FOR TESTIMONIAL SECTIONS === */
.testimonial-card, .review-card {
  background: #FFFDF7;
  color: #1C2331;
}

/* === Z-INDEX LAYERS === */
header, .main-navigation, .mobile-menu, .cookie-banner, .cookie-modal-overlay { z-index: 1200; }

/* === TRANSITIONS FOR VISUAL MICRO-INTERACTIONS === */
a, .cta, .main-navigation a, .mobile-menu-toggle, .mobile-menu-close, .cookie-btn, .cookie-modal-btn {
  transition: color 0.19s, background 0.19s, box-shadow 0.17s, transform 0.16s;
}

/* === ACCESSIBILITY === */
:focus {
  outline: 2px solid #14A098;
  outline-offset: 1px;
}

/* === PRINT === */
@media print {
  header, footer, .cookie-banner, .cookie-modal-overlay, .mobile-menu { display: none !important; }
  section, .section, .container { box-shadow: none !important; padding: 0 !important; }
}
