/* 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;
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  background: #F4F6F7;
  color: #17446B;
  min-height: 100vh;
  line-height: 1.6;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
a { color: #17446B; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #F2A922; }
img, svg { max-width: 100%; height: auto; display: block; }
ul, ol { padding-left: 20px; }

/* Brand Colors as CSS Variables for Fallbacks */
:root {
  --primary: #184C76;
  --primary-alt: #17446B;
  --secondary: #FFFFFF;
  --neutral: #F4F6F7;
  --accent: #F2A922;
  --font-display: 'Roboto Slab', 'Times New Roman', serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}

/* GENERAL SPACING CONTAINERS */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--secondary);
  border-radius: 24px;
  box-shadow: 0 6px 36px 0 rgba(24,76,118,0.06);
  position: relative;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.15;
  color: var(--primary-alt);
}
h1 { font-size: 2.25rem; margin-bottom: 24px; }
h2 { font-size: 1.75rem; margin-bottom: 20px; }
h3 { font-size: 1.35rem; margin-bottom: 14px; font-weight: 700; }
h4, h5, h6 { font-size: 1.1rem; margin-bottom: 8px; font-weight: 700; }
p, ul, ol, .text-section, .text-section p {
  font-size: 1rem;
  font-family: var(--font-body);
  color: #17446B;
  font-weight: 400;
  margin-bottom: 16px;
}
strong, b { font-weight: 700; }

/* BUTTONS */
.btn-primary {
  background: var(--primary-alt);
  color: var(--secondary);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border: none;
  border-radius: 12px;
  padding: 16px 36px;
  margin: 8px 0;
  cursor: pointer;
  box-shadow: 0 3px 12px 0 rgba(24,76,118,0.17);
  transition: background .2s, box-shadow .2s, transform .14s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  outline: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--accent);
  color: var(--primary-alt);
  box-shadow: 0 6px 20px 0 rgba(242,169,34,.16);
  transform: translateY(-2px) scale(1.02);
}

.btn-secondary, .tag {
  background: var(--accent);
  color: var(--primary-alt);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  border-radius: 10px;
  padding: 10px 22px;
  margin: 8px 6px 8px 0;
  display: inline-block;
}
.tag {
  background: #fffbe6;
  color: var(--accent);
  font-size: 0.96rem;
  letter-spacing: 0.01em;
  font-weight: 700;
}
.tag + .tag {
  margin-left: 10px;
}

/* HEADER */
header {
  background: var(--secondary);
  box-shadow: 0 2px 12px 0 rgba(24,76,118,0.06);
  z-index: 1200;
}
header .container {
  flex-direction: row;
  align-items: center;
  gap: 24px;
  padding: 14px 20px;
  justify-content: space-between;
}
header img {
  max-height: 46px;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
}
.main-nav a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--primary-alt);
  padding: 8px 2px;
  transition: color 0.18s, border-color 0.18s;
  border-bottom: 3px solid transparent;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--accent);
  border-bottom: 3px solid var(--accent);
}
header .btn-primary {
  margin-left: 18px;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(90deg, #f4f6f7 45%, #fff 100%);
  padding: 60px 0 50px 0;
  min-height: 340px;
}
.hero .container {
  align-items: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 22px;
  max-width: 700px;
}
.hero h1 {
  color: var(--primary-alt);
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.hero p {
  font-size: 1.25rem;
  color: #34516b;
  margin-bottom: 20px;
}
.hero .btn-primary {
  margin-top: 14px;
}

/* FEATURES */
.features {
  background: var(--neutral);
  padding: 32px 0;
}
.features .container {
  flex-direction: column;
  gap: 0;
}
.features .content-wrapper {
  gap: 10px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin: 20px 0 0 0;
  padding: 0;
}
.feature-grid li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.07rem;
  font-weight: 600;
  background: var(--secondary);
  border-radius: 15px;
  box-shadow: 0 2px 8px 0 rgba(24,76,118,0.07);
  padding: 20px 28px;
  min-width: 220px;
  flex: 1 1 240px;
  color: var(--primary-alt);
}
.feature-grid img {
  width: 36px;
  height: 36px;
}

/* CARDS (General: testimonials, services, etc.) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--secondary);
  border-radius: 22px;
  box-shadow: 0 2px 16px 0 rgba(24,76,118,0.10);
  margin-bottom: 20px;
  padding: 28px 26px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow .18s, transform .13s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 32px 0 rgba(24,76,118,0.15), 0 0 0 4px #f2a92222;
  transform: translateY(-4px) scale(1.015);
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

/* TESTIMONIALS */
.testimonials {
  background: var(--secondary);
}
.testimonials .container {
  gap: 22px;
}
.testimonials .content-wrapper {
  gap: 16px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  background: var(--neutral);
  border-radius: 18px;
  box-shadow: 0 2px 10px 0 rgba(24,76,118,0.09);
  min-width: 280px;
  max-width: 680px;
  margin-bottom: 20px;
  font-family: var(--font-body);
  position: relative;
}
.testimonial-card blockquote {
  font-size: 1.2rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--primary-alt);
  margin-right: 10px;
  max-width: 420px;
  background: transparent;
  border-left: 5px solid var(--accent);
  padding-left: 16px;
}
.testimonial-card span {
  font-size: 0.95rem;
  color: #294969;
  font-weight: 600;
}

