/* CSS RESET & NORMALIZE */
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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #F5F2E0;
  color: #251747;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale; 
}
a {
  color: #432874;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #93C47D;
  text-decoration: underline;
}
ul, ol {
  padding-left: 20px;
  margin-bottom: 1.5em;
}
img {
  max-width: 100%;
  border-radius: 12px;
  display: block;
}
strong {
  font-weight: 700;
}

/* BRAND TYPOGRAPHY AND HEADINGS */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #432874;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 { font-size: 2.5rem; line-height: 1.15; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.3rem; margin-bottom: 10px; }
h4, h5, h6 { font-size: 1rem; }
p { margin-bottom: 1.2em; color: #2d1745; }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.1rem; }
}

/* SPACING & FLEX LAYOUTS */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px 0 rgba(67, 40, 116, 0.07);
  transition: box-shadow 0.3s;
}
.section:hover {
  box-shadow: 0 8px 28px 0 rgba(100, 80, 125, 0.14);
}

@media (max-width: 900px) {
  .section {
    padding: 24px 8px;
    margin-bottom: 36px;
  }
}

/* HERO SECTION */
.hero {
  background: linear-gradient(135deg, #FAF6E7 0%, #FFF 100%);
  padding: 44px 0 36px 0;
  border-radius: 0 0 36px 36px;
  box-shadow: 0 4px 20px 0 rgba(67, 40, 116, 0.04);
  margin-bottom: 40px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero h1 {
  font-size: 2.4rem;
  color: #432874;
  margin-bottom: 12px;
  text-align: center;
}
.hero p {
  color: #513884;
  font-size: 1.2rem;
  margin-bottom: 24px;
  text-align: center;
}

/* FEATURE GRID & FLEX STRUCTURE */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.feature-grid > div {
  background: #FFF;
  border-radius: 16px;
  box-shadow: 0 2px 10px 0 rgba(67, 40, 116, 0.07);
  flex: 1 1 240px;
  min-width: 240px;
  padding: 24px 18px;
  margin-bottom: 20px;
  transition: box-shadow 0.25s, transform 0.2s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.feature-grid > div:hover {
  box-shadow: 0 6px 28px 0 rgba(147, 196, 125,0.18);
  transform: translateY(-2px) scale(1.02);
}
/* For small screens flex to column */
@media (max-width: 900px) {
  .feature-grid {
    flex-direction: column;
    gap: 20px;
  }
  .feature-grid > div {
    width: 100%;
    min-width: unset;
  }
}

/* CARD CONTAINER & CARD */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background: #fff;
  padding: 20px 18px;
  border-radius: 16px;
  box-shadow: 0 2px 8px 0 rgba(147,196,125, 0.10);
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 260px;
  min-width: 220px;
  transition: box-shadow 0.2s, transform 0.15s;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.card:hover {
  box-shadow: 0 8px 24px 0 rgba(67, 40, 116, 0.09);
  transform: translateY(-4px);
}

/* FLEX CONTENT GRID */
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

/* TEXT-IMAGE SECTION (FOR LATER CONVENIENCE) */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

/* TESTIMONIALS */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-top: 8px;
  background: #FAF6E7;
  border-radius: 20px;
  box-shadow: 0 2px 12px 0 rgba(67, 40, 116, 0.070);
  justify-content: flex-start;
  flex-wrap: wrap;
}
.testimonial-card > div {
  background: #FFF;
  border-radius: 12px;
  padding: 18px 22px;
  min-width: 210px;
  box-shadow: 0 1px 7px 0 rgba(67,40,116,0.05);
  color: #351B54;
  font-size: 1rem;
  flex: 1 1 230px;
  margin-bottom: 8px;
}
.testimonial-card strong {
  display: block;
  color: #432874;
  margin-top: 10px;
}
.testimonial-card span {
  font-size: 1.1rem;
  margin-top: 5px;
  color: #e7af1a;
  display: block;
}
@media (max-width: 800px) {
  .testimonial-card {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .testimonial-card > div {
    width: 100%;
  }
}

/* TEXT SECTION */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.text-section ul {
  margin-bottom: 0;
}
.text-section li {
  padding-left: 4px;
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #513884;
  font-size: 1rem;
}
.text-section li img {
  width: 20px;
  height: 20px;
  filter: drop-shadow(0 0 5px #FFF5);
}

/* CONTACT DETAILS HOVERS */
.text-section a {
  color: #93C47D;
  font-weight: 600;
  text-underline-offset: 2px;
  border-bottom: 1px solid #93C47D44;
  transition: color 0.2s, border-color 0.2s;
}
.text-section a:hover {
  color: #432874;
  border-color: #43287433;
}

/* NAVBAR STYLES */
header {
  background: #fff;
  box-shadow: 0 4px 22px 0 rgba(67, 40, 116, 0.07);
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding: 0 24px;
}
.logo img {
  height: 48px;
  width: auto;
  border-radius: 12px;
}
nav {
  display: flex;
  gap: 30px;
  align-items: center;
}
nav a {
  color: #432874;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
  padding: 5px 12px;
  border-radius: 8px;
  transition: background 0.18s, color 0.15s;
}
nav a:hover,
nav a.active {
  background: #F5F2E0;
  color: #93C47D;
}
@media (max-width: 900px) {
  header .container nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* CTA BUTTONS */
.cta {
  display: inline-block;
  padding: 12px 28px;
  background: #606c5b;
  border-radius: 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  font-size: 1rem;
  box-shadow: 0 2px 6px 0 rgba(147,196,125,0.04);
  color: #432874;
  transition: background 0.2s, color 0.13s, box-shadow 0.13s, transform 0.19s;
  border: none;
  cursor: pointer;
}
.cta.primary {
  background: #432874;
  color: #fff;
  box-shadow: 0 3px 18px 0 rgba(67,40,116,0.08);
}
.cta.secondary {
  background: #FFF;
  color: #93C47D;
  border: 2px solid #93C47D88;
  box-shadow: 0 2px 9px 0 rgba(67,40,116,0.06);
}
.cta:hover,
.cta:focus {
  background: #b7e2aa;
  color: #251747;
  transform: translateY(-2px) scale(1.025);
  box-shadow: 0 6px 22px 0 rgba(67,40,116,0.13);
}
.cta.primary:hover,
.cta.primary:focus {
  background: #513884;
  color: #FFF;
}
.cta.secondary:hover,
.cta.secondary:focus {
  background: #93C47D;
  color: #fff;
}
:focus-visible {
  outline: 2px solid #93C47D;
  outline-offset: 2px;
}

/* FOOTER */
footer {
  background: #FFF;
  border-radius: 36px 36px 0 0;
  margin-top: 60px;
  box-shadow: 0 -2px 16px 0 rgba(67, 40, 116, 0.06);
  padding: 36px 0 18px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  justify-content: center;
}
footer nav {
  display: flex;
  gap: 28px;
}
footer nav a {
  color: #251747;
  font-size: 1rem;
  padding: 3px 10px 3px 10px;
  border-radius: 7px;
}
footer nav a:hover {
  background: #93C47D;
  color: #FFF;
}
footer p {
  font-size: 0.93rem;
  color: #6d4d91;
  margin-top: 8px;
}

/* FORMS AND INPUTS */
input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 14px;
  border: 1.5px solid #e3d5fa;
  border-radius: 10px;
  background: #FAF6E7;
  font-size: 1rem;
  color: #432874;
  transition: border-color 0.19s;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border-color: #93C47D;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: #93C47D;
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 12px;
  width: 48px;
  height: 48px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.14s;
  z-index: 1010;
}
.mobile-menu-toggle:hover {
  background: #432874;
  color: #F5F2E0;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(67,40,116,0.94);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.63,.01,.45,.99);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #FFF;
  font-size: 2.2rem;
  position: absolute;
  top: 24px;
  right: 28px;
  z-index: 2100;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 96px 0 0 36px;
}
.mobile-nav a {
  font-size: 1.22rem;
  color: #FFF;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  padding: 12px 6px 12px 0;
  border-radius: 12px;
  transition: color 0.16s, background 0.18s;
  min-width: 160px;
}
.mobile-nav a:hover {
  color: #93C47D;
  background: #faf6e74a;
  padding-left: 10px;
}

@media (min-width: 901px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
  header .container nav {
    display: flex !important;
  }
}
@media (max-width: 900px) {
  .mobile-menu-toggle {
    display: flex;
  }
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #FAF6E7;
  box-shadow: 0 -4px 18px 0 rgba(67,40,116,0.11);
  padding: 28px 16px 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 3000;
  transition: transform 0.45s cubic-bezier(.9,1,.71,.8), opacity 0.22s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hidden {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  max-width: 900px;
  text-align: center;
}
.cookie-banner-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.cookie-btn, .cookie-settings-btn {
  padding: 9px 22px;
  border: none;
  border-radius: 21px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0;
  box-shadow: 0 1px 7px 0 rgba(147,196,125,0.05);
  cursor: pointer;
  transition: background 0.16s, color 0.1s, box-shadow 0.19s;
}
.cookie-btn {
  background: #93C47D;
  color: #432874;
}
.cookie-btn.reject {
  background: #fff;
  color: #432874;
  border: 2px solid #93C47D77;
}
.cookie-btn:hover, .cookie-settings-btn:hover {
  background: #432874;
  color: #FFF;
}
.cookie-settings-btn {
  background: #fff;
  color: #93C47D;
  border: 2px solid #93C47D44;
}
.cookie-settings-btn:hover {
  background: #93C47D;
  color: #FFF;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(67,40,116,0.64);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.22s;
}
.cookie-modal-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 5px 44px 3px rgba(67,40,116,0.14);
  padding: 44px 32px 28px 32px;
  min-width: 295px;
  max-width: 420px;
  width: 98vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  position: relative;
  z-index: 4010;
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 26px;
  color: #432874;
  font-size: 1.7rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.cookie-modal h2 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}
.cookie-categories {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #FAF6E7;
  border-radius: 9px;
  padding: 8px 12px 8px 16px;
}
.cookie-category label {
  flex: 1;
  font-size: 1rem;
  color: #453466;
  font-family: 'Roboto',Arial,sans-serif;
}
.cookie-category input[type="checkbox"] {
  appearance: none;
  width: 28px;
  height: 18px;
  background: #e6e5f5;
  border-radius: 12px;
  position: relative;
  outline: none;
  transition: background 0.13s;
  cursor: pointer;
  margin-right: 4px;
}
.cookie-category input[type="checkbox"]:checked {
  background: #93C47D;
}
.cookie-category input[type="checkbox"]:disabled {
  background: #CECECE;
  cursor: not-allowed;
}
.cookie-category input[type="checkbox"]::before {
  content: '';
  display: block;
  position: absolute;
  left: 3px;
  top: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.15s;
}
.cookie-category input[type="checkbox"]:checked::before {
  left: 11px;
}
.cookie-category input[type="checkbox"]:disabled::before {
  background: #dedede;
}

/* GENERAL BUTTON STYLES */
button {
  font-family: 'Montserrat', Arial, sans-serif;
}
button:active {
  opacity: 0.93;
}

/* RESPONSIVE SPACING & FLEX RULES */
@media (max-width: 600px) {
  .container {
    padding: 0 5px;
  }
  .hero {
    padding: 30px 0 18px 0;
  }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 1.25rem; }
}

/* VISUAL MICRO ANIMATIONS */
.cta, .cta.primary, .cta.secondary, .cookie-btn, .cookie-settings-btn {
  will-change: background, color, box-shadow, transform;
}
.hero, .section, .card, .feature-grid > div, .testimonial-card, footer, .cookie-banner, .cookie-modal {
  transition-property: box-shadow, background, transform, color, opacity;
  transition-duration: 0.18s, 0.18s, 0.19s, 0.16s, 0.18s;
}

/* UTILITIES - GAPS, ALIGNMENT */
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }
.mb-48 { margin-bottom: 48px; }
.text-center { text-align: center; }

/* ENSURE MINIMUM CARD SPACING */
.card, .feature-grid > div, .card-container > *, .testimonial-card > div, .section {
  margin-bottom: 20px;
}

/* VISUAL HIERARCHY */
.section h2, .content-wrapper h2 {
  margin-top: 8px;
  margin-bottom: 16px;
  font-weight: 800;
}

/* ACCESSIBLE COLORS FOR DARK TEXT */
.testimonial-card p, .feature-grid p, .card p, .section p, .text-section {
  color: #351B54;
}

/* SCROLLBAR FOR BRAND CONSISTENCY */
body {
  scrollbar-width: thin;
  scrollbar-color: #93C47D #F5F2E0;
}
body::-webkit-scrollbar {
  width: 10px;
}
body::-webkit-scrollbar-thumb {
  background: #93C47D;
  border-radius: 14px;
}
body::-webkit-scrollbar-track {
  background: #F5F2E0;
}

/* MISC */
hr {
  border: none;
  border-top: 1.5px solid #e5e0f2;
  margin: 28px 0 18px 0;
}

/******* END OF CSS FILE ******/
