/* ==========================================================================
   CSS RESET & NORMALIZE (Mobile-first, cross-browser safe)
   ==========================================================================
*/
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 {
  box-sizing: border-box;
  font-size: 16px; /* Baseline for rem units */
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #F5F6FA;
  color: #24292f;
  min-height: 100vh;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
}
a {
  color: #244DA4;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #2CA880;
  text-decoration: underline;
}
ul, ol {
  list-style-type: disc;
  margin-left: 1.5em;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  border-radius: 0;
  background: none;
  border: none;
}
button {
  cursor: pointer;
  outline: none;
}

/* ==========================================================================
   Brand Typography for 'elegant_classic'
   ==========================================================================
*/
h1, h2, h3, h4, h5, h6 {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-weight: 700;
  line-height: 1.2;
  color: #14274b;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.4rem; margin-bottom: 14px; }
h4 { font-size: 1.15rem; margin-bottom: 10px; }
p, li, ul, ol {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 1.08rem;
  color: #2d3642;
  margin-bottom: 10px;
}
strong, b { font-weight: 700; }

@media (max-width: 600px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
}

/* ==========================================================================
   Utility Container Classes & Overall Layout
   ==========================================================================
*/
.container {
  width: 100%;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 14px;
  padding-right: 14px;
}
.content-wrapper {
  margin-left: auto;
  margin-right: auto;
  padding: 0;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(36,77,164,0.06);
}
@media (max-width: 700px) {
  .section {
    margin-bottom: 38px;
    padding: 23px 7px;
    border-radius: 10px;
  }
}

/* ==========================================================================
   Header & Navigation (Desktop & Mobile)
   ==========================================================================
*/
header {
  background: #fff;
  border-bottom: 1px solid #dde3ed;
  box-shadow: 0 2px 16px rgba(36,77,164,0.03);
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 102;
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 80px;
  padding: 12px 14px;
  max-width: 1080px;
  margin: auto;
}
.header-container img {
  max-height: 46px;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-family: 'Georgia', serif;
  font-size: 1.05rem;
  color: #244DA4;
  letter-spacing: 0.01em;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #2CA880;
  border-bottom: 2px solid #2CA880;
}
.cta-button {
  display: inline-block;
  font-family: 'Georgia', serif;
  font-size: 1.14rem;
  color: #fff;
  background: #244DA4;
  border-radius: 24px;
  padding: 10px 32px;
  font-weight: 700;
  box-shadow: 0 2px 12px rgba(36,77,164,.07);
  border: none;
  letter-spacing: 0.04em;
  transition: background 0.16s, color 0.16s, box-shadow 0.19s;
}
.cta-button:hover, .cta-button:focus {
  background: #2CA880;
  color: #fff;
  box-shadow: 0 6px 18px rgba(36,77,164,.13);
}

/* Mobile Nav */
.mobile-menu-toggle {
  display: none;
  background: none;
  font-size: 2.1rem;
  color: #244DA4;
  border: none;
  padding: 8px;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(29,43,74,0.91);
  z-index: 5000;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.55,.05,.7,.13);
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 30px 30px 12px 0;
  font-size: 2.1rem;
  background: none;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: color 0.16s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #2CA880;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 42px 36px 0 36px;
  width: 100vw;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Georgia', serif;
  font-size: 1.3rem;
  font-weight: 700;
  padding: 10px 0;
  letter-spacing: 0.03em;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-bottom 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #2CA880;
  border-bottom: 2px solid #2CA880;
}

/* Responsive Nav */
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    margin-left: auto;
  }
}
@media (min-width: 901px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
  .main-nav, .cta-button { display: flex; }
}

/* ==========================================================================
   HERO Section
   ==========================================================================
*/
.hero {
  background: linear-gradient(120deg, #F5F6FA 70%, #e5ecf6 100%);
  border-radius: 0 0 36px 36px;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 48px;
  box-shadow: 0 10px 40px rgba(36,77,164,0.05);
  padding: 70px 0 60px 0;
}
.hero .container {
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
  gap: 20px;
}
.hero h1 {
  color: #244DA4;
  font-size: 2.5rem;
  margin-bottom: 16px;
}
.hero p {
  color: #334466;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.2rem;
  margin-bottom: 22px;
}
.hero .cta-button {
  margin-top: 10px;
}
@media (max-width: 600px) {
  .hero {
    min-height: unset;
    padding: 38px 0;
    border-radius: 0 0 15px 15px;
  }
  .hero h1 {
    font-size: 1.6rem;
  }
}

/* ==========================================================================
   FLEXBOX LAYOUTS, Cards, Features, Content Patterns
   ==========================================================================
*/
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
  justify-content: flex-start;
}
.feature {
  flex: 1 1 260px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 8px rgba(36,77,164,0.08);
  padding: 28px 22px;
  min-width: 230px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  transition: box-shadow 0.18s, transform 0.2s;
  margin-bottom: 20px;
}
.feature img {
  width: 54px;
  height: 54px;
  margin-bottom: 8px;
}
.feature:hover, .feature:focus-within {
  box-shadow: 0 10px 32px rgba(36,77,164,.18);
  transform: translateY(-4px) scale(1.02);
}

