/* 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,
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: #F7F8FC;
  color: #23272A;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #0072A9;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #00496B;
  outline: none;
}
ul, ol {
  padding-left: 24px;
  margin-bottom: 20px;
}
li + li {
  margin-top: 8px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  color: #00496B;
  margin-bottom: 12px;
  font-weight: 700;
}
h1 { font-size: 2.75rem; line-height: 1.15; margin-bottom: 18px; }
h2 { font-size: 2rem; line-height: 1.18; margin-bottom: 16px; }
h3 { font-size: 1.25rem; line-height: 1.2; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1.08rem; margin-bottom: 10px; }
p, address {
  margin-bottom: 18px;
  color: #3B3B3B;
  font-size: 1rem;
}
strong { font-weight: bold; }
em { font-style: italic; }

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

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* SECTIONS SPACING/LAYOUT ----------------------------------------------- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 12px rgba(0,50,100,0.08);
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

@media (max-width: 768px) {
  section {
    padding: 24px 10px;
    margin-bottom: 36px;
  }
}

/* HEADER & NAVIGATION -------------------------------------------------- */
header {
  background: #fff;
  box-shadow: 0 3px 12px rgba(0,50,100,0.06);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1001;
}
header .container {
  min-height: 82px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}

header img {
  height: 52px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.main-nav a {
  color: #00496B;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 8px 10px;
  border-radius: 10px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F7F8FC;
  color: #0072A9;
}

.button-primary, .button-secondary {
  display: inline-block;
  border: none;
  border-radius: 16px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  font-size: 1.08rem;
  padding: 13px 30px;
  cursor: pointer;
  transition: background 0.2s, color 0.18s, box-shadow 0.22s;
  margin-left: 8px;
}
.button-primary {
  background: #0072A9;
  color: #fff;
  box-shadow: 0 2px 12px rgba(0,50,100,0.12);
}
.button-primary:hover, .button-primary:focus {
  background: #00496B;
  color: #fff;
  box-shadow: 0 6px 24px rgba(0,50,70,0.13);
}
.button-secondary {
  background: #F7B267;
  color: #00496B;
  margin-left: 0;
  box-shadow: 0 2px 10px rgba(247,178,103,0.10);
}
.button-secondary:hover, .button-secondary:focus {
  background: #FFD8A9;
  color: #0072A9;
  box-shadow: 0 8px 32px rgba(255,210,140,0.13);
}

.button-primary:active, .button-secondary:active {
  transform: translateY(1.5px);
}

/* MOBILE NAVIGATION ---------------------------------------------------- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #0072A9;
  padding: 8px 16px;
  border-radius: 12px;
  cursor: pointer;
  z-index: 1003;
  transition: background 0.16s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #F7F8FC;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: #fff;
  z-index: 1002;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.77,0,.18,1);
  box-shadow: -10px 0 30px rgba(0,50,100,0.05);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 24px 0 10px 18px;
  font-size: 2rem;
  background: none;
  border: none;
  color: #0072A9;
  border-radius: 8px;
  cursor: pointer;
  align-self: flex-start;
  transition: background 0.12s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #F7F8FC;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-left: 36px;
  margin-top: 18px;
}
.mobile-nav a {
  font-size: 1.14rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #00496B;
  padding: 10px 0;
  border-radius: 9px;
  transition: background 0.14s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #FFD8A9;
  color: #0072A9;
}

@media (max-width: 1020px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 768px) {
  header img {
    height: 44px;
  }
  header .container {
    min-height: 58px;
    gap: 9px;
  }
}

/* FOOTER --------------------------------------------------------------- */
footer {
  background: #F6F6F9;
  border-top: 2px solid #E4EDF5;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-top: 28px;
  padding-bottom: 24px;
}
footer a img {
  height: 40px;
  margin-bottom: 14px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-nav a {
  color: #00496B;
  font-size: 1rem;
  letter-spacing: 0.01em;
  border-radius: 8px;
  padding: 6px 12px;
  transition: background 0.2s, color 0.18s;
  font-family: 'Montserrat', Arial, sans-serif;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #F7B267;
  color: #0072A9;
}
footer address {
  font-style: normal;
  color: #444;
  line-height: 1.7;
  font-size: 0.97rem;
  margin-bottom: 12px;
}
footer p {
  font-size: 0.9rem;
  color: #999;
  margin-top: 6px;
  margin-bottom: 0;
}

@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* CARDS & SPECIAL BLOCKS ------------------------------------------------ */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 13px rgba(0,50,100,0.10);
  margin-bottom: 20px;
  padding: 28px 22px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 250px;
  transition: box-shadow 0.22s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 6px 22px rgba(0,50,100,0.17);
  transform: translateY(-5px) scale(1.012);
}

.service-card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.service-card {
  background: #FFF7F0;
  border-radius: 22px;
  box-shadow: 0 2px 11px rgba(247,178,103,0.08);
  flex: 1 1 240px;
  min-width: 265px;
  max-width: 350px;
  padding: 30px 22px 28px 22px;
  margin-bottom: 20px;
  font-size: 1.035rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.18s, background 0.13s;
}
.service-card:hover {
  box-shadow: 0 6px 32px rgba(247,178,103,0.20);
  background: #FFD8A9;
}

@media (max-width: 1020px) {
  .service-card-grid {
    flex-direction: column;
    gap: 18px;
  }
  .service-card { max-width: 100%; }
}

/* FLEX SPACING UTILITY CLASSES ------------------------------------------ */
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 20px;
}
.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;
  }
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* TESTIMONIALS ---------------------------------------------------------- */
.testimonial-card {
  background: #F8FAFE;
  border-radius: 18px;
  box-shadow: 0 3px 15px rgba(0,50,100,0.08), 0 1px 0 #E4EDF5;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 26px 20px 22px;
  margin-bottom: 20px;
  min-width: 225px;
  max-width: 480px;
  color: #2D2B2B;
  font-size: 1.1rem;
  transition: box-shadow 0.18s, background 0.15s;
}
.testimonial-card span {
  color: #0072A9;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-top: -8px;
}
.testimonial-card:hover {
  box-shadow: 0 7px 32px rgba(0,50,100,0.13);
  background: #FFF7F0;
}
blockquote {
  font-style: italic;
  background: #FFCFA1;
  border-radius: 16px;
  padding: 17px 22px;
  margin: 18px 0 16px 0;
  color: #00496B;
  font-size: 1.11rem;
  box-shadow: 0 1px 8px rgba(247,178,103,0.10);
}

