/*------------- CSS RESET & BASE -------------*/
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #FAFAFA;
  color: #222;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-color: #FAFAFA;
}
img, picture {
  max-width: 100%;
  display: block;
  height: auto;
}
ul, ol {
  padding-left: 1.2em;
  margin-bottom: 1em;
}
a {
  color: #16367B;
  text-decoration: none;
  transition: color 0.3s;
}
a:hover, a:focus {
  color: #48A9A6;
  text-decoration: underline;
}
strong { font-weight: 700; }

/*------------- SOFT PASTEL COLOR PALETTE -------------*/
:root {
  --primary: #16367B;
  --secondary: #48A9A6;
  --accent: #FAFAFA;
  --pastel-blue: #cddbf9;
  --pastel-teal: #bfe7e6;
  --pastel-pink: #ffe6ec;
  --pastel-mint: #eafdde;
  --pastel-yellow: #fcf4ce;
  --pastel-violet: #ececff;
  --text-main: #27314d;
  --text-dark: #14334b;
  --card-bg: #ffffff;
  --input-bg: #f5f8fa;
  --shadow: 0 8px 24px 0 rgba(87, 110, 155, 0.09);
  --radius: 20px;
}

/*------------- TYPOGRAPHY -------------*/
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--text-main);
  background: var(--accent);
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: var(--primary);
  margin-bottom: 0.7em;
  font-weight: 700;
}
h1 {
  font-size: 2rem;
  line-height: 1.12;
  margin-bottom: 0.5em;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5em;
  line-height: 1.18;
}
h3 {
  font-size: 1.125rem;
  margin-bottom: 0.4em;
  font-weight: 600;
}
p, li {
  font-size: 1rem;
  margin-bottom: 1em;
}
.content-wrapper > p:last-child, .text-section > p:last-child, .faq-accordion > div:last-child > p:last-child {
  margin-bottom: 0;
}

/*------------- CONTAINER -------------*/
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/*------------- HEADER / NAVIGATION -------------*/
header {
  background: linear-gradient(90deg, var(--pastel-blue) 0%, var(--pastel-teal) 100%);
  box-shadow: 0 2px 24px rgba(22,54,123,0.04);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 20px;
}
header nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: var(--primary);
  border-radius: 10px;
  padding: 7px 10px;
  transition: background 0.25s, color 0.25s;
}
header nav a:hover,
header nav a:focus {
  background: var(--pastel-mint);
  color: var(--secondary);
}
.cta-btn {
  background: linear-gradient(90deg, var(--secondary), var(--pastel-blue));
  color: #fff;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  padding: 11px 32px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.06rem;
  box-shadow: 0 4px 18px 0 rgba(72, 169, 166, 0.13);
  transition: background 0.18s, color 0.18s, transform 0.13s;
  cursor: pointer;
  margin-left: 10px;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 28px 0 rgba(72,169,166,0.19);
}

/* MOBILE MENU BUTTON */
.mobile-menu-toggle {
  background: transparent;
  font-size: 2.1rem;
  border: none;
  color: var(--primary);
  cursor: pointer;
  z-index: 101;
  display: none;
  transition: color 0.2s, background 0.2s;
  border-radius: 7px;
  padding: 4px 8px;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  color: var(--secondary);
  background: var(--pastel-blue);
}
/* MOBILE MENU (HIDDEN BY DEFAULT) */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: rgba(239, 250, 247, 0.99);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(.7,.2,.2,1);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0 30px 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  background: transparent;
  border: none;
  color: var(--primary);
  align-self: flex-end;
  margin: 24px 32px 8px 0;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
  border-radius: 5px;
  padding: 4px 12px;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: var(--secondary);
  background: var(--pastel-blue);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 0;
  margin-top: 32px;
}
.mobile-nav a {
  padding: 20px 38px;
  font-size: 1.2rem;
  color: var(--primary);
  border-bottom: 1px solid var(--pastel-teal);
  background: transparent;
  transition: background 0.2s, color 0.2s;
  border-radius: 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--pastel-mint);
  color: var(--secondary);
}

