/* ===== CSS 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;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  height: 100%;
  background: #F5F6FA;
}
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #F5F6FA;
  color: #22527A;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
  margin-left: 0;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 0;
}
*, *:before, *:after {
  box-sizing: inherit;
}
button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
}
:focus-visible {
  outline: 2px solid #59B3AE;
  outline-offset: 2px;
}

/* ===== BRAND COLORS (VIBRANT ENERGETIC EXTENSIONS) ===== */
:root {
  --color-primary: #22527A;
  --color-primary-dark: #193f5b;
  --color-primary-light: #4883aa;
  --color-secondary: #59B3AE;
  --color-secondary-dark: #3d8e89;
  --color-accent: #F5F6FA;

  --color-electric-orange: #FF5E3A;
  --color-electric-yellow: #FFC300;
  --color-electric-purple: #8304C9;
  --color-electric-pink: #FF48C3;
}

/* ===== TYPOGRAPHY ===== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Open+Sans:wght@400;600&display=swap');

h1, .cta-section h1, .hero h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 20px;
  text-shadow: 0 4px 16px rgba(255,94,58,0.07);
}

h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-electric-orange);
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  margin-top: 0.75em;
}

h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-electric-purple);
  margin-bottom: 10px;
  margin-top: 1em;
}

h4,
h5,
h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}

p, ul, li {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #22527A;
}
ul li strong {
  color: var(--color-secondary-dark);
  font-weight: 700;
}

small {
  font-size: 0.92em;
  color: #064161;
}

/* ====== LAYOUT CONTAINERS ====== */
.container {
  width: 100%;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 4px 36px rgba(34,82,122,0.08), 0 1.5px 3px rgba(255,94,58,0.045);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.feature-grid > div {
  background: var(--color-electric-yellow);
  color: #22527A;
  border-radius: 20px;
  box-shadow: 0 4px 18px rgba(255,192,0,0.07);
  padding: 26px;
  flex: 1 1 240px;
  max-width: 320px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: transform .22s cubic-bezier(.6,-0.18,.38,1.28), box-shadow .22s;
  cursor: pointer;
  font-family: 'Open Sans', Arial, sans-serif;
}
.feature-grid > div:hover {
  transform: translateY(-4px) scale(1.037);
  box-shadow: 0 12px 32px rgba(34,82,122,0.16), 0 2px 12px #FF5E3A33;
}
.feature-grid img {
  height: 42px; width: 42px;
  margin-bottom: 8px;
}

/* ====== FLEX UTILITY CLASSES ====== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 24px rgba(34,82,122,0.10);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  transition: box-shadow 0.18s cubic-bezier(0.44, 1.18, 0.78, 1.02), transform 0.2s;
}
.card:hover {
  box-shadow: 0 6px 30px rgba(255,72,195,0.11), 0 2px 10px #22527a33;
  transform: translateY(-4px) scale(1.018);
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 25px rgba(89,179,174,0.13);
  padding: 28px 22px;
  margin-bottom: 24px;
  min-width: 260px;
  max-width: 450px;
  width: 100%;
  font-family: 'Open Sans', Arial, sans-serif;
}
.testimonial-card p {
  color: #0f263c;
  font-size: 1.12em;
  margin-bottom: 2px;
}
.testimonial-card span {
  color: #FF5E3A;
  font-weight: bold;
}
.testimonial-card:last-child {
  margin-bottom: 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ==== HERO BANNER ==== */
.hero {
  width: 100%;
  background: linear-gradient(80deg, #59B3AE 0%, #FF5E3A 100%);
  color: #fff;
  border-radius: 0 0 40px 40px;
  min-height: 320px;
  display: flex;
  align-items: center;
  margin-bottom: 36px;
  box-shadow: 0 8px 48px rgba(34,82,122, 0.10);
  position: relative;
  z-index: 1;
}
.hero .container {
  display: flex;
  align-items: center;
  flex-direction: column;
  min-height: 320px;
  justify-content: center;
}
.hero .content-wrapper {
  gap: 18px;
  color: #fff;
  align-items: flex-start;
}
.hero h1,
.hero p {
  color: #fff;
}
.hero .cta-btn {
  background: #FFC300;
  color: #22527A;
}
.hero .cta-btn:hover {
  background: #FF5E3A;
  color: #fff;
}

.cta-section {
  background: #FF5E3A;
  border-radius: 24px;
  margin-bottom: 60px;
  padding: 44px 20px 44px 20px;
  box-shadow: 0 4px 36px rgba(255,72,195,0.08);
  color: #fff;
}
.cta-section h2, .cta-section h1 {
  color: #fff;
  text-shadow: 0 4px 18px rgba(34,82,122,0.1);
}
.cta-section p {
  color: #fff;
}
.cta-section .cta-btn {
  background: #fff;
  color: #FF5E3A;
  font-weight: 800;
  border: none;
  margin-top: 10px;
}
.cta-section .cta-btn:hover {
  background: #22527A;
  color: #FFC300;
}

/* ===== CTA BUTTONS ===== */
.cta-btn {
  display: inline-block;
  background: linear-gradient(90deg, #FF48C3 0%, #FF5E3A 80%);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 30px;
  padding: 14px 38px;
  margin-left: 14px;
  box-shadow: 0 4px 14px rgba(255,72,195,0.10);
  margin-bottom: 0;
  transition: background 0.25s, color 0.20s, box-shadow 0.18s, transform 0.17s;
  border: none;
  outline: none;
  cursor: pointer;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, #59B3AE 0%, #22527A 100%);
  color: #FFC300;
  transform: scale(1.04);
  box-shadow: 0 8px 28px rgba(89,179,174,0.17);
}

/* ===== HEADER & NAVIGATION ===== */
header {
  width: 100%;
  background: #fff;
  padding: 0;
  box-shadow: 0 2px 18px rgba(34,82,122,0.07);
  position: sticky;
  top: 0; z-index: 101;
}

.nav-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0 18px 0;
}
.brand-logo img {
  height: 48px;
  margin-right: 16px;
}
.main-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}
.main-nav a {
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 8px 0;
  position: relative;
  transition: color .15s, border-color .22s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #FF5E3A;
  border-bottom: 2.5px solid #FF5E3A;
}

/* ======= MOBILE MENU ======= */
.mobile-menu-toggle {
  display: none;
  background: #FF5E3A;
  color: #fff;
  font-size: 2rem;
  border-radius: 12px;
  padding: 7px 16px;
  margin-left: auto;
  transition: background .17s, color .14s, transform .18s;
  z-index: 301;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #22527A;
  color: #FFC300;
  transform: scale(1.09);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #fff;
  box-shadow: 0 4px 64px rgba(34,82,122,0.20);
  z-index: 500;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.37s cubic-bezier(.75,.11,.43,1.13);
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: #FF5E3A;
  color: #fff;
  font-size: 2rem;
  align-self: flex-end;
  margin: 20px 26px 12px 0;
  border-radius: 8px;
  padding: 6px 17px;
  transition: background .16s, color .14s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #22527A;
  color: #FFC300;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  width: 100%;
  margin-left: 30px;
  margin-top: 14px;
}
.mobile-nav a {
  font-size: 1.37em;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #22527A;
  font-weight: 800;
  padding: 12px 0;
  border-radius: 7px;
  width: fit-content;
  transition: background .18s, color .18s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #59B3AE;
  color: #fff;
  padding-left: 16px;
}

@media (max-width: 992px) {
  .main-nav {
    gap: 10px;
  }
  .cta-btn {
    padding: 13px 19px;
    font-size: 1rem;
  }
}

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

@media (max-width: 490px) {
  .brand-logo img {
    height: 36px;
  }
}

/* ======== FOOTER ======== */
footer {
  background: #22527A;
  color: #fff;
  padding: 0 0 32px 0;
  border-radius: 30px 30px 0 0;
  margin-top: 56px;
}
footer .container {
  padding-top: 42px;
  padding-bottom: 32px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px 40px;
  align-items: flex-start;
  justify-content: space-between;
}
footer .brand-logo img {
  height: 42px;
  filter: brightness(1.23) drop-shadow(0 3px 14px #FFC30044);
  margin-right: 0;
}
.footer-nav {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #FFC300;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1em;
  transition: color 0.16s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #FF5E3A;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: #fff;
  font-size: 1em;
  font-family: 'Open Sans', Arial, sans-serif;
}
.footer-contact img {
  height: 18px; width: 18px; margin-right: 8px; position: relative; top: 3px;
}
.footer-contact p{
  color: #FF5E3A;
}
.footer-social {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-bottom: 16px;
}
.footer-social a {
  background: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  transition: background 0.14s, box-shadow 0.18s, transform 0.17s;
  box-shadow: 0 2px 12px #FFC30017;
}
.footer-social a:hover {
  background: #FF5E3A;
  transform: scale(1.09);
}
.footer-social img {
  width: 20px;
  height: 20px;
}
.footer-copy {
  width: 100%;
  text-align: center;
  color: #fff;
  margin-top: 8px;
}

@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 20px 0;
    align-items: flex-start;
  }
}

