/* RESET & BASE ---------------------- */
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,
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;
  background: #E8EAED;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.5;
  color: #1A232E;
  background: #E8EAED;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #1A4F72;
  text-decoration: none;
  transition: color .18s cubic-bezier(.46,.03,.52,.96);
}
a:hover, a:focus {
  color: #265185;
  text-decoration: underline;
}
ul, ol {
  padding-left: 24px;
}
button,input,select,textarea {
  font-family: inherit;
  font-size: 1rem;
  background: none;
  border: none;
  outline: none;
}

/* FONTS & TYPOGRAPHY ----------------- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&family=Roboto:wght@400;500;700&display=swap');

h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 2.8rem;
  color: #1A4F72;
  letter-spacing: -1px;
  margin-bottom: 16px;
  line-height: 1.12;
}
@media (max-width: 768px) { h1 { font-size: 2rem; } }
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: #1A4F72;
  margin-bottom: 16px;
  line-height: 1.15;
}
@media (max-width: 768px) { h2 { font-size: 1.45rem; } }
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: #265185;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #1A4F72;
}
p, li, span, th, td {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #232B36;
  font-weight: 400;
  letter-spacing: 0.01em;
}
strong {
  font-weight: 700;
}
.tagline {
  font-size: 1.25rem;
  color: #265185;
  font-weight: 500;
  margin-bottom: 20px;
}
.secondary-cta-info, .secondary-notes, .response-time-info, .friendly-message, .next-steps {
  color: #7398C6;
  font-size: 1rem;
  margin-top: 16px;
  font-weight: 500;
}

/* LAYOUT CONTAINERS ------------------ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFFFFF;
  border-radius: 26px;
  box-shadow: 0 6px 30px rgba(26,79,114, 0.06);
}
@media (max-width: 800px) {
  .section { padding: 30px 8px; }
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* FLEXBOX ALIGNMENTS ----------------- */
.card-container,
.feature-grid,
.card-grid,
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
@media (max-width: 900px) {
  .feature-grid, .content-grid, .card-container { gap: 16px; }
}
@media (max-width: 650px) {
  .feature-grid, .content-grid, .card-container { flex-direction: column; gap: 18px; }
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: flex-start; }
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* COMPONENTS ------------------------- */
/* --- HEADER --- */
header {
  background: #FFFFFF;
  box-shadow: 0 2px 10px rgba(26,79,114, 0.06);
  margin-bottom: 30px;
  padding: 0;
  position: relative;
  z-index: 10;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
  min-height: 84px;
  padding-top: 0;
  padding-bottom: 0;
}
header nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.04rem;
  color: #265185;
  padding: 10px 0 10px 0;
  border-radius: 6px;
  position: relative;
  transition: color 0.15s, background 0.12s;
}
header nav a.cta-nav {
  background: #1A4F72;
  color: #FFFFFF;
  padding: 10px 18px;
  border-radius: 24px;
  letter-spacing: 0.02em;
  margin-left: 12px;
  box-shadow: 0 2px 10px rgba(26,79,114,0.09);
  transition: background .18s;
}
header nav a.cta-nav:hover {
  background: #265185;
  color: #fff;
}
header nav a:hover, header nav a:focus {
  color: #1A4F72;
  background: #E8EAED;
}
header img {
  height: 48px;
  width: auto;
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  background: #1A4F72;
  color: #FFF;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 1.7rem;
  border: none;
  cursor: pointer;
  display: none;
  margin-left: 18px;
  transition: background 0.16s;
}
@media (max-width: 900px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #1A4F72;
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.46,.03,.52,.96);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 36px;
  padding-left: 0;
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #FFF;
  font-size: 2.1rem;
  margin-left: 18px;
  margin-bottom: 22px;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-top: 12px;
  padding-left: 36px;
}
.mobile-nav a {
  color: #FFFFFF;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  padding: 12px 0;
  border-radius: 8px;
  transition: background 0.13s, color 0.13s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #265185;
  color: #E8EAED;
}

