/* === 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  background: transparent;
}
img {
  border: 0;
  max-width: 100%;
  display: block;
}
button,input,select,textarea {
  font-family: inherit;
  font-size: 100%;
  margin: 0;
  outline: none;
}
*,*:before,*:after {
  box-sizing: border-box;
}

/* === CUSTOM VARIABLES (with fallbacks) === */
:root {
  --primary: #17587A;
  --secondary: #39A86B;
  --accent: #F5F8F7;
  --pastel-cyan: #bee9ea;
  --pastel-green: #d8f5e7;
  --pastel-yellow: #fff9d0;
  --pastel-pink: #ffe6ec;
  --pastel-purple: #e5e1fa;
  --pastel-blue: #e1f0fd;
  --text-main: #18304e;
  --text-secondary: #385467;
  --bg-hero: #e5f6fc;
  --bg-footer: #e5e1fa;
  --radius: 18px;
  --shadow: 0 4px 24px 0 rgba(71, 101, 135, 0.07);
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');

body {
  font-family: var(--font-body), Arial, Helvetica, sans-serif;
  background: var(--pastel-cyan);
  color: var(--text-main);
  min-height: 100vh;
  letter-spacing: 0.01em;
  font-size: 16px;
  line-height: 1.7;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.content-wrapper {
  margin: 0 auto 60px auto;
  padding: 40px 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* HEADER */
header {
  background: var(--bg-hero);
  box-shadow: 0 2px 16px 0 rgba(71,101,135,0.03);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 12px;
  padding-bottom: 12px;
}
header img {
  max-height: 44px;
}
.main-nav {
  display: flex;
  gap: 30px;
  align-items: center;
}
.main-nav a {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--primary);
  font-size: 16px;
  letter-spacing: 0.02em;
  padding: 8px 0;
  transition: color 0.2s;
  position: relative;
}
.main-nav a:after {
  content: '';
  display: block;
  width: 0;
  height: 2.5px;
  background: var(--secondary);
  border-radius: 1.5px;
  transition: width 0.2s;
  position: absolute;
  bottom: -3px;
  left: 50%;
  transform: translateX(-50%);
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--secondary);
}
.main-nav a:hover:after,
.main-nav a:focus:after {
  width: 85%;
}
.cta-button {
  background: var(--secondary);
  color: #fff;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  border: none;
  border-radius: var(--radius);
  padding: 12px 32px;
  box-shadow: 0 2px 12px rgba(57,168,107,0.09);
  cursor: pointer;
  margin-left: 16px;
  transition: background 0.16s, box-shadow 0.2s, transform 0.18s;
  outline: none;
}
.cta-button.secondary {
  background: var(--primary);
  color: #fff;
}
.cta-button:hover,
.cta-button:focus {
  background: #59ba91;
  box-shadow: 0 4px 16px rgba(57,168,107,0.16);
  transform: translateY(-2px) scale(1.03);
}
.cta-button.secondary:hover,
.cta-button.secondary:focus {
  background: #257ebd;
}

.mobile-menu-toggle {
  display: none;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 26px;
  width: 46px;
  height: 46px;
  justify-content: center;
  align-items: center;
  margin-left: 12px;
  cursor: pointer;
  transition: background 0.22s, color 0.22s;
  z-index: 40;
}
.mobile-menu-toggle:focus {
  background: var(--secondary);
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(245,248,247,0.98);
  z-index: 2001;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  box-shadow: 0 8px 36px rgba(23,88,122,0.09);
  transform: translateX(-100vw);
  transition: transform 0.33s cubic-bezier(0.46,0.03,0.52,0.96);
}
.mobile-menu.open {
  transform: translateX(0);
  transition: transform 0.33s cubic-bezier(0.4,1.05,0.45,1);
}
.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 18px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 31px;
  cursor: pointer;
  z-index: 25;
  transition: background 0.23s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 80px;
  margin-left: 30px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--primary);
  font-size: 22px;
  letter-spacing: 0.01em;
  padding: 9px 0 9px 8px;
  border-radius: var(--radius);
  transition: background 0.15s, color 0.18s;
  min-width: 220px;
  min-height: 48px;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--secondary);
  color: #fff;
}

