/* === CSS RESET & BASE === */
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, 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;
}
html {
  min-height: 100%;
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #F9F9F0;
  color: #222;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
*, *:before, *:after {
  box-sizing: inherit;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #2299F8;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: #005dcc;
}

/* ==== TYPOGRAPHY ==== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #203A43;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
p, ul, ol, blockquote {
  font-size: 1rem;
  color: #222;
  margin-bottom: 18px;
  line-height: 1.7;
}
strong {
  font-weight: 700;
  color: #0d4f78;
}

ul {
  list-style: disc inside;
  padding-left: 20px;
  margin-bottom: 18px;
}
li {
  margin-bottom: 8px;
}

blockquote {
  font-style: italic;
  background: #fff;
  border-left: 4px solid #64B9E6;
  padding: 14px 28px;
  margin-bottom: 12px;
  color: #203A43;
}
blockquote footer {
  margin-top: 10px;
  font-size: 0.96rem;
  color: #1e6192;
}

/* ==== LAYOUT CONTAINERS ==== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ==== HEADER/NAVIGATION ==== */
header {
  background: #203A43;
  width: 100%;
  box-shadow: 0 3px 16px 0 rgba(32,58,67,0.06);
  position: relative;
  z-index: 999;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0 16px 0;
  gap: 20px;
}
header img {
  height: 38px;
  margin-right: 24px;
}
header nav {
  display: flex;
  gap: 18px;
}
header nav a {
  color: #F9F9F0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  position: relative;
  padding: 6px 10px;
  transition: color 0.18s;
}
header nav a:hover,
header nav a:focus {
  color: #64B9E6;
}

.cta-btn {
  background: #64B9E6;
  color: #203A43;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.04rem;
  border: none;
  padding: 12px 26px;
  border-radius: 32px;
  margin-left: 14px;
  box-shadow: 0 6px 34px -12px #203A43;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: #2299F8;
  color: #fff;
  box-shadow: 0 8px 36px -13px #203a43;
}

/* === MOBILE MENU === */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  right: 18px;
  top: 16px;
  z-index: 1100;
  width: 48px;
  height: 48px;
  background: #64B9E6;
  color: #203A43;
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  padding: 0;
  cursor: pointer;
  box-shadow: 0 4px 20px -5px #2299F8;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #2299F8;
  color: #fff;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #203A43;
  transform: translateX(100vw);
  transition: transform 0.33s cubic-bezier(.74,.02,.51,.98);
  z-index: 1400;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 40px 25px 25px 25px;
  box-sizing: border-box;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  color: #F9F9F0;
  font-size: 2.2rem;
  border: none;
  align-self: flex-end;
  cursor: pointer;
  margin-bottom: 16px;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  margin-top: 10px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.14rem;
  color: #fff;
  padding: 12px 0;
  border-bottom: 1px solid rgba(100,185,230,0.1);
  transition: color 0.17s, background 0.18s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #64B9E6;
  background: rgba(100,185,230,0.07);
}