/* --- SECTION / CARD / FEATURE LAYOUTS --- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 10px;
  margin-top: 16px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #F8FAFD;
  box-shadow: 0 2px 14px rgba(26,79,114, .07);
  border-radius: 22px;
  padding: 26px 22px 20px 22px;
  min-width: 210px;
  flex: 1 1 220px;
  margin-bottom: 20px;
  transition: box-shadow .19s;
}
.feature-item:hover {
  box-shadow: 0 8px 28px rgba(26,79,114,.13);
}
.feature-item img {
  height: 52px;
  width: 52px;
  margin-bottom: 0;
  filter: drop-shadow(0 1px 5px rgba(26,79,114,0.07));
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #F8FAFD;
  box-shadow: 0 2px 14px rgba(26,79,114, .08);
  border-radius: 18px;
  padding: 24px;
  transition: box-shadow .17s;
}
.card:hover { box-shadow: 0 8px 32px rgba(26,79,114, .14); }

.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #FFF;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(26,79,114, .08);
  margin-bottom: 20px;
  flex: 1 1 290px;
  min-width: 220px;
  max-width: 460px;
  border:3px solid #E8EAED;
  transition: border .16s, box-shadow .18s;
}
.testimonial-card:hover {
  border:3px solid #265185;
  box-shadow: 0 6px 30px rgba(115,152,198,.13);
}
.testimonial-card p {
  font-size: 1.13rem;
  color: #232B36;
  text-align: center;
  font-weight: 500;
}
.testimonial-review {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #1A4F72;
  font-weight: 700;
  font-size: 1rem;
}
.testimonial-review span {
  font-size: 1rem;
  color: #1A4F72;
  padding-right: 5px;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 600;
}

/* CTA BUTTONS --------------------- */
.cta-button, .cta-button-large, a.cta-button, a.cta-button-large {
  display: inline-block;
  background: #1A4F72;
  color: #fff !important;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  border: none;
  padding: 14px 30px;
  border-radius: 40px;
  box-shadow: 0 6px 24px rgba(26,79,114,0.17);
  letter-spacing: 0.03em;
  margin-top: 8px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: background 0.19s, box-shadow .18s, color .14s;
}
.cta-button:hover, .cta-button-large:hover, a.cta-button:hover, a.cta-button-large:hover {
  background: #265185;
  color: #fff;
  box-shadow: 0 14px 38px rgba(26,79,114,0.23);
}
.cta-button-large, a.cta-button-large {
  font-size: 1.34rem;
  padding: 18px 38px;
}

/* TABLES (PRICING) */
.price-table {
  width: 100%;
  border-collapse: collapse;
  background: #F8FAFD;
  box-shadow: 0 2px 12px rgba(26,79,114, .11);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 32px;
  margin-top: 20px;
}
.price-table th, .price-table td {
  padding: 16px 14px;
  text-align: left;
  font-size: 1rem;
}
.price-table th {
  background: #1A4F72;
  color: #fff;
  font-family: 'Montserrat',Arial,sans-serif;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.price-table tr:nth-child(even) td {
  background: #E8EAED;
}
.price-table td {
  color: #232B36;
  font-family: 'Roboto',Arial,sans-serif;
}

/* TRUST BADGES (GALLERY) ------------*/
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 18px;
  align-items: center;
  justify-content: flex-start;
}
.trust-badges img {
  height: 56px;
  width: 56px;
}

/* FOOTER -------------------------- */
footer {
  background: #1A4F72;
  color: #fff;
  padding: 50px 0 32px 0;
  margin-top: 30px;
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
}
footer .container {
  flex-direction: column;
  gap: 24px;
}
.footer-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
  justify-content: flex-start;
}
.footer-navigation a {
  color: #E8EAED;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 8px;
  transition: color 0.13s;
}
.footer-navigation a:hover {
  color: #7398C6;
  text-decoration: underline;
}
.footer-contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  font-size: 1rem;
  margin-bottom: 18px;
  align-items: flex-start;
}
.footer-contact-details span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #E8EAED;
  font-size: 1rem;
}
.footer-contact-details img {
  height: 20px;
  width: 20px;
  filter: brightness(110%) invert(5%);
}
.footer-social-links {
  display: flex;
  gap: 20px;
  margin-top: 12px;
}
.footer-social-links a img {
  height: 36px;
  width: 36px;
  transition: filter 0.13s, transform 0.14s;
  border-radius: 50%;
}
.footer-social-links a img:hover {
  filter: brightness(120%) drop-shadow(0 2px 6px #7398c644);
  transform: scale(1.10);
}

@media (max-width: 900px) {
  .footer-navigation, .footer-contact-details {
    flex-direction: column;
    gap: 14px;
  }
  footer {
    padding: 32px 0 18px 0;
    border-radius: 0;
  }
}

/* LISTS, SPACING, MISC -------------- */
ul, ol {
  margin-bottom: 18px;
  margin-top: 8px;
}
li {
  margin-bottom: 8px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 650px) {
  section { padding: 24px 6px; margin-bottom: 40px; }
}

/* TRANSITIONS/MICRO-INTERACTIONS-------------*/
button, a, .feature-item, .card, .cta-button, .cta-button-large {
  transition: background 0.17s, color 0.16s, box-shadow 0.18s, border 0.14s, transform 0.15s;
}
button:active, a:active {
  transform: scale(0.97);
}

/* RESPONSIVENESS ------------------- */
@media (max-width: 650px) {
  .container { padding: 0 6px; }
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.11rem; }
  .feature-item, .card, .testimonial-card { min-width: unset; } 
  .footer-navigation, .footer-contact-details { font-size: 0.95rem; }
}

