/* ========================================================
   CSS RESET & BASE TYPOGRAPHY
   ======================================================== */
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 {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  background: #fff;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  color: #212529;
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100vh;
  font-weight: 400;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #114265;
  text-decoration: none;
  transition: color 0.2s;
}
/* ========================================================
   FONT FAMILY - BRAND FAMILIES
   ======================================================== */
h1, h2, h3, h4, h5, h6, .primary-cta, .footer-brand span {
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ========================================================
   TYPOGRAPHY SCALE (14, 16, 18, 24, 32, 48)
   ======================================================== */
h1 { font-size: 2.5rem; line-height: 1.13; margin-bottom: 24px; }
h2 { font-size: 2rem; line-height: 1.17; margin-bottom: 20px; }
h3 { font-size: 1.25rem; line-height: 1.2; margin-bottom: 14px; }
h4 { font-size: 1.125rem; }
.subheadline { font-size: 1.125rem; color: #445764; margin-bottom: 32px; }

p { font-size: 1rem; margin-bottom: 16px; }
strong, b { font-weight: 700; }

/* Responsive typography */
@media (max-width: 767px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.375rem; }
}

/* ========================================================
   LAYOUT CONTAINERS
   ======================================================== */
.container {
  width: 100%;
  max-width: 1110px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Section Patterns */
.section, .about, .services, .legal, .contact, .thank-you, .call-to-action, .hero, .testimonials, .features {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 767px) {
  .section, .about, .services, .legal, .contact, .thank-you, .call-to-action, .hero, .testimonials, .features {
    padding: 28px 8px;
    margin-bottom: 38px;
  }
}

/* Flexible Card & Grid Patterns */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 10px 0 rgba(24,40,72,0.06);
  transition: box-shadow 0.2s;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  min-width: 220px;
}
.card:hover, .card:focus {
  box-shadow: 0 4px 20px 0 rgba(24,40,72,0.13);
  z-index: 2;
}
.content-grid, .feature-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;
}
@media (max-width: 768px) {
  .content-grid, .feature-grid {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(24,40,72,0.08);
  margin-bottom: 20px;
  border: 1px solid #e4e7ea;
}
.testimonial-card p {
  color: #22313a;
  font-size: 1.025rem;
  margin-bottom: 0;
}
.testimonial-card .reviewer {
  color: #114265;
  font-size: 0.98rem;
  font-weight: 700;
  opacity: 0.85;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(24,40,72,0.07);
  padding: 23px 18px;
  min-width: 210px;
  flex: 1 1 220px;
  transition: box-shadow 0.2s, border 0.2s;
  border: 1px solid #e7e9ea;
}
.feature-item img {
  width: 38px; height: 38px; object-fit: contain; margin-bottom: 6px;
}
.feature-item h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
  color: #1a2d3a;
}
.feature-item:hover, .feature-item:focus {
  box-shadow: 0 4px 18px rgba(24,40,72,0.13);
  border-color: #b6c6cd;
  z-index: 2;
}

/* ========================================================
   NAVIGATION & HEADER
   ======================================================== */
header {
  position: relative;
  background: #fff;
  box-shadow: 0 2px 12px rgba(24,40,72,0.03);
  z-index: 30;
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1110px;
  margin: 0 auto;
  padding: 18px 20px 10px 20px;
}
nav > a img { height: 32px; }
nav ul {
  display: flex;
  flex-direction: row;
  gap: 12px;
  list-style: none;
  align-items: center;
}
nav ul li {
  display: flex;
}
nav ul li a {
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #114265;
  border-radius: 8px;
  padding: 7px 14px;
  transition: background 0.16s, color 0.18s;
}
nav ul li a:hover, nav ul li a:focus {
  background: #CFD8DC;
  color: #114265;
}
nav ul li a.active, nav ul li .active {
  background: #114265 !important;
  color: #fff !important;
}
.primary-cta {
  display: inline-block;
  background: #FAA225;
  color: #114265 !important;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-weight: 700;
  border-radius: 8px;
  padding: 10px 24px;
  font-size: 1.075rem;
  box-shadow: 0 1px 8px rgba(180,153,46,0.03);
  letter-spacing: 0.03em;
  transition: background 0.17s, color 0.18s, box-shadow 0.22s;
  margin-left: 14px;
}
.primary-cta:hover, .primary-cta:focus {
  background: #ffd893;
  color: #114265 !important;
  box-shadow: 0 2px 18px rgba(250,162,37,0.07);
}