/* ====== SPACING & SECTION STYLES (REQUIRED) ====== */
.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;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 990px) {
  .container {
    max-width: 96vw;
  }
  .feature-grid > div,
  .card {
    min-width: 180px;
    max-width: 100%;
    flex: 1 1 80vw;
  }
}
@media (max-width: 768px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .content-wrapper,
  .feature-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .feature-grid {
    gap: 16px;
  }
  .card-container,
  .content-grid {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding: 16px 10px;
  }
  .hero, .cta-section {
    border-radius: 0;
    min-height: 210px;
    padding: 28px 0;
  }
  .hero .container {
    min-height: 210px;
  }
}
@media (max-width: 540px) {
  h1, .hero h1, .cta-section h1 { font-size: 1.6rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.08rem; }
  .cta-btn, .main-nav a, .footer-nav a, .mobile-nav a { font-size: 0.97em; }
  .feature-grid > div, .card { padding: 15px 10px; }
  .footer-contact { font-size: 0.93em; }
  .cta-section { padding: 24px 4px 28px 4px; }
}

/* ====== FORMS (for possible extensions) ====== */
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 8px;
  border: 1.5px solid #59B3AE;
  padding: 11px 13px;
  margin-bottom: 16px;
  width: 100%;
  background: #FAFBFD;
  color: #193f5b;
  transition: border-color 0.16s;
}
input:focus, textarea:focus, select:focus {
  border-color: #FF5E3A;
  background: #fff;
}
label {
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #193f5b;
  margin-bottom: 6px;
}