@media (max-width: 1020px) {
  header .container nav {
    gap: 9px;
  }
}
@media (max-width: 900px) {
  header .container nav {
    display: none;
  }
  .cta-btn {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 600px) {
  header img {
    height: 32px;
  }
}

/* ==== MAIN CONTENT LAYOUT ==== */
main {
  width: 100%;
  min-height: 60vh;
  background: #F9F9F0;
  padding-top: 26px;
  padding-bottom: 40px;
}
.section, .content-section {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 4px 24px -8px #22AADD22;
  margin-bottom: 60px;
  padding: 40px 20px;
}

.content-grid, .team-grid, .values-grid, .features-grid, .review-cards, .news-list, .categories, .news-teasers, .reviews-list, .feature-comparison {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.content-grid, .features-grid, .values-grid, .team-grid, .review-cards, .news-list, .categories, .news-teasers, .reviews-list, .feature-comparison {
  justify-content: flex-start;
  align-items: stretch;
}
.features-grid > div,
.values-grid > div,
.team-grid > div,
.review-cards > div,
.news-list > div,
.categories > div,
.news-teasers > div,
.reviews-list > div,
.feature-comparison > div {
  background: #F9F9F0;
  border-radius: 20px;
  box-shadow: 0 2px 14px -4px #2299F833;
  padding: 25px 18px 18px 18px;
  flex: 1 1 260px;
  min-width: 230px;
  max-width: 350px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.18s, transform 0.16s, background 0.18s;
}
.features-grid > div:hover,
.values-grid > div:hover,
.team-grid > div:hover,
.review-cards > div:hover,
.news-list > div:hover,
.categories > div:hover,
.news-teasers > div:hover,
.reviews-list > div:hover,
.feature-comparison > div:hover {
  box-shadow: 0 8px 30px -10px #2299F8;
  transform: translateY(-4px) scale(1.02);
  background: #E9F6FB;
}
.features-grid img, .values-grid img, .team-grid a img {
  height: 36px;
  width: 36px;
  margin-bottom: 12px;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 19px;
  box-shadow: 0 3px 18px -6px #2299F855;
  margin-bottom: 20px;
  margin-top: 18px;
  max-width: 680px;
  color: #222;
}
.testimonial-card blockquote {
  color: #203A43;
  background: none;
  border-left: 3px solid #64B9E6;
  padding: 0 20px;
  margin: 0;
}

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

/* === FILTERS, TAGS, RATINGS === */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  background: #E9F6FB;
  border-radius: 15px;
  padding: 18px 16px;
}
.filters label {
  color: #1e6192;
  font-weight: 700;
  margin-right: 4px;
}
.rating {
  font-weight: 700;
  color: #f4b900;
  background: #F9F9F0;
  border-radius: 8px;
  padding: 3px 9px;
  font-size: 0.98rem;
  display: inline-block;
  margin-bottom: 8px;
}
.tag {
  display: inline-block;
  background: #64B9E6;
  color: #fff;
  border-radius: 7px;
  font-size: 0.92rem;
  padding: 4px 10px;
  margin-right: 6px;
}

/* === BUTTONS === */
button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.02rem;
  padding: 10px 24px;
  border: none;
  border-radius: 22px;
  background: #64B9E6;
  color: #203A43;
  box-shadow: 0 2px 12px -4px #2299F8;
  cursor: pointer;
  transition: background 0.16s, color 0.18s;
  outline: none;
}
button:hover, button:focus {
  background: #2299F8;
  color: #fff;
}

/* == FOOTER == */
footer {
  background: #203A43;
  color: #F9F9F0;
  padding: 30px 0 15px 0;
  font-size: 1rem;
  width: 100%;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  justify-content: flex-start;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 8px;
}
footer nav a {
  color: #64B9E6;
  font-weight: 600;
  font-size: 1rem;
  margin-right: 4px;
  transition: color 0.16s, text-decoration 0.18s;
}
footer nav a:hover, footer nav a:focus {
  color: #F9F9F0;
}
.contact-details {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  color: #F9F9F0;
  font-size: 0.99rem;
  margin-bottom: 8px;
}
.contact-details img {
  width: 19px;
  height: auto;
  margin-right: 5px;
  vertical-align: middle;
  display: inline-block;
}
footer div:last-child {
  font-size: 0.99rem;
  color: #8cafe0;
}

@media (max-width: 1000px) {
  .content-grid, .team-grid, .values-grid, .features-grid, .review-cards,
  .news-list, .categories, .news-teasers, .reviews-list, .feature-comparison {
    gap: 18px;
  }
  .features-grid > div, .values-grid > div,
  .team-grid > div, .review-cards > div, .news-list > div,
  .categories > div, .news-teasers > div, .reviews-list > div,
  .feature-comparison > div {
    min-width: 190px;
    max-width: 48%;
  }
}
@media (max-width: 700px) {
  .content-grid, .team-grid, .values-grid, .features-grid, .review-cards,
  .news-list, .categories, .news-teasers, .reviews-list, .feature-comparison {
    flex-direction: column;
    gap: 20px;
  }
  .features-grid > div, .values-grid > div, .team-grid > div, .review-cards > div,
  .news-list > div, .categories > div, .news-teasers > div, .reviews-list > div,
  .feature-comparison > div {
    width: 100%;
    max-width: 100%;
    min-width: unset;
  }
}

