/* ====== CSS 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,
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 { font-size: 16px; }
body {
  min-height: 100vh;
  background: linear-gradient(120deg, #F6F8FB 50%, #e8eef8 100%);
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #283363;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 1rem;
}
img {max-width: 100%; height: auto; vertical-align: middle;}
a { color: #283363; text-decoration: underline; transition: color 0.2s; }
a:hover, a:focus { color: #FDB813; }
ul,ol { list-style: none; }

/* ====== TYPOGRAPHY ====== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Libre Baskerville', 'Times New Roman', serif;
  color: #283363;
  margin-bottom: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; line-height: 1.15; margin-bottom: 24px; }
h2 { font-size: 2rem; line-height: 1.18; margin-bottom: 20px; }
h3 { font-size: 1.3rem; margin-bottom: 12px; font-weight: 700; }
h4 { font-size: 1.06rem; }

p, li, .body-text {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #283363;
  font-size: 1rem;
  margin-bottom: 12px;
}
strong, b {font-weight: 700;}
em, i {font-style: italic;}

/* ====== LAYOUT CONTAINERS ====== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 0; /* for stacking child wrappers */
}
.content-wrapper {
  width: 100%;
  background: transparent;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  width: 100%;
}

/* ====== HEADER & NAVIGATION ====== */
header {
  background: linear-gradient(90deg, #283363, #5261b2 80%, #879ee0 100%);
  color: #fff;
  position: relative;
  z-index: 50;
  box-shadow: 0 2px 18px 0 rgba(40,51,99,0.09);
}
.logo img { height: 44px; width: auto; }

header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.main-nav a {
  color: #fff;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 18px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:not(.cta):hover,
.main-nav a:not(.cta):focus {
  background: rgba(253,184,19,0.13);
  color: #FDB813;
}
.main-nav .cta.primary {
  background: #FDB813;
  color: #283363;
  font-weight: 700;
  border-radius: 24px;
  padding: 8px 22px;
  margin-left: 12px;
  box-shadow: 0 2px 12px 0 rgba(253,184,19,0.14);
  text-decoration: none;
  transition: background 0.22s, color 0.2s;
}
.main-nav .cta.primary:hover,
.main-nav .cta.primary:focus {
  background: #e2a505;
  color: #fff;
}

.mobile-menu-toggle {
  background: none;
  border: none;
  color: #FDB813;
  font-size: 2.1rem;
  cursor: pointer;
  margin-left: 24px;
  padding: 4px 8px;
  border-radius: 8px;
  display: none;
  transition: background 0.15s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: rgba(253,184,19,0.2);
  outline: 0;
}

/* MOBILE NAVIGATION OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(120deg, #283363 70%, #FDB813 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  z-index: 99999;
  transform: translateX(-100vw);
  transition: transform 0.38s cubic-bezier(.75,.02,.41,.89);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #FDB813;
  padding: 16px 22px 4px 8px;
  align-self: flex-end;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 85vw;
  margin-left: 24px;
  margin-top: 40px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.22rem;
  font-family: 'Roboto', Arial, sans-serif;
  text-decoration: none;
  padding: 12px 0;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: rgba(253,184,19,0.13);
  color: #FDB813;
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 18px;
  }
  header .container {
    padding: 7px 12px;
  }
}

@media (max-width: 900px) {
  .main-nav {
    gap: 13px;
  }
  .main-nav .cta.primary {
    padding: 8px 14px;
    margin-left: 8px;
  }
}

@media (max-width: 820px) {
  .main-nav {
    gap: 10px;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (max-width: 600px) {
  .mobile-nav {
    width: 96vw;
    margin-left: 7vw;
    margin-top: 22px;
  }
}

/* ====== HERO SECTIONS ====== */
.hero {
  background: linear-gradient(110deg, #283363 70%, #FDB813 120%);
  color: #fff;
  padding-top: 48px;
  padding-bottom: 56px;
  border-radius: 0 0 34px 34px;
  position: relative;
  margin-bottom: 40px;
  box-shadow: 0 10px 40px -10px rgba(40,51,99,0.13);
}
.hero .container {
  align-items: flex-start;
  justify-content: center;
  padding-left: 8vw;
  padding-right: 8vw;
}
.hero .content-wrapper {
  color: #fff;
  align-items: flex-start;
  max-width: 760px;
  gap: 16px;
}
.hero h1, .hero h2 {
  color: #fff;
  font-size: 2.1rem;
  line-height: 1.13;
  margin-bottom: 10px;
  text-shadow: 0 3px 16px rgba(40,51,99,0.12);
}
.hero p {
  font-size: 1.13rem;
  color: #F6F8FB;
  margin-bottom: 16px;
}
.hero .cta.primary {
  margin-top: 12px;
}

@media (max-width: 768px) {
  .hero {
    padding-top: 28px;
    padding-bottom: 30px;
    border-radius: 0 0 16px 16px;
    margin-bottom: 28px;
  }
  .hero .container{
    padding-left: 5vw;
    padding-right: 5vw;
  }
  .hero h1 {
    font-size: 1.45rem;
  }
}

/* ====== CTA BUTTONS ====== */
.cta.primary, .cta.secondary {
  display: inline-block;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.11rem;
  letter-spacing: 0.03em;
  padding: 11px 32px;
  border-radius: 28px;
  border: none;
  cursor: pointer;
  margin-top: 0;
  box-shadow: 0 4px 20px 0 rgba(40,51,99,0.10);
  transition: background 0.18s, color 0.18s, box-shadow 0.2s, transform 0.16s;
  text-decoration: none; /* normalize for links */
}
.cta.primary {
  color: #283363;
  background: #FDB813;
  box-shadow: 0 6px 24px 0 rgba(253,184,19,0.09);
}
.cta.primary:hover,
.cta.primary:focus {
  background: #f7a800;
  color: #fff;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 28px 0 rgba(253,184,19,0.14);
}
.cta.secondary {
  color: #FDB813;
  background: #283363;
  border: 2px solid #FDB813;
}
.cta.secondary:hover,
.cta.secondary:focus {
  background: #474e78;
  color: #fff;
  border-color: #FDB813;
  transform: translateY(-1px) scale(1.01);
}

/* ====== FEATURE, SERVICE & CARD STYLES ====== */
.features-grid, .services-list, .faq-list, .calendar-overview, .card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.features-grid, .services-list, .card-container {
  justify-content: space-between;
}

.feature-item, .service-item, .faq-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 22px 0 rgba(40,51,99,0.06);
  padding: 22px 20px 22px 20px;
  min-width: 230px;
  max-width: 365px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.21s;
  border: 1px solid #F6F8FB;
}
.feature-item img {
  height: 42px; width: 42px;
}
.feature-item:hover, .service-item:hover, .faq-item:hover {
  box-shadow: 0 8px 32px 0 rgba(253,184,19,0.18), 0 2px 36px 0 rgba(40,51,99,0.09);
  transform: translateY(-4px) scale(1.01);
  z-index: 2;
}
.services-list { gap: 24px; }
.service-item a {
  margin-top: 10px;
  font-weight: 500;
  color: #FDB813;
  text-decoration: underline;
  font-size: 1.04rem;
  transition: color 0.19s;
}
.service-item a:hover { color: #283363; }

.faq-list { flex-direction: column; gap: 21px; }
.faq-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0;
}

.card-container {gap: 24px;}
.card {margin-bottom: 20px; position: relative;}
.card-content {display: flex; flex-direction: column; justify-content: center;}

@media (max-width: 820px) {
  .features-grid, .services-list, .card-container {
    gap: 16px;
    justify-content: flex-start;
  }
  .feature-item, .service-item, .faq-item {
    min-width: 180px;
    max-width: 100%;
    padding: 16px 13px;
  }
}
@media (max-width: 620px) {
  .features-grid, .services-list, .card-container {
    flex-direction: column;
    gap: 20px;
  }
}

/* ====== USP LIST ====== */
.usp-list, .calendar-overview ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 22px 0 0 0;
  font-size: 1.04rem;
  color: #283363;
  padding-left: 22px;
  list-style: disc;
}
.usp-list li, .calendar-overview ul li {
  margin-bottom: 0;
  padding-left: 0;
}
.calendar-overview .info-box ul li {
  color: white;
}

/* ====== TESTIMONIALS ====== */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 22px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 22px 0 rgba(40,51,99,0.06);
  color: #283363;
  font-size: 1rem;
  font-style: italic;
  position: relative;
  border-left: 5px solid #FDB813;
  transition: box-shadow 0.16s, transform 0.17s;
  z-index: 1;
}
.testimonial-card p {
  color: #283363;
  font-style: italic;
  line-height: 1.45;
  margin-bottom: 0;
  font-size: 1.08rem;
}
.testimonial-card span {
  font-style: normal;
  font-size: 1rem;
  font-weight: 500;
  color: #283363;
  margin-left: 20px;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px 0 rgba(253,184,19,0.16), 0 3px 22px 0 rgba(40,51,99,0.06);
  transform: scale(1.016) translateY(-2px);
}

