/* ---- 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;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.6;
  background: #F5F7FA;
  color: #233554;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #2166A5;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #B86A00;
  text-decoration: underline;
}
ul, ol {
  margin-left: 24px;
}
section, nav {
  width: 100%;
}
hr {
  border: none;
  border-top: 1px solid #e6eaf0;
  margin: 32px 0;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #2166A5;
  margin-bottom: 16px;
  line-height: 1.15;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 14px; }
h4, h5, h6 { font-size: 1.1rem; }
p, li, ul, ol {
  font-size: 1rem;
  color: #233554;
}
.subheadline {
  color: #2166A5;
  font-size: 1.1rem;
  margin-bottom: 24px;
}
strong { color: #2166A5; font-weight: 700; }

/* ---- CONTAINER & LAYOUT ---- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 0;
}

.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 16px 0 rgba(33,102,165,0.04); /* subtle shadow for elevation */
}

/* ---- FLEXBOX LAYOUTS (MANDATORY PATTERNS) ---- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(33,102,165,0.06);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  min-width: 270px;
}
.card-content { display: flex; flex-direction: column; justify-content: center; }
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 28px;
  background: #F5F7FA;
  border-radius: 16px;
  box-shadow: 0 2px 10px 0 rgba(33,102,165,0.05);
  margin-bottom: 24px;
  min-width: 275px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ---- HERO SECTION ---- */
