/* =============== 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, main, header, nav, section, article, aside, footer, figure, figcaption {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #F7FAFC;
  color: #234A74;
  min-height: 100%;
}
body {
  line-height: 1.6;
  background: linear-gradient(120deg, #eaf3fa 0%, #f5f9fb 100%);
  min-height: 100vh;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #234A74;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: #234A74;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F2C744;
  outline: none;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
  border: 0;
}
button, input, select, textarea {
  font: inherit;
  border: none;
  background: none;
  outline: none;
}

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

:root {
  --primary: #234A74;
  --primary-dark: #173353;
  --secondary: #F2C744;
  --secondary-dark: #cfb343;
  --accent: #FFFFFF;
  --bg-light: #F7FAFC;
  --bg-section: #eaf3fa;
  --shadow: 0px 4px 24px 0px rgba(35,74,116,0.08);
  --radius: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --transition: 0.25s cubic-bezier(0.77,0,0.175,1);
}

/* =============== TYPOGRAPHY =============== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--primary);
  font-weight: 900;
  line-height: 1.2;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  font-weight: 800;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}
p, li, .text-section {
  font-size: 1.075rem;
}
p {
  margin-bottom: 16px;
  color: #274e84;
}
strong {
  font-weight: 700;
}
small {
  font-size: 0.95rem;
  color: #234A74;
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.375rem;
  }
  h3 {
    font-size: 1.15rem;
  }
}

/* =============== CONTAINER & SECTIONS =============== */
.container {
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--bg-section);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0;
}
@media (max-width: 600px) {
  .section {
    padding: 28px 10px;
    margin-bottom: 40px;
    border-radius: var(--radius-md);
  }
}

/* =============== HEADER & NAVIGATION =============== */
header {
  background: linear-gradient(90deg, var(--primary) 60%, #416a9c 100%);
  color: var(--accent);
  box-shadow: 0 3px 16px 0 rgba(44,64,115,0.09);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 0;
}
nav {
  display: flex;
  align-items: center;
  gap: 48px; /* logo, nav, btn */
  flex: 1;
}
nav > a img {
  height: 44px;
  width: auto;
  margin-right: 14px;
}
nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
nav ul li a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.06rem;
  color: #eaf3fa;
  padding: 8px 0;
  font-weight: 700;
  position: relative;
  transition: color 0.2s;
}
nav ul li a:hover, nav ul li a:focus {
  color: var(--secondary);
}
nav .btn-primary {
  margin-left: 40px;
}
@media (max-width: 1050px) {
  nav ul {
    gap: 10px;
  }
  nav .btn-primary {
    margin-left: 16px;
  }
}

.mobile-menu-toggle {
  display: none;
}
@media (max-width: 900px) {
  nav ul, nav .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.1rem;
    color: #fff;
    background: none;
    border: none;
    padding: 10px 12px;
    border-radius: 7px;
    transition: background 0.16s;
    z-index: 2002;
    margin-left: 13px;
  }
  .mobile-menu-toggle:focus,
  .mobile-menu-toggle:hover {
    background: rgba(35,74,116,0.12);
    color: var(--secondary);
  }
}