/* GEOMETRIC ACCENTS --------------- */
.feature-item:before, .feature-item:after {
  content: '';
  display: none; /* Use with ::before geometric shapes as accent if desired */
}

/* MODALS & UTILS ------------------ */
.modal {
  display: none;
  position: fixed;
  top: 0; left: 0; right:0; bottom: 0;
  background: rgba(26,79,114,0.43);
  z-index: 11000;
  align-items: center;
  justify-content: center;
}
.modal.open {
  display: flex;
}
.modal-content {
  background: #FFFFFF;
  border-radius: 22px;
  padding: 36px 24px;
  box-shadow: 0 8px 48px rgba(26,79,114,0.18);
  min-width: 320px;
  max-width: 400px;
  animation: modalShow .3s cubic-bezier(.46,.03,.52,.96);
}
@keyframes modalShow {
  from { opacity:0; transform: scale(0.94); }
  to { opacity:1; transform: scale(1); }
}

/* COOKIE CONSENT BANNER --------------- */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #1A4F72;
  color: #fff;
  padding: 26px 24px 26px 24px;
  box-shadow: 0 -8px 32px rgba(26,79,114,0.09);
  z-index: 12000;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
  justify-content: center;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  animation: cookieBannerIn .48s cubic-bezier(.46,.03,.52,.96);
}
@keyframes cookieBannerIn {
  from { transform:translateY(100%); opacity:0; }
  to { transform: translateY(0); opacity:1; }
}
.cookie-consent-banner p {
  color: #fff;
  font-size: 1.05rem;
  margin-right: 16px;
  max-width: 420px;
}
.cookie-consent-actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 22px;
  padding: 12px 24px;
  font-size: 1.05rem;
  cursor: pointer;
  transition: background 0.13s, color 0.13s;
}
.cookie-btn.accept {
  background: #265185;
  color: #fff;
}
.cookie-btn.reject {
  background: #fff;
  color: #1A4F72;
  border: 2px solid #7398C6;
}
.cookie-btn.settings {
  background: #E8EAED;
  color: #1A4F72;
}
.cookie-btn:hover, .cookie-btn:focus {
  opacity: 0.9;
  background: #7398C6;
  color: #fff;
}
@media (max-width: 720px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    border-radius: 0;
    padding: 18px 8px 18px 8px;
  }
}

/* COOKIE PREFERENCES MODAL ----------- */
.cookie-modal {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(26,79,114,0.53);
  z-index: 13000;
  align-items: center;
  justify-content: center;
}
.cookie-modal.open {
  display: flex;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 22px;
  padding: 36px 28px;
  max-width: 400px;
  box-shadow: 0 8px 44px rgba(26,79,114,0.18);
  min-width: 300px;
  animation: modalShow .4s cubic-bezier(.46,.03,.52,.96);
}
.cookie-modal-content h3 {
  color: #1A4F72;
  font-size: 1.35rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
}
.cookie-toggle {
  appearance: none;
  width: 38px;
  height: 22px;
  background: #E8EAED;
  border-radius: 11px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.14s;
}
.cookie-toggle:checked {
  background: #265185;
}
.cookie-toggle:before {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 3px; left: 3px;
  transition: left .18s;
  box-shadow: 0 2px 6px rgba(26,79,114,0.09);
}
.cookie-toggle:checked:before {
  left: 19px;
}
.cookie-modal-content .cookie-btn {
  margin-top: 22px;
  min-width: 110px;
}

/* GENERAL CLASSES TO ENSURE CRITICAL SPACING -------- */
section, .section, .feature-item, .testimonial-card, .card, .content-wrapper, .feature-grid, .content-grid {
  margin-bottom: 24px;
}
section:last-child, .section:last-child {
  margin-bottom: 0;
}
.card, .testimonial-card, .feature-item {
  margin-bottom: 20px;
  margin-right: 0;
}
@media (max-width: 650px) {
  .card, .testimonial-card, .feature-item { margin-bottom: 14px; }
}

/* TABLET & MOBILE ADJUSTMENTS */
@media (max-width: 900px) {
  header .container { flex-direction: row; gap: 16px; }
  .feature-grid, .testimonials { flex-direction: column; gap: 18px; }
  .footer-social-links { margin-top: 12px; }
  .price-table th, .price-table td { padding: 10px 8px; }
}

/* PRINT UTILS */
@media print {
  .cookie-consent-banner, .mobile-menu, .mobile-menu-toggle, header, footer { display: none !important; }
}

/* HIDE/SHOW UTILITY CLASSES FOR JS */
.hide { display:none !important; }
.show { display:block !important; }
