/* ========== CSS RESET AND NORMALIZATION ========== */
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;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*, *::before, *::after {
  box-sizing: inherit;
}

body {
  min-height: 100vh;
  background: #F2F6FB;
  font-family: 'Roboto', Arial, sans-serif;
  color: #2B3648;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}
a {
  color: #19436A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #7AC142;
  text-decoration: underline;
}
ul, ol {
  padding-left: 1.25em;
  margin: 16px 0;
}
li {
  margin-bottom: 8px;
}
strong, b {
  font-weight: 700;
}


/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #19436A;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.125rem;
}

@media (max-width: 768px) {
  h1 {
    font-size: 1.7rem;
  }
  h2 {
    font-size: 1.2rem;
  }
  h3 {
    font-size: 1rem;
  }
}

p {
  font-size: 1.06rem;
  color: #384660;
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}
.section p, .services-listing p, .services-overview p, .legal p {
  font-size: 1.07rem;
}
.text-section {
  margin-bottom: 16px;
  color: #466586;
  font-size: 1rem;
}

span {
  color: #7AC142;
  font-weight: 600;
}

/* ========== LAYOUT CONTAINERS ========== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 8px;
  }
}


/* ========== HEADER & NAVIGATION ========== */
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(64, 91, 172, 0.06);
  position: sticky;
  top: 0;
  z-index: 1020;
  width: 100%;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.main-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #19436A;
  padding: 5px 2px;
  border-radius: 5px;
  transition: background 0.18s, color 0.18s;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.main-nav a:hover, .main-nav a:focus {
  color: #fff;
  background: #7AC142;
}

.cta-primary {
  background: #7AC142;
  color: #fff !important;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  border: none;
  border-radius: 28px;
  padding: 12px 28px;
  margin-left: 10px;
  margin-right: 10px;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(64,91,172,0.08);
  transition: background 0.22s, box-shadow 0.24s;
  outline: none;
  display: inline-block;
  letter-spacing: 0.03em;
}
.cta-primary:hover, .cta-primary:focus {
  background: #19436A;
  color: #fff;
  box-shadow: 0 4px 18px rgba(122,193,66,0.08);
  text-decoration: none;
}

.mobile-menu-toggle {
  display: none;
}

@media (max-width: 980px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
    background: transparent;
    border: none;
    font-size: 2.3rem;
    color: #19436A;
    cursor: pointer;
    margin-left: 8px;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    line-height: 1;
    height: 40px;
    width: 48px;
    border-radius: 8px;
    transition: background 0.19s;
  }
  .mobile-menu-toggle:focus,
  .mobile-menu-toggle:hover {
    background: #e4ecfa;
    color: #7AC142;
  }
}

.logo, header img {
  height: 44px;
  width: auto;
  border-radius: 0;
}
@media (max-width: 680px) {
  .logo, header img {
    height: 36px;
  }
  .cta-primary {
    padding: 10px 20px;
    font-size: 1rem;
  }
}