@media(max-width: 600px){
  .testimonial-card{
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 9px;
  }
  .testimonial-card span {
    margin-left: 0;
    margin-top: 6px;
  }
}

/* ====== CALCULATOR FORM ====== */
.calculator-form, .calendar-overview, .result-section, .info-box, .additional-info {
  display: flex;
  flex-direction: column;
  gap: 17px;
  width: 100%;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 24px 0 rgba(40,51,99,0.06);
  padding: 22px 22px 18px 22px;
}
.calculator-form .cta.secondary, .calendar-overview .cta.secondary {
  width: max-content;
  align-self: flex-start;
  margin-top: 12px;
}
.result-section {
  background: #F6F8FB;
  border-radius: 12px;
  box-shadow: 0 1px 6px rgba(40,51,99,0.05);
  padding: 10px 13px;
}
.info-box {
  background: #283363;
  color: #FDB813;
  font-family: 'Roboto', Arial, sans-serif;
  padding: 15px 13px;
  border-radius: 11px;
  box-shadow: 0 1px 8px rgba(40,51,99,0.079);
  font-size: 0.96rem;
}
.info-box strong { color: #FDB813; }

.additional-info {
  background: #FDB813;
  color: #283363;
  border-radius: 11px;
  padding: 14px 12px;
  font-size: 0.98rem;
  box-shadow: 0 1px 5px rgba(253,184,19,0.09);
}
.additional-info a {
  color: #283363;
  font-weight: 700;
  text-decoration: underline;
  transition: color 0.16s;
}
.additional-info a:hover { color: #fff; }

/* ====== LEGAL SECTION ====== */
.legal-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(40,51,99,0.07);
  padding: 24px 20px 20px 24px;
  font-size: 1.04rem;
  color: #283363;
}

/* ====== FOOTER ====== */
footer {
  background: linear-gradient(90deg, #283363 60%, #5261b2 100%);
  color: #fff;
  padding: 36px 0 18px 0;
  font-size: 1rem;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 34px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-nav, .footer-contact, .footer-social {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 10px;
}
.footer-nav a {
  color: #FDB813;
  text-decoration: none;
  font-size: 1rem;
  margin-bottom: 3px;
  transition: color 0.15s;
}
.footer-nav a:hover { color: #fff; }
.footer-contact strong { color: #FDB813; font-weight: 600; }
.footer-social {
  flex-direction: row;
  gap: 14px;
  align-items: center;
}
.footer-social img,
.footer-social span img {
  width: 28px;
  height: 28px;
  display: inline-block;
  filter: brightness(1.06) saturate(1.2);
  transition: filter 0.2s;
  cursor: pointer;
}
.footer-social img:hover { filter: brightness(1.2) saturate(1.6); }
footer small {
  color: #a8c0ea;
  margin-top: 18px;
  display: block;
}

@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

/* ====== COOKIE CONSENT BANNER ====== */
.cookie-consent-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: linear-gradient(90deg, #fff 85%, #FDB813 100%);
  color: #283363;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 18px 26px;
  z-index: 199999;
  box-shadow: 0 -2px 32px 0 rgba(40,51,99,0.12);
  font-size: 1.1rem;
  gap: 16px;
  transition: transform 0.4s;
  border-top: 2px solid #FDB813;
  animation: cookiebannerIn 0.7s cubic-bezier(.85,.01,.49,1.1);
}
@keyframes cookiebannerIn {
  from { transform: translateY(100%); opacity:0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 13px;
  align-items: center;
}
.cookie-consent-banner button {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  padding: 8px 18px;
  border-radius: 22px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.cookie-consent-banner .cookie-accept {
  background: #FDB813;
  color: #283363;
}
.cookie-consent-banner .cookie-accept:hover,
.cookie-consent-banner .cookie-accept:focus {
  background: #e6ad0d;
  color: #fff;
}
.cookie-consent-banner .cookie-reject {
  background: #283363;
  color: #FDB813;
  border: 1.5px solid #FDB813;
}
.cookie-consent-banner .cookie-reject:hover,
.cookie-consent-banner .cookie-reject:focus {
  background: #3e4c89;
  color: #fff;
}
.cookie-consent-banner .cookie-settings {
  background: #fff;
  color: #283363;
  border: 1.5px solid #283363;
  box-shadow: 0 1px 4px rgba(40,51,99,0.07);
}
.cookie-consent-banner .cookie-settings:hover,
.cookie-consent-banner .cookie-settings:focus {
  background: #e7eaf8;
  color: #283363;
}
@media (max-width: 650px){
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
    padding: 15px 10px;
    font-size: 0.99rem;
  }
  .cookie-consent-banner .cookie-actions {
    gap: 9px;
  }
}

/* ==== COOKIE MODAL POPUP ==== */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  z-index: 200000;
  background: rgba(40,51,99,0.33);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieModalFadeIn 0.5s .04s;
}
@keyframes cookieModalFadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #283363;
  border-radius: 18px;
  box-shadow: 0 8px 48px 0 rgba(40,51,99,0.13);
  padding: 38px 30px 26px 30px;
  max-width: 98vw;
  width: 410px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: modalPopIn 0.45s;
}
@keyframes modalPopIn {
  from {transform: translateY(48px) scale(0.93); opacity:0; }
  to   {transform: translateY(0) scale(1); opacity:1; }
}
.cookie-modal h2 {
  margin-top: 0;
  margin-bottom: 11px;
  font-size: 1.38rem;
  font-family: 'Libre Baskerville', serif;
}
.cookie-modal ul {
  margin-left: 0;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-modal li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}
.cookie-modal label {
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-modal input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: #FDB813;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 13px;
  flex-direction: row;
  justify-content: flex-end;
  margin-top: 10px;
}
.cookie-modal button {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 0.98rem;
  border: none;
  padding: 8px 17px;
  border-radius: 21px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.1s, color 0.1s;
}
.cookie-modal .cookie-accept {background: #FDB813; color: #283363;}
.cookie-modal .cookie-accept:hover { background: #e6ad0d; color: #fff; }
.cookie-modal .cookie-reject {background: #283363; color: #FDB813;}
.cookie-modal .cookie-reject:hover { background: #434c86; color: #fff; }
.cookie-modal .cookie-cancel {background: #F6F8FB; color: #283363; border: 1.1px solid #283363;}
.cookie-modal .cookie-cancel:hover {background: #e7eaf8;}

@media(max-width: 480px) {
  .cookie-modal {
    padding: 18px 7vw 18px 7vw;
    max-width: 98vw;
  }
}

/* ====== RESPONSIVE UTILITIES & SPACING ====== */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
@media (max-width: 960px) {
  .text-image-section, .content-grid {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .content-wrapper {
    gap: 15px;
  }
  .section {
    margin-bottom: 35px;
    padding: 24px 7px;
  }
  .text-image-section, .content-grid {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ====== THANK YOU PAGE ====== */
.thankyou-section {
  align-items: center;
  text-align: center;
  padding: 30px 0 5px 0;
  gap: 24px;
}
.thankyou-section .cta.primary {
  margin-top: 18px;
}

/* ====== MISC ====== */
::-webkit-input-placeholder { color: #7e8ab6; }
:-moz-placeholder { color: #7e8ab6; }
::-moz-placeholder { color: #7e8ab6; }
:-ms-input-placeholder { color: #7e8ab6; }
::placeholder { color: #7e8ab6; font-size: 1rem; }

*::-webkit-scrollbar {
  width: 10px; background: #e8eef8;
}
*::-webkit-scrollbar-thumb {
  background: #c7d2f4; border-radius: 8px;
}

/* ====== ACCESSIBILITY ====== */
:focus:not(:focus-visible) {outline: none;}
:focus-visible {
  outline: 2px solid #FDB813;
  outline-offset: 3px;
}

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