@media (max-width: 1024px) {
  header .container nav,
  header .container .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .container {
    flex-wrap: wrap;
  }
}
@media (min-width: 1025px) {
  .mobile-menu { display: none !important; }
}

/*------------- HERO SECTION -------------*/
.hero {
  background: linear-gradient(95deg, var(--pastel-violet) 35%, var(--pastel-teal) 100%);
  padding: 48px 0 48px 0;
  border-radius: 0 0 46px 46px;
  box-shadow: var(--shadow);
  margin-bottom: 60px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero h1 {
  font-size: 2.25rem;
  color: var(--primary);
  margin-bottom: 18px;
  font-weight: 800;
}
.hero p {
  font-size: 1.125rem;
  color: var(--text-main);
  margin-bottom: 24px;
  max-width: 500px;
}
.hero .cta-btn {
  margin-top: 12px;
}

/*------------- SECTIONS & SPACING -------------*/
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 700px) {
  section {
    padding: 28px 6px;
    margin-bottom: 36px;
  }
}

.content-wrapper {
  width: 100%;
  max-width: 950px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

/* Feature grid, service list etc. */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.feature-grid > div {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  flex: 1 1 240px;
  min-width: 215px;
  max-width: 270px;
  padding: 28px 18px 26px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.22s, transform 0.22s;
  border: 2px solid transparent;
}
.feature-grid > div:hover, .feature-grid > div:focus-within {
  box-shadow: 0 10px 34px 0 rgba(72,169,166,0.16);
  transform: translateY(-3px) scale(1.021);
  border-color: var(--pastel-teal);
  z-index: 2;
}
.feature-grid img {
  width: 45px;
  height: 45px;
  margin-bottom: 13px;
}
.feature-grid h3 {
  font-size: 1.075rem;
  font-weight: 600;
}
.feature-grid p {
  font-size: 1rem;
  margin-bottom: 0;
}

.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.services-list > div {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  flex: 1 1 320px;
  padding: 28px 18px 18px 18px;
  min-width: 215px;
  max-width: 410px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.19s, transform 0.13s, border 0.15s;
  border: 2px solid transparent;
}
.services-list h3 a, .services-list h3 {
  color: var(--primary);
  font-weight: 600;
  font-size: 1.09rem;
}
.services-list h3 a:hover {
  color: var(--secondary);
  text-decoration: underline;
}
.services-list > div:hover, .services-list > div:focus-within {
  box-shadow: 0 12px 38px 0 rgba(72,169,166,0.13);
  border-color: var(--pastel-blue);
}

.text-section {
  background: var(--pastel-pink);
  border-radius: var(--radius);
  padding: 30px 22px 22px 22px;
  box-shadow: 0 2px 12px 0 rgba(204, 204, 204, 0.11);
  margin-bottom: 18px;
}
.text-section ul {
  margin-top: 8px;
  margin-bottom: 8px;
}
.text-section ul li {
  margin-bottom: 6px;
  padding-left: 0.8em;
  position: relative;
  font-size: 1rem;
}
.text-section ul li img {
  margin-right: 7px;
  margin-bottom: -6px;
  width: 19px;
  height: 19px;
  vertical-align: middle;
}
.text-section p:last-child,
.text-section ul:last-child { margin-bottom: 0; }

.stat-counters {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 26px;
  margin-bottom: 6px;
}
.stat-counters > div {
  background: var(--pastel-mint);
  padding: 18px 36px;
  border-radius: 17px;
  box-shadow: 0 2px 10px 0 rgba(68, 169, 166, 0.09);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.stat-counters strong {
  color: var(--primary);
  font-size: 1.25rem;
  margin-bottom: 2px;
}
.stat-counters span {
  color: var(--text-dark);
  font-size: 1rem;
}

.pricing-table {
  background: var(--pastel-yellow);
  border-radius: 15px;
  box-shadow: 0 2px 14px 0 rgba(255, 230, 236, 0.10);
  margin: 18px 0 30px 0;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.pricing-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  font-size: 1.12rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}

/* FAQ ACCORDION */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 12px;
}
.faq-accordion > div {
  background: var(--pastel-violet);
  border-radius: 17px;
  box-shadow: 0 2px 7px 0 rgba(204,204,255,0.07);
  padding: 18px 18px 13px 18px;
  border-left: 6px solid var(--secondary);
}
.faq-accordion h3 {
  color: var(--primary);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.faq-accordion p {
  color: var(--text-main);
  font-size: 0.97rem;
  margin-bottom: 0;
}

/*------------- TESTIMONIALS -------------*/
.testimonials-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
  align-items: stretch;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 22px 18px 22px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 3px 18px 0 rgba(22,54,123,0.08);
  min-width: 230px;
  flex: 1 1 260px;
  border-left: 5px solid var(--secondary);
  transition: box-shadow 0.18s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 10px 36px 0 rgba(72,169,166,0.12);
}
.testimonial-card p {
  color: var(--text-dark);
  margin-bottom: 0;
  font-size: 1rem;
}
.testimonial-card strong {
  color: var(--primary);
  font-size: 1.02rem;
}

/*------------- CTA SECTION -------------*/
.cta-section {
  margin-bottom: 0 !important;
  padding: 45px 20px 60px 20px;
  background: linear-gradient(92deg, var(--pastel-mint) 20%, var(--pastel-blue) 100%);
  border-radius: 36px 36px 0 0;
  box-shadow: 0 -4px 24px 0 rgba(220,248,247,0.10);
}
.cta-section h2 {
  font-size: 1.55rem;
  color: var(--primary);
}
.cta-section .cta-btn {
  margin-top: 26px;
}

/*------------- SUCCESS MESSAGE (THANK YOU) -------------*/
.success-message {
  background: linear-gradient(93deg, var(--pastel-mint) 12%, var(--pastel-pink) 100%);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-top: 60px;
  margin-bottom: 60px;
  padding: 48px 20px;
  text-align: center;
}
.success-message h1 { font-size: 2rem; margin-bottom: 19px; }
.success-message p { color: var(--text-main); font-size: 1.12rem; max-width: 540px; margin: 0 auto 19px auto; }
.success-message .cta-btn { margin-top: 16px; }

/*------------- FOOTER -------------*/
footer {
  background: linear-gradient(90deg, var(--pastel-blue) 25%, var(--pastel-violet) 100%);
  padding-top: 24px;
  font-size: 0.98em;
  border-radius: 40px 40px 0 0;
  margin-top: 60px;
}
.footer-main {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  max-width: 310px;
  gap: 6px;
}
.footer-brand img {
  width: 70px;
  margin-bottom: 10px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}
.footer-nav a {
  color: var(--primary);
  font-weight: 500;
  padding: 6px 0;
  border-radius: 7px;
  transition: background 0.18s, color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--pastel-mint);
  color: var(--secondary);
}
.footer-bottom {
  border-top: 1px solid #e8f3fc;
  text-align: center;
  margin-top: 30px;
  padding: 18px 0 6px 0;
  color: #59697d;
  font-size: 0.93rem;
}