/* ========== MOBILE MENU ========== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(249,252,255, 0.97);
  z-index: 1040;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.46,0.03,0.52,0.96);
  box-shadow: 0 6px 40px rgba(64, 91, 172, 0.04);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: transparent;
  border: none;
  font-size: 2.1rem;
  color: #19436A;
  align-self: flex-end;
  margin: 22px 18px 0 0;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #7AC142;
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 24px 34px 0 34px;
}
.mobile-nav a {
  font-size: 1.15rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #2B3648;
  padding: 12px 0;
  border-radius: 6px;
  min-width: 190px;
  margin-bottom: 6px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: background 0.16s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #e3f6d0;
  color: #7AC142;
  text-decoration: underline;
}

@media (max-width: 980px) {
  .mobile-menu {
    display: flex;
  }
}

@media (min-width: 981px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}


/* ========== HERO / SECTION LAYOUTS ========== */
.section,
.hero,
.features,
.services-overview,
.services-listing,
.testimonials,
.contact-details,
.about-mission,
.team-intro,
.legal,
.thank-you {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 24px rgba(30,81,166,0.06);
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

@media (max-width: 768px) {
  .section,
  .hero,
  .features,
  .services-overview,
  .services-listing,
  .testimonials,
  .contact-details,
  .about-mission,
  .team-intro,
  .legal,
  .thank-you {
    margin-bottom: 36px;
    padding: 28px 6px;
    border-radius: 16px;
  }
}
.hero {
  background: linear-gradient(160deg,#F2F6FB 40%, #dbeffa 100%);
  box-shadow: none;
  margin-bottom: 44px;
}
.hero h1, .hero p {
  color: #19436A;
}
.hero .cta-primary {
  margin-top: 8px;
}


/* ========== FLEXBOX GRIDS & CARDS ========== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.feature-grid > div {
  background: #F7F9FF;
  border-radius: 18px;
  padding: 28px 22px 24px;
  box-shadow: 0 4px 16px rgba(121,172,193,0.06);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  flex: 1 1 230px;
  min-width: 230px;
  max-width: 300px;
  margin-bottom: 20px;
  border: 1px solid #E2E7F3;
  transition: box-shadow 0.20s, transform 0.17s;
}
.feature-grid > div:hover,
.feature-grid > div:focus-within {
  box-shadow: 0 8px 32px rgba(121,172,193,0.13);
  transform: translateY(-3px) scale(1.02);
}
.feature-grid img {
  height: 52px;
  width: 52px;
  margin-bottom: 8px;
}

/* Testimonial Card */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 24px;
  border-radius: 20px;
  background: #f9fdf7;
  box-shadow: 0 2px 12px rgba(170,224,147,0.08);
  border: 1px solid #d6edc7;
}
.testimonial-card p {
  color: #19436A;
  font-size: 1.09rem;
  font-style: italic;
}
.testimonial-name {
  color: #7AC142;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.99rem;
  font-weight: 600;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #FFFFFF;
  border-radius: 14px;
  margin-bottom: 20px;
  position: relative;
  padding: 24px 18px;
  box-shadow: 0 2px 10px rgba(88,140,172, 0.07);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.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;
}

@media (max-width: 900px) {
  .feature-grid {
    flex-direction: column;
  }
  .content-grid {
    flex-direction: column;
  }
}
@media (max-width: 768px) {
  .feature-grid > div {
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }
  .testimonial-card {
    padding: 14px;
    border-radius: 12px;
  }
  .text-image-section, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
}


/* ========== SERVICE LISTING / OVERVIEW ========== */
.services-overview ul,
.services-listing ul {
  margin-bottom: 18px;
}
.services-overview li,
.services-listing li {
  background: #F2F6FB;
  border-radius: 11px;
  padding: 16px 18px;
  margin-bottom: 15px;
  color: #446684;
}
.services-overview strong,
.services-listing strong {
  color: #19436A;
}
.services-overview span,
.services-listing span {
  color: #7AC142;
  font-weight: 700;
}
.services-listing .text-section ul {
  margin-top: 6px;
}


/* ========== FOOTER ========== */
footer {
  width: 100%;
  background: #F2F6FB;
  border-top: 2px solid #E9F0F9;
  color: #284A64;
}
footer .container {
  padding: 28px 0 24px 0;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}
footer nav {
  margin: 16px 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.97rem;
  color: #19436A;
}
footer nav a {
  color: #19436A;
  margin: 0 5px;
  transition: color 0.17s;
}
footer nav a:hover, footer nav a:focus {
  color: #7AC142;
}
footer p {
  font-size: 0.98rem;
  margin-bottom: 10px;
  color: #446684;
}
footer .social-media {
  display: flex;
  gap: 16px;
  margin-top: 6px;
}
footer .social-media a img {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: #e6eeff;
  transition: background 0.19s, box-shadow 0.21s;
  box-shadow: 0 1px 4px rgba(64,91,172,0.06);
}
footer .social-media a:hover img,
footer .social-media a:focus img {
  background: #C8F1B8;
  box-shadow: 0 4px 14px rgba(122,193,66,0.08);
}

@media (max-width: 850px) {
  footer .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}


/* ========== LEGAL PAGES ========== */
.legal h1, .legal h2 {
  margin-top: 8px;
  margin-bottom: 9px;
}
.legal ul {
  margin-bottom: 12px;
}


/* ========== THANK YOU PAGE ========== */
.thank-you .text-section {
  margin-bottom: 16px;
}
.thank-you a.cta-primary {
  margin-top: 24px;
}


/* ========== BUTTONS & INTERACTIVES ========== */
button, .cta-primary {
  transition: background 0.25s, color 0.2s, box-shadow 0.21s, transform 0.18s;
  outline: none;
}
button:active,
.cta-primary:active {
  transform: scale(0.97);
}
button:focus-visible,
.cta-primary:focus-visible {
  box-shadow: 0 0 0 3px #e8ffe3;
}

/* ========== FORM FIELDS (if any used/added later) ========== */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  border: 1px solid #DDE9F4;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 1rem;
  margin-bottom: 14px;
  background: #F8FBFF;
  transition: border 0.18s;
}
input:focus, textarea:focus, select:focus {
  border-color: #7AC142;
  background: #F9FFF5;
}