/* HERO */
.hero {
  background: linear-gradient(90deg, var(--pastel-cyan) 60%, var(--pastel-blue) 100%);
  min-height: 360px;
  display: flex;
  align-items: center;
  margin-bottom: 0;
  border-radius: 0 0 48px 48px;
}
.hero .container {
  padding-top: 56px;
  padding-bottom: 56px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero .content-wrapper {
  background: transparent;
  box-shadow: none;
  padding: 0;
  margin: 0;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: 2.7rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
}
.hero p {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.5;
}

/* SECTION SPACING AND FLEX PATTERNS */
section {
  margin-bottom: 60px;
  padding: 40px 0px;
}
.features, .services, .testimonials, .cta-final {
  width: 100%;
  background: var(--pastel-blue);
  border-radius: 40px;
  padding: 42px 0 32px 0;
  margin-bottom: 52px;
}
.features .content-wrapper,
.services .content-wrapper,
.testimonials .content-wrapper,
.cta-final .content-wrapper {
  background: transparent;
  box-shadow: none;
  padding: 0;
  margin: 0;
}

/* FLEXBOX LAYOUTS */
.feature-grid, .tip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 34px;
}
/* Services layout */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 25px 34px;
  margin-top: 32px;
  margin-bottom: 36px;
}
.service-list li {
  background: var(--pastel-green);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  flex: 1 1 270px;
  max-width: 320px;
  min-width: 230px;
  padding: 24px 22px 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  position: relative;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.service-list li:hover,
.service-list li:focus-within {
  box-shadow: 0 6px 24px 0 rgba(71, 101, 135, 0.13);
  transform: translateY(-3px) scale(1.015);
}
.benefit-list {
  margin-top: 10px;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 16px;
  color: var(--primary);
}

/* CARDS & TESTIMONIALS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--pastel-pink);
  border-radius: var(--radius);
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  transition: box-shadow 0.16s;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(183, 134, 255, 0.14);
}

.testimonials .testimonial-card {
  background: var(--accent);
  border-left: 6px solid var(--primary);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 24px 28px;
  margin-bottom: 28px;
  margin-top: 12px;
  box-shadow: 0 3px 18px 0 rgba(23, 88, 122, 0.065);
  font-size: 19px;
  color: var(--text-main);
  transition: box-shadow 0.13s;
}
.testimonials .testimonial-card .client-name {
  color: var(--secondary);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  margin-top: 3px;
}

/* Feature Item for various sections */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--pastel-yellow);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 22px 24px 22px;
  flex: 1 1 200px;
  min-width: 220px;
  max-width: 310px;
  transition: box-shadow 0.14s, transform 0.14s;
  margin-bottom: 20px;
}
.feature-item img {
  width: 38px;
  height: 38px;
}
.feature-item:hover {
  box-shadow: 0 8px 30px 0 rgba(71,101,135,0.12);
  transform: translateY(-2px);
}

.tip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 26px 32px;
  margin-top: 24px;
}
.tip-item {
  background: var(--pastel-purple);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 18px 20px 18px 20px;
  min-width: 210px;
  max-width: 295px;
  margin-bottom: 20px;
  transition: box-shadow 0.14s, transform 0.14s;
}
.tip-item img {
  width: 32px;
  height: 32px;
}
.tip-item strong {
  margin-top: 5px;
  color: var(--primary);
  font-size: 17px;
  font-family: var(--font-display);
  font-weight: 600;
}
.tip-item:hover {
  box-shadow: 0 10px 27px 0 rgba(217,204,255,0.15);
  transform: translateY(-2px);
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display), Arial, Helvetica, sans-serif;
  color: var(--primary);
  line-height: 1.18;
  margin-bottom: 18px;
}
h1 {
  font-size: 2.3rem;
  font-weight: 700;
}
h2 {
  font-size: 1.65rem;
  font-weight: 600;
}
h3 {
  font-size: 1.21rem;
  font-weight: 600;
}
h4 {
  font-size: 1.09rem;
  font-weight: 600;
  color: var(--secondary);
  margin-top: 21px;
}
p, li, span, strong {
  font-family: var(--font-body), Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: var(--text-main);
  margin-bottom: 8px;
}
blockquote {
  font-style: italic;
  color: var(--primary);
  background: var(--pastel-pink);
  border-left: 5px solid var(--secondary);
  padding: 18px 24px;
  margin-bottom: 18px;
  border-radius: var(--radius);
  font-size: 18px;
}

ul, ol {
  margin-bottom: 18px;
  margin-left: 22px;
}
ul li:before, ol li:before {
  display: none;
}

.text-section {
  background: var(--pastel-yellow);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 38px 22px;
  margin-bottom: 24px;
}

