/* -----------------------------------------
   RESET AND BASE STYLES
------------------------------------------ */
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;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F2F7FA;
  color: #205072;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img, svg {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  display: block;
}
a {
  color: #205072;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #72D6C9;
  outline: none;
}
ul, ol {
  margin-left: 20px;
}

/* -----------------------------------------
   TYPOGRAPHY
------------------------------------------ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #205072;
}
h1 {
  font-size: 2.8rem;
  line-height: 1.1;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  line-height: 1.15;
  margin-bottom: 20px;
  margin-top: 16px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
p, li, label, input, textarea, button, small {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: #205072;
  line-height: 1.7;
}
strong {
  font-weight: 700;
}
small {
  font-size: 0.93rem;
  color: #4B798B;
}

/* Geometric headline accentations */
h1, h2, h3 {
  text-transform: none;
  letter-spacing: 0.01em;
}

/* -----------------------------------------
   CONTAINER & LAYOUT
------------------------------------------ */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 16px rgba(32,80,114,0.07);
  position: relative;
}

/* -----------------------------------------
   HEADER & NAVIGATION
------------------------------------------ */
header {
  background: #fff;
  border-bottom: 2px solid #EBF3F8;
  position: sticky;
  top: 0;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 7px 11px;
  border-radius: 8px;
  transition: background 0.2s;
}
header nav a:hover, header nav a.active {
  background: #F2F7FA;
  color: #72D6C9;
}
.cta.primary {
  background: #205072;
  color: #fff;
  border: none;
  padding: 11px 32px;
  border-radius: 50px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 12px rgba(32,80,114,0.09);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.2s;
  outline: none;
  position: relative;
  margin-left: 16px;
}
.cta.primary:hover, .cta.primary:focus {
  background: #72D6C9;
  color: #205072;
}
.cta.secondary {
  background: transparent;
  color: #205072;
  border: 2px solid #205072;
  padding: 10px 28px;
  border-radius: 50px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  box-shadow: none;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border 0.2s;
  outline: none;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #205072;
  color: #fff;
  border: 2px solid #205072;
}

/*************** MOBILE NAVIGATION ***************/
.mobile-menu-toggle {
  display: none;
  background: #205072;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 2rem;
  line-height: 1;
  padding: 7px 13px;
  cursor: pointer;
  margin-left: 12px;
  transition: background 0.2s;
  z-index: 1002;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #72D6C9;
  color: #205072;
}
@media (max-width: 1024px) {
  header nav {
    display: none;
  }
  .cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  box-shadow: 0 0 32px rgba(32,80,114,0.07);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(.46,.03,.52,.96);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0 32px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  border: none;
  color: #205072;
  font-size: 2rem;
  align-self: flex-end;
  margin: 16px 0 16px 0;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #72D6C9;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  margin-top: 14px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  color: #205072;
  padding: 13px 0;
  border-bottom: 1px solid #EBF3F8;
  transition: color 0.16s;
  width: 100%;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #72D6C9;
}

/* -----------------------------------------
   HERO SECTION
------------------------------------------ */
.hero {
  padding: 55px 0 40px 0;
  background: linear-gradient(90deg, #fff 60%, #F2F7FA 100%);
  margin-bottom: 40px; /* Extra for clarity */
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  max-width: 680px;
  align-items: flex-start;
  gap: 20px;
}
.hero h1 {
  font-size: 2.4rem;
}
.hero p {
  font-size: 1.24rem;
}

/* -----------------------------------------
   FEATURE CARDS & GRIDS (MANDATORY FLEX)
------------------------------------------ */
.feature-grid, .card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.feature-grid > div, .card, .card-content {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(32,80,114,0.07);
  padding: 24px 20px;
  flex: 1 1 200px;
  min-width: 220px;
  max-width: calc(25% - 24px);
  text-align: left;
  transition: box-shadow 0.2s, transform 0.18s;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  border: 2.5px solid #EBF3F8;
  position: relative;
}
.feature-grid > div:hover, .card:hover, .card-content:hover {
  box-shadow: 0 6px 40px rgba(32,80,114,0.13);
  transform: translateY(-6px) scale(1.01);
  border-color: #72D6C9;
}

@media (max-width: 900px) {
  .feature-grid > div, .card, .card-content {
    min-width: 200px;
    max-width: calc(50% - 24px);
  }
}
@media (max-width: 600px) {
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .feature-grid > div, .card, .card-content {
    min-width: 100%;
    max-width: 100%;
  }
}

/****** General Grid for Content (MANDATORY FLEX) ******/
.content-grid {
  gap: 20px;
  justify-content: flex-start;
  align-items: stretch;
}

/****** Card Container ******/
.card-container {
  gap: 24px;
  flex-wrap: wrap;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(32,80,114,0.07);
  border: 2px solid #F2F7FA;
  padding: 24px 20px;
}

/****** TEXT + IMAGE FLEX SECTION ******/
.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: stretch;
  }
}