/* ========== COOKIE CONSENT BANNER ========== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1200;
  background: #fffbea;
  border-top: 2px solid #7AC142;
  box-shadow: 0 -2px 16px rgba(71,139,57,0.07);
  padding: 22px 18px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 28px;
  font-size: 1.00rem;
  color: #455561;
  transition: transform 0.36s cubic-bezier(0.46,0.03,0.52,0.96), opacity 0.24s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(140%);
}
.cookie-banner p {
  margin: 0 16px 0 0;
  font-size: 1rem;
  color: #2B3648;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
}
.cookie-banner button {
  padding: 10px 22px;
  border: none;
  border-radius: 22px;
  background: #e7fbdc;
  color: #19436A;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.16s, color 0.18s;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-banner button.cookie-accept {
  background: #7AC142;
  color: #fff;
}
.cookie-banner button.cookie-accept:hover {
  background: #19436A;
  color: #fff;
}
.cookie-banner button.cookie-reject {
  background: #F8CDC4;
  color: #80504f;
}
.cookie-banner button.cookie-reject:hover {
  background: #ec6363;
  color: #fff;
}
.cookie-banner button.cookie-settings {
  background: #e7fbdc;
  color: #19436A;
}
.cookie-banner button.cookie-settings:hover {
  background: #d4efe8;
  color: #7AC142;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    font-size: 0.98rem;
    padding: 18px 3vw;
  }
  .cookie-banner .cookie-actions {
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }
}

/* COOKIE SETTINGS MODAL */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 1300;
  background: rgba(36,90,80,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.22s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  box-shadow: 0 8px 36px rgba(56,150,122,0.13);
  border-radius: 22px;
  max-width: 400px;
  width: 92vw;
  padding: 34px 24px 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 19px;
  animation: modalFadeIn 0.45s cubic-bezier(0.46,0.03,0.52,0.96);
  position: relative;
}
@keyframes modalFadeIn {
  from { opacity:0; transform: translateY(46px) scale(0.93); }
  to { opacity:1; transform: translateY(0) scale(1); }
}
.cookie-modal h3 {
  font-size: 1.32rem;
  margin-bottom: 10px;
  color:#19436A;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 11px;
  margin-bottom: 12px;
}
.cookie-modal .cookie-category label {
  font-size: 1.01rem;
  color: #384660;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
.cookie-modal .cookie-category .toggle {
  width: 38px;
  height: 22px;
  border-radius: 16px;
  background: #e6f8e7;
  position: relative;
  margin-right: 7px;
  cursor: pointer;
  border: 1px solid #b5e7bc;
  transition: background 0.18s;
  flex-shrink: 0;
}
.cookie-modal .cookie-category .toggle.active {
  background: #7AC142;
  border: 1px solid #7AC142;
}
.cookie-modal .cookie-category .toggle::after {
  content: '';
  display: block;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  top: 1.5px;
  left: 2px;
  transition: left 0.20s, background 0.17s;
  box-shadow: 0 1px 2px rgba(100,100,80,0.12);
}
.cookie-modal .cookie-category .toggle.active::after {
  left: 16px;
}
.cookie-modal .cookie-category input[type="checkbox"] {
  display: none;
}
.cookie-modal .modal-actions {
  margin-top: 20px;
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal .modal-actions button {
  padding: 8px 18px;
  border-radius: 16px;
  font-size: 1.01rem;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal .modal-actions .cookie-accept {
  background: #7AC142;
  color: #fff;
}
.cookie-modal .modal-actions .cookie-cancel {
  background: #edf3fe;
  color: #19436A;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  right: 14px; top: 14px;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: #19436A;
  cursor: pointer;
}
.cookie-modal .cookie-modal-close:hover {
  color: #7AC142;
}


/* ========== SPACING, MISC, SOFT-PASTEL DECOR ========== */
body {
  background: #F2F6FB;
}
::-webkit-scrollbar {
  width: 12px;
  background: #e4f2f5;
}
::-webkit-scrollbar-thumb {
  background: #cee2ef;
  border-radius: 12px;
}
::-webkit-scrollbar-thumb:hover {
  background: #7AC142;
}

/* Micro pastel background elements (optional, decorative, not absolute for cards) */
.section::before, .features::before, .hero::before {
  content: '';
  display: block;
  position: absolute;
  z-index: 0;
  pointer-events: none;
  border-radius: 110px;
  opacity: 0.10;
  filter: blur(1.5px);
}
.hero::before {
  left: 40%; top: 0px;
  width: 230px; height: 120px;
  background: #7AC142;
}
.features::before {
  right: 0; top: 48px;
  width: 180px; height: 100px;
  background: #AED8F1;
}
@media (max-width: 660px) {
  .hero::before, .features::before {
    display: none;
  }
}

/* Soft pastel shadows and effects for dreamy, gentle feel */
.section, .features, .testimonials, .services-overview, .services-listing, .about-mission, .team-intro, .contact-details, .legal, .thank-you {
  box-shadow: 0 2px 24px rgba(141,195,214, 0.07), 0 0.5px 2px rgba(122,193,66,0.04);
}
.card, .feature-grid > div, .testimonial-card {
  box-shadow: 0 2px 14px rgba(99,121,158,0.07);
  border-radius: 14px;
}

/* Minimum margins between content cards/sections */
.card, .feature-grid > div, .testimonial-card, .section > * {
  margin-bottom: 20px;
}

/* Hide empty last margin */
.card:last-child, .feature-grid > div:last-child, .testimonial-card:last-child, .section > *:last-child {
  margin-bottom: 0 !important;
}

/* ========== RESPONSIVE ADJUSTMENTS ========== */
@media (max-width: 600px) {
  h1 {
    font-size: 1.25rem;
  }
  .container {
    padding-left: 2vw;
    padding-right: 2vw;
  }
  .section, .hero, .features, .services-overview, .services-listing, .testimonials, .about-mission, .team-intro, .contact-details, .legal, .thank-you {
    padding: 10px 2vw;
  }
}


/* ========== FOCUS STYLES FOR ACCESSIBILITY ========== */
a:focus, button:focus, input:focus, .cta-primary:focus {
  outline: 2px solid #7AC142;
  outline-offset: 2px;
}

/* ========== HIDE DECORATE BEFORE FOR LEGAL SECTIONS ========== */
.legal::before { display: none !important; }


/* ========== ANIMATION FOR MICRO-INTERACTIONS ========== */
.cta-primary, button, .card, .feature-grid > div, .testimonial-card {
  transition: box-shadow 0.21s, background 0.18s, color 0.18s, transform 0.17s;
}
.card:hover, .feature-grid > div:hover, .testimonial-card:hover {
  box-shadow: 0 8px 40px rgba(121,172,193,0.12);
  transform: translateY(-3px);
}

/* ========== UTILITY: TEXT ALIGN AND FLEX START ========== */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ========== END OF CSS ========== */