.contact-details p {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.contact-details img {
  width: 24px;
  height: 24px;
}

/* Footer */
footer {
  background: var(--bg-footer);
  border-radius: 38px 38px 0 0;
  margin-top: 50px;
}
footer .container {
  padding: 36px 20px 16px 20px;
}
footer .content-wrapper {
  background: transparent;
  box-shadow: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-logo img {
  width: 54px;
  height: 54px;
}
.footer-contact {
  max-width: 330px;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.footer-menu a {
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  transition: color 0.2s;
}
.footer-menu a:hover,
.footer-menu a:focus {
  color: var(--secondary);
}
.footer-social {
  display: flex;
  gap: 14px;
  align-items: center;
}
.footer-social a img {
  width: 27px;
  height: 27px;
  border-radius: 8px;
  background: #fff;
  padding: 4px;
  box-shadow: 0 1px 4px rgba(23,88,122,0.11);
  transition: box-shadow 0.18s;
}
.footer-social a:hover img,
.footer-social a:focus img {
  box-shadow: 0 3px 12px 0 rgba(57,168,107,0.14);
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: var(--accent);
  border-top: 3px solid var(--secondary);
  padding: 22px 10px 18px 10px;
  z-index: 3000;
  box-shadow: 0 -2px 18px 0 rgba(57,168,107,0.09);
  animation: fadeInUp 0.45s cubic-bezier(0.4,0.77,0.52,1.18);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(60px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner p {
  color: var(--text-main);
  font-size: 16px;
  margin: 0;
  flex: 1;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 11px;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-banner .cookie-btn {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: var(--radius);
  background: var(--primary);
  color: #fff;
  padding: 9px 22px;
  cursor: pointer;
  transition: background 0.16s, box-shadow 0.16s;
}
.cookie-banner .cookie-btn.settings {
  background: var(--secondary);
  color: #fff;
}
.cookie-banner .cookie-btn.reject {
  background: var(--pastel-pink);
  color: var(--primary);
}
.cookie-banner .cookie-btn:focus,
.cookie-banner .cookie-btn:hover {
  background: var(--secondary);
  color: #fff;
  box-shadow: 0 2px 12px 0 rgba(71, 101, 135, 0.10);
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 50%;
  bottom: 36%;
  transform: translate(-50%, 20vh) scale(0.94);
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 7px 38px 0 rgba(57, 168, 107, 0.14);
  z-index: 3500;
  width: 91vw;
  max-width: 390px;
  padding: 30px 26px 19px 26px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.33s, transform 0.33s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0) scale(1);
}
.cookie-modal h3 {
  color: var(--primary);
  font-size: 1.13rem;
  margin-bottom: 22px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 18px;
  font-size: 15px;
  color: var(--text-secondary);
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--secondary);
  width: 20px;
  height: 20px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 16px;
}
.cookie-modal .cookie-btn {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: var(--radius);
  background: var(--secondary);
  color: #fff;
  padding: 8px 20px;
  cursor: pointer;
}
.cookie-modal .cookie-btn.cancel {
  background: var(--pastel-pink);
  color: var(--primary);
}
.cookie-modal .cookie-btn:focus,
.cookie-modal .cookie-btn:hover {
  background: var(--primary);
  color: #fff;
}

/* Hide main-nav and show mobile menu toggle on mobile */
@media (max-width: 992px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 993px) {
  .mobile-menu {
    display: none !important;
  }
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .content-wrapper,
  .text-section {
    padding: 28px 10px;
  }
  .feature-grid, .tip-grid, .service-list {
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 8px;
  }
  header .container {
    gap: 8px;
    flex-direction: row;
  }
  .content-wrapper,
  .text-section {
    padding: 22px 2px;
  }
  section {
    padding: 20px 0;
    margin-bottom: 36px;
  }
  .feature-grid, .tip-grid, .service-list {
    flex-direction: column;
    gap: 18px;
  }
  .feature-item,
  .service-list li,
  .tip-item {
    min-width: 0;
    max-width: 100%;
    width: 100%;
    padding: 20px 12px;
  }
  .testimonials .testimonial-card {
    padding: 18px 10px;
    font-size: 16px;
  }
  .footer-menu {
    gap: 7px;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 1.52rem; }
  h2 { font-size: 1.19rem; }
  .cta-button, .cta-button.secondary {
    font-size: 16px;
    padding: 10px 22px;
  }
  .footer-logo img { width: 37px; height: 37px;}
}

/* Extra styles & micro-interactions */
a { transition: color 0.2s, background 0.2s; }
input, textarea, select {
  border-radius: var(--radius);
  border: 1px solid var(--pastel-blue);
  padding: 10px;
  margin-bottom: 18px;
  background: #fff;
  font-size: 16px;
  width: 100%;
  box-shadow: 0 1px 6px rgba(57,168,107,0.08);
  transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus,
textarea:focus,
select:focus {
  border-color: var(--secondary);
  box-shadow: 0 2px 18px 0 rgba(57,168,107,0.15);
}
::-webkit-input-placeholder { color: #9bc6ad; }
::-moz-placeholder { color: #9bc6ad; }
:-ms-input-placeholder { color: #9bc6ad; }
::placeholder { color: #9bc6ad; }

/* Utility Classes */
.text-center { text-align: center; }
.d-flex { display: flex !important; }
.align-center { align-items: center !important; }
.justify-between { justify-content: space-between !important; }
.gap-20 { gap: 20px !important; }

/* Z-index layering for overlays */
.mobile-menu,
.cookie-modal { z-index: 2000; }
.cookie-banner { z-index: 3000; }

/* NO GRID, NO COLUMN LAYOUTS or ABSOLUTE POS for CONTENT */

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