/* =============== MOBILE MENU =============== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, #234A74 70%, #f2c744 100%);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(0.77,0,0.175,1);
  box-shadow: -6px 0 32px 0 rgba(35,74,116,0.09);
  padding-top: 0;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.2rem;
  background: none;
  color: #fff;
  border: none;
  margin: 18px 25px 0 0;
  padding: 0 6px;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  z-index: 4000;
  transition: background 0.17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: rgba(242,199,68,0.17);
  color: #F2C744;
}
.mobile-nav {
  margin: 40px 0 0 0;
  width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.mobile-nav a {
  width: 100%;
  padding: 20px 42px 14px 38px;
  font-size: 1.5rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 8px rgba(35,74,116,0.16);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: background 0.17s, color 0.17s;
  display: flex;
  align-items: center;
  min-height: 44px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: rgba(242,199,68,0.13);
  color: var(--secondary);
}

@media (min-width: 901px) {
  .mobile-menu, .mobile-menu-close {
    display: none!important;
  }
}

/* =============== BUTTONS =============== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 15px 32px;
  background: linear-gradient(90deg, var(--secondary) 30%, #ffee8e 100%);
  border-radius: var(--radius-md);
  color: var(--primary);
  font-size: 1.13rem;
  font-weight: 900;
  border: none;
  box-shadow: 0 3px 16px 0 rgba(242,199,68,0.10);
  cursor: pointer;
  text-shadow: 0 1px 0 rgba(255,255,255,.05);
  letter-spacing: 0.02em;
  transition: background 0.2s, color 0.15s, box-shadow 0.17s, transform 0.11s;
  margin-top: 12px;
  margin-bottom: 12px;
  text-align: center;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(90deg, #ffe188 40%, var(--secondary) 100%);
  color: var(--primary-dark);
  box-shadow: 0 2px 12px 0 rgba(35,74,116,0.13),0 5px 24px 0 rgba(242,199,68,.11);
  transform: translateY(-2px) scale(1.03);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 12px 28px;
  background: var(--primary);
  color: var(--secondary);
  font-size: 1.05rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border-radius: var(--radius-sm);
  border: none;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s, color 0.12s;
  margin-top: 8px;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--primary-dark);
  color: #fff;
}

/* =============== FLEX LAYOUT PATTERNS =============== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  padding: 28px 26px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  transition: box-shadow 0.18s, transform 0.16s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 34px 0 rgba(35,74,116,0.13);
  transform: translateY(-2px) scale(1.01);
}
.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: #fff;
  box-shadow: var(--shadow);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  flex-direction: column;
  min-width: 220px;
  max-width: 480px;
  color: #234A74;
}
.testimonial-stars {
  font-size: 1.53rem;
  color: var(--secondary);
  letter-spacing: 0.07em;
  margin-bottom: 2px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.testimonial-author {
  font-size: 1rem;
  font-weight: 700;
  color: #888;
  margin-top: 8px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Responsive arrangement for testimonials and multiple cards */
@media (min-width: 701px) {
  .testimonial-card {
    flex-direction: row;
    align-items: flex-start;
    min-width: 300px;
    max-width: 540px;
  }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .card-container {
    flex-direction: column;
    gap: 18px;
  }
}

/* =============== CONTENT STYLES =============== */
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 0;
  width: 100%;
}
@media (max-width: 800px) {
  .content-wrapper {
    gap: 12px;
  }
}

ul li, .content-wrapper ul li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.075rem;
  margin-bottom: 12px;
  color: #234A74;
  line-height: 1.6;
}
ul li img {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 40%;
  background: #f7fafc;
  border: 1.5px solid #f2c74410;
  padding: 2px;
  margin-right: 2px;
}
ul li:last-child {
  margin-bottom: 0;
}

span.price, .content-wrapper li span, ul li span {
  color: var(--secondary);
  font-weight: 700;
  margin-left: 10px;
  font-size: 1.07rem;
}

/* =============== FOOTER =============== */
footer {
  background: linear-gradient(90deg, #22466c 38%, #234A74 100%);
  color: #fff;
  padding-top: 35px;
  padding-bottom: 25px;
  font-size: 1rem;
  width: 100%;
}
footer .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.footer-nav {
  flex: 1;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 18px;
  white-space: normal;
}
.footer-nav a {
  color: #fff;
  margin-right: 10px;
  font-weight: 600;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--secondary);
}
.footer-branding {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-direction: row;
  font-size: 1rem;
  color: #fff;
}
.footer-branding img {
  height: 32px;
  width: 32px;
}
.footer-branding p {
  margin-bottom: 0;
  font-size: 1rem;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}
@media (max-width: 785px) {
  footer .container {
    flex-direction: column;
    align-items: stretch;
  }
}