/* DETAILS & SUMMARY ----------------------------------------------------- */
details {
  background: #F8FAFE;
  border-radius: 14px;
  padding: 16px 22px 0 22px;
  margin-bottom: 18px;
  color: #2D2B2B;
  box-shadow: 0 1px 10px rgba(0,50,100,0.07);
}
details[open] {
  background: #FFF7F0;
}
summary {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #0072A9;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.12rem;
  margin-bottom: 10px;
  outline: none;
}
details ul {
  margin-top: 9px;
}

/* TEXT SECTION ---------------------------------------------------------- */
.text-section {
  background: #F7F8FC;
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 16px;
}

/* ADDRESS & ICONS ------------------------------------------------------ */
address img {
  display: inline;
  height: 19px;
  width: 19px;
  margin-right: 7px;
  vertical-align: middle;
  opacity: 0.85;
}
address a {
  color: #0072A9;
  font-weight: 500;
  text-decoration: underline;
  margin-left: 2px;
  font-size: 1.01em;
}
address a:hover, address a:focus {
  color: #00496B;
}

/* FORMS --------------------------------------------------------------- */
form, .contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 14px;
  margin-bottom: 24px;
}
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  padding: 13px 12px;
  border: 1.7px solid #C7D2E2;
  border-radius: 12px;
  background: #F7F8FC;
  color: #23272A;
  margin-bottom: 8px;
  transition: border 0.18s, box-shadow 0.12s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #0072A9;
  box-shadow: 0 0 0 2px #82CFFC33;
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 5px;
  font-size: 1rem;
  color: #00496B;
}