/*------------- COOKIE CONSENT BANNER -------------*/
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  width: 100%;
  z-index: 9999;
  background: linear-gradient(90deg, var(--pastel-violet) 40%, var(--pastel-mint) 100%);
  box-shadow: 0 -3px 18px 0 rgba(72,169,166,0.09);
  padding: 22px 16px 18px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  font-size: 1rem;
  border-radius: 19px 19px 0 0;
  animation: cookieAppear 0.7s cubic-bezier(.71,1.81,.51,1.31);
}
@keyframes cookieAppear {
  from { transform:translateY(100%); opacity:0; }
  to { transform:translateY(0); opacity:1; }
}
.cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 6px;
}
.cookie-banner button {
  padding: 10px 22px;
  border-radius: 10px;
  border: none;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.15s;
}
.cookie-banner .cookie-accept {
  background: var(--secondary);
  color: #fff;
}
.cookie-banner .cookie-accept:hover, .cookie-banner .cookie-accept:focus {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 5px 20px 0 rgba(72,169,166,0.13);
}
.cookie-banner .cookie-reject {
  background: var(--pastel-pink);
  color: var(--primary);
}
.cookie-banner .cookie-reject:hover, .cookie-banner .cookie-reject:focus {
  background: var(--pastel-yellow);
  color: var(--secondary);
}
.cookie-banner .cookie-settings {
  background: var(--pastel-blue);
  color: var(--primary);
}
.cookie-banner .cookie-settings:hover, .cookie-banner .cookie-settings:focus {
  background: var(--pastel-teal);
  color: var(--secondary);
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(198, 224, 221, 0.92);
  z-index: 10001;
  display: none;
  align-items: center;
  justify-content: center;
  animation: cookieModalAppear 0.5s;
}
@keyframes cookieModalAppear {
  from { opacity:0; }
  to { opacity:1; }
}
.cookie-modal.open {
  display: flex;
}
.cookie-modal-content {
  background: var(--accent);
  padding: 36px 28px 30px 28px;
  border-radius: 23px;
  min-width: 320px;
  max-width: 95vw;
  box-shadow: 0 2px 24px 0 rgba(72,169,166,0.15);
  display: flex;
  flex-direction: column;
  gap: 17px;
  position: relative;
}
.cookie-modal-close {
  background: transparent;
  border: none;
  font-size: 2rem;
  color: var(--primary);
  position: absolute;
  top: 12px; right: 21px;
  cursor: pointer;
  border-radius: 5px;
  transition: color 0.2s, background 0.2s;
}
.cookie-modal-close:focus, .cookie-modal-close:hover {
  color: var(--secondary);
  background: var(--pastel-blue);
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 19px;
  margin-bottom: 12px;
}
.cookie-category input[type="checkbox"] {
  width: 21px; height: 21px;
  accent-color: var(--secondary);
}
.cookie-category .cookie-essential {
  color: var(--secondary);
  font-weight: 600;
}