/* ====== VISUAL MICRO-INTERACTIONS ====== */
.card, .feature-grid > div, .cta-btn, .mobile-menu-toggle, .mobile-menu-close, .footer-social a {
  transition: background 0.18s, color 0.18s, box-shadow 0.17s, transform 0.18s;
}
.cta-btn, .main-nav a, .mobile-nav a, .footer-nav a {
  transition: color 0.18s, background 0.18s, box-shadow 0.18s, padding-left 0.19s;
}

/* ====== COOKIE CONSENT BANNER ====== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -3px 38px rgba(34,82,122,0.11);
  border-top: 3.7px solid #FFC300;
  z-index: 9999;
  padding: 22px 20px 18px 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 1.03em;
  font-family: 'Open Sans', Arial, sans-serif;
  visibility: visible;
  opacity: 1;
  transition: transform .38s cubic-bezier(.5,1.5,.45,1.13), opacity .25s;
}
.cookie-banner.hide {
  visibility: hidden;
  opacity: 0;
  transform: translateY(130%);
}
.cookie-banner__text {
  color: #22527A;
  flex: 2 1 300px; /* responsive shrink on mobile */
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  flex: 1 0 auto;
}
.cookie-btn {
  border: none;
  border-radius: 19px;
  background: #59B3AE;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  font-size: 1rem;
  padding: 10px 19px;
  transition: background 0.16s, color 0.16s, transform 0.14s;
  box-shadow: 0 2px 8px rgba(89,179,174,0.16);
}
.cookie-btn:hover {
  background: #FF5E3A;
  color: #fff;
  transform: scale(1.04);
}
.cookie-btn.reject {
  background: #FF5E3A;
  color: #fff;
}
.cookie-btn.reject:hover {
  background: #22527A;
  color: #FFC300;
}
.cookie-btn.settings {
  background: #FFC300;
  color: #193f5b;
}
.cookie-btn.settings:hover {
  background: #59B3AE;
  color: #fff;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.97em;
    padding: 16px 10px 12px 10px;
  }
  .cookie-banner__actions {
    width: 100%;
    gap: 8px;
    justify-content: flex-start;
  }
}