/* Service Cards */
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 22px;
}
.service-card {
  flex: 1 1 280px;
  max-width: 340px;
  min-width: 210px;
  background: #fcfcfe;
  border: 1px solid #e2e6f1;
  border-radius: 16px;
  box-shadow: 0 2px 14px rgba(36,77,164,0.08);
  padding: 28px 20px 18px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.service-card h3 {
  color: #244DA4;
  font-size: 1.18rem;
  margin-bottom: 6px;
}
.service-card p {
  margin-bottom: 8px;
}
.service-card strong {
  color: #2CA880;
  font-size: 1.04rem;
  letter-spacing: 0.01em;
}
.service-card a {
  margin-top: 10px;
  color: #244DA4;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-bottom: 1px solid #2CA880;
  transition: color 0.2s, border-color 0.18s;
}
.service-card a:hover, .service-card a:focus {
  color: #2CA880;
  border-bottom: 1px solid #244DA4;
}
.service-card:hover, .service-card:focus-within {
  box-shadow: 0 8px 22px rgba(44,168,128,.14);
  transform: translateY(-2px) scale(1.015);
}

/* Testimonials */
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 20px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 28px 26px;
  background: #fff;
  border: 1.5px solid #e2e7f3;
  box-shadow: 0 2px 18px rgba(36,77,164,0.08);
  border-radius: 13px;
  min-width: 220px;
  max-width: 395px;
  margin-bottom: 20px;
  color: #192436;
  font-size: 1.13rem;
  font-family: 'Georgia', serif;
  line-height: 1.6;
  transition: box-shadow 0.2s, transform 0.18s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 6px 28px rgba(44,168,128,.13);
  transform: translateY(-3px) scale(1.018);
}
.testimonial-meta {
  font-size: 0.98rem;
  color: #244DA4;
  opacity: 0.85;
  margin-top: 7px;
  font-style: italic;
}

/* Content-Related Flex Containers (from requirements) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(36,77,164,0.06);
  padding: 24px 18px;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* List/Section patterns */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 10px;
}

/* Pricing Highlight */
.pricing-highlight {
  background: #eaf8f3;
  color: #2CA880;
  border-radius: 8px;
  padding: 7px 15px;
  margin-top: 15px;
  font-weight: 700;
  letter-spacing: 0.015em;
  font-family: 'Georgia', serif;
}

/* ==========================================================================
   Responsive Flex Layouts
   ==========================================================================
*/
@media (max-width: 850px) {
  .feature-grid, .service-cards, .testimonial-list {
    flex-wrap: wrap;
    gap: 18px;
    justify-content: flex-start;
  }
  .feature, .service-card, .testimonial-card {
    min-width: 90vw;
    max-width: 97vw;
    margin-bottom: 20px;
  }
}
@media (max-width: 650px) {
  .feature, .service-card, .testimonial-card {
    padding: 18px 12px;
    border-radius: 8px;
    box-shadow: 0 1px 7px rgba(36,77,164,0.07);
  }
}
@media (max-width: 768px) {
  .content-grid, .card-container, .testimonial-list, .feature-grid, .service-cards {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .header-container {
    min-height: 62px;
    padding: 4px 7px;
  }
}

/* ==========================================================================
   Footer Styles
   ==========================================================================
*/
footer {
  margin-top: 40px;
  padding-bottom: 0;
  background: #F5F6FA;
}
.footer-container {
  border-top: 1.5px solid #e2e6f1;
  max-width: 1080px;
  margin: auto;
  padding: 30px 16px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}
.footer-container img {
  max-height: 38px;
  margin-bottom: 8px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
}
.footer-nav a {
  font-family: 'Georgia', serif;
  font-size: 1.06rem;
  color: #244DA4;
  opacity: 0.98;
  transition: color 0.18s;
  border-bottom: 1.5px solid transparent;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #2CA880;
  border-bottom: 1.5px solid #2CA880;
}
.footer-contact {
  text-align: center;
  color: #475678;
  font-size: 1.02rem;
  font-family: 'Georgia', serif;
  margin-bottom: 4px;
}
.footer-note {
  color: #9ca8c3;
  font-size: 0.97rem;
  margin-top: 7px;
  font-family: 'Georgia', serif;
  letter-spacing: 0.01em;
}
@media (max-width: 800px) {
  .footer-container {
    padding: 15px 7px 8px 7px;
  }
  .footer-nav {
    gap: 14px;
  }
}

/* ==========================================================================
   Buttons & Link Microinteractions
   ==========================================================================
*/
button, .cta-button {
  outline: none;
  border: none;
  user-select: none;
  box-shadow: none;
}
button:focus, .cta-button:focus {
  box-shadow: 0 0 0 3px #2CA88033;
}

/* ==========================================================================
   Cookie Consent Banner & Modal
   ==========================================================================
*/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 8000;
  background: #fff;
  box-shadow: 0 -6px 32px rgba(36,77,164,0.07);
  border-top: 1.5px solid #e2e7f3;
  padding: 22px 7px 22px 7px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px;
  font-family: 'Georgia', serif;
  color: #2d3642;
  font-size: 1.06rem;
  opacity: 1;
  transition: opacity 0.22s, transform 0.32s;
}
.cookie-banner.hide {
  opacity: 0; pointer-events: none;
  transform: translateY(120%);
}
.cookie-banner p {
  margin: 0; padding: 0;
  color: #2d3642;
}
.cookie-actions {
  display: flex;
  gap: 10px;
}
.cookie-banner button {
  font-family: 'Georgia', serif;
  font-weight: 700;
  border-radius: 18px;
  padding: 7px 23px;
  border: none;
  font-size: 1rem;
  margin: 0 2px;
  transition: background 0.18s, color 0.18s, box-shadow 0.17s;
  box-shadow: 0 2px 8px rgba(36,77,164,0.04);
}
.cookie-banner .accept {
  background: #244DA4;
  color: #fff;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #2CA880;
  color: #fff;
}
.cookie-banner .reject {
  background: #e9f3ee;
  color: #244DA4;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #dde3ed;
  color: #2CA880;
}
.cookie-banner .settings {
  background: #fff;
  color: #244DA4;
  border: 1px solid #244DA4;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #e9f3ee;
  color: #2CA880;
  border-color: #2CA880;
}