/****** FEATURE ITEM FLEX ******/
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/****** SERVICE LIST ******/
.service-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.service-list li {
  background: #EBF3F8;
  color: #205072;
  border-radius: 14px;
  margin-bottom: 20px;
  padding: 17px 22px;
  font-size: 1.08rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-left: 5px solid #72D6C9;
  box-shadow: 0 1px 4px rgba(32,80,114,0.07);
}
.service-list .price {
  color: #205072;
  font-weight: 700;
  margin-left: 10px;
  font-family: 'Montserrat', Arial, sans-serif;
}

/****** ARTICLES & CATEGORIES ******/
.category-list, .articles-list, .tips-list {
  list-style: none;
  padding: 0;
}
.category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 12px;
}
.category-list li a {
  background: #F2F7FA;
  border-radius: 18px;
  padding: 10px 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  color: #205072;
  transition: background 0.16s, color 0.16s, border 0.16s;
  border: 2px solid #EBF3F8;
}
.category-list li a:hover, .category-list li a.active {
  background: #72D6C9;
  color: #fff;
  border: 2px solid #72D6C9;
}
.articles-list li {
  margin-bottom: 20px;
  border-left: 5px solid #205072;
  background: #fff;
  border-radius: 16px;
  padding: 16px 22px;
  transition: box-shadow 0.17s;
  box-shadow: 0 1px 6px rgba(32,80,114,0.07);
  position: relative;
}
.articles-list li:hover {
  box-shadow: 0 4px 18px rgba(32,80,114,0.13);
}
.tips-list li {
  margin-bottom: 14px;
  position: relative;
  padding-left: 18px;
}
.tips-list li::before {
  content: '';
  display: inline-block;
  width: 11px; height: 11px;
  background: #72D6C9;
  border-radius: 50%;
  position: absolute;
  top: 7px; left: 0;
}

/****** FORM STYLES ******/
input[type="text"], input[type="email"], textarea {
  width: 100%;
  padding: 12px 14px;
  margin-top: 7px;
  background: #F2F7FA;
  border: 2px solid #EBF3F8;
  border-radius: 9px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 16px;
  transition: border 0.2s;
  color: #205072;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border: 2px solid #72D6C9;
  outline: none;
  background: #fff;
}
label {
  font-weight: 600;
  display: block;
  color: #205072;
  margin-bottom: 2px;
  font-family: 'Montserrat', Arial, sans-serif;
}
textarea {
  resize: vertical;
  height: 90px;
}
button, .cta {
  font-family: 'Montserrat', Arial, sans-serif;
  cursor: pointer;
  border: none;
}

/****** SOCIAL LINKS ******/
.social-links {
  display: flex;
  gap: 20px;
  margin-top: 10px;
}
.social-links a {
  display: flex;
  align-items: center;
  width: 37px;
  height: 37px;
  background: #fff;
  border-radius: 50%;
  border: 2px solid #EBF3F8;
  justify-content: center;
  transition: border 0.13s, background 0.2s;
}
.social-links a:hover, .social-links a:focus {
  border: 2px solid #72D6C9;
  background: #72D6C9;
}

/****** TESTIMONIALS ******/
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 8px rgba(32,80,114,0.13);
  border: 2.5px solid #F2F7FA;
  margin-bottom: 24px;
  font-family: 'Roboto', Arial, sans-serif;
  position: relative;
  min-width: 0;
  color: #205072;
}
.testimonial-card p {
  margin: 0;
  font-size: 1.04rem;
}
.testimonial-card span {
  font-size: 1rem;
  font-weight: 600;
  color: #205072;
}

/****** GENERAL TEXT-SECTION ******/
.text-section {
  max-width: 690px;
  margin: 0 auto 0 0;
  line-height: 1.65;
  font-size: 1.07rem;
  color: #205072;
}

/****** BUTTON EFFECTS ******/
button, .cta {
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, border 0.18s, transform 0.16s;
}
button:active, .cta:active {
  transform: scale(0.97);
}

/****** PRICE TAGS ******/
.price {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #205072;
}

/****** FOOTER ******/
footer {
  padding: 30px 0 20px 0;
  background: #205072;
  color: #fff;
  border-top: 3px solid #EBF3F8;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
}
footer nav {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 9px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
footer nav a {
  color: #fff;
  padding: 0 4px;
}
footer nav a:hover, footer nav a:focus {
  color: #72D6C9;
}
footer .text-section p {
  color: #fff;
}
footer .cta {
  background: #72D6C9;
  color: #205072;
  border: none;
  border-radius: 50px;
  padding: 10px 20px;
  margin-top: 14px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(32,80,114,0.11);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  transition: background 0.19s, color 0.19s;
}
footer .cta:hover, footer .cta:focus {
  background: #205072;
  color: #fff;
}

/****** COOKIE CONSENT BANNER ******/
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #205072;
  color: #fff;
  padding: 22px 16px 22px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  z-index: 12000;
  box-shadow: 0 -2px 20px rgba(32,80,114,0.15);
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.2s, transform 0.3s cubic-bezier(.51,.02,.54,1.01);
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(24px);
  pointer-events: none;
}
.cookie-banner-content {
  flex: 1 1 320px;
  min-width: 220px;
  font-size: 1.07rem;
  margin-bottom: 0;
}
.cookie-banner-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}
.cookie-banner button, .cookie-banner .btn {
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 50px;
  border: none;
  font-weight: 600;
  padding: 9px 23px;
  font-size: 1rem;
  cursor: pointer;
  outline: none;
  transition: background 0.16s, color 0.16s;
  margin: 0 0 0 0;
}
.cookie-banner .accept-all {
  background: #72D6C9;
  color: #205072;
}
.cookie-banner .accept-all:hover, .cookie-banner .accept-all:focus {
  background: #fff;
  color: #205072;
}
.cookie-banner .reject-all {
  background: #fff;
  color: #205072;
  border: 2px solid #72D6C9;
}
.cookie-banner .reject-all:hover, .cookie-banner .reject-all:focus {
  background: #72D6C9;
  color: #fff;
}
.cookie-banner .cookie-settings {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}
.cookie-banner .cookie-settings:hover, .cookie-banner .cookie-settings:focus {
  background: #fff;
  color: #205072;
  border: 2px solid #72D6C9;
}

