/* CSS RESET & NORMALIZE */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #1A2530;
  background-color: #F1F3F6;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-text-size-adjust: 100%;
}


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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #174263;
  font-weight: 900;
  margin-bottom: 12px;
  line-height: 1.15;
}
h1 {
  font-size: 2.5rem;
  letter-spacing: -1.2px;
}
h2 {
  font-size: 2rem;
  letter-spacing: -0.8px;
}
h3 {
  font-size: 1.375rem;
  letter-spacing: -0.5px;
}
h4, h5, h6 {
  font-weight: 700;
}
p, ul, ol, li {
  color: #263747;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  margin-bottom: 12px;
}
ul, ol {
  margin-left: 1.3em;
  margin-bottom: 18px;
  padding-left: 0.6em;
}
a {
  color: #174263;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #60A1AF;
}


/* SPACING & LAYOUT BASE */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}


/* FLEXBOX PATTERNS */
.card-container, .feature-grid, .services-section, .features-section, .testimonials-section {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(23,66,99,0.07);
  transition: box-shadow 0.25s;
  padding: 24px 20px 22px 20px;
}
.card:hover {
  box-shadow: 0 8px 40px rgba(23,66,99,0.14);
}
.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;
  padding: 20px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(23,66,99,0.12);
  min-width: 260px;
  max-width: 500px;
  font-size: 1.09rem;
  color: #183048;
  border-left: 6px solid #60A1AF;
  position: relative;
  overflow: hidden;
}
.testimonial-card span {
  font-weight: bold;
  font-size: 1rem;
  color: #174263;
  margin-top: 8px;
  letter-spacing: 0.03em;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HERO SECTIONS */
.hero {
  background: #174263;
  color: #fff;
  padding: 68px 0 56px 0;
  border-radius: 0 0 32px 32px;
  margin-bottom: 60px;
  box-shadow: 0 4px 38px rgba(23,66,99,0.18);
}
.hero h1 {
  color: #fff;
  font-size: 2.25rem;
  font-weight: 900;
  margin-bottom: 10px;
  text-shadow: 1px 4px 16px rgba(23,66,99,.28);
}
.hero .subheadline {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #F1F3F6;
  font-size: 1.3rem;
  margin-bottom: 20px;
  line-height: 1.45;
}

/* FOCUS & ACCESSIBILITY */
a:focus, button:focus, .cta-btn:focus {
  outline: 3px solid #60A1AF;
  outline-offset: 2px;
}

/* CTA BUTTON */
.cta-btn {
  display: inline-block;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.12rem;
  background: #60A1AF;
  color: #fff;
  border-radius: 34px;
  padding: 16px 34px;
  text-decoration: none;
  box-shadow: 0 2px 16px rgba(23,66,99,0.10);
  letter-spacing: 0.06em;
  transition: background 0.18s, box-shadow 0.18s, color 0.15s;
  margin-top: 12px;
}
.cta-btn:hover, .cta-btn:focus {
  background: #174263;
  color: #fff;
  box-shadow: 0 4px 28px rgba(23,66,99,0.22);
}
button.cta-btn {
  cursor: pointer;
}

/* HEADER & NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(23,66,99,0.05);
  z-index: 30;
  position: relative;
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0 20px 0;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.header-container img {
  height: 48px;
  min-width: 120px;
  max-width: 190px;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  color: #174263;
  padding: 8px 14px;
  border-radius: 20px;
  transition: background 0.15s, color 0.15s;
}
.main-nav a:hover, .main-nav a.active {
  background: #60A1AF;
  color: #fff;
}


/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: #174263;
  color: #fff;
  border: none;
  font-size: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  z-index: 110;
  position: absolute;
  right: 24px;
  top: 18px;
  cursor: pointer;
  transition: background 0.18s;
}
.mobile-menu-toggle:hover {
  background: #60A1AF;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #174263;
  color: #fff;
  z-index: 200;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(.73,.14,.47,1.37);
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 100vw;
  height: 100vh;
  box-shadow: 0 8px 40px rgba(23,66,99,.38);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #fff;
  border: none;
  font-size: 2.2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  position: absolute;
  right: 26px;
  top: 18px;
  z-index: 300;
  cursor: pointer;
  transition: background 0.15s;
}
.mobile-menu-close:hover {
  background: #60A1AF;
}
.mobile-nav {
  margin-top: 70px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  padding: 32px 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.18rem;
  color: #fff;
  text-decoration: none;
  padding: 12px 14px;
  border-radius: 22px;
  transition: background 0.12s, color 0.12s;
}
.mobile-nav a:hover {
  background: #60A1AF;
  color: #fff;
}

/* Hide main nav on mobile, show hamburger */
@media (max-width: 990px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (max-width: 650px) {
  .header-container {
    flex-direction: row;
    gap: 6px;
  }
  .cta-btn {
    font-size: 1rem;
    padding: 11px 19px;
  }
}


/* FEATURE BOXES */
.feature {
  flex: 1 1 240px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(23,66,99,0.10);
  padding: 34px 28px 28px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  min-width: 210px;
  max-width: 370px;
  margin-bottom: 20px;
  border-left: 5px solid #60A1AF;
  transition: box-shadow 0.18s, border-color .18s;
}
.feature img {
  height: 48px;
}
.feature h2 {
  font-size: 1.22rem;
  color: #174263;
  font-weight: 800;
  margin-bottom: 8px;
  margin-top: 8px;
}
.feature:hover {
  box-shadow: 0 8px 40px rgba(23,66,99,0.11);
  border-left-color: #174263;
}

/* SERVICES SECTION */
.service-box {
  flex: 1 1 220px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(23,66,99,0.09);
  padding: 34px 24px 28px 24px;
  margin-bottom: 20px;
  transition: box-shadow 0.19s;
  border-top: 5px solid #174263;
}
.service-box h2 {
  font-size: 1.21rem;
  color: #174263;
  font-weight: 800;
  margin-bottom: 12px;
}
.service-box:hover {
  box-shadow: 0 8px 40px rgba(23,66,99,0.17);
  border-top-color: #60A1AF;
}

/* TESTIMONIALS */
.testimonials-section {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
}
.testimonial-rating img {
  height: 21px;
  margin-right: 2px;
  display: inline-block;
}


/* CONTACT & MAP SECTIONS */
.contact-section, .map-section, .faq-section {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.contact-box {
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px 22px 24px;
  box-shadow: 0 2px 10px rgba(23,66,99,0.11);
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 1.1rem;
}
.contact-box img {
  height: 20px;
  vertical-align: middle;
  margin-right: 8px;
}
.map-placeholder {
  background: #e7ecf3;
  border-radius: 14px;
  padding: 18px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: #174263;
  font-size: 1.1rem;
  margin-bottom: 24px;
}
.map-placeholder img {
  height: 28px;
}


/* FOOTER */
footer {
  background: #174263;
  color: #fff;
  padding: 48px 0 22px 0;
  border-radius: 32px 32px 0 0;
  min-height: 220px;
  margin-top: 48px;
  box-shadow: 0 -4px 28px rgba(23,66,99,0.09);
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-content img {
  height: 38px;
  margin-bottom: 18px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 20px;
}
.footer-nav a {
  color: #fff;
  text-decoration: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  transition: color 0.14s;
}
.footer-nav a:hover {
  color: #60A1AF;
  text-decoration: underline;
}
.footer-contact {
  font-size: 0.99rem;
  color: #F1F3F6;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 8px;
}
.footer-contact a {
  color: #fff;
  text-decoration: underline;
  transition: color 0.16s;
}
.footer-contact p {
  color: #fff;
}
.footer-contact a:hover {
  color: #60A1AF;
}
.footer-legal {
  font-size: 0.94rem;
  color: #B0C4CE;
  margin-top: 8px;
}

/* LEGAL/INFO SECTIONS */
.legal-section {
  background: #fff;
  border-radius: 14px;
  padding: 36px 28px 18px 28px;
  margin-bottom: 24px;
  box-shadow: 0 2px 13px rgba(23,66,99,0.06);
}
.legal-section h1 {
  color: #174263;
  margin-bottom: 18px;
  font-size: 2rem;
}
.legal-section h2 {
  color: #174263;
  font-size: 1.22rem;
  margin-bottom: 4px;
}

/* THANK YOU PAGE SNIPPET */
.thankyou {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 40px rgba(23,66,99,0.07);
  padding: 52px 28px;
  margin-bottom: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
}


/******* COOKIE CONSENT BANNER ******/
#cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 8000;
  background: #174263;
  color: #fff;
  padding: 26px 22px 18px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 -4px 32px rgba(23,66,99,.19);
  border-radius: 12px 12px 0 0;
  font-size: 1.06rem;
  gap: 18px;
  animation: slideInCookieBanner 0.6s 1;
}
@keyframes slideInCookieBanner {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
#cookie-banner p {
  color: #fff;
  margin-bottom: 10px;
}
.cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 10px;
}
.cookie-btn {
  background: #60A1AF;
  color: #fff;
  border: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  border-radius: 22px;
  font-size: 1rem;
  padding: 12px 28px;
  cursor: pointer;
  transition: background 0.14s, color 0.12s;
}
.cookie-btn.reject {
  background: #ced4da;
  color: #174263;
}
.cookie-btn.settings {
  background: #fff;
  color: #174263;
  border: 2px solid #60A1AF;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #174263;
  color: #fff;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #60A1AF;
  color: #fff;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #b0c4ce;
  color: #174263;
}

/* COOKIE SETTINGS MODAL */
#cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(23,66,99,0.75);
  z-index: 9000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.27s;
}
#cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-dialog {
  background: #fff;
  color: #174263;
  border-radius: 16px;
  min-width: 310px;
  max-width: 95vw;
  padding: 40px 32px 28px 32px;
  box-shadow: 0 6px 44px rgba(23,66,99,0.27);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: fadeInModal 0.22s 1;
}
@keyframes fadeInModal {
  0% { transform: scale(0.88); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal-dialog h2 {
  margin-bottom: 13px;
  color: #174263;
  font-size: 1.3rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 13px;
}
.cookie-category input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #60A1AF;
}
.cookie-category label {
  color: #174263;
  font-weight: 700;
}
.cookie-modal-footer {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}
#cookie-modal .close-modal {
  position: absolute;
  right: 18px;
  top: 15px;
  background: none;
  color: #174263;
  font-size: 2rem;
  border: none;
  cursor: pointer;
  padding: 0 2px;
}
#cookie-modal .close-modal:hover {
  color: #60A1AF;
}


