/* 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F3F8FA;
  color: #155480;
}
ul, ol {
  list-style: disc inside;
  margin-left: 20px;
}
a {
  color: #1573A6;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F2B705;
}

/* FONTS IMPORT */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,700&display=swap');

html {
  font-size: 16px;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  background-color: #F3F8FA;
  color: #155480;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 1.15;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.75rem;
  color: #1573A6;
}
h2 {
  font-size: 2rem;
  color: #F2B705;
}
h3 {
  font-size: 1.3rem;
  color: #1BA9DA;
}
h4, h5, h6 {
  color: #155480;
}

p, li, ul {
  font-size: 1rem;
  line-height: 1.7;
  color: #155480;
}
strong, b {
  font-weight: 700;
}

.subheadline {
  font-size: 1.2rem;
  color: #1573A6;
  margin-bottom: 8px;
}
.lead {
  font-size: 1.15rem;
  color: #1BA9DA;
  margin-bottom: 12px;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

/* SECTIONS */
section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* FLEXBOX LAYOUTS */
.features-grid,
.service-intro,
.card-container,
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}

.card-container {
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 12px 0 rgba(21, 115, 166, 0.08), 0 0.5px 1.5px #F2B70522;
  transition: box-shadow 0.2s, transform 0.2s;
  padding: 32px 20px;
  min-width: 260px;
  flex: 1 1 265px;
}
.card:hover {
  box-shadow: 0 12px 24px 0 rgba(21, 115, 166, 0.18);
  transform: translateY(-4px) scale(1.03) rotate(-2deg);
}

.features-grid > div,
.service-intro > div {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 10px 0 rgba(21, 115, 166, 0.10), 0 0.5px 1.5px #F2B70511;
  padding: 24px 20px 26px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 240px;
  flex: 1 1 250px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}
.features-grid > div:hover,
.service-intro > div:hover {
  box-shadow: 0 10px 30px 0 #1573A643;
  transform: translateY(-2px) scale(1.04) rotate(1deg);
}
.features-grid img,
.service-intro img {
  height: 48px;
  margin-bottom: 12px;
}

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

/* TESTIMONIALS */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px 26px 20px 26px;
  margin-bottom: 20px;
  border-radius: 18px;
  background: #fff;
  color: #155480;
  box-shadow: 0 3px 12px 0 rgba(21, 115, 166, 0.13);
  position: relative;
  font-size: 1.07rem;
  transition: box-shadow 0.2s, transform 0.2s;
}
.testimonial-card p {
  margin-bottom: 10px;
  font-style: italic;
  color: #1573A6;
}
.testimonial-card span {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #155480;
  opacity: 0.8;
  font-weight: 700;
}
.testimonial-card:hover {
  box-shadow: 0 12px 32px #F2B70526;
  background: #F3F8FA;
  transform: translateY(-2px) scale(1.04) rotate(-2deg);
}

/* BUTTONS */
.cta-btn, .cookie-banner button, .cookie-modal button, .mobile-menu-close {
  font-family: 'Montserrat', Arial, sans-serif;
  display: inline-block;
  background: #F2B705;
  color: #155480;
  border: none;
  border-radius: 48px;
  font-size: 1.15rem;
  font-weight: 700;
  padding: 14px 36px;
  margin: 14px 0 0 0;
  cursor: pointer;
  box-shadow: 0 4px 16px 0 #F2B70533;
  transition: background 0.18s, color 0.17s, transform 0.14s, box-shadow 0.18s;
  position: relative;
  outline: none;
}
.cta-btn:hover, .cookie-banner button:hover, .cookie-modal button:hover {
  background: #1573A6;
  color: #fff;
  box-shadow: 0 12px 20px #1573A633;
  transform: scale(1.05) rotate(-1deg);
}
.cta-btn:focus, .cookie-banner button:focus, .cookie-modal button:focus {
  outline: 2px solid #1BA9DA;
  outline-offset: 2px;
}

/* NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 0 14px 0 #eee7;
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  gap: 18px;
}
header nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.01rem;
  color: #155480;
  padding: 6px 16px;
  border-radius: 18px;
  transition: background 0.15s, color 0.15s;
}
header nav a:hover, header nav a.active {
  color: #fff;
  background: #1573A6;
}
.mobile-menu-toggle {
  background: #F2B705;
  color: #155480;
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 1.6rem;
  display: none;
  justify-content: center;
  align-items: center;
  margin-left: 10px;
  cursor: pointer;
  transition: background 0.18s, color 0.17s, transform 0.14s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #1BA9DA;
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #1573A6;
  color: #fff;
  z-index: 200;
  width: 100vw;
  height: 100vh;
  transform: translateX(-100vw);
  transition: transform 0.4s cubic-bezier(.76,.25,.19,.98);
  display: flex;
  flex-direction: column;
  opacity: 1;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  top: 20px;
  right: 32px;
  position: absolute;
  background: #F2B705;
  color: #155480;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 2.2rem;
  border: none;
  z-index: 210;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, color 0.17s, transform 0.14s;
}
.mobile-menu nav {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 72px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  color: #fff;
  padding: 16px 32px;
  border-radius: 38px;
  font-weight: 700;
  transition: background 0.15s, color 0.14s, transform 0.16s;
  display: block;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  background: #F2B705;
  color: #155480;
  transform: scale(1.07);
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  color: #155480;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  z-index: 8888;
  box-shadow: 0 -2px 32px #0d253829;
  gap: 18px;
  animation: cookieFadeIn 0.55s 0.15s backwards;
}
@keyframes cookieFadeIn {
  from { opacity: 0; transform: translateY(42px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-banner p {
  flex: 1 1 300px;
  font-size: 1.04rem;
  margin-right: 18px;
}
.cookie-banner .cookie-btn-group {
  display: flex;
  gap: 14px;
}
.cookie-banner button {
  min-width: 126px;
  font-size: 1.03rem;
  padding: 10px 18px;
  margin: 0;
}
.cookie-banner .cookie-settings-btn {
  background: #1573A6;
  color: #fff;
}
.cookie-banner .cookie-settings-btn:hover {
  background: #F2B705;
  color: #155480;
}

/* COOKIE MODAL */
.cookie-modal-backdrop {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(21, 115, 166, 0.25);
  align-items: center;
  justify-content: center;
}
.cookie-modal-backdrop.active {
  display: flex;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 32px #1573A641;
  max-width: 420px;
  width: 95vw;
  padding: 36px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: modalIn 0.39s cubic-bezier(.56,.46,.17,.94) backwards;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(32px) scale(0.93); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal h2 {
  font-size: 1.32rem;
  color: #155480;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  margin-bottom: 8px;
  color: #1573A6;
}
.cookie-modal .cookie-category {
  padding: 10px 0 6px 0;
  border-bottom: 1px solid #E7F0F4;
  margin-bottom: 10px;
}
.cookie-modal .cookie-modal-btns {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 10px;
}
.cookie-modal .switch {
  position: relative;
  width: 46px;
  height: 24px;
  display: inline-block;
}
.cookie-modal .switch input {
  opacity: 0;
  width: 0; height: 0;
}
.cookie-modal .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #F3F8FA;
  border-radius: 24px;
  transition: .3s;
}
.cookie-modal .slider:before {
  position: absolute;
  content: '';
  height: 18px; width: 18px;
  left: 3px; bottom: 3px;
  background: #F2B705;
  border-radius: 50%;
  transition: .3s;
}
.cookie-modal .switch input:checked + .slider {
  background-color: #1573A6;
}
.cookie-modal .switch input:checked + .slider:before {
  background: #fff;
  transform: translateX(20px);
}
.cookie-modal .switch input:disabled + .slider {
  background: #ddd;
}

