/* === 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;
}
footer p {
  color:white;
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background: #E5F2FB;
  color: #234C6F;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}
img, svg {
  max-width: 100%;
  display: block;
}
a {
  color: #1B9B6A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #FFB63E;
  outline: none;
}
ul, ol {
  padding-left: 24px;
  margin-bottom: 20px;
}
li {
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #234C6F;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 18px;
  line-height: 1.12;
}
h2 {
  font-size: 1.75rem;
  margin-bottom: 12px;
  margin-top: 8px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 6px;
  margin-top: 8px;
}
h4, h5, h6 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}
p {
  margin-bottom: 12px;
  color: #234C6F;
  font-size: 1rem;
}
strong {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #17714A;
}

/* === BRAND COLORS & PLAYFUL DYNAMIC VARIABLES === */
:root {
  --color-primary: #234C6F;
  --color-secondary: #E5F2FB;
  --color-accent: #1B9B6A;
  --color-accent-alt: #FFB63E;
  --color-white: #FFFFFF;
  --color-dark: #1B2836;
  --color-card-bg: #fff;
  --color-card-shadow: rgba(27, 155, 106, 0.09);
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
  --radius: 18px;
}

/* === LAYOUT & CONTAINERS === */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.section {
  background: transparent;
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  .section {
    padding: 30px 6px;
    margin-bottom: 36px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-card-bg);
  border-radius: var(--radius);
  box-shadow: 0 4px 24px 0 var(--color-card-shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 26px 18px;
  min-width: 270px;
  flex: 1 1 300px;
  transition: transform 0.16s cubic-bezier(.41,.23,.58,1.2), box-shadow 0.20s;
}
.card:hover {
  transform: translateY(-5px) scale(1.02) rotate(-1deg);
  box-shadow: 0 7px 32px 0 rgba(27,155,106,0.16);
}

/* === FLEX LAYOUT PATTERNS === */
.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: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  color: #1B2836;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(35,76,111,0.06);
  position: relative;
  flex-direction: row;
  font-size: 1.06rem;
  animation: pop-in 0.65s cubic-bezier(.49,1.46,.35,.99) 1;
  z-index: 1;
}
.testimonial-card span {
  color: #1B9B6A;
  font-weight: 700;
  font-family: var(--font-display);
  margin-left: auto;
}
@media (max-width: 500px) {
  .testimonial-card {
    flex-direction: column;
    padding: 18px 10px;
  }
  .testimonial-card span {
    margin-left: 0;
  }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

.client-logos {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.client-logos img {
  width: 52px;
  height: auto;
  filter: drop-shadow(0 2px 9px rgba(35,76,111,0.08));
  transition: transform 0.28s cubic-bezier(.41,.23,.58,1.2);
}
.client-logos img:hover {
  transform: scale(1.18) rotate(-4deg);
}

.text-section {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 1px 6px rgba(35,76,111,0.04);
  padding: 22px 18px;
  margin-bottom: 24px;
  font-size: 1.05rem;
}
@media (max-width: 590px) {
  .text-section {
    padding: 14px 6px;
    font-size: 1rem;
  }
}

/* === HEADER & NAVIGATION === */
header {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 0;
  position: relative;
  z-index: 60;
  min-height: 64px;
  box-shadow: 0 2px 12px rgba(27, 155, 106, 0.06);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  gap: 12px;
}
header img {
  height: 42px;
  width: auto;
  margin-right: 28px;
}
.main-nav {
  display: flex;
  gap: 25px;
  align-items: center;
}
.main-nav a {
  color: var(--color-white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.01rem;
  letter-spacing: 0.03em;
  border-radius: 12px;
  padding: 7px 18px;
  transition: background 0.18s, color 0.22s, transform .15s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--color-accent-alt);
  background: rgba(255, 182, 62, 0.09);
  transform: scale(1.07);
}

.cta-primary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 13px 32px;
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  border: none;
  border-radius: 42px;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(27,155,106,0.11);
  margin-left: 24px;
  transition: background 0.18s, transform 0.17s;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1;
}
.cta-primary:hover {
  background: #17714A;
  transform: scale(1.07) rotate(-1deg);
  color: #FFB63E;
}

.cta-secondary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 11px 26px;
  background: #FFB63E;
  color: #234C6F;
  font-family: var(--font-display);
  font-weight: 700;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  margin-top: 15px;
  font-size: 1rem;
  transition: background 0.16s, color 0.12s, transform 0.15s;
}
.cta-secondary:hover {
  background: #fff;
  color: var(--color-accent);
  outline: 2px solid #FFB63E;
  transform: scale(1.06);
}