/*------------- RESPONSIVE LAYOUTS (FLEXBOX) -------------*/
@media (max-width: 900px) {
  .feature-grid, .services-list, .testimonials-slider, .stat-counters, .footer-main {
    flex-direction: column;
    gap: 22px;
    align-items: stretch;
  }
  .feature-grid > div, .services-list > div, .testimonial-card {
    min-width: 0;
    max-width: unset;
  }
}
@media (max-width: 700px) {
  .container { padding: 0 5px; }
  .content-wrapper { padding: 0; }
  .stat-counters > div { padding: 14px 16px; }
}

/* Text-Image Section (if used) */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

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

/*------------- FORMS & INPUTS -------------*/
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  border-radius: 9px;
  outline: none;
  border: 1.5px solid var(--pastel-teal);
  background: var(--input-bg);
  padding: 10px 13px;
  color: var(--primary);
  margin-bottom: 18px;
  transition: border 0.18s, box-shadow 0.13s;
  width: 100%;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 8px var(--pastel-teal);
}
button {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}

/*------------- MICRO-INTERACTIONS -------------*/
button, .cta-btn, .mobile-menu-toggle, .mobile-menu-close {
  transition: background 0.15s, color 0.15s, box-shadow 0.15s, transform 0.13s;
}

/* Accessibility: focus outline */
a:focus, button:focus, input:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

/*------------- SCROLLBAR STYLES -------------*/
::-webkit-scrollbar { width: 10px; background: var(--pastel-blue); border-radius: 7px; }
::-webkit-scrollbar-thumb { background: var(--secondary); border-radius: 7px; }

/*------------- OTHER STRUCTURAL -------------*/
main {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  width: 100%;
}
p, ul, ol, li {
  font-size: 1rem;
  letter-spacing: 0.01em;
}
ol, ul {
  margin-bottom: 1.1em;
  padding-left: 1.3em;
}

/*------------- PRINT IMPROVEMENTS -------------*/
@media print {
  *, *:before, *:after { background: #fff !important; color: #222 !important; box-shadow: none !important; }
  header, footer, .cookie-banner, .cookie-modal { display: none !important; }
}