/* FLEX UTILS */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.address-map {
  background: #F3F8FA;
  padding: 20px 20px 20px 22px;
  border-radius: 16px;
  box-shadow: 0 2px 7px #1573A615;
  margin-top: 15px;
}
.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
}
.contact-details > div {
  flex: 1 1 210px;
  min-width: 210px;
  background: #fff;
  box-shadow: 0 2px 10px #F2B70518;
  border-radius: 14px;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.contact-details strong { color: #1573A6; }
.contact-details img { width: 26px; }

/* FOOTER */
footer {
  background: #fff;
  box-shadow: 0 -2px 14px #eee7;
  margin-top: 36px;
  padding: 25px 0 35px 0;
  font-size: 0.98rem;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
}
.footer-branding {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #155480;
}
.footer-branding img {
  width: 32px; height: auto;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}
.footer-links a {
  color: #1573A6;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 5px 8px;
  border-radius: 8px;
  transition: background 0.13s, color 0.15s;
}
.footer-links a:hover {
  background: #F2B705;
  color: #fff;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: flex-start;
  justify-content: center;
}
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 7px;
  background: #F3F8FA;
  border-radius: 9px;
  padding: 6px 14px;
  font-size: 1rem;
  color: #1573A6;
}
.footer-contact img {
  width: 22px;
}
.footer-contact a {
  color: #155480;
  text-decoration: underline
}

/* ANIMATIONS/MICROINTERACTIONS */
.cta-btn, .card, .features-grid > div, .service-intro > div, .testimonial-card {
  transition: box-shadow 0.18s, background 0.13s, color 0.15s, transform 0.18s;
}

/* PLAYFUL HOVER ANIMATIONS */
.features-grid > div:hover:before, .service-intro > div:hover:before, .card:hover:before {
  content: '';
  position: absolute;
  z-index: 0;
  left: -10px; top: -10px;
  width: 32px; height: 32px;
  background: #F2B705;
  opacity: 0.13;
  border-radius: 50%;
  animation: popsparkle 0.35s cubic-bezier(.6,.3,.16,1.08);
  pointer-events: none;
}
@keyframes popsparkle {
  0% { opacity: 0; transform: scale(0.3) }
  100% { opacity: 0.13; transform: scale(1) }
}

/* SPACING FOR STANDARD PATTERNS */
.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;
}

/* FORMS (if used later) */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border: 1.5px solid #1BA9DA;
  padding: 12px 14px;
  border-radius: 11px;
  background: #fff;
  margin-bottom: 20px;
  outline: 0;
  transition: border 0.15s;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}
input:focus, textarea:focus, select:focus {
  border-color: #F2B705;
}
label {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 4px;
  display: block;
  font-family: 'Montserrat', Arial, sans-serif;
}

@media (max-width: 1060px) {
  .container {
    max-width: 98vw;
    padding: 0 10px;
  }
  .features-grid > div, .service-intro > div {
    min-width: 220px;
    flex: 1 1 230px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 99vw;
    padding: 0 4vw;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  h1 {
    font-size: 2.1rem;
  }
  h2 {
    font-size: 1.55rem;
  }
  .content-wrapper { gap: 16px; }
  .features-grid, .service-intro, .card-container, .content-grid { gap: 16px; }
  .footer-contact, .contact-details { gap: 12px; }
  .testimonial-card { padding: 16px 12px; }
  .footer-branding { font-size: 1.01rem; }
  .footer-links { gap: 11px; }
  .content-grid, .features-grid, .service-intro {
    flex-direction: column;
  }
  .contact-details > div { min-width: unset; width: 100%; }
  .text-image-section {
    flex-direction: column;
    gap: 15px;
  }
}
@media (max-width: 670px) {
  .section,
  section {
    padding: 26px 0;
    margin-bottom: 38px;
  }
  header .container { flex-direction: row; gap: 9px; padding: 8px 10px; }
}
@media (max-width: 615px) {
  h1 { font-size: 1.3rem; }
  .footer-contact { flex-direction: column; align-items: stretch; gap: 8px; }
  .footer-branding { flex-direction: column; align-items: start; gap: 6px; }
  .footer-links { flex-direction: column; gap: 6px; }
}
@media (max-width: 530px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
    padding: 16px 10px;
  }
  .cookie-banner .cookie-btn-group {
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }
}

/* Show mobile menu toggle, hide desktop nav on mobile */
@media (max-width: 980px) {
  header nav {
    display: none;
  }
  .cta-btn {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 981px) {
  .mobile-menu { display: none!important; }
}

/* Accessibility improvement for reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after {
    transition: none !important;
    animation: none !important;
  }
}

/* ---- END ---- */