.hero {
  background: linear-gradient(100deg, #2166A5 85%, #F5A623 100%);
  color: #fff;
  border-radius: 0 0 38px 38px;
  margin-bottom: 40px;
  padding-top: 64px;
  padding-bottom: 64px;
  box-shadow: 0 4px 24px 0 rgba(33,102,165,0.09);
}
.hero h1, .hero .subheadline, .hero p { color: #fff; }
.hero .cta-btn {
  background: #fff;
  color: #2166A5;
  border: none;
  margin-top: 32px;
}

/* ---- MAIN NAVIGATION ---- */
header {
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(33,102,165,0.09);
  position: relative;
  z-index: 100;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  width: 100%;
}
.main-nav > a img {
  height: 44px;
}
.main-nav ul {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  list-style: none;
}
.main-nav li { margin: 0; }
.main-nav li a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #2166A5;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.main-nav li a:hover,
.main-nav li a:focus {
  background: #2166A5;
  color: #fff;
}
.cta-btn {
  display: inline-block;
  background: linear-gradient(90deg, #2166A5 20%, #F5A623 115%);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 12px 32px;
  border-radius: 32px;
  box-shadow: 0 2px 8px 0 rgba(33,102,165,0.08);
  border: none;
  cursor: pointer;
  outline: none;
  transition: background 0.25s, box-shadow 0.2s, color 0.2s;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, #195a90 15%, #e48800 135%);
  color: #fff;
  box-shadow: 0 4px 24px 0 rgba(33,102,165,0.13);
}

/* ---- MOBILE MENU ---- */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: #2166A5;
  color: #fff;
  border: none;
  padding: 10px 16px 8px 16px;
  border-radius: 10px;
  cursor: pointer;
  margin-left: 16px;
  transition: background 0.18s;
  z-index: 130;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #F5A623;
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 82vw;
  max-width: 360px;
  background: #fff;
  box-shadow: -2px 0 28px 0 rgba(33,102,165,0.13);
  z-index: 150;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.54,1.5,.38,1);
  display: flex;
  flex-direction: column;
  padding: 28px 22px 16px 26px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 1.85rem;
  color: #2166A5;
  background: none;
  border: none;
  margin-bottom: 16px;
  cursor: pointer;
  padding: 2px 8px 2px 8px;
  border-radius: 8px;
  transition: background 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #F5A623;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 14px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  color: #2166A5;
  padding: 12px 14px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #2166A5;
  color: #fff;
}

@media (max-width: 1100px) {
  .main-nav ul { gap: 14px; }
  .cta-btn { padding: 11px 20px; font-size: 1rem; }
}

@media (max-width: 900px) {
  .main-nav ul { gap: 8px; }
}

@media (max-width: 900px) {
  .main-nav ul,
  .main-nav .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 901px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* ---- SECTIONS & LAYOUTS ---- */
.features .feature-grid, .features ul {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 20px;
}
.features ul li, .services ul li, .feature-grid li {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px 0 rgba(33,102,165,0.06);
  padding: 28px 20px;
  flex: 1 1 220px;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
  min-width: 220px;
}
.features ul li img {
  width: 36px;
  height: 36px;
  margin-bottom: 10px;
}

.service-list, .service-list li, .services-list ul, .how-it-works ol, .how-it-works ul, .question-answer-list, .resource-links, .expert-articles, .quick-faq-list {
  margin-bottom: 20px;
  gap: 24px;
}
.service-list, .services-list ul { display: flex; flex-wrap: wrap; gap: 24px; }
.service-list li, .services-list ul li {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 8px 0 rgba(33,102,165,0.06);
  flex: 1 1 260px;
  padding: 24px 18px;
  margin-bottom: 20px;
}
.service-price {
  background: #F5A623;
  color: #fff;
  border-radius: 999px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 6px 18px;
  font-size: 1rem;
  margin-top: 14px;
  display: inline-block;
}

.call-to-action, .ordering {
  background: linear-gradient(90deg, #F5A623 10%, #2166A5 85%);
  color: #fff;
  text-align: center;
  border-radius: 26px;
  margin-bottom: 64px;
}
.call-to-action h2, .ordering h2 { color: #fff; }

/* ---- TESTIMONIALS ---- */
.testimonials, .testimonials-main {
  background: linear-gradient(94deg, #F5A623 0%, #F5F7FA 80%);
  border-radius: 16px;
}
.testimonial-card {
  background: #fff;
  color: #2166A5;
  border-left: 6px solid #2166A5;
  box-shadow: 0 2px 12px 0 rgba(33,102,165,0.07);
  min-width: 260px;
  margin-bottom: 20px;
  transition: transform 0.22s, box-shadow 0.22s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  transform: translateY(-4px) scale(1.013);
  box-shadow: 0 6px 24px 0 rgba(33,102,165,0.10);
}
.testimonial-card p {
  font-size: 1.13rem;
  color: #233554;
  margin-bottom: 18px;
}
.testimonial-author {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #2166A5;
  font-size: 1rem;
  margin-bottom: 6px;
}
.testimonial-rating {
  letter-spacing: 2px;
  font-size: 1.3rem; color: #F5A623;
  font-family: 'Montserrat', Arial, sans-serif;
}

.testimonial-form .cta-btn { margin-top: 22px; }

.client-story {
  background: #F5F7FA;
  border-radius: 13px;
  padding: 18px 20px;
  color: #2166A5;
  margin-top: 16px;
  font-size: 1.07rem;
  transition: box-shadow 0.22s;
  box-shadow: 0 2px 7px 0 rgba(33,102,165,0.04);
}

/* ---- TABLES (Pricing) ---- */
.pricing-table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 28px;
  box-shadow: 0 2px 8px 0 rgba(33,102,165,0.08);
  border-radius: 16px;
  overflow: hidden;
}
.pricing-table th, .pricing-table td {
  padding: 18px 16px;
  border-bottom: 1px solid #EAF0F8;
  text-align: left;
  font-size: 1rem;
}
.pricing-table thead th {
  background: #2166A5;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.13rem;
  font-weight: 700;
}
.pricing-table tbody tr:nth-child(even) {
  background: #F5F7FA;
}

/* ---- FOOTER ---- */
footer {
  background: #2166A5;
  color: #fff;
  padding: 0;
  border-radius: 32px 32px 0 0;
}
footer .container {
  padding: 0 20px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 36px 0 28px 0;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.2rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.footer-brand img {
  width: 40px;
  height: 40px;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-menu a {
  color: #fff;
  opacity: 0.87;
  font-size: 1rem;
  transition: opacity 0.15s;
}
.footer-menu a:hover, .footer-menu a:focus {
  opacity: 1;
  text-decoration: underline;
}
.footer-contact div {
  margin-bottom: 6px;
  font-size: 1rem;
  color: #fff;
}
footer strong { color: #fff; }

/* ---- COOKIE CONSENT BANNER ---- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  color: #233554;
  box-shadow: 0 -2px 16px 0 rgba(33,102,165,0.14);
  padding: 28px 18px 24px 18px;
  border-radius: 24px 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  z-index: 9000;
  transition: transform 0.28s cubic-bezier(.62,.02,.53,1.97);
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner-text {
  color: #233554;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.08rem;
  margin-bottom: 8px;
}
.cookie-banner-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-btn {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  font-weight: 600;
  background: #2166A5;
  color: #fff;
  border-radius: 23px;
  padding: 9px 24px;
  border: none;
  cursor: pointer;
  transition: background 0.19s, color 0.19s;
  box-shadow: 0 2px 6px 0 rgba(33,102,165,0.08);
}
.cookie-btn.cookie-settings {
  background: #F5A623;
  color: #fff;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #B86A00;
  color: #fff;
}

/* COOKIE SETTINGS MODAL */
.cookie-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(33,102,165,0.14);
  z-index: 9900;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.19s;
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 20px 0 rgba(33,102,165,0.16);
  padding: 36px 30px 28px 30px;
  max-width: 420px;
  width: 92vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.35rem;
  color: #2166A5;
  margin-bottom: 8px;
  font-weight: 700;
}
.cookie-modal-close {
  position: absolute;
  right: 18px;
  top: 18px;
  background: transparent;
  border: none;
  color: #2166A5;
  font-size: 1.75rem;
  cursor: pointer;
  border-radius: 8px;
}
.cookie-modal-close:hover, .cookie-modal-close:focus { background: #F5A623; color:#fff; }
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F5F7FA;
  border-radius: 10px;
  padding: 10px 12px 10px 16px;
  font-weight: 600;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #233554;
  margin-bottom: 0;
}
.cookie-category input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #2166A5;
}
.cookie-category.essential input[type="checkbox"] {
  accent-color: #2166A5;
}
.cookie-category.essential label {
  font-style: italic;
  color: #B86A00;
}
.cookie-modal-actions {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  justify-content: flex-end;
}

/* ---- MEDIA QUERIES ---- */
@media (max-width: 768px) {
  .container {
    padding: 0 10px;
    max-width: 100vw;
  }
  .content-wrapper,
  .card-container,
  .content-grid,
  .feature-grid,
  .service-list,
  .services-list ul,
  .features ul,
  .call-to-action,
  .footer-contact, 
  .footer-menu,
  .footer-brand {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 18px !important;
  }
  .section, section {
    padding: 26px 4px;
    margin-bottom: 38px;
    border-radius: 18px;
    min-width: 0;
  }
  .card, .testimonial-card, .client-story {
    min-width: 0;
    padding: 17px 10px;
    border-radius: 10px;
  }
  .main-nav {
    flex-direction: row;
    align-items: center;
    padding: 16px 0 12px 0;
  }
  .main-nav ul {
    display: none;
  }
  .footer-brand img {
    width: 34px;
    height: 34px;
  }
}
@media (max-width: 540px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.2rem; }
  h3 { font-size: 1.08rem; }
  body { font-size: 15px; }
  .section, section { padding: 14px 2px; }
  .card, .testimonial-card { min-width: 0; }
  .call-to-action, .ordering { padding: 13px 4px; border-radius: 15px; }
}
@media (max-width: 410px) {
  .cta-btn, .cookie-btn { padding: 10px 10px; font-size: 0.96rem; }
}

/* ---- FORMS, FAQ, ETC ---- */
dt { font-weight: 700; color: #2166A5; margin-bottom: 6px; }
dd { margin-bottom: 16px; margin-left: 18px; }
dl { margin-bottom: 21px; }
.question-answer-list, .quick-faq-list {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin-top: 8px;
}
.question-answer-list li, .quick-faq-list li {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 6px 0 rgba(33,102,165,0.04);
  padding: 16px 14px;
  margin-bottom: 5px;
}

/* ---- TRANSITIONS & MICRO-INTERACTIONS ---- */
.card, .testimonial-card, .feature-item, .cookie-btn, .cta-btn {
  transition: box-shadow 0.18s, transform 0.15s, background 0.2s, color 0.18s;
}
.card:hover, .feature-item:hover {
  box-shadow: 0 6px 18px 0 rgba(33,102,165,0.10);
  transform: scale(1.01);
}

/* ---- ACCENT COLORS AND UTILITIES ---- */
.accent { color: #F5A623 !important; }
.bg-accent { background: #F5A623 !important; color: #fff !important; }
.text-primary { color: #2166A5 !important; }
.text-secondary { color: #F5F7FA !important; }

/* ---- MODAL OVERLAY & UTILS ---- */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(33,102,165,0.07);
  z-index: 9990;
  pointer-events: all;
}

/* ---- UTILITY: HIDE ---- */
.hide { display: none !important; }

/* ---- FOCUS STATES (A11Y) ---- */
:focus {
  outline: 2px solid #F5A623;
  outline-offset: 2px;
}

/* ---- Print CSS (Optional) ---- */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
  .container { padding: 0; }
  .section, section { box-shadow: none; }
}

/* ---- THANK YOU PAGE ---- */
.thank-you-section {
  background: linear-gradient(98deg, #2166A5 50%, #F5A623 110%);
  color: #fff;
  border-radius: 32px;
  text-align: center;
}
.thank-you-section h1, .thank-you-section p { color: #fff; }

/* ---- END CSS ---- */