/* Cookie Modal */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 9000;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(29, 43, 74, 0.30);
  justify-content: center;
  align-items: center;
  transition: opacity 0.19s;
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #fff;
  max-width: 370px;
  width: 80vw;
  border-radius: 18px;
  box-shadow: 0 7px 44px rgba(36,77,164,0.18);
  padding: 36px 24px 22px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 17px;
  z-index: 9100;
  animation: cookieModalFadeIn 0.37s cubic-bezier(.3,.67,.51,.89);
}
@keyframes cookieModalFadeIn {
  from {opacity:0; transform: translateY(60px);}
  to {opacity:1; transform: none;}
}
.cookie-modal h2 {
  font-size: 1.35rem;
  margin-bottom: 7px;
  color: #244DA4;
}
.cookie-modal label {
  font-size: 1.08rem;
  font-family: 'Georgia', serif;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.cookie-modal .cookie-category-toggle {
  accent-color: #2CA880;
  width: 20px; height: 20px;
  min-width: 20px;
  min-height: 20px;
  margin-left: 0;
}
.cookie-modal .cookie-category-desc {
  font-size: 0.99rem;
  color: #475678;
  margin-bottom: 8px;
  margin-left: 33px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 5px;
  justify-content: flex-end;
}
.cookie-modal .close {
  position: absolute;
  top: 17px;
  right: 18px;
  background: none;
  border: none;
  color: #244DA4;
  font-size: 1.45rem;
  cursor: pointer;
  padding: 3px 6px;
  transition: color 0.16s;
}
.cookie-modal .close:hover, .cookie-modal .close:focus {
  color: #2CA880;
}

@media (max-width: 500px) {
  .cookie-modal {
    max-width: 99vw;
    padding: 14px 6px 16px 8px;
    border-radius: 7px;
  }
}

/* ==========================================================================
   Elegant Spacing, Shadows, Microinteractions
   ==========================================================================
*/
.section, .feature, .service-card, .testimonial-card, .card {
  transition: box-shadow 0.18s, transform 0.20s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 28px rgba(44,168,128,.12);
  transform: translateY(-2px) scale(1.012);
}

a, .cta-button {
  transition: color 0.16s, background 0.17s, box-shadow 0.18s;
}

button:active, .cta-button:active {
  transform: scale(0.98);
}

input[type=checkbox], input[type=radio] {
  accent-color: #2CA880;
}

::-webkit-scrollbar {
  width: 8px;
  background: #eceefa;
}
::-webkit-scrollbar-thumb {
  background: #244DA4;
  border-radius: 10px;
}

/* ==========================================================================
   General Utilities
   ==========================================================================
*/
.hide { display: none !important; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-2 { margin-top: 8px !important; }
.mb-2 { margin-bottom: 8px !important; }
.mt-4 { margin-top: 18px !important; }
.mb-4 { margin-bottom: 18px !important; }

/* ==========================================================================
   PRINT: Ensure no background/colors/shadows for print!
   ==========================================================================
*/
@media print {
  *, *:before, *:after { box-shadow: none !important; background: none !important; color: #000 !important; }
  header, .main-nav, .cta-button, .footer-container, .cookie-banner, .cookie-modal-overlay, .cookie-modal { display: none !important; }
}
