/* =============================================================
   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,
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;
}
/* HTML5 display-role reset */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F5F7FA;
  color: #223044;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  text-decoration: none;
  color: #22446C;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #0056A3;
  outline: none;
}
ul, ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
li + li {
  margin-top: 12px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #22446C;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: 0.3px;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.45rem; }
h4 { font-size: 1.12rem; }
strong { font-weight: 600; }

p {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 18px;
  color: #223044;
}
blockquote {
  font-style: italic;
  color: #223044;
  margin-bottom: 20px;
  margin-top: 3px;
  padding-left: 18px;
  border-left: 4px solid #22446C;
  background: #F9FAFB;
}
.container {
  width: 100%;
  max-width: 1130px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.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(32,50,77,0.07);
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* =============================================================
   Header & Navigation
   ============================================================= */
header {
  width: 100%;
  background: #FFFFFF;
  box-shadow: 0 4px 18px 0 rgba(34,68,108,.07);
  position: relative;
  z-index: 90;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  gap: 24px;
}
.logo img {
  height: 48px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
  margin-left: 16px;
}
.main-nav a {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #22446C;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F0F5FB;
  color: #063567;
}
.button-primary {
  background: #22446C;
  color: #FFFFFF;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 13px 26px;
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 7px rgba(34,68,108,.08);
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s;
  margin-left: 20px;
  display: inline-block;
}
.button-primary:hover, .button-primary:focus {
  background: #0056A3;
  box-shadow: 0 3px 12px rgba(34,68,108,0.14);
}
.button-secondary {
  background: #F9D92C;
  color: #22446C;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 13px 26px;
  border: none;
  border-radius: 8px;
  margin-left: 16px;
  box-shadow: none;
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.15s;
  display: inline-block;
}
.button-secondary:hover, .button-secondary:focus {
  background: #FFE66C;
}

/* Hamburger & Mobile Menu ------------------------ */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #22446C;
  padding: 10px;
  cursor: pointer;
  transition: background 0.16s;
  border-radius: 6px;
  margin-left: 14px;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #F0F5FB;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #22446C;
  z-index: 200;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(.68,-0.55,.27,1.55);
  box-shadow: 0 2px 24px 0 rgba(32,50,77,0.25);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 22px 24px 0 0;
  font-size: 2rem;
  color: #F9D92C;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  padding: 6px 8px;
  transition: background 0.16s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #274E76;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 36px 32px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #FFFFFF;
  font-size: 1.15rem;
  font-weight: 500;
  padding: 13px 20px;
  border-radius: 8px;
  width: 100%;
  transition: background 0.17s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F9D92C;
  color: #22446C;
}

/* Hide nav for mobile, show burger button */
@media (max-width: 1020px) {
  .main-nav,
  .button-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* =============================================================
   Hero Section
   ============================================================= */
.hero {
  background: linear-gradient(104deg, #F0F5FB 65%, #FFFFFF 100%);
  margin-bottom: 56px;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 7px 36px -8px rgba(34,68,108,0.11);
}
.hero .container {
  padding-top: 50px;
  padding-bottom: 50px;
  flex-direction: column;
}
.hero h1 {
  color: #22446C;
  font-size: 2.5rem;
  margin-bottom: 16px;
}
.hero p {
  color: #223044;
  font-size: 1.15rem;
  margin-bottom: 26px;
  max-width: 560px;
}

/* =============================================================
   Lists & Icon Lists
   ============================================================= */
ul {
  margin-top: 0;
  margin-bottom: 18px;
  padding-left: 24px;
  font-size: 1rem;
}
ul li {
  position: relative;
  font-size: 1rem;
  color: #223044;
  margin-bottom: 9px;
  padding-left: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.5;
}
ul li img {
  width: 32px;
  height: 32px;
  margin-right: 10px;
}

/* =============================================================
   Feature/Service Cards & Wrappers
   ============================================================= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  background: #FFFFFF;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(34,68,108,0.08);
  padding: 28px 34px;
  min-width: 260px;
  flex: 1 1 280px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  gap: 16px;
  transition: box-shadow 0.19s, transform 0.19s;
}
.card:hover,
.card:focus-within {
  box-shadow: 0 8px 24px 0 rgba(34,68,108,0.129);
  transform: translateY(-2px) scale(1.02);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}

/* Text-Image Section --------------------------------------------------- */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.text-image-section > img {
  border-radius: 10px;
  box-shadow: 0 2px 8px 0 rgba(34,68,108,0.08);
  max-width: 420px;
  min-width: 220px;
  margin-bottom: 0;
}
.text-image-section .content {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Testimonials --------------------------------------------------- */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #F5F7FA;
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 0 3px 18px 0 rgba(34,68,108,0.07);
  max-width: 640px;
  border-left: 5px solid #22446C;
}
.testimonial-card blockquote {
  color: #223044;
  font-size: 1.08rem;
  background: none;
  border: none;
  padding-left: 0;
  font-style: italic;
  margin: 0;
}
.testimonial-details {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
  font-size: 1rem;
  font-weight: 500;
  color: #22446C;
}
.testimonial-details span:last-child {
  color: #F9D92C;
  font-size: 1.12rem;
  letter-spacing: 1.5px;
}

/* Feature Items --------------------------------------------------- */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Cookie Consent Banner ============================================== */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #22446C;
  color: #FFFFFF;
  z-index: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 16px;
  box-shadow: 0 -2px 24px 0 rgba(34,68,108,0.19);
  gap: 20px;
  flex-wrap: wrap;
  font-size: 1rem;
  animation: slideInBottom 0.6s cubic-bezier(.77,0,.175,1) both;
}
@keyframes slideInBottom {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}
.cookie-consent-banner button {
  margin-left: 8px;
  margin-right: 12px;
}
.cookie-consent-banner .button-consent-accept {
  background: #F9D92C;
  color: #22446C;
  font-weight: 600;
  border-radius: 7px;
  padding: 9px 22px;
  border: none;
  margin-right: 14px;
  transition: background .16s;
}
.cookie-consent-banner .button-consent-accept:hover,
.cookie-consent-banner .button-consent-accept:focus {
  background: #FFE66C;
}
.cookie-consent-banner .button-consent-reject {
  background: #D5DFEF;
  color: #223044;
  border-radius: 7px;
  border: none;
  padding: 9px 22px;
  font-weight: 500;
  transition: background .16s;
}
.cookie-consent-banner .button-consent-reject:hover,
.cookie-consent-banner .button-consent-reject:focus {
  background: #B5C4E1;
}
.cookie-consent-banner .button-consent-settings {
  background: none;
  color: #FFFFFF;
  text-decoration: underline;
  border: none;
  font-weight: 400;
  padding: 7px 10px;
  transition: color .16s;
}
.cookie-consent-banner .button-consent-settings:hover,
.cookie-consent-banner .button-consent-settings:focus {
  color: #F9D92C;
}

/* Cookie Modal ================================== */
.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(34,68,108,0.65);
  z-index: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: all;
  animation: fadeIn 0.35s cubic-bezier(.33,1,.68,1.19) both;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #ffffff;
  color: #223044;
  border-radius: 15px;
  box-shadow: 0 7px 32px 0 rgba(34,68,108,0.19);
  max-width: 428px;
  width: 94vw;
  padding: 34px 26px 22px 26px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: modalSlideUp 0.4s cubic-bezier(.45,1,.37,1.24) both;
}
@keyframes modalSlideUp {
  from { transform: translateY(60px) scale(0.98); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  margin: 0 0 16px 0;
  color: #22446C;
  font-size: 1.35rem;
}
.cookie-modal-close {
  position: absolute;
  right: 18px;
  top: 12px;
  font-size: 1.45rem;
  background: none;
  border: none;
  color: #22446C;
  cursor: pointer;
  border-radius: 4px;
  padding: 3px 9px;
  transition: background .16s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #F9D92C;
  color: #223044;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 0;
}
.cookie-category label {
  font-weight: 500;
  color: #22446C;
}
.cookie-toggle {
  width: 48px; height: 26px;
  border-radius: 13px;
  background: #D5DFEF;
  border: none;
  position: relative;
  cursor: pointer;
  outline: none;
  appearance: none;
  transition: background .18s;
}
.cookie-toggle:checked {
  background: #22446C;
}
.cookie-toggle:before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px 0 rgba(34,68,108,0.04);
  transition: left 0.17s;
}
.cookie-toggle:checked:before {
  left: 25px;
}
.cookie-category .cookie-always-on {
  color: #6D7F98;
  font-size: 0.95rem;
  font-style: italic;
  margin-left: 10px;
}

/* =============================================================
   Footer
   ============================================================= */
footer {
  width: 100%;
  background: #22446C;
  color: #fff;
  padding: 38px 0 14px 0;
  margin-top: 38px;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
}
footer .container {
  flex-direction: column;
  gap: 15px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 8px;
}
.footer-nav a {
  color: #F9D92C;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 4px 10px;
  border-radius: 4px;
  transition: background 0.12s, color 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #293B52;
  color: #FFFFFF;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  color: #c8d6e7;
  font-size: 0.97rem;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 13px;
}
.footer-contact > div {
  margin-right: 22px;
}
.footer-copy {
  color: #c8d6e7;
  text-align: left;
  font-size: 0.95rem;
  letter-spacing: 0.15px;
  margin-top: 0;
}

/* =============================================================
   Generic Spacing Helper Classes
   ============================================================= */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-24 { margin-bottom: 24px !important; }
.mb-32 { margin-bottom: 32px !important; }
.mt-24 { margin-top: 24px !important; }
.mt-32 { margin-top: 32px !important; }
.gap-20 { gap: 20px !important; }

/* =============================================================
   Utility Classes
   ============================================================= */
.text-center { text-align: center; }
.text-left { text-align: left; }
.flex-col { display: flex; flex-direction: column; }
.flex-row { display: flex; flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.align-center { align-items: center; }
.align-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }

/* =============================================================
   Forms (if any forms are present in future)
   ============================================================= */
input[type="text"], input[type="email"], textarea {
  border: 1px solid #B5C4E1;
  border-radius: 7px;
  padding: 12px 16px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  transition: border 0.15s;
  margin-bottom: 16px;
}
input:focus, textarea:focus {
  border: 1.5px solid #22446C;
  outline: none;
}

/* =============================================================
   Responsive Design (Mobile First)
   ============================================================= */
@media (max-width: 1280px) {
  .container { max-width: 990px; }
}
@media (max-width: 980px) {
  .container { max-width: 86vw; }
  .hero .container { padding-top: 25px; padding-bottom: 25px; }
  .hero h1 { font-size: 2rem; }
}
@media (max-width: 820px) {
  header .container { height: 70px; }
  .main-nav { gap: 12px; font-size: 0.97rem; }
  .button-primary { padding: 11px 18px; font-size: 0.95rem; }
  .card { padding: 22px 14px; font-size: 0.98rem; }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  .hero h1 { font-size: 1.3rem; }
  .hero, .section { padding: 28px 8px; border-radius: 0; }
  .container { padding: 0 7px; }
  .content-wrapper { gap: 15px; }
  .card-container, .content-grid { gap: 13px; }
  .testimonial-card { padding: 12px; }
  .footer-contact { gap: 10px; }
  .footer-copy { text-align: left; }
}
@media (max-width: 600px) {
  .section { margin-bottom: 30px; padding-top: 18px; padding-bottom: 18px; }
  .testimonial-card { margin-bottom: 13px; }
  .text-image-section { flex-direction: column !important; gap: 16px !important; }
}
@media (max-width: 410px) {
  .hero .container, .container { padding: 0 2vw; }
  .card { min-width: 160px; padding: 9px 5px; }
}

/* Force text-image section stack vertically on mobile */
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; }
  .card-container, .content-grid { flex-direction: column; }
}

/* Ensure all .section and .card layouts have no overlap and proper spacing */
section + section {
  margin-top: 28px;
}

/* =============================================================
   Animations & Microinteractions
   ============================================================= */
.button-primary,
.button-secondary {
  transition: background .19s, box-shadow .18s, transform .13s;
}
.button-primary:active, .button-secondary:active {
  transform: scale(0.97);
}
.card {
  transition: box-shadow 0.19s, transform 0.18s;
}
.card:active {
  transform: scale(0.99);
}
.nav a:focus, .nav a:active, .footer-nav a:focus, .footer-nav a:active {
  outline: 2px dashed #F9D92C;
}

/* ========================
   High Contrast for Testimonials & Reviews
   ======================== */
.testimonial-card, .testimonial-card blockquote {
  background: #F5F7FA;
  color: #223044;
}

/* ========================
   Miscellaneous
   ======================== */
::-webkit-scrollbar {
  width: 9px;
  background: #F0F5FB;
}
::-webkit-scrollbar-thumb {
  background: #B5C4E1;
  border-radius: 6px;
}

/* END OF STYLE.CSS */