/* MISC */
img {
  max-width: 100%;
  height: auto;
}
hr {
  border: none;
  border-top: 2px solid #E3E8EE;
  margin: 32px 0;
}


/****** RESPONSIVE DESIGN ******/

@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
  .header-container {
    max-width: 960px;
  }
}
@media (max-width: 900px) {
  .container, .header-container {
    max-width: 98vw;
    padding: 0 12px;
  }
  .footer-content {
    gap: 24px;
  }
}
@media (max-width: 768px) {
  .header-container {
    flex-direction: row;
    gap: 8px;
    padding: 15px 0 12px 0;
  }
  .section, section {
    padding: 27px 8px;
    margin-bottom: 42px;
  }
  .hero {
    padding: 48px 0 34px 0;
    margin-bottom: 42px;
    border-radius: 0 0 24px 24px;
  }
  .hero h1 {
    font-size: 1.49rem;
  }
  .hero .subheadline {
    font-size: 1.01rem;
  }
  .feature-grid, .card-container, .services-section, .features-section, .testimonials-section, .content-grid {
    flex-direction: column;
    gap: 22px;
  }
  .feature, .service-box, .card {
    min-width: unset;
    max-width: 100%;
    padding: 18px 13px 16px 13px;
  }
  .testimonial-card {
    max-width: 100%;
    min-width: unset;
    font-size: 1rem;
    padding: 14px 13px;
  }
  .footer-content {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
  .thankyou {
    padding: 22px 10px;
  }
  .map-placeholder {
    font-size: 1rem;
  }
}
@media (max-width: 600px) {
  h1 {
    font-size: 1.48rem;
  }
  h2 {
    font-size: 1.16rem;
  }
  .footer-content img, .header-container img {
    height: 30px;
    min-width: 80px;
  }
  .footer-content {
    padding-top: 8px;
  }
  #cookie-banner {
    font-size: 0.98rem;
    padding-left: 8px;
    padding-right: 8px;
  }
}
@media (max-width: 500px) {
  .hero {
    border-radius: 0 0 14px 14px;
  }
  .card, .feature, .service-box, .testimonial-card {
    border-radius: 7px;
    padding: 9px 7px;
  }
  .cta-btn, .cookie-btn {
    font-size: .98rem;
    padding: 10px 18px;
  }
  .footer-content {
    padding-bottom: 0;
  }
}

/* Hide cookie banner if JS sets class */
#cookie-banner.hide {
  display: none;
}
#cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