/* SERVICES & CTA */
.services, .cta {
  background: var(--neutral);
  border-radius: 24px;
  margin-bottom: 60px;
  padding: 40px 20px;
}
.services h2, .cta h2 {
  font-size: 1.75rem;
  margin-bottom: 18px;
  color: var(--primary-alt);
  font-weight: 800;
}
.service-categories {
  margin-top: 16px;
  margin-bottom: 22px;
}
.cta-area {
  margin-top: 16px;
}
.special-offers p strong {
  color: var(--accent);
  font-weight: 900;
}

/* FOOTER */
footer {
  background: var(--primary-alt);
  color: var(--secondary);
  padding: 48px 0 0 0;
  margin-top: 62px;
  font-family: var(--font-body);
  font-size: 1rem;
}
footer .container {
  gap: 18px;
}
.footer-top {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  border-bottom: 1px solid #18395922;
  padding-bottom: 20px;
  margin-bottom: 18px;
}
.footer-nav {
  display: flex;
  gap: 22px;
}
.footer-nav a {
  color: var(--accent);
  font-size: 1.07rem;
  font-family: var(--font-display);
  font-weight: 800;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #F4F6F7;
  text-decoration: underline;
}
.footer-bottom {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding-top: 8px;
  padding-bottom: 18px;
  font-size: 1rem;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.contact-info img {
  width: 18px;
  vertical-align: middle;
  margin-right: 7px;
}
.social-links {
  display: flex;
  gap: 18px;
  align-items: center;
}
.social-links img {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1);
  transition: filter 0.18s;
}
.social-links a:hover img {
  filter: brightness(1.2) sepia(1) hue-rotate(-20deg) saturate(8);
}

/* CONTENT GRID (for sections that list items beside each other) */
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

/* TEXT + IMAGE SECTIONS */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.text-section {
  max-width: 700px;
  margin-bottom: 28px;
}

/* FAQ ACCORDION */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  background: var(--secondary);
  border-radius: 18px;
  box-shadow: 0 1px 7px 0 rgba(24,76,118,0.08);
  padding: 22px 24px;
  position: relative;
  margin-bottom: 20px;
  font-family: var(--font-body);
  transition: box-shadow 0.16s, transform 0.14s;
}
.faq-item h2 {
  font-size: 1.12rem;
  font-family: var(--font-display);
  font-weight: 900;
  margin-bottom: 10px;
  cursor: pointer;
  color: var(--primary-alt);
}
.faq-item .text-section {
  font-size: 1rem;
  color: #184C76;
  margin-bottom: 0;
}

/* SUPPORT CONTACT */
.support-contact-info {
  background: #fffdf8;
  border-radius: 10px;
  padding: 18px 22px;
  color: var(--primary-alt);
  margin-bottom: 20px;
  font-size: 1.05rem;
}

/* MAP in CONTACT */
.map {
  background: var(--secondary);
  border-radius: 15px;
  margin-top: 18px;
  padding: 18px 0 18px 18px;
  box-shadow: 0 1px 7px 0 rgba(24,76,118,0.05);
}

/* GENERAL UTILITIES */
.hidden { display: none !important; }
disabled,
[disabled] {
  pointer-events: none;
  opacity: 0.6;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 22px;
  right: 20px;
  z-index: 1700;
  background: var(--primary-alt);
  color: var(--secondary);
  font-size: 2rem;
  padding: 8px 16px;
  border-radius: 8px;
  border: none;
  box-shadow: 0 3px 12px 0 rgba(24,76,118,0.07);
  cursor: pointer;
  transition: background .18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--accent);
  color: var(--primary-alt);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #17446B;
  box-shadow: 0 0 120px 0 rgba(24,76,118,0.52);
  z-index: 2000;
  transform: translateX(-105vw);
  opacity: 0;
  transition: transform .35s cubic-bezier(.94,.11,.18,.93), opacity 0.20s;
  overflow-y: auto;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 24px;
  background: none;
  color: #fff;
  border: none;
  font-size: 2rem;
  z-index: 2200;
  cursor: pointer;
  transition: color .2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 85px 0 0 36px;
}
.mobile-nav a {
  font-size: 1.25rem;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  padding: 12px 0 12px 0;
  border-radius: 6px;
  transition: background 0.19s, color 0.18s;
  text-align: left;
  min-width: 200px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--accent);
  color: var(--primary-alt);
}

