/* --- CSS RESET & NORMALIZE --- */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
}
body {
  min-height: 100vh;
  background-color: #F8F9FA;
  color: #27384c;
  -webkit-font-smoothing: antialiased;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.6;
}
img, picture, video {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
a {
  color: #274472;
  text-decoration: none;
  transition: color .2s;
}
a:focus {
  outline: 2px dashed #7BAFD4;
  outline-offset: 2px;
}
button, input, select, textarea {
  font: inherit;
  background: none;
  border: none;
  outline: none;
}
ul {
  list-style: disc inside;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #274472;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.375rem; }
h4 { font-size: 1.125rem; }

@media (max-width: 768px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.375rem; }
  h3 { font-size: 1.125rem; }
}

p, li, span {
  color: #27384c;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
}

strong {
  font-weight: bold;
}

.container {
  max-width: 1150px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  width: 100%;
}

/* --- LAYOUT SPACING & FLEXBOX PATTERNS --- */
section {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
}
@media (max-width: 768px) {
  section {
    padding: 30px 0 0 0;
    margin-bottom: 32px;
  }
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.content-wrapper,
.text-image-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.features-grid, .features {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
}
.service-cards, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.service-card, .service-detail {
  margin-bottom: 20px;
  background: #f3f7fb;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(124,164,200,0.06), 0 2px 8px rgba(168,190,206,0.04);
  padding: 28px 24px;
  min-width: 260px;
  flex: 1 1 270px;
  transition: box-shadow .22s, transform .18s;
}
.service-card:hover, .service-detail:hover {
  box-shadow: 0 10px 32px rgba(124,164,200,0.17);
  transform: translateY(-4px) scale(1.012);
}

@media (max-width: 1024px) {
  .features-grid, .service-cards, .service-list {
    flex-direction: column;
    gap: 18px;
  }
}

@media (max-width: 768px) {
  .content-wrapper, .text-image-section, .features {
    gap: 16px;
  }
  .features-grid, .service-cards {
    flex-direction: column;
    gap: 16px;
  }
  .service-card, .service-detail {
    min-width: 0;
    width: 100%;
    padding: 20px 14px;
  }
  .testimonial-slider {
    flex-direction: column !important;
    gap: 16px;
  }
}

/*********
 BRAND "SOFT_PASTEL" COLOR PALETTE & CUSTOM PROPERTIES
*********/
:root {
  --color-primary: #274472;
  --color-secondary: #7BAFD4;
  --color-accent: #F8F9FA;
  --color-pastel-lavender: #e5e9fa;
  --color-pastel-mint: #d1fbf3;
  --color-pastel-pink: #ffe3ed;
  --color-pastel-blue: #e2f0fb;
  --color-pastel-yellow: #fffbe4;
  --color-card-bg: #f3f7fb;
  --color-card-bg-alt: #F5F2FA;
  --color-box-shadow: 0 2px 16px rgba(124,164,200,0.08), 0 1.5px 8px rgba(168,190,206,0.04);
  --color-text-main: #27384c;
  --color-text-dark: #1e2d41;
  --color-text-light: #546e8a;
  --color-btn-main: #7BAFD4;
  --color-btn-hover: #274472;
  --color-btn-text: #fff;
  --color-input-border: #ced8e9;
  --radius-main: 16px;
  --radius-lg: 26px;
}

/* --- HEADER --- */
header {
  background: linear-gradient(120deg, #e2f0fb 60%, #ffe3ed 100%);
  box-shadow: 0 3px 12px 0 rgba(118,164,200,0.06);
  padding: 0 0 8px 0;
  position: relative;
  z-index: 50;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 16px;
  padding-bottom: 12px;
  flex-wrap: wrap;
}
header img {
  height: 45px;
}

.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.025rem;
  font-weight: 500;
}
.main-nav a {
  color: #274472;
  opacity: 0.92;
  padding: 6px 8px;
  border-radius: 6px;
  transition: background 0.18s, color 0.15s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #e5e9fa;
  color: #7BAFD4;
}
.cta.primary {
  background: var(--color-btn-main);
  color: var(--color-btn-text);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  font-weight: 600;
  border-radius: 22px;
  padding: 11px 28px;
  margin-left: 12px;
  box-shadow: 0 1.5px 9px 0 rgba(136,176,210,0.10);
  transition: background 0.18s, color 0.15s, box-shadow .23s;
  border: none;
  display: inline-block;
  cursor: pointer;
}
.cta.primary:hover, .cta.primary:focus {
  background: var(--color-btn-hover);
  color: #fff;
  box-shadow: 0 7px 24px 0 rgba(39,68,114,0.18); 
}
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #274472;
  border-radius: 50%;
  padding: 6px 12px;
  line-height: 1;
  cursor: pointer;
  transition: background .19s, color .14s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #d1fbf3;
  color: #20aa95;
}

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

/* --- MOBILE MENU --- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(120deg, #e2f0fb 70%, #ffe3ed 100%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.37s cubic-bezier(.73,.18,.29,1.09);
  will-change: transform;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 1.7rem;
  background: none;
  border: none;
  color: #274472;
  margin: 22px 28px 0 0;
  cursor: pointer;
  transition: background .19s, color .14s;
  border-radius: 50%;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #e5e9fa;
  color: #217ca6;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
  margin: 42px 0 0 34px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.22rem;
  color: #1e2d41;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 9px 0 9px 0;
  border-radius: 7px;
  transition: background .18s, color .15s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #d1fbf3;
  color: #20aa95;
}

/* --- HERO --- */
.hero {
  background: linear-gradient(107deg, #f8faff 60%, #e2f0fb 100%);
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 0 40px 40px;
  box-shadow: 0 18px 64px 0 rgba(120,160,200,.09);
  padding-top: 24px;
  padding-bottom: 34px;
  margin-bottom: 36px;
}
.hero .container > .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  max-width: 670px;
  margin: 0 auto;
}
.hero h1 {
  color: #274472;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 12px;
}
.hero p {
  color: #4b6384;
  font-size: 1.125rem;
  margin-bottom: 20px;
}
.hero .cta.primary {
  margin-top: 16px;
  font-size: 1rem;
  padding: 9px 26px;
}
@media (max-width: 768px) {
  .hero {
    border-radius: 0 0 24px 24px;
    margin-bottom: 18px;
    padding-top: 10px;
    padding-bottom: 22px;
  }
}

/* --- CARDS & FEATURES --- */
.feature, .feature-item {
  background: linear-gradient(120deg, #fffbe4 40%, #e5e9fa 100%);
  box-shadow: var(--color-box-shadow);
  border-radius: 21px;
  padding: 22px 18px 20px 18px;
  flex: 1 1 260px;
  min-width: 220px;
  transition: box-shadow .21s, transform .17s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
  gap: 14px;
}
.feature img {
  width: 56px;
  height: 56px;
  margin-bottom: 6px;
}
.feature h3 {
  font-size: 1.21rem;
  color: #233b5e;
}
.feature p {
  color: #4b6384;
  font-size: 1em;
}
.feature:hover {
  box-shadow: 0 7px 28px rgba(124,164,200,0.13);
  transform: translateY(-2px) scale(1.011);
}

.service-card .price, .pricing-table td {
  background: #d1fbf3;
  display: inline-block;
  padding: 5px 14px;
  margin-top: 10px;
  border-radius: 12px;
  color: #217ca6;
  font-weight: 600;
  font-size: 1.1em;
  letter-spacing: 0.02em;
}

/*******
TESTIMONIALS 
******/
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: linear-gradient(120deg, #e5e9fa 60%, #fffbe4 100%);
  border-radius: 18px;
  box-shadow: 0 3px 19px 0 rgba(120,160,200,0.09);
  padding: 24px 22px 20px 22px;
  min-width: 250px;
  max-width: 92vw;
}
.testimonial-card p {
  color: #1e2d41;
  font-size: 1.08rem;
  line-height: 1.45;
  margin-bottom: 6px;
}
.testimonial-card span {
  font-size: 0.99rem;
  color: #647185;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  opacity: 0.93;
}
.testimonial-card:before {
  content: '"';
  font-size: 2.1rem;
  color: #7BAFD4;
  font-family: 'Montserrat', Arial, sans-serif;
  position: relative;
  line-height: 1;
  top: -2px;
}
.testimonial-card:after {
  display: none;
}
@media (max-width: 900px) {
  .testimonial-slider {
    flex-direction: column;
    gap: 16px;
  }
}

/* --- PRICING TABLES --- */
.pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 11px;
  margin: 22px 0 0 0;
  font-size: 1em;
  background: transparent;
}
.pricing-table th, .pricing-table td {
  text-align: left;
  padding: 11px 15px;
  border-radius: 14px;
}
.pricing-table th {
  background: #e2f0fb;
  color: #274472;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
.pricing-table td {
  background: #fffbe4;
  color: #217ca6;
  font-weight: 500;
  font-family: 'Roboto', Arial, sans-serif;
}

/* --- TEXT SECTION --- */
.text-section {
  background: #faf8ff;
  border-radius: 12px;
  box-shadow: 0 3px 14px 0 rgba(184,200,227,0.07);
  padding: 26px 22px 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

/******
CONTACT & INFO BLOCKS
******/
.contact-info, .contact-block, .contact-short, .contact-hours, .contact-map {
  margin-bottom: 20px;
  background: #e2f0fb;
  border-radius: 15px;
  box-shadow: var(--color-box-shadow);
  padding: 18px 20px;
  color: #274472;
}
.contact-info a {
  color: #217ca6;
  text-decoration: underline;
}
.contact-block {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 22px;
  align-items: flex-start;
  justify-content: flex-start;
}
@media (max-width: 950px) {
  .contact-block {
    flex-direction: column;
    gap: 12px;
  }
}

/******
FOOTER
******/
footer {
  background: linear-gradient(120deg,#e2f0fb 70%, #fffbe4 100%);
  box-shadow: 0 -2px 11px 0 rgba(149,173,204,0.05);
  border-radius: 24px 24px 0 0;
  padding: 23px 0 8px 0;
  margin-top: 32px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.footer-nav a {
  color: #274472;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 0.93rem;
  border-radius: 6px;
  padding: 5px 10px;
  transition: background 0.16s, color .13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #d1fbf3;
  color: #20aa95;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #647185;
  font-size: 0.98rem;
}
.footer-brand img {
  height: 28px;
}

/******
BUTTONS, CTA, UI elements
******/
button, .cta {
  transition: background .20s, color .20s, box-shadow .18s, transform .19s;
  cursor: pointer;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cta.secondary {
  background: #fffbe4;
  color: #217ca6;
  border-radius: 14px;
  padding: 8px 20px;
  font-size: 1rem;
  font-weight: 600;
  border: 1px solid #7bafd4;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #ffe3ed;
  color: #1e2d41;
  border-color: #217ca6;
}

/*********
 COOKIE CONSENT BANNER & MODAL
*********/
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 11000;
  background: linear-gradient(90deg, #e5e9fa 70%, #fffbe4 100%);
  box-shadow: 0 -4px 28px 0 rgba(88,114,150,0.07);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 32px;
  min-height: 64px;
  font-size: 1rem;
  border-radius: 18px 18px 0 0;
  animation: cookiebannerIn .44s cubic-bezier(.73,.18,.29,1.09);
}
@keyframes cookiebannerIn {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cookie-banner button {
  background: #7BAFD4;
  color: #fff;
  border: none;
  border-radius: 11px;
  padding: 7px 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1em;
  font-weight: 600;
  margin-left: 4px;
  margin-right: 0;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #274472;
  color: #fff;
}
.cookie-banner button.cookie-settings {
  background: #fffbe4;
  border: 1px solid #7BAFD4;
  color: #274472;
}
.cookie-banner button.cookie-settings:hover, .cookie-banner button.cookie-settings:focus {
  background: #e5e9fa;
  color: #7BAFD4;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    padding: 11px 8px;
    gap: 14px;
    min-height: 80px;
    font-size: .97rem;
  }
  .cookie-banner .cookie-btns {
    gap: 6px;
  }
}

.cookie-modal-overlay {
  position: fixed;
  z-index: 12000;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(40, 68, 114, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  transition: opacity .22s;
}
.cookie-modal {
  background: linear-gradient(120deg,#e2f0fb 80%, #fffbe4 100%);
  border-radius: 18px;
  padding: 34px 32px 28px 32px;
  min-width: 315px;
  max-width: 98vw;
  box-shadow: 0 10px 40px 0 rgba(90,110,140,0.19);
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: cookiemodalIn .27s cubic-bezier(.66,.12,.29,1.09);
}
@keyframes cookiemodalIn {
  from { transform: scale(.93); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal h3 {
  margin-bottom: 6px;
  font-size: 1.22rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #274472;
}
.cookie-category {
  margin-top: 8px;
  margin-bottom: 14px;
  display: flex;
  flex-direction: row;
  gap: 18px;
}
.cookie-category-title {
  font-weight: 500;
  font-size: 1.02rem;
  color: #217ca6;
  margin-bottom: 2px;
}
.cookie-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cookie-toggle input[type=checkbox] {
  accent-color: #7BAFD4;
  width: 22px;
  height: 22px;
  margin-right: 4px;
}
.cookie-essential {
  opacity: 0.7;
}
.cookie-modal-btns {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}
.cookie-modal-btns button {
  background: #7BAFD4;
  color: #fff;
  border: none;
  border-radius: 9px;
  padding: 7px 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1em;
  font-weight: 600;
}
.cookie-modal-btns button.cancel {
  background: #fffbe4;
  color: #217ca6;
  border: 1px solid #7BAFD4;
}
.cookie-modal-btns button.cancel:hover, .cookie-modal-btns button.cancel:focus {
  background: #e5e9fa;
  color: #7BAFD4;
}

/*****
 TABLES
******/
table {
  width: 100%;
  background: #fffbe4;
  border-radius: 17px;
  box-shadow: 0 3px 13px 0 rgba(98,168,194,0.06);
  margin-top: 15px;
  font-size: 1rem;
}
th, td {
  padding: 13px 18px;
  text-align: left;
}
th {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  background: #e5e9fa;
}
td {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
}

/*****
 FORMS (basic styling, if needed)
******/
input, textarea, select {
  border: 1px solid var(--color-input-border);
  background: #fff;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 1rem;
  margin-bottom: 14px;
  margin-top: 6px;
  color: var(--color-text-main);
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid #7BAFD4;
  border-color: #7BAFD4;
  background: #e5e9fa;
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #274472;
  font-weight: 500;
  font-size: 0.97rem;
  margin-bottom: 4px;
}

/* ---------------
 VISUAL EFFECTS
------------------- */
section, .hero, .service-card, .feature, .testimonial-card, .contact-info, .text-section, .content-wrapper, .cookie-banner, .cookie-modal {
  box-sizing: border-box;
}

/* Subtle fade-in effect */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  animation: fadeIn 0.66s cubic-bezier(.66,.16,.29,1.03) 0.09s 1 forwards;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Subtle card shadow & focus states */
.card:focus-within, .feature:focus-within, .service-card:focus-within
{ box-shadow: 0 6px 27px rgba(124,164,200,0.15); }

/* --- RESPONSIVE TYPOGRAPHY & SPACING --- */
@media (max-width: 600px) {
  body {
    font-size: 0.97rem;
  }
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  h1 { font-size: 1.23rem; }
  h2 { font-size: 1.09rem; }
  h3 { font-size: 1.02rem; }
}

/* --- ADDITIONAL UTILITY CLASSES --- */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-16 { margin-top: 16px !important; }
.mb-16 { margin-bottom: 16px !important; }
.pt-8 { padding-top: 8px !important; }
.pb-16 { padding-bottom: 16px !important; }
gap-20 { gap: 20px; }

/*****
ADDITIONAL COLORFUL, PASTEL DECORATIVE CIRCLES (optional, if used in HTML)
*****/
.pastel-deco {
  position: absolute;
  border-radius: 50%;
  opacity: 0.35;
  z-index: 1;
  pointer-events: none;
}
.pastel-circle-blue {
  width: 120px; height: 120px;
  background: #e2f0fb;
  left: -45px; top: -70px;
}
.pastel-circle-pink {
  width: 94px; height: 94px;
  background: #ffe3ed;
  right: -40px; top: -30px;
}
.pastel-circle-yellow {
  width: 75px; height: 75px;
  background: #fffbe4;
  left: -35px; bottom: -23px;
}

/*****
 SCROLLBAR PASTEL STYLE
******/
::-webkit-scrollbar {
  width: 9px;
  background: #e5e9fa;
}
::-webkit-scrollbar-thumb {
  background: #7bafd4;
  border-radius: 6px;
}

/* ---- ACCESSIBILITY CONTRAST OVERRIDES ---- */
.testimonial-card p, .testimonial-card span, .testimonial-slider p, .testimonial-slider span {
  color: #1e2d41 !important;
}

/* --- Z-INDEX SAFETY FOR MODALS, MOBILE MENU --- */
.mobile-menu, .mobile-menu.open {
  z-index: 9999;
}
.cookie-banner {
  z-index: 11000;
}
.cookie-modal-overlay {
  z-index: 12000;
}

/* ---- PREVENT CONTENT OVERLAPPING --- */
section, .container, .content-wrapper, .card, .feature, .testimonial-card, .service-card {
  margin-bottom: 20px;
}
div, section, article {
  min-width: 0;
}

/******
 REMOVE GRID, COLUMN, & ABSOLUTE CONTENT LAYOUTS
******/
/* Empty on purpose, enforced in code by not using these rules */
