/* --- 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, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, main, 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, main {
  display: block;
}
body {
  line-height: 1.5;
  background: #F7FAFC;
  color: #183342;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
  box-sizing: border-box;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
ul, ol {
  list-style-type: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #183342;
}
h1,h2,h3,h4,h5,h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: #19536B;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}
p, li, span, a, strong {
  font-size: 1rem;
}
strong {
  font-weight: 600;
  color: #19536B;
}

/* --- LAYOUT CONTAINER CLASSES --- */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 2px 16px 0 rgba(25,83,107,0.07);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.card-container,
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 4px 12px 0 rgba(25,83,107,0.07);
  margin-bottom: 20px;
  position: relative;
  padding: 24px 20px;
  min-width: 230px;
  flex: 1 1 240px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 8px 24px rgba(25,83,107,0.15);
  transform: translateY(-4px) scale(1.025);
}
.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;
  background: #F0F6FA;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(25,83,107,0.07);
  color: #1C2533;
  margin-bottom: 20px;
  flex: 1 1 calc(33% - 16px);
  min-width: 260px;
  transition: box-shadow 0.2s, border 0.2s;
  border-left: 6px solid #19536B;
}
.testimonial-card p {
  color: #1C2533;
  font-style: italic;
}
.testimonial-card span {
  color: #19536B;
  font-size: 0.98rem;
  margin-left: 20px;
}
.testimonial-card:hover {
  border-left: 8px solid #F6C85B;
  box-shadow: 0 4px 20px rgba(25,83,107,0.13);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* --- NAVIGATION --- */
header {
  background: #19536B;
  color: #fff;
  position: relative;
  min-height: 72px;
  z-index: 100;
}
.main-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px 30px;
  align-items: center;
  justify-content: flex-start;
  padding: 16px 20px;
}
.main-nav > a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 8px 0;
  transition: color 0.2s;
  border-bottom: 2px solid transparent;
  font-size: 1rem;
}
.main-nav > a.cta-nav {
  padding: 9px 18px;
  background: #F6C85B;
  color: #19536B;
  border-radius: 8px;
  font-weight: 700;
  transition: background 0.2s, color 0.2s;
  border-bottom: none;
}
.main-nav > a:hover {
  color: #F6C85B;
}
.main-nav > a.cta-nav:hover {
  background: #19536B;
  color: #F6C85B;
  box-shadow: 0 2px 12px rgba(246,200,91,0.24);
}
.mobile-menu-toggle {
  display: none;
  background: #19536B;
  color: #fff;
  border: none;
  font-size: 2.2rem;
  padding: 12px 20px;
  cursor: pointer;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(25,83,107,0.98);
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(.47,1.64,.41,.8);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #F6C85B;
  font-size: 2rem;
  align-self: flex-end;
  margin: 28px 30px 0 0;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 10001;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff2c3;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  margin: 40px 0 0 36px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 500;
  padding: 8px 0;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  width: 180px;
  display: block;
}
.mobile-nav a:hover {
  background: #F6C85B;
  color: #19536B;
  padding-left: 8px;
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 8px 18px;
    justify-content: flex-start;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 8px 14px;
    font-size: 0.95rem;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 1002;
  }
  .mobile-menu {
    display: flex;
  }
}

/* --- HERO & CTA SECTIONS --- */
.hero,
.cta {
  background: #EBF4FB;
  border-radius: 0 0 28px 28px;
  padding: 50px 0 40px 0;
}
.hero .container, .cta .container {padding-top: 0;}
.hero .content-wrapper, .cta .content-wrapper {
  align-items: flex-start;
}
.cta-btn {
  display: inline-block;
  background: #19536B;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 14px 38px;
  border-radius: 8px;
  font-size: 1.15rem;
  margin-top: 12px;
  letter-spacing: 0.2px;
  box-shadow: 0 3px 14px rgba(25,83,107,0.11);
  transition: background 0.21s, box-shadow 0.2s, color 0.2s, transform 0.15s;
  border: none;
  cursor: pointer;
}
.cta-btn:hover, .cta-btn:focus {
  background: #F6C85B;
  color: #19536B;
  transform: translateY(-2px) scale(1.035);
  box-shadow: 0 6px 20px rgba(25,83,107,0.18);
}
.cta-link {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #19536B;
  font-weight: 600;
  text-decoration: underline;
  margin-left: 20px;
  font-size: 1.03rem;
  transition: color 0.2s, text-decoration 0.2s;
}
.cta-link:hover {
  color: #154356;
  text-decoration-color: #F6C85B;
}