/* COOKIE CONSENT BANNER & MODAL */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #222C40;
  color: #FFF;
  z-index: 4000;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 30px;
  justify-content: center;
  padding: 24px 20px 20px 20px;
  box-shadow: 0 -4px 32px 0 rgba(24,76,118,0.21);
  animation: cookieSlideIn 0.35s cubic-bezier(.86,.08,.19,.98);
  font-family: var(--font-body);
}
@keyframes cookieSlideIn {
  from { transform: translateY(100%); opacity: 0.2; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: #fff;
  font-size: 1.06rem;
  margin-bottom: 0;
  max-width: 440px;
}
.cookie-banner-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  margin-left: 28px;
}
.cookie-btn {
  background: var(--accent);
  color: var(--primary-alt);
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  padding: 12px 22px;
  cursor: pointer;
  margin-right: 8px;
  transition: background .17s, color .17s, transform .13s;
}
.cookie-btn.reject {
  background: var(--secondary);
  color: var(--primary-alt);
  border: 2px solid var(--accent);
}
.cookie-btn.settings {
  background: transparent;
  color: #fff;
  border: 2px solid var(--accent);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--primary-alt);
  color: var(--accent);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #fffbe6;
  color: var(--accent);
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 4100;
  left: 0;
  top: 0; 
  width: 100vw;
  height: 100vh;
  background: rgba(24, 44, 65, 0.71);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: var(--secondary);
  color: var(--primary-alt);
  border-radius: 22px;
  padding: 38px 32px 28px 32px;
  max-width: 420px;
  width: 85vw;
  box-shadow: 0 8px 44px 0 rgba(24,76,118,0.20);
  font-family: var(--font-body);
  animation: modalPopIn 0.32s cubic-bezier(.70,-0.25,.25,1.1);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
@keyframes modalPopIn {
  from { transform: scale(0.95) translateY(40px); opacity: 0.25; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 10px;
}
.cookie-category {
  margin-bottom: 13px;
  padding: 9px 0 9px 0;
  border-bottom: 1px solid #184C7620;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
.cookie-category label {
  font-weight: 700;
  font-size: 1.08rem;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--accent);
  width: 21px;
  height: 21px;
  margin-left: 10px;
}
.cookie-category.essential label {
  color: var(--primary-alt);
  font-weight: 900;
  opacity: 1;
}
.cookie-category.essential input[type="checkbox"] {
  display: none;
}
.cookie-modal .cookie-btn {
  margin-top: 18px;
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--primary-alt);
  z-index: 4200;
  cursor: pointer;
  transition: color .14s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--accent);
}

/* RESPONSIVE: MOBILE-FIRST */
@media (max-width: 1020px) {
  .header .container, .footer-top, .footer-bottom, .container {
    padding-left: 12px;
    padding-right: 12px;
  }
}
@media (max-width: 900px) {
  .feature-grid li {
    flex: 1 1 150px;
    font-size: 0.95rem;
    padding: 17px 12px;
  }
  .footer-bottom, .footer-top {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}
@media (max-width: 800px) {
  .container {
    max-width: 96vw;
  }
  .feature-grid {
    gap: 16px;
  }
  .features, .services, .cta {
    padding: 30px 8px;
  }
  .section {
    padding: 28px 10px;
    border-radius: 16px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 9px 7px;
  }
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero {
    padding: 40px 0 22px 0;
  }
  .hero h1 {
    font-size: 2rem;
    margin-bottom: 14px;
  }
  .hero p { font-size: 1rem; }
  .feature-grid {
    flex-direction: column;
    gap: 12px;
  }
  .feature-grid li {
    min-width: 80vw;
  }
  .testimonials .container, .services .container, .cta .container {
    padding-left: 3px;
    padding-right: 3px;
  }
  footer {
    padding: 38px 0 0 0;
  }
  .footer-nav {
    gap: 10px;
    flex-wrap: wrap;
    font-size: 0.99rem;
  }
  .footer-bottom {
    gap: 12px;
    flex-direction: column;
    align-items: flex-start;
  }
  .contact-info {
    font-size: 0.98rem;
    gap: 3px;
  }
  .section, .features, .cta, .services {
    padding: 20px 6px;
    margin-bottom: 35px;
    border-radius: 11px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .testimonial-card, .card {
    padding: 14px 9px;
    border-radius: 13px;
    font-size: 0.99rem;
  }
  .faq-item {
    padding: 15px 8px;
    border-radius: 10px;
    font-size: 0.96rem;
  }
  .map {
    padding: 10px 0 10px 7px;
    border-radius: 7px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 10px 18px 10px;
  }
  .cookie-banner-actions {
    flex-direction: column;
    gap: 9px;
    margin-left: 0;
  }
  .cookie-modal {
    padding: 18px 3vw 18px 3vw;
    border-radius: 11px;
  }
}
@media (max-width: 500px) {
  .hero h1 {
    font-size: 1.22rem;
    margin-bottom: 8px;
  }
  .section, .features, .cta, .services {
    padding: 10px 2px;
    margin-bottom: 20px;
  }
  header img { max-height: 33px; }
}

/* ACCESSIBILITY FOCUS VISIBLE */
:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

/* Extra: card margin for minimum separation */
.card, .testimonial-card, .faq-item, .feature-grid li {
  margin-bottom: 20px;
}

/* Ensure NO element overlap (z-index for overlays only) */

/* ----- End of CSS File ----- */