/* ====== COOKIE PREFERENCE MODAL ====== */
.cookie-modal-overlay {
  position: fixed;
  z-index: 10000;
  inset: 0;
  background: rgba(34,82,122,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.25s;
}
.cookie-modal-overlay.hide {
  pointer-events: none;
  opacity: 0;
}
.cookie-modal {
  background: #fff;
  padding: 34px 26px 26px 26px;
  border-radius: 21px;
  box-shadow: 0 12px 36px #193F5B22, 0 4px 18px #FF48C344;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 320px;
  max-width: 98vw;
  color: #22527A;
  font-family: 'Open Sans', Arial, sans-serif;
  position: relative;
  animation: cookieModalPopIn .34s cubic-bezier(.43,2,.19,1.07);
}
@keyframes cookieModalPopIn {
  0% { transform: scale(0.82) translateY(24px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h3 {
  margin-bottom: 8px;
  color: #FF5E3A;
  font-size: 1.2em;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}
.cookie-category-label {
  min-width: 120px;
  font-weight: bold;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #22527A;
}
.cookie-toggle-switch {
  width: 48px;
  height: 25px;
  border-radius: 16px;
  background: #FFC300;
  position: relative;
  transition: background 0.2s;
  cursor: pointer;
  flex-shrink: 0;
  margin-left: 10px;
  box-shadow: 0 2px 8px #ffc30044;
}
.cookie-toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-toggle-slider {
  position: absolute;
  left: 2px;
  top: 2.5px;
  height: 20px;
  width: 20px;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 1px 3px #FF48C344;
  transition: 0.21s;
}
.cookie-toggle-switch input:checked + .cookie-toggle-slider {
  left: 26px;
  background: #59B3AE;
  box-shadow: 0 1px 8px #59B3AE66;
}
.cookie-modal .cookie-btn {
  margin-top: 16px;
  min-width: 140px;
  font-size: 1em;
  font-weight: bold;
}
.cookie-modal .cookie-btn.cancel {
  background: #FF48C3;
  color: #fff;
  margin-left: 14px;
}
.cookie-modal .cookie-btn.cancel:hover {
  background: #22527A;
}
.cookie-modal .cookie-btn.save {
  background: #59B3AE;
  color: #fff;
}
.cookie-modal .cookie-btn.save:hover {
  background: #FFC300;
  color: #22527A;
}
@media (max-width: 520px) {
  .cookie-modal { padding: 16px 4vw; }
}

/* ======= MISC ======= */
.map-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  margin-top: 12px;
}
.map-section img {
  width: 86px;
  height: auto;
  border-radius: 12px;
  margin-bottom: 2px;
}

/* ========== PRINT ========== */
@media print {
  .mobile-menu, .mobile-menu-toggle, .cta-btn, .footer-social, .cookie-banner, .cookie-modal-overlay {display:none!important;}
  footer, header, nav, .feature-grid, .testimonial-card, .card { box-shadow: none !important; background: #fff !important; }
}