/* --- Burger & Mobile Menu --- */
.mobile-menu-toggle {
  display: none;
  background: none;
  font-size: 2.1rem;
  border: none;
  color: #fff;
  cursor: pointer;
  z-index: 999;
  margin-left: 18px;
  transition: color 0.15s, transform 0.21s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  color: #FFB63E;
  transform: scale(1.08);
}

@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(110deg, #234C6F 85%, #FFB63E 100%);
  color: #fff;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateX(-100vw);
  transition: transform .44s cubic-bezier(.56,1.53,.27,.91);
  box-shadow: 4px 0 32px 0 rgba(27,155,106,0.18);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 22px 0 16px 0;
  align-self: flex-end;
  background: none;
  color: #fff;
  font-size: 2.2rem;
  border: none;
  cursor: pointer;
  padding: 2px 21px 3px 21px;
  transition: color 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #FFB63E;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  padding: 0 32px;
  margin-top: 22px;
}
.mobile-nav a {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.22rem;
  letter-spacing: 0.02em;
  padding: 14px 4px;
  border-radius: 10px;
  transition: background 0.12s, color .13s, transform 0.11s;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: rgba(255,182,62,0.12);
  color: #FFB63E;
  transform: scale(1.05);
}

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

/* Sticky header shadow effect */
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    gap: 9px;
    padding: 7px 6px;
  }
  header img { height: 32px; }
  .cta-primary { padding: 9px 20px; font-size: 1rem; margin-left: 8px; }
}

/* === FOOTER === */
footer {
  background: #234C6F;
  color: #fff;
  padding: 0;
  position: relative;
  margin-top: 60px;
  line-height: 1.6;
  font-size: 1rem;
  z-index: 2;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 20px 22px 20px;
}
.footer-logo img {
  width: 54px;
  height: auto;
  margin-bottom: 12px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-nav a {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  padding: 6px 0;
  transition: color 0.13s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #FFB63E;
}
.footer-contact p {
  font-size: 0.97rem;
}
.branding {
  width: 100%;
  text-align: right;
  font-size: 0.92rem;
  color: #E5F2FB;
  margin-top: 10px;
}
@media (max-width: 780px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
  }
  .branding { text-align: left; margin-top: 22px; }
}

/* === FORMS & BUTTONS === */
button, input[type="button"], input[type="submit"] {
  font-family: var(--font-display);
  border: none;
  outline: none;
  cursor: pointer;
  background: var(--color-accent);
  color: #fff;
  padding: 12px 28px;
  border-radius: 48px;
  font-size: 1.08rem;
  font-weight: 700;
  transition: background 0.16s, transform 0.13s, color 0.11s;
}
button:hover, input[type="button"]:hover, input[type="submit"]:hover {
  background: #17714A;
  transform: scale(1.04);
  color: #FFB63E;
}

input, textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 13px 18px;
  border-radius: 10px;
  border: 1.5px solid #C7E3F7;
  box-shadow: none;
  outline: none;
  margin-bottom: 14px;
  transition: border 0.15s;
}
input:focus, textarea:focus {
  border-color: #1B9B6A;
  background: #F7FDFA;
}

/* === SPACING BETWEEN SECTIONS, CARDS, ELEMENTS === */
section > .container {
  margin-bottom: 0;
  padding: 0;
}
section:not(:last-child) {
  border-bottom: 3px dashed #FFB63E22;
}
h1, h2, h3, h4 {
  margin-top: 0;
}