/****** COOKIE SETTINGS MODAL ******/
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(32,80,114,0.8);
  z-index: 12020;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.21s;
}
.cookie-modal {
  background: #fff;
  color: #205072;
  border-radius: 20px;
  padding: 36px 30px 26px 30px;
  min-width: 300px;
  max-width: 94vw;
  box-shadow: 0 4px 32px rgba(32,80,114,0.26);
  font-family: 'Roboto', Arial, sans-serif;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-modal-close {
  position: absolute;
  top: 17px;
  right: 22px;
  background: transparent;
  border: none;
  font-size: 2.1rem;
  color: #72D6C9;
  cursor: pointer;
  transition: color 0.18s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #205072;
}
.cookie-modal h2 {
  font-size: 1.18rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 7px;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F2F7FA;
  border-radius: 13px;
  padding: 13px 18px;
  font-size: 1rem;
}
.cookie-category strong {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
.cookie-category .toggle-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.toggle-switch input[type="checkbox"] {
  display: none;
}
.toggle-slider {
  display: inline-block;
  width: 44px; height: 24px;
  background: #ccc;
  border-radius: 14px;
  transition: background 0.19s;
  position: relative;
}
.toggle-slider::before {
  content: '';
  position: absolute; top: 3px; left: 3px;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.19s;
}
.toggle-switch input[type="checkbox"]:checked + .toggle-slider {
  background: #72D6C9;
}
.toggle-switch input[type="checkbox"]:checked + .toggle-slider::before {
  left: 23px;
}
.toggle-switch.disabled .toggle-slider {
  background: #EBF3F8;
}
.toggle-switch.disabled .toggle-slider::before {
  background: #ccc;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 16px;
}

/****** ACCESSIBILITY & HIGHLIGHTS ******/
:focus {
  outline: 2.5px solid #72D6C9;
  outline-offset: 2.5px;
}

/****** RESPONSIVE DESIGN ********/
@media (max-width: 1024px) {
  .content-wrapper {
    gap: 20px;
  }
  .feature-grid, .content-grid, .card-container, .footer .content-wrapper {
    gap: 16px;
  }
  .section { padding: 32px 14px; }
  .hero {
    padding: 32px 0 28px 0;
  }
}
@media (max-width: 768px) {
  .footer .content-wrapper, footer .content-wrapper,
  .content-wrapper, footer .container {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .section {
    margin-bottom: 36px;
    padding: 24px 8px;
  }
  .hero .container {
    padding: 0 8px;
  }
  .hero .content-wrapper h1 {
    font-size: 1.67rem;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 1.21rem; }
  h2 { font-size: 1rem; }
  .hero .container {
    padding: 0 2px;
  }
  .section {
    margin-bottom: 24px;
    padding: 16px 3px;
    border-radius: 7px;
  }
  footer {
    padding: 22px 0 12px 0;
  }
  .cookie-banner, .cookie-modal {
    padding: 19px 6px;
    font-size: 0.98rem;
  }
}

/****** MISC GEOMETRIC STRUCTURED VISUALS ******/
.feature-grid > div::before {
  content: '';
  display: block;
  height: 0;
  width: 100%;
  border-radius: 10px;
  border-bottom: 4px solid #72D6C9;
  margin-bottom: 9px;
}
.feature-grid > div:hover::before {
  border-bottom: 4px solid #205072;
  transition: border 0.18s;
}

/****** GEOMETRIC DECORATIVE ELEMENTS (OPTIONAL) ******/
.section::after {
  /* For geometric visual: triangle corner */
  content: '';
  position: absolute;
  bottom: 18px; right: 22px;
  width: 24px; height: 24px;
  background: linear-gradient(135deg, #72D6C9 59%, rgba(114,214,201,0) 59%);
  border-radius: 5px;
  z-index: 3;
  opacity: 0.10;
  pointer-events: none;
}

/* Hide geometric accent if needed on small screen */
@media (max-width: 600px) {
  .section::after { display: none; }
}

/* -----------------------------------------
   END OF CSS
------------------------------------------ */