/* === RESPONSIVE SECTION SPACING & TEXT IMAGE SECTION === */
@media (max-width: 768px) {
  .section, .content-section {
    padding: 23px 7px;
    margin-bottom: 38px;
    border-radius: 13px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px;
    gap: 10px;
  }
  footer .container {
    padding-left: 10px;
    padding-right: 10px;
  }
}

@media (max-width: 540px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.34rem;
  }
  h3 {
    font-size: 1.1rem;
  }
  .cta-btn {
    font-size: 0.97rem;
    padding: 10px 15px;
  }
}

/* === ANIMATION & TRANSITIONS === */
.section, .content-section,
.features-grid > div, .values-grid > div, .team-grid > div, .review-cards > div, .news-list > div, .categories > div, .news-teasers > div, .reviews-list > div, .feature-comparison > div,
.testimonial-card {
  transition: box-shadow 0.18s, background 0.18s, transform 0.14s;
}

.cta-btn, button {
  transition: background 0.2s, color 0.2s, box-shadow 0.21s, transform 0.12s;
}

/* === COOKIE CONSENT BANNER & MODAL === */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: #203A43;
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 16px 24px;
  z-index: 2000;
  box-shadow: 0 -4px 16px -6px #2299F8;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  font-size: 1rem;
  animation: banner-slideup 0.96s cubic-bezier(.63,.02,.41,.98);
}
@keyframes banner-slideup {
  0% {transform: translateY(120%);}
  100% {transform: translateY(0);}
}
.cookie-banner p {
  color: #fff;
  margin-bottom: 0;
  margin-right: 12px;
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.cookie-btn {
  background: #F9F9F0;
  color: #203A43;
  border: none;
  border-radius: 22px;
  padding: 9px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-left: 0;
  margin-top: 0;
  cursor: pointer;
  box-shadow: 0 2px 8px -3px #fff4;
  font-size: 1.05rem;
  transition: background 0.17s, color 0.14s, box-shadow 0.17s;
}
.cookie-btn.accept {
  background: #64B9E6;
  color: #fff;
}
.cookie-btn.reject {
  background: #ffe248;
  color: #203A43;
}
.cookie-btn.settings {
  background: #fff;
  color: #203A43;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #2299F8;
  color: #fff;
}

@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 9px 8px 12px 7px;
    font-size: 0.98rem;
  }
}

/* === COOKIE SETTINGS MODAL === */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(32,58,67,0.76);
  z-index: 2110;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modal-fadein 0.3s;
}
@keyframes modal-fadein { 0% { opacity: 0; } 100%{ opacity: 1; } }
.cookie-modal {
  background: #fff;
  color: #203A43;
  padding: 36px 31px 28px 31px;
  border-radius: 16px;
  box-shadow: 0 8px 38px -9px #2299F899;
  min-width: 330px;
  max-width: 94vw;
  font-family: 'Roboto',Arial,sans-serif;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  z-index: 2112;
}
.cookie-modal h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #203A43;
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 8px;
}
.cookie-category label {
  font-weight: 700;
  color: #2299F8;
}
.cookie-toggle {
  width: 38px;
  height: 22px;
  appearance: none;
  background: #e7e7e7;
  border-radius: 16px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.18s;
}
.cookie-toggle:checked {
  background: #64B9E6;
}
.cookie-toggle:before {
  content: '';
  position: absolute;
  left: 4px;
  top: 4px;
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.2s;
}
.cookie-toggle:checked:before {
  left: 20px;
}
.cookie-modal .cookie-btn {
  margin: 0 8px 0 0;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 13px;
  right: 18px;
  background: none;
  color: #203A43;
  font-size: 1.65rem;
  border: none;
  cursor: pointer;
}
@media (max-width: 480px) {
  .cookie-modal { min-width: 0; padding: 16px 6px 16px 7px; font-size: 0.97rem; }
}

/* === MISC & UTILITIES === */
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.d-flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.align-center { align-items: center; }
.align-start { align-items: flex-start; }
.gap-10 { gap: 10px; }
.gap-20 { gap: 20px; }
.gap-24 { gap: 24px; }

/* === CUSTOM SCROLLBAR === */
::-webkit-scrollbar { width: 11px; background: #F9F9F0; }
::-webkit-scrollbar-thumb { background: #64B9E6; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #2299F8; }

/* ==== END ==== */