/* === TYPOGRAPHY & FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Roboto:wght@400;500;700&display=swap');
body, p {
  font-family: var(--font-body);
  color: #234C6F;
}
h1, h2, h3, h4, .cta-primary, .cta-secondary, .main-nav a, .mobile-nav a, strong {
  font-family: var(--font-display)!important;
}

/* --- Playful Dynamic Font Combinations ---*/
h1, h2, h3 {
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0.025em;
  color: #234C6F;
  text-shadow: 1px 2px 1px #e5f2fb33, 0 3px 12px #FFB63E15;
}
h1 {
  font-size: 2.6rem;
}
h2 {
  font-size: 1.68rem;
}
@media (max-width: 540px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.22rem; }
}

/* --- Cards Animated Effect --- */
.card, .testimonial-card, .text-section {
  animation: pop-in 0.7s cubic-bezier(.46,1.48,.4,1) 1;
}
@keyframes pop-in {
  0% { opacity:0; transform: scale(.92) translateY(30px); }
  80% { opacity:.3; }
  100% { opacity:1; transform: scale(1) translateY(0); }
}

/* === RESPONSIVE LAYOUTS === */
@media (max-width: 980px) {
  .container { max-width: 95%; }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
}
@media (max-width: 600px) {
  .container { padding: 0 5px; }
  .card, .testimonial-card, .text-section {
    min-width: 98vw;
  }
  .card { padding: 16px 7px; }
}