/* --- FEATURES, SERVICES, ABOUT, FAQ, ARTICLES --- */
.features ul,
.services ul,
.articles ul,
.faq ul,
.text-section ul,
.contact-info ul {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.features ul li, .services ul li, .faq ul li, .articles ul li, .contact-info ul li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px 24px;
  background: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(25,83,107,0.06);
  font-size: 1rem;
  color: #1C2533;
  margin-bottom: 0;
}
.features ul li img, .services ul li img, .contact-info ul li img {
  width: 32px;
  height: 32px;
  margin-right: 10px;
  margin-top: 2px;
  flex-shrink: 0;
}
.articles ul li article {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.articles ul li article a {
  margin-top: 2px;
  color: #19536B;
  font-weight: 600;
  transition: color 0.2s;
}
.articles ul li article a:hover {
  color: #F6C85B;
}
.text-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq ul li {
  border-left: 4px solid #19536B;
  background: #F0F6FA;
}
.faq strong {
  margin-bottom: 5px;
  display: block;
}

.empathy {
  background: #EBF4FB;
  color: #19536B;
  border-radius: 10px;
  padding: 22px;
  margin-top: 26px;
  box-shadow: 0 2px 8px rgba(25,83,107,0.04);
  font-weight: 600;
  text-align: center;
  font-size: 1.08rem;
}

/* --- THANK YOU PAGE SPECIFIC --- */
.thank-you-hero {
  padding: 80px 0 40px 0;
  background: #EBF4FB;
  border-radius: 0 0 32px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- FOOTER --- */
footer {
  background: #183342;
  color: #fff;
  padding: 40px 0;
  font-size: 1rem;
  border-top: 6px solid #19536B;
  margin-top: 64px;
}
footer .container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-brand {
  flex: 1 1 210px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.footer-brand p {
  color: #ddd;
  line-height: 1.5;
  font-size: 1rem;
}
.footer-contact {
  flex: 2 1 340px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: #CCCCCC;
}
.footer-contact img {
  width: 20px;
  vertical-align: middle;
  margin-right: 7px;
}
.footer-contact a {
  color: #F6C85B;
  transition: color 0.2s;
}
.footer-contact a:hover {
  color: #f4e6b9;
}
.opening-hours {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #DBDBDB;
  font-size: 0.97rem;
}
.footer-social {
  flex: 1 1 110px;
  display: flex;
  gap: 18px;
  align-items: center;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  background: #224151;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  justify-content: center;
  transition: background 0.18s, box-shadow 0.18s;
}
.footer-social a:hover {
  background: #F6C85B;
  box-shadow: 0 2px 10px #19536bcc;
}
.footer-social img {
  width: 24px;
  height: 24px;
}
.footer-nav {
  margin-top: 30px;
  font-size: 0.97rem;
  color: #B8C4D7;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-nav a {
  color: #B8C4D7;
  transition: color 0.2s;
}
.footer-nav a:hover {
  color: #F6C85B;
}

/* --- LEGAL AND PRIVACY --- */
.legal {
  margin-bottom: 60px;
  padding: 54px 20px 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(25,83,107,0.07);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0; right:0; bottom: 0;
  width: 100%;
  background: #19536B;
  color: #fff;
  z-index: 99998;
  padding: 24px 20px 24px 20px;
  box-shadow: 0 -2px 12px rgba(25, 83, 107, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  font-size: 1.02rem;
  flex-wrap: wrap;
  animation: cookieSlideIn 0.9s cubic-bezier(.4,.7,.39,.99);
}
@keyframes cookieSlideIn {
  from { transform: translateY(100%); opacity:0; }
  to   { transform: translateY(0); opacity:1; }
}
.cookie-banner button {
  background: #F6C85B;
  color: #19536B;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 6px;
  padding: 7px 22px;
  margin: 0 10px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(25,83,107,0.07);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #fff;
  color: #19536B;
}
.cookie-settings-btn {
  background: #fff;
  color: #19536B;
  border: 1px solid #F6C85B;
  margin-left: 6px;
}
.cookie-settings-btn:hover {
  background: #F6C85B;
  color: #19536B;
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 99999;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(25,83,107,0.62);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  transition: background 0.3s;
}
.cookie-modal {
  background: #fff;
  color: #19536B;
  border-radius: 13px;
  box-shadow: 0 10px 80px rgba(25,83,107,0.24);
  padding: 40px 32px 24px 32px;
  max-width: 440px;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: modalPopIn 0.6s cubic-bezier(.23,1.12,.39,.93);
}
@keyframes modalPopIn {
  from { transform: scale(0.93); opacity:0; }
  to   { transform: scale(1); opacity:1; }
}
.cookie-modal h2 {
  margin-bottom: 12px;
  font-size: 1.4rem;
}
.cookie-modal .cookie-category {
  padding: 15px 0 8px 0;
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid #e7eaf1;
  margin-bottom: 0;
}
.cookie-modal .category-desc {
  color: #435B67;
  font-size: 0.99rem;
  flex: 1;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #19536B;
  width: 22px;
  height: 22px;
}
.cookie-modal .cookie-modal-actions {
  margin-top: 18px;
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: flex-end;
}
.cookie-modal button {
  padding: 7px 20px;
}

/* --- RESPONSIVENESS (MOBILE-FIRST) --- */
@media (max-width: 1024px) {
  .container {
    max-width: 94vw;
    padding-left: 12px;
    padding-right: 12px;
  }
  .hero, .cta, .thank-you-hero {
    padding-left: 0;
    padding-right: 0;
  }
  footer .container {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 99vw;
    padding-left: 2vw;
    padding-right: 2vw;
  }
  .footer-contact, .footer-brand {
    flex: 1 1 100%;
  }
  .footer-social {
    margin-bottom: 16px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.32rem; }
  .hero, .cta, .thank-you-hero {
    padding: 30px 0 24px 0;
    border-radius: 0 0 20px 20px;
  }
  .section, .legal {
    padding: 28px 10px 24px 10px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    min-width: 170px;
    padding: 14px 12px;
    gap: 8px;
    border-left-width: 5px;
  }
  .footer-brand, .footer-contact, .footer-social, .footer-nav {
    flex: 1 1 100%;
    margin-bottom: 13px;
    align-items: flex-start;
  }
  footer .container {
    flex-direction: column;
    gap: 11px;
  }
  .features ul li, .services ul li, .faq ul li, .articles ul li, .contact-info ul li {
    padding: 15px 8px;
    font-size: 0.97rem;
    gap: 10px;
  }
  .articles ul li article h3 {
    font-size: 1.09rem;
  }
  .content-wrapper, .text-section {
    gap: 15px;
    padding: 8px 0;
  }
}
@media (max-width: 600px) {
  .hero, .cta, .thank-you-hero {
    padding: 20px 0 20px 0;
    border-radius: 0 0 10px 10px;
  }
  h1 { font-size: 1.3rem; }
  h2 { font-size: 1.08rem; }
  .footer-brand,
  .footer-contact,
  .footer-social,
  .footer-nav {
    margin-bottom: 7px;
  }
  .section, .legal {
    padding: 16px 3px 8px 3px;
    margin-bottom: 32px;
  }
  .cookie-modal {
    min-width: 98vw;
    padding: 18px 6px 6px 10px;
    max-width: 99vw;
  }
}
@media (max-width: 480px) {
  .hero, .cta, .thank-you-hero {
    padding: 7vw 0 3vw 0;
  }
  .mobile-nav a {
    width: 95vw;
    font-size: 1.03rem;
  }
  .cookie-banner {
    flex-direction: column;
    justify-content: flex-start;
    gap: 18px;
    font-size: 0.96rem;
    padding: 15px 6px;
  }
}

/* --- MICRO-INTERACTIONS --- */
button, .cta-btn, .mobile-menu-toggle, .cookie-banner button, .cookie-modal button {
  transition: box-shadow 0.18s, background 0.21s, color 0.17s, transform 0.18s;
}
button:focus, a:focus, .cta-btn:focus {
  outline: 2px solid #F6C85B;
  outline-offset: 2px;
}

/* --- MISC COMPONENTS --- */
::-webkit-scrollbar {
  width: 11px;
}
::-webkit-scrollbar-thumb {
  background: #CAD8E1;
  border-radius: 6px;
}
::-webkit-scrollbar-track {
  background: #F7FAFC;
}

/* --- MODAL OVERLAY HIDDEN BY DEFAULT --- */
.cookie-modal-overlay {
  display: none;
}
.cookie-modal-overlay.active {
  display: flex;
}

/* --- ACCENT COLORS UTILITY --- */
.text-primary { color: #19536B !important; }
.text-secondary { color: #F6C85B !important; }
.bg-primary { background: #19536B !important; color: #fff !important; }
.bg-secondary { background: #F6C85B !important; color: #19536B !important; }

/* --- END --- */
