/* RESET & NORMALIZE */
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;
  vertical-align:baseline;
  box-sizing: border-box;
  font: inherit;
}
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body {
  min-height: 100vh;
  background: #F8F8F8;
  color: #043358;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 0.01em;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #27A0B6; text-decoration: none; transition: color 0.20s; }
a:hover, a:focus { color: #043358; outline: none; }
strong, b { font-weight: bold; }
input,select,button { font: inherit; }
ul,ol { margin-left: 1.5em; margin-bottom: 16px; }
li { margin-bottom: 8px; }
table { border-collapse: collapse; width: 100%; margin-bottom: 24px; background: #FCFCFC; box-shadow: 0 2px 12px rgba(4,51,88,0.027); border-radius: 14px; overflow: hidden; }
th,td { padding: 14px 12px; text-align: left; }
th { background: #EBF2F8; font-family: 'Montserrat', Arial, sans-serif; font-weight: 600; letter-spacing: 0.02em; }
td { border-top: 1px solid #EEF5FA; }
blockquote { font-size: 18px; margin: 0 0 10px 0; padding-left: 18px; border-left: 4px solid #27A0B6; font-style: italic; color: #043358; background: #f0f6fa; border-radius: 0 10px 10px 0; }
hr { border: none; border-top: 1px solid #ECECEC; margin: 32px 0; width: 100%; }

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #043358;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 18px;
  line-height: 1.18;
}
h1 { font-size: 2.4rem; margin-top: 0; }
h2 { font-size: 2rem; margin-top: 8px; }
h3 { font-size: 1.32rem; margin-top: 8px; }
h4 { font-size: 1.1rem; }
h5, h6 { font-size: 0.98rem; }
p { margin-bottom: 16px; }

/* CONTAINERS & SECTIONS */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.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; }
}

/* STRUCTURED GRID PATTERNS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  background: #fff;
  margin-bottom: 20px;
  position: relative;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(4, 51, 88, 0.07);
  border: 2px solid #EBF2F8;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  padding: 24px 22px 20px 22px;
  transition: box-shadow 0.25s, border-color 0.25s, transform 0.22s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 32px rgba(39,160,182,0.08), 0 0 0 4px #EBF2F8;
  border-color: #27A0B6;
  transform: translateY(-3px) scale(1.018);
  z-index: 1;
}
.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;
}

/* BUTTONS */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 34px;
  border-radius: 40px;
  background: #043358;
  color: #fff;
  border: 2px solid #043358;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.06em;
  box-shadow: 0 2px 14px rgba(4,51,88,0.09);
  text-transform: uppercase;
  cursor: pointer;
  outline: none;
  transition: background 0.21s, color 0.18s, border-color 0.21s, transform 0.14s;
  text-decoration: none;
  margin-top: 8px;
}
.btn-primary:hover, .btn-primary:focus {
  background: #27A0B6;
  color: #fff;
  border-color: #27A0B6;
  transform: scale(1.035);
}

/* HEADER NAVBAR */
header {
  background: #fff;
  box-shadow: 0 4px 24px rgba(4, 51, 88, 0.047);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 32px;
  min-height: 70px;
  position: relative;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
  margin-left: 32px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #043358;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  position: relative;
  padding: 6px 8px;
  border-radius: 6px;
  transition: background 0.16s, color 0.18s;
}
header nav a:hover, header nav a:focus {
  background: #EBF2F8;
  color: #27A0B6;
}
header img {
  height: 40px;
  margin-right: 20px;
  margin-top: 4px;
}
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #043358;
  display: none;
  cursor: pointer;
  margin-left: auto;
  transition: color 0.18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  color: #27A0B6;
}
@media (max-width: 900px) {
  header .container { gap: 8px; }
  header nav { gap: 14px; margin-left: 10px; }
}
@media (max-width: 768px) {
  header nav, header .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    margin-left: auto;
  }
  header img { margin-right: 9px; }
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  width: 100vw;
  background: #fff;
  z-index: 2000;
  box-shadow: 0 10px 40px rgba(4,51,88,0.10);
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(.87,.13,.27,.97);
  display: flex;
  flex-direction: column;
  padding: 0;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  background: #27A0B6;
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2100;
  transition: background 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #043358;
}
.mobile-nav {
  margin: 70px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: start;
  padding: 0 0 0 34px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  color: #043358;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 6px 0;
  border-radius: 8px;
  transition: background 0.14s, color 0.16s;
  text-transform: uppercase;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #EBF2F8;
  color: #27A0B6;
}
@media (min-width: 769px) {
  .mobile-menu, .mobile-menu.active, .mobile-menu-close { display: none !important; }
}

/* CTA BOX */
.cta-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #EBF2F8;
  border-radius: 18px;
  padding: 32px 24px;
  box-shadow: 0 4px 16px rgba(39,160,182,.09);
  gap: 18px;
  margin: 0 auto;
  max-width: 540px;
  border: 2.5px solid #27A0B6;
  text-align: center;
}
.cta-box h2 { color: #043358; font-size: 2.1rem; }
.cta-box p { margin-bottom: 10px; color: #043358; }

/* REVIEW & TEAM CARDS */
.review-card, .guide-card, .team-member-card {
  background: #fff;
  border-radius: 14px;
  border: 2px solid #EBF2F8;
  box-shadow: 0 1px 12px rgba(4,51,88,0.05);
  margin-bottom: 20px;
  padding: 20px 19px 18px 19px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.12s;
}
.review-card:hover, .guide-card:hover, .team-member-card:hover {
  border-color: #27A0B6;
  box-shadow: 0 5px 22px rgba(4,51,88,0.11);
  transform: translateY(-2px) scale(1.012);
}
.review-card h3, .guide-card h3, .team-member-card strong { font-family: 'Montserrat', Arial, sans-serif; }

details {
  margin-bottom: 12px;
}
details summary {
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  background: #EBF2F8;
  color: #043358;
  border-radius: 8px;
  padding: 10px 16px;
  cursor: pointer;
  outline: none;
  transition: background 0.15s;
}
summary:hover, summary:focus { background: #27A0B6; color: #fff; }
details p { padding: 10px 28px; margin-bottom: 4px; }

/* TESTIMONIALS */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 22px;
  background: #fff;
  border-left: 7px solid #27A0B6;
  border-radius: 0 16px 16px 0;
  box-shadow: 0 2px 14px rgba(39,160,182,0.055);
  color: #1a232d !important;
  font-size: 1.1rem;
  max-width: 780px;
}
.testimonial-card blockquote {
  background: none;
  font-size: 1.04rem;
  line-height: 1.46;
  color: #043358;
  border: none;
  padding-left: 0;
  margin-bottom: 4px;
}
.testimonial-card p {
  margin-bottom: 0;
  color: #043358;
}
.testimonial-card strong { color: #27A0B6; font-weight: 700; letter-spacing: 0.02em; }

/* NEWSLETTER, SOCIAL, FOOTER */
footer {
  background: #043358;
  color: #fff;
  padding: 42px 0 16px 0;
}
footer .container {
  max-width: 1240px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
footer nav a {
  color: #EBF2F8;
  font-size: 15px;
  text-transform: uppercase;
  transition: color 0.14s;
  font-family: 'Montserrat', Arial, sans-serif;
}
footer nav a:hover,footer nav a:focus{ color: #27A0B6; }
footer img { height: 38px; }
footer .social-links {
  display: flex;
  gap: 14px;
  align-items: center;
}
footer .social-links a img {
  width: 32px; height: 32px; filter: grayscale(1) brightness(2); transition: filter 0.12s; }
footer .social-links a:hover img, footer .social-links a:focus img { filter: none; }
footer .contact-info {
  color: #fff;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 0;
}
footer .contact-info img {
  width: 17px;
  height: 17px;
  margin-right: 7px;
  position: relative;
  top: 2px;
  display: inline;
}
footer .newsletter-signup {
  background: #EBF2F8;
  color: #043358;
  border-radius: 8px;
  padding: 10px 18px;
  margin-top: 8px;
  font-size: 15px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 1px 8px rgba(39,160,182,.03);
}
footer > .container > div:last-child {
  border-top: 1px solid #1c456e;
  padding-top: 12px;
  text-align: center;
  font-size: 13px;
  color: #b1c9df;
}

/* CARDS, FILTERS, INPUTS */
input[type="text"],select {
  border: 2px solid #EBF2F8;
  border-radius: 8px;
  padding: 10px 15px;
  font-size: 1rem;
  color: #043358;
  background: #fff;
  margin-right: 10px;
  margin-bottom: 10px;
  outline: none;
  transition: border-color 0.18s;
}
input[type="text"]:focus, select:focus {
  border-color: #27A0B6;
}
label { font-weight: 500; margin-bottom: 8px; font-family: 'Montserrat', Arial, sans-serif; display: inline-block; color: #043358; }

/*---------------------*/
/* COOKIE CONSENT BANNER*/
.cookie-consent-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 3000;
  background: #043358;
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  box-shadow: 0 -4px 32px rgba(4,51,88,0.16);
  gap: 18px;
  font-size: 15px;
  transition: transform 0.23s cubic-bezier(.63,0,.42,1.11);
}
.cookie-consent-banner.hidden {
  transform: translateY(120%);
  pointer-events: none;
  opacity: 0;
}
.cookie-consent-actions {
  display: flex;
  gap: 14px;
  align-items: center;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 7px 27px;
  border-radius: 32px;
  border: none;
  outline: none;
  cursor: pointer;
  transition: background 0.17s, color 0.17s, transform 0.11s;
  background: #27A0B6;
  color: #fff;
  margin-left: 6px;
  margin-top: 0;
}
.cookie-btn.settings {
  background: transparent;
  color: #27A0B6;
  border: 2px solid #27A0B6;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #27A0B6;
  color: #fff;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #fff;
  color: #043358;
}
.cookie-btn.reject {
  background: #EBF2F8;
  color: #043358;
  border: 2px solid #EBF2F8;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #fff;
  color: #27A0B6;
  border-color: #27A0B6;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(4,51,88,0.77);
  z-index: 3500;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  opacity: 1;
  transition: opacity 0.3s;
}
.cookie-modal-overlay.hidden { pointer-events: none; opacity: 0; }

.cookie-modal {
  background: #fff;
  color: #043358;
  border-radius: 18px;
  box-shadow: 0 8px 36px rgba(4,51,88,0.18);
  min-width: 330px;
  max-width: 95vw;
  padding: 38px 30px 30px 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  font-size: 16px;
  animation: cookie-fadein 0.27s linear;
}
@keyframes cookie-fadein {
  0% { opacity: 0; transform: scale(.89) translateY(80px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal h3 {
  color: #043358;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 12px;
  font-size: 1.37rem;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
}
.cookie-toggle {
  appearance: none;
  width: 44px;
  height: 24px;
  background: #EBF2F8;
  border-radius: 16px;
  border: 1.5px solid #EBF2F8;
  position: relative;
  outline: none;
  margin-right: 8px;
  cursor: pointer;
  transition: background 0.13s, border 0.13s;
}
.cookie-toggle:checked {
  background: #27A0B6;
  border-color: #27A0B6;
}
.cookie-toggle:before {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  left: 3px;
  top: 2.5px;
  box-shadow: 0 1px 3.5px rgba(4,51,88,0.10);
  transition: left 0.18s;
}
.cookie-toggle:checked:before {
  left: 19px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  background: #EBF2F8; color: #043358;
  border: none; border-radius: 50%;
  font-size: 1.34rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  background: #27A0B6;
  color: #fff;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 1060px) {
  .container { max-width: 98vw; }
  .content-wrapper { gap: 14px; }
}
@media (max-width: 752px) {
  .container { padding: 0 8px; }
  .section { padding: 22px 6px; }
  .cta-box { max-width: 97vw; }
  .testimonial-card { padding: 12px 8px; font-size: 1rem; }
  .card { padding: 13px 10px; }
  .review-card, .guide-card, .team-member-card { padding: 13px 9px; }
}
@media (max-width: 620px) {
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.13rem; }
  .cta-box { padding: 16px 5px; }
  .testimonial-card { max-width: 98vw; font-size: .97rem; }
  footer .content-wrapper { flex-direction: column; gap: 18px; }
  footer .newsletter-signup { max-width: 99vw; }
}
@media (max-width: 420px) {
  .btn-primary, .cookie-btn { font-size: 0.86rem; padding: 8px 17px; }
  .cookie-consent-banner { font-size: 13px; padding: 13px 6px; }
  .cookie-modal { padding: 24px 7px 14px 7px; font-size: 14px; }
}

/* SPACING ENFORCEMENT */
main > section:not(:last-child) { margin-bottom: 60px;}
main > section { padding-top: 0 !important;}
.card-container > .card, .content-grid > *, .card, .testimonial-card, .review-card, .guide-card, .team-member-card { margin-right: 0;margin-bottom: 20px; }
.card-container, .content-grid, .text-image-section, .testimonials, .feature-item, .testimonial-card {
  gap: 20px;
}
main > section .card-container:not(:last-child), main > section .content-grid:not(:last-child) {
  margin-bottom: 32px;
}

/* GEOMETRIC STRUCTURED SHAPES */
.card, .review-card, .guide-card, .testimonial-card, .cta-box {
  border-radius: 16px 34px 16px 12px;
  /* Asymmetric/Geometric corners */
  box-shadow: 0 2px 18px rgba(4,51,88,0.07);
}

/* ------ GEOMETRIC BUTTON SHAPE ------ */
.btn-primary, .cookie-btn {
  border-radius: 40px 24px 40px 14px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}

/* ICONS */
.feature-item img, .contact-info img {
  width: 26px;
  height: 26px;
  margin-right: 7px;
  display: inline-block;
  vertical-align: middle;
}

/******* MISC accessibility ******/
:focus { outline: 2px solid #27A0B6; outline-offset: 2px; }

/* === END OF CSS === */