/* RESPONSIVE DESIGN --------------------------------------------------- */
@media (max-width: 900px) {
  .container {
    padding-left: 7px;
    padding-right: 7px;
  }
  .footer-nav, .card-container, .content-grid {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 600px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.32rem; }
  .service-card, .card, .testimonial-card, .text-section {
    padding: 14px 10px;
    min-width: unset;
  }
  .testimonial-card { padding: 15px 11px 15px 11px; }
  .content-wrapper {
    gap: 9px;
  }
}

/* COOKIE CONSENT BANNER + MODAL ------------------------------------------ */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  background: #fff7ef;
  color: #2D2B2B;
  padding: 22px 20px 22px 20px;
  display: none;
  flex-direction: column;
  align-items: center;
  z-index: 2000;
  box-shadow: 0 -5px 18px rgba(247,178,103,0.14);
  gap: 18px;
  font-size: 1rem;
  transition: transform 0.25s;
}
.cookie-banner.hide {
  transform: translateY(100%);
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 14px;
  margin-top: 4px;
}
.cookie-banner button {
  min-width: 120px;
  padding: 10px 18px;
  border-radius: 12px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.16s, color 0.11s;
}
.cookie-banner .accept {
  background: #0072A9;
  color: #fff;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #00496B;
}
.cookie-banner .reject {
  background: #EDEDED;
  color: #0072A9;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #FFD8A9;
  color: #00496B;
}
.cookie-banner .settings {
  background: #F7B267;
  color: #00496B;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #FFD8A9;
  color: #0072A9;
}

.cookie-modal {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(33,39,62,0.27);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-content {
  background: #fff7ef;
  border-radius: 23px;
  padding: 28px 24px 22px 24px;
  max-width: 410px;
  min-width: 295px;
  box-shadow: 0 8px 34px rgba(247,178,103,0.23);
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: #2D2B2B;
  font-size: 1rem;
}
.cookie-modal-content h3 {
  margin-top: 0;
  font-size: 1.13rem;
  color: #00496B;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.cookie-modal-content label {
  margin: 0 0 0 0;
  font-weight: 500;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.99rem;
  color: #00496B;
}
.cookie-modal-toggle {
  width: 34px;
  height: 20px;
  border-radius: 11px;
  background: #E9ECF3;
  cursor: pointer;
  position: relative;
  margin-right: 7px;
}
.cookie-modal-toggle input[type=checkbox] {
  opacity: 0;
  width: 0; height: 0;
}
.cookie-modal-toggle .slider {
  position: absolute;
  left: 2.5px; top: 2.5px;
  width: 16px; height: 16px;
  background: #FFF;
  border-radius: 50%;
  transition: left 0.21s, background 0.12s;
  box-shadow: 0 1.5px 4px rgba(0,0,0,0.09);
}
.cookie-modal-toggle input[type=checkbox]:checked + .slider {
  left: 15px;
  background: #0072A9;
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 13px;
  align-items: center;
}
.cookie-modal-actions button {
  min-width: 110px;
}

/* ICON STYLES ---------------------------------------------------------- */
ul li img, ol li img {
  vertical-align: middle;
  height: 26px;
  width: 26px;
  margin-right: 9px;
  border-radius: 5px;
  background: #F8FAFE;
  box-shadow: 0 1.5px 4px rgba(0,50,100,0.05);
}

/* MISC VISUALS/ANIMATION ----------------------------------------------- */
::-webkit-scrollbar {
  width: 14px;
  background: #F7F8FC;
}
::-webkit-scrollbar-thumb {
  background: #E2E9F2;
  border-radius: 15px;
}

*:focus-visible {
  outline: 2.2px solid #82CFFC;
  outline-offset: 2px;
}

/* Animation for smooth menu/cookie-modal transitions */
@media (prefers-reduced-motion: no-preference) {
  .mobile-menu, .mobile-menu.open, .cookie-modal, .cookie-banner {
    transition: transform 0.36s cubic-bezier(.77,0,.18,1), opacity 0.22s;
  }
  .card, .service-card, .testimonial-card {
    transition: box-shadow 0.22s, transform 0.16s;
  }
}

/* FLEXBOX KEY CONTAINERS REINFORCED ------------------------------------ */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.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;
}

/* END CSS */