/* =============== SPACING & MICRO-EFFECTS =============== */
section + section, .section + .section {
  margin-top: 12px;
}
.card + .card, .testimonial-card + .testimonial-card {
  margin-top: 20px;
}
hr {
  border: none;
  border-top: 1.7px solid #f3e7c2;
  margin: 24px 0;
}

/* Subtle animation for appearance */
.section, .card, .btn-primary, header, .testimonial-card {
  transition: box-shadow var(--transition), background var(--transition), border-radius 0.19s, transform 0.18s;
}

/* =============== RESPONSIVE HEADINGS FOR PAGE TITLE =============== */
@media (max-width:480px) {
  h1 {
    font-size: 1.33rem;
  }
  h2 {
    font-size: 1.08rem;
  }
}

/* =============== COOKIE CONSENT BANNER & MODAL =============== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100%;
  background: linear-gradient(90deg, #234a74f6 80%, #f2c744ef 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px 20px 24px;
  box-shadow: 0 0 24px 0 rgba(35,74,116,0.15);
  z-index: 10500;
  border-radius: var(--radius) var(--radius) 0 0;
  font-size: 1.03rem;
  animation: cookieBannerSlideUp 0.50s forwards;
}
@keyframes cookieBannerSlideUp {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p { color: #fff; margin-bottom: 0; }
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}
.cookie-banner .btn-cookie {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border-radius: var(--radius-sm);
  padding: 10px 22px;
  font-weight: 700;
  border: none;
  background: var(--secondary);
  color: var(--primary);
  font-size: 1.03rem;
  cursor: pointer;
  transition: background 0.21s, color 0.15s;
}
.cookie-banner .btn-cookie:hover, .cookie-banner .btn-cookie:focus {
  background: var(--secondary-dark);
}
.cookie-banner .btn-cookie-secondary {
  background: #fff;
  color: var(--primary);
  border: 1.2px solid #ffe79a;
  margin-left: 3px;
}
.cookie-banner .btn-cookie-secondary:hover, .cookie-banner .btn-cookie-secondary:focus {
  background: #f7fafc;
  color: var(--primary-dark);
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.97rem;
    padding: 13px 10px 13px 10px;
  }
  .cookie-banner-buttons {
    width: 100%;
    justify-content: flex-start;
    gap: 10px;
  }
}

.cookie-modal {
  display: none;
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(35,74,116,0.30);
  z-index: 20000;
  align-items: center;
  justify-content: center;
}
.cookie-modal.open {
  display: flex;
  animation: cookieModalFadeIn 0.33s;
}
@keyframes cookieModalFadeIn {
  0% { opacity:0; }
  100% { opacity:1; }
}
.cookie-modal-content {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 18px 24px 18px;
  min-width: 330px;
  max-width: 380px;
  width: 90vw;
  box-shadow: 0 4px 32px 0 rgba(35,74,116,0.20);
  color: #234A74;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  position: relative;
}
.cookie-modal-content h3 {
  font-size: 1.28rem;
  color: var(--primary);
  margin-bottom: 12px;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.cookie-modal-category input[type='checkbox'] {
  width: 20px; height: 20px;
  accent-color: var(--secondary);
}
.cookie-modal-category label {
  font-size: 1rem;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 12px;
}
.cookie-modal-close {
  position: absolute;
  top: 13px; right: 14px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--primary);
  cursor: pointer;
  padding: 2px 10px;
  border-radius: 50%;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #f2c7441c;
  color: var(--secondary);
}

/* Ensure essential cookies always enabled visually */
.cookie-modal-category input[disabled] + label {
  opacity: 0.56;
  font-style: italic;
}

/* =============== MISC: FORMATTING FOR CONTACT PAGE =============== */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 12px;
  color: #234A74;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}
.text-section em {
  color: #234A74b0;
}

/* =============== UTILITIES =============== */
.hide {
  display: none !important;
}
.show {
  display: block !important;
}

/* =============== END OF CSS =============== */