/* MOBILE NAVIGATION (BURGER AND SLIDE-IN) */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #114265;
  cursor: pointer;
  z-index: 70;
}
@media (max-width: 990px) {
  nav ul { display: none; }
  .mobile-menu-toggle { display: block; position: absolute; top: 22px; right: 20px; }
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(17, 66, 101, 0.94);
  z-index: 100;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(.7,.1,.2,1);
  opacity: 1;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #fff;
  align-self: flex-end;
  margin: 24px 28px 20px 0;
  cursor: pointer;
  z-index: 200;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100vw;
  gap: 14px;
  margin-left: 36px;
  margin-top: 16px;
}
.mobile-nav a {
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-size: 1.21rem;
  color: #fff !important;
  padding: 12px 0;
  width: 100%;
  border-radius: 0 16px 16px 0;
  transition: background 0.18s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus, .mobile-nav a.active {
  background: #FAA225;
  color: #114265 !important;
}
@media (min-width: 991px) {
  .mobile-menu { display: none !important; }
}

/* ========================================================
   HERO SECTIONS
   ======================================================== */
.hero {
  background: #f7fafc;
  border-bottom: 1.5px solid #e7e9ea;
  padding-top: 56px;
  padding-bottom: 56px;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
}
.hero h1 { color: #114265; }
.hero .primary-cta { margin-top: 18px; }

@media (max-width: 768px) {
  .hero {
    padding-top: 34px;
    padding-bottom: 34px;
  }
  .hero .container {
    min-height: 180px;
  }
}

/* ========================================================
   BUTTONS & INTERACTIVES
   ======================================================== */
button, .button {
  outline: none;
  border: none;
  padding: 11px 24px;
  background: #FAA225;
  color: #114265;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-weight: 700;
  border-radius: 7px;
  font-size: 1rem;
  transition: background 0.18s, color 0.14s, box-shadow 0.17s;
  cursor: pointer;
  min-width: 110px;
}
button:hover, button:focus, .button:hover, .button:focus {
  background: #ffd893;
  color: #114265;
  box-shadow: 0 2px 12px rgba(250,162,37,0.09);
}
.button.secondary {
  background: #CFD8DC;
  color: #114265;
}
.button.secondary:hover, .button.secondary:focus {
  background: #b6c6cd;
  color: #114265;
}

/* For inline text links */
a:not(.primary-cta):not(.button) {
  text-decoration: underline;
  color: #114265;
  transition: color 0.16s;
}
a:not(.primary-cta):not(.button):hover,
a:not(.primary-cta):not(.button):focus {
  color: #FAA225;
}

/* Table Styles (Minimalist) */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 1rem;
  color: #22313a;
}
the	ad tr, thead th {
  background: #f1f6fa;
  color: #114265;
  font-weight: 600;
  text-align: left;
}
tbody tr {
  border-bottom: 1px solid #EAECF0;
}
td, th {
  padding: 12px 10px;
}
tbody tr:nth-child(even) { background: #f7fafc; }

/* ========================================================
   FOOTER
   ======================================================== */
footer {
  background: #F7F9FA;
  border-top: 1.5px solid #E5ECF0; 
  padding: 0;
  font-size: 1rem;
  color: #22313a;
}
footer .container {
  padding: 36px 20px 24px 20px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 180px;
  gap: 7px;
}
.footer-brand img { width: 38px; height: 38px; }
.footer-brand span { font-family: "Montserrat", Arial, Helvetica, sans-serif; font-size: 1.1rem; font-weight: 600; color: #114265; }
.footer-brand .tagline { font-size: 0.95rem; font-weight: 400; color: #63757E; opacity: 0.8; }
.footer-contact p, .footer-contact a { font-size: 0.975rem; color: #22313a; margin-bottom: 1px; }
.footer-main-menu, .footer-utility-menu, .social-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-main-menu a, .footer-utility-menu a {
  color: #114265;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-size: 0.96rem;
  padding: 2px 0;
  transition: color 0.15s;
}
.footer-main-menu a:hover, .footer-utility-menu a:hover {
  color: #FAA225;
}
.social-links {
  flex-direction: row;
  gap: 10px;
  margin-top: 10px;
}
.social-links a img {
  width: 20px; height: 20px;
  filter: grayscale(80%);
  transition: filter 0.2s;
}
.social-links a:hover img {
  filter: grayscale(0%) brightness(1.1);
}
@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* ========================================================
   TEXT SECTIONS, LEGAL, CONTACT, MAP EMBED
   ======================================================== */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 16px;
}
.text-section ul, .text-section ol {
  padding-left: 22px;
  padding-bottom: 8px;
  margin-bottom: 3px;
  line-height: 1.72;
}
.text-section li { margin-bottom: 7px; }
.contact-info {
  font-size: 0.98rem;
  color: #22313a;
  margin-bottom: 10px;
}
.map-embed {
  margin-top: 12px;
  color: #63757E;
  font-size: 0.98rem;
}

/* ========================================================
   LEGAL PAGES
   ======================================================== */
.legal h1 { margin-top: 0; }
.legal h2 { margin-top: 24px; }
.legal ul, .legal li { font-size: 1rem; color: #27313a; }

/* ========================================================
   CALL TO ACTION
   ======================================================== */
.call-to-action {
  background: #fafdff;
  border-radius: 16px;
  box-shadow: 0 2px 11px rgba(24,40,72,0.04);
  text-align: center;
  margin-bottom: 44px;
}
.call-to-action .primary-cta {
  margin-top: 12px;
}

/* ========================================================
   MICRO-INTERACTIONS: TRANSITIONS & ANIMATIONS
   ======================================================== */
.card, .feature-item, .testimonial-card {
  transition: box-shadow 0.18s, border-color 0.18s, transform 0.13s;
}
.card:hover, .feature-item:hover, .testimonial-card:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 6px 23px 0 rgba(24,40,72,0.11);
}
.primary-cta, button, .button {
  transition: background 0.18s, color 0.18s, box-shadow 0.2s, transform 0.11s;
}
.primary-cta:active, button:active, .button:active {
  transform: scale(0.97);
}

/* ========================================================
   SPACING UTILITIES - FLEX PREVENT OVERLAP
   ======================================================== */
.section > *, .content-wrapper > * {
  margin-bottom: 20px;
}
.section > *:last-child, .content-wrapper > *:last-child {
  margin-bottom: 0 !important;
}

/* Extra vertical breathing room for key multisect cards */
.features .feature-grid, .features .content-grid, .services .content-grid, .services .feature-grid {
  margin-bottom: 16px;
}

/* Address flex grow on grid children for equal height (still flex only) */
.feature-grid .feature-item {
  flex: 1 1 250px;
}

/* Average rating styles */
.average-rating {
  margin-top: 12px;
  color: #1a2d3a;
  font-size: 1.04rem;
  background: #f4f8fb;
  border-radius: 7px;
  padding: 12px 16px;
  font-weight: 500;
}

/* ========================================================
   RESPONSIVENESS: FLUID & MOBILE-FIRST
   ======================================================== */
@media (max-width: 767px) {
  .feature-grid, .content-grid, .card-container, .features .content-wrapper, .testimonials .content-wrapper, .services .content-wrapper, .footer-main-menu, .footer-utility-menu {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 16px !important;
  }
  .feature-item, .card {
    min-width: 0;
    flex-basis: 100%;
    width: 100%;
    margin-right: 0;
  }
  nav {
    padding: 14px 12px 10px 12px;
  }
  .footer-brand, .footer-contact {
    min-width: 0;
    width: 100%;
    align-items: flex-start;
  }
  .footer-brand img { margin-bottom: 1px; }
}

/* ========================================================
   COOKIE BANNER (FIXED BOTTOM CONSENT BANNER)
   ======================================================== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5000;
  background: #fff;
  border-top: 1.5px solid #E6EDEF;
  box-shadow: 0 -2px 18px rgba(24,40,72,0.09);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  font-size: 1rem;
  color: #22313a;
  animation: banner-in 0.35s cubic-bezier(.7,.2,.2,1);
}
.cookie-banner__desc {
  flex: 1 1 0%;
  margin-right: 14px;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 15px;
}
.cookie-banner__button {
  border: none;
  background: #CFD8DC;
  color: #114265;
  padding: 9px 20px;
  border-radius: 6px;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-weight: 600;
  transition: background 0.18s, color 0.13s;
  cursor: pointer;
  font-size: 1rem;
}
.cookie-banner__button.accept {
  background: #FAA225;
  color: #114265;
}
.cookie-banner__button.accept:hover, .cookie-banner__button.accept:focus {
  background: #ffd893;
}
.cookie-banner__button.reject {
  background: #e7e9ea;
  color: #22313a;
}
.cookie-banner__button.reject:hover, .cookie-banner__button.reject:focus {
  background: #CFD8DC;
}
.cookie-banner__button.settings {
  background: #fff;
  color: #114265;
  border: 1px solid #CFD8DC;
}
.cookie-banner__button.settings:hover, .cookie-banner__button.settings:focus {
  background: #fafdff;
  border-color: #b6c6cd;
}
@keyframes banner-in { from { transform: translateY(70%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 14px 8px;
  }
  .cookie-banner__desc { margin-right: 0; }
  .cookie-banner__actions { gap: 8px; flex-direction: column; }
}

/* COOKIE SETTINGS MODAL (centered pop-up) */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(17,66,101,0.40);
  z-index: 7010;
  animation: fade-in 0.25s cubic-bezier(.5,.2,.1,.9);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 32px rgba(24,40,72,0.16);
  width: 95%;
  max-width: 424px;
  padding: 34px 27px 24px 27px;
  position: relative;
  animation: modal-in 0.24s cubic-bezier(.68,.15,.31,1);
}
.cookie-modal h2 {
  margin-bottom: 18px;
  color: #114265;
  font-size: 1.36rem;
}
.cookie-modal-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 13px;
  font-size: 1rem;
}
.cookie-modal-category input[type="checkbox"] {
  accent-color: #FAA225;
  width: 18px; height: 18px;
  margin: 0;
}
.cookie-modal-category .category-desc {
  color: #445764;
  font-size: 0.99rem;
}
.cookie-modal-modalactions {
  margin-top: 18px;
  display: flex;
  flex-direction: row;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal .close {
  position: absolute;
  top: 15px; right: 17px;
  background: none;
  border: none;
  font-size: 1.45rem;
  color: #63757E;
  cursor: pointer;
}
@keyframes modal-in { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* Show/hide modal under .open class via JS */
.cookie-modal-overlay {
  display: none;
}
.cookie-modal-overlay.open {
  display: flex;
}

/* Accessibility/skip links (hide visually but keep accessible) */
.skip-link {
  position: absolute;
  left: -1000px;
  top: auto;
  width: 1px; height: 1px;
  overflow: hidden;
  z-index: -1;
  background: #fff;
}
.skip-link:focus {
  left: 8px;
  top: 8px;
  width: auto; height: auto;
  padding: 6px 14px;
  border-radius: 8px;
  z-index: 12000;
  outline: 2px solid #FAA225;
  background: #fff;
}

/* ========================================================
   UTILITIES
   ======================================================== */
.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

.hide { display: none !important; }
.d-none { display: none !important; }

/* Selection color */
::selection { background: #FAA225; color: #114265; }

/* Hide scrollbars in overlays where needed */
.mobile-menu, .cookie-modal-overlay { -webkit-overflow-scrolling: touch; }

/* ========================================================
   END OF STYLE.CSS
   ======================================================== */