/* === MISC (ICONS, MAPS, ETC.) === */
.map img {
  width: 100%;
  max-width: 400px;
  border-radius: 12px;
  box-shadow: 0 2px 15px rgba(27, 155, 106, 0.07);
}
@media (max-width: 520px) {
  .map img { max-width: 97vw; }
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%) translateY(110%);
  width: 97vw;
  max-width: 540px;
  background: #fff;
  color: #234C6F;
  border-radius: 24px;
  box-shadow: 0 4px 28px rgba(35,76,111,0.18);
  padding: 28px 30px 19px 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 4000;
  opacity: 0;
  pointer-events: none;
  font-size: 1rem;
  transition: transform .38s cubic-bezier(.48,1.41,.36,.98), opacity 0.27s;
}
.cookie-banner.active {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.cookie-banner .cookie-banner-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: #1B9B6A;
  margin-bottom: 6px;
}
.cookie-banner .cookie-banner-buttons {
  display: flex;
  gap: 16px;
  margin-top: 7px;
  flex-wrap: wrap;
}
.cookie-banner button, .cookie-banner .cookie-btn, .cookie-banner .cookie-settings-btn {
  font-family: var(--font-display);
  background: #234C6F;
  color: #fff;
  border: none;
  font-weight: bold;
  border-radius: 24px;
  padding: 11px 22px;
  font-size: 1rem;
  margin: 0;
  cursor: pointer;
  transition: background 0.13s, color 0.13s, transform 0.14s;
  box-shadow: 0 2px 10px rgba(27, 155, 106, 0.07);
}
.cookie-banner .cookie-btn.accept { background: #1B9B6A; }
.cookie-banner .cookie-btn.accept:hover { background: #17714A; color: #FFB63E; }
.cookie-banner .cookie-btn.reject { background: #FFF1E0; color: #234C6F; }
.cookie-banner .cookie-btn.reject:hover { background: #FFE0B2; color: #FFB63E; }
.cookie-banner .cookie-settings-btn { background: #FFB63E; color: #234C6F; }
.cookie-banner .cookie-settings-btn:hover { background: #FFD475; color: #234C6F; }

/* Cookie Modal */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 4100;
  left:0; top:0; right:0; bottom:0;
  background: rgba(35,76,111,0.19);
  display: none;
}
.cookie-modal-backdrop.active { display: block; animation: fade-in .33s; }
@keyframes fade-in { 0% { opacity:0; } 100% { opacity:1; } }
.cookie-modal {
  position: fixed;
  bottom: 50%;
  left: 50%;
  transform: translate(-50%,50%) scale(0.9);
  background: #fff;
  color: #234C6F;
  border-radius: 22px;
  box-shadow: 0 7px 32px rgba(35,76,111,0.17);
  max-width: 440px;
  padding: 35px 32px 24px 32px;
  z-index: 4101;
  min-width: 300px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .27s, transform .3s cubic-bezier(.49,1.29,.35,.99);
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%,50%) scale(1);
}
.cookie-modal h2 {
  color: #1B9B6A;
  font-size: 1.18rem;
  margin-bottom: 14px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 15px;
}
.cookie-modal .toggle {
  width: 52px; height: 28px;
  background: #E5F2FB;
  border-radius: 30px;
  position: relative;
  cursor: pointer;
  transition: background .16s;
  margin-left: auto;
}
.cookie-modal .toggle.enabled {
  background: #1B9B6A;
}
.cookie-modal .toggle::before {
  content: '';
  position: absolute;
  left: 3px; top: 3px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 7px rgba(35,76,111,0.11);
  transition: left 0.17s, background .15s;
}
.cookie-modal .toggle.enabled::before {
  left: 27px;
  background: #fff;
}
.cookie-modal .essential-label {
  color: #234C6F;
  font-family: var(--font-display);
  font-weight: 700;
  background: #E5F2FB;
  border-radius: 10px;
  padding: 6px 13px;
  font-size: .97rem;
}
.cookie-modal .cookie-footer-btns {
  display: flex;
  gap: 13px;
  margin-top: 19px;
  justify-content: flex-end;
}

.cookie-modal-close {
  position: absolute;
  top: 9px; right: 17px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #234C6F;
  cursor: pointer;
  padding: 0;
  z-index: 2;
  transition: color 0.13s;
}
.cookie-modal-close:hover { color: #1B9B6A; }

@media (max-width: 540px) {
  .cookie-modal { max-width: 94vw; padding: 20px 7px 16px 14px; }
  .cookie-banner { padding: 13px 8px 11px 8px; font-size: 0.98rem; }
}

/* --- Playful Decorative Accents --- */

section > .container > .content-wrapper > h2:after {
  content: '';
  display: block;
  width: 44px;
  height: 7px;
  margin: 6px 0 0 0;
  border-radius: 12px;
  background: #FFB63E;
  opacity: 0.53;
  animation: underline-pop 0.55s forwards;
}
@keyframes underline-pop { from { width:0; opacity:0; } to{ width:44px; opacity:.53; } }

/* --- Micro-interactions for links & buttons --- */
a, button, .cta-primary, .cta-secondary {
  outline: none;
  transition: background 0.13s, color 0.13s, transform 0.1s;
}
a:active, button:active {
  transform: scale(.98) rotate(-1.5deg);
}

/* --- Misc: List Custom Bullets --- */
ul li::marker {
  color: #FFB63E;
  font-size: 1.1em;
}
ol li::marker {
  color: #234C6F;
  font-weight: bold;
  font-size: 1.05em;
}

/* --- Blog/Ref Text Section Special --- */
.text-section ul li span {
  display: inline-block;
  font-family: var(--font-display);
  color: #1B9B6A;
  font-weight: 700;
  margin-left: 8px;
}

/* --- Focus Visible Accessibility --- */
:focus-visible {
  outline: 3px dashed #FFB63E;
  outline-offset: 2px;
}

/* --- Utility Classes --- */
.align-center { align-items: center; justify-content: center; }
.flex-row { display: flex; flex-direction: row; }
.flex-col { display: flex; flex-direction: column; }
.no-margin { margin: 0 !important; }

/* Hide scrollbar for mobile menu */
.mobile-menu::-webkit-scrollbar, .cookie-modal::-webkit-scrollbar {
  width: 0px;
  background: transparent;
}

/* --- Animations --- */
@keyframes slide-in-bottom {
  0% { opacity:0; transform: translateY(50px); }
  100% { opacity:1; transform: translateY(0); }
}
@keyframes slide-in-right {
  0% { opacity:0; transform: translateX(80px); }
  100% { opacity:1; transform: translateX(0); }
}

/* --- Misc Fixes & Final Spacing --- */
@media (max-width: 480px) {
  h1, h2, h3 { font-size: 1rem !important; }
  .testimonial-card, .card { padding: 10px 2px; }
}

/* --- End --- */
