/* =========================================================================
   CSS RESET & BASE NORMALIZATION
   ======================================================================== */
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 for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F1F4F9;
  color: #1e2a36;
  font-family: "Lato", Georgia, serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}

a {
  color: #25405C;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F2B705;
  text-decoration: none;
}

/* =========================================================================
   TYPOGRAPHY
   ======================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 700;
  color: #25405C;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; margin-bottom: 28px; line-height: 1.18; }
h2 { font-size: 2rem; margin-bottom: 20px; line-height: 1.22; }
h3 { font-size: 1.38rem; margin-bottom: 12px; line-height: 1.28; }
h4 { font-size: 1.13rem; }
h5, h6 { font-size: 1rem; }

p, .text-section p {
  font-family: 'Lato', Georgia, serif;
  font-size: 1rem;
  color: #2D3540;
  margin-bottom: 18px;
}
strong, b {
  font-weight: 700;
  color: #25405C;
}
.mission-statement {
  font-style: italic;
}

/* =========================================================================
   LAYOUT STRUCTURE & CONTAINER STYLES
   ======================================================================== */
.container {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 18px rgba(37, 64, 92, 0.05);
}

/*                FLEXBOX LAYOUTS FOR CONTENT
   ---------------------------------------------------------- */
.card-container, .feature-grid, .service-grid, .card-grid, .content-grid, .testimonials, .blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card, .service-item, .feature-item, .blog-preview {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 8px rgba(37, 64, 92, 0.09);
  position: relative;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover, .service-item:hover, .feature-item:hover, .blog-preview:hover {
  box-shadow: 0 6px 26px rgba(37, 64, 92, 0.19);
  transform: translateY(-4px) scale(1.015);
}
.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: 20px 28px 22px 28px;
  background: #f8fafc;
  border-left: 5px solid #F2B705;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(37, 64, 92, 0.08);
  margin-bottom: 20px;
  transition: box-shadow 0.15s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 32px rgba(37, 64, 92, 0.13);
}
.testimonial-author {
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1rem;
  color: #1e2a36;
  font-weight: 600;
  margin-top: -6px;
}
.star-rating {
  color: #F2B705;
  font-size: 1.1rem;
  letter-spacing: 2px;
  font-family: 'Montserrat', Georgia, serif;
}
.feature-item, .service-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  flex: 1 1 290px;
  min-width: 230px;
  max-width: 340px;
  background: white;
  padding: 28px 22px 20px 22px;
  border-radius: 12px;
  box-shadow: 0 1px 8px rgba(37, 64, 92, 0.07);
  border: 1px solid #f0f0f0;
  transition: box-shadow 0.14s, border 0.14s, transform 0.14s;
}
.feature-item:hover, .service-item:hover {
  border: 1px solid #F2B705;
  box-shadow: 0 4px 24px rgba(37, 64, 92, 0.13);
  transform: translateY(-2px) scale(1.01);
}
.card {
  background: #fff;
  padding: 22px 20px;
  border-radius: 10px;
  box-shadow: 0 1px 8px rgba(37,64,92,.06);
  margin-bottom: 20px;
  position: relative;
}
.cta-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: #25405C;
  color: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 24px rgba(37, 64, 92, 0.08);
  padding: 38px 20px 38px 20px;
}
.cta-section h2, .cta-section p {
  color: #fff;
  text-align: center;
}
.certification-badges {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.quick-facts {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  margin: 18px 0 0 0;
}
.quick-facts span {
  background: #f4f6fa;
  border-radius: 8px;
  padding: 7px 16px 7px 14px;
  font-size: 0.99rem;
  display: flex;
  align-items: center;
  gap: 7px;
}

.categories-filter {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 18px 0 0 0;
  flex-wrap: wrap;
  font-size: 0.98rem;
  color: #666;
}
.categories-filter span {
  background: #F1F4F9;
  border-radius: 7px;
  padding: 4px 10px;
  margin-right: 6px;
}

/* FAQ ACCORDION */
.accordion-faq {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  background: #fff;
  border-left: 4px solid #25405C;
  border-radius: 8px;
  box-shadow: 0 1px 5px rgba(37,64,92,0.07);
  padding: 20px 18px 16px 22px;
}
.faq-item h3 {
  font-size: 1.18rem;
  margin-bottom: 8px;
}

/* TIMELINE */
.timeline ul {
  list-style-type: none;
  padding: 0;
  margin-left: 0;
}
.timeline ul li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 18px;
}
.timeline ul li:before {
  content: '';
  position: absolute;
  left: 8px;
  top: 7px;
  width: 10px;
  height: 10px;
  background: #25405C;
  border-radius: 50%;
  z-index: 1;
}
.timeline ul li:after {
  content: '';
  position: absolute;
  left: 12px;
  top: 17px;
  width: 2px;
  height: calc(100% - 12px);
  background: #dadee3;
  z-index: 0;
}
.timeline ul li:last-child:after {
  display: none;
}

/* TABLES (Pricing) */
.pricing-table table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  background: #fff;
  border-radius: 9px;
  overflow: hidden;
  box-shadow: 0 1px 8px rgba(37,64,92,0.10);
}
.pricing-table th,
.pricing-table td {
  padding: 15px 16px;
  border-bottom: 1px solid #EDF1F7;
  text-align: left;
}
.pricing-table th {
  background: #F1F4F9;
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1.08rem;
  color: #25405C;
}
.pricing-table tr:last-child td {
  border-bottom: none;
}

.service-breakdown {
  margin: 30px 0 0 0;
}
.service-breakdown ul {
  margin-left: 18px;
}

.faq-link {
  margin-top: 32px !important;
}

/* Blog Cards */
.blog-preview {
  padding: 28px 22px 20px 22px;
  min-width: 270px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 1px 7px rgba(37,64,92,0.08);
  min-height: 248px;
  transition: box-shadow 0.13s, transform .13s;
}

.blog-preview img {
  width: 45px;
  margin-bottom: 10px;
}

.blog-preview h3 {
  font-size: 1.14rem;
  color: #25405C;
  margin-bottom: 8px;
}

.blog-preview p {
  font-size: 0.97rem;
  color: #576078;
}


/* =========================================================================
   BUTTONS & CALLS TO ACTION
   ======================================================================== */
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 28px;
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  transition: background 0.19s, color 0.17s, box-shadow 0.18s, transform 0.17s;
  box-shadow: 0 2px 8px rgba(37,64,92,0.08);
  text-decoration: none;
  outline: none;
  margin-top: 12px;
}
.btn-primary {
  background: #25405C;
  color: #fff;
  box-shadow: 0 2px 12px rgba(37,64,92,0.07);
}
.btn-primary:hover, .btn-primary:focus {
  background: #193149;
  color: #fff;
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 4px 26px rgba(37,64,92,0.16);
}

.btn-secondary {
  background: #F2B705;
  color: #25405C;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #FFD46B;
  color: #213653;
  transform: translateY(-1px) scale(1.01);
}

.cta-section .btn-primary, .cta-section .btn-secondary {
  margin-top: 22px;
}

/* =========================================================================
   HEADER / MAIN NAVIGATION / MOBILE MENU
   ======================================================================== */
header {
  background: #fff;
  border-bottom: 1px solid #ecedf1;
  z-index: 50;
  position: sticky;
  top: 0;
  width: 100%;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 13px;
  padding-bottom: 13px;
  min-height: 66px;
}
header img {
  height: 38px;
  margin-right: 16px;
}
nav.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.main-nav a {
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1rem;
  color: #25405C;
  font-weight: 500;
  text-decoration: none;
  padding: 6px 8px;
  border-radius: 6px;
  transition: background 0.13s, color 0.13s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F2B705;
  color: #fff;
}

/* Hamburger Icon */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 2.1rem;
  line-height: 1;
  color: #25405C;
  cursor: pointer;
  margin-left: 10px;
  z-index: 1002;
  padding: 5px 12px 5px 5px;
  border-radius: 6px;
  transition: background .15s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #f6eec0;
}

/* Mobile Menu Styles */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: #fff;
  box-shadow: 0 4px 30px rgba(37,64,92,0.24);
  transform: translateX(100vw);
  transition: transform 0.35s cubic-bezier(.79,.14,.15,.86);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0 0 0;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  border: none;
  color: #25405C;
  font-size: 2.06rem;
  padding: 10px 17px 7px 10px;
  margin: 9px 0 0 7px;
  cursor: pointer;
  transition: background .13s;
  border-radius: 8px;
  align-self: flex-end;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #f6eec0;
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  margin-top: 28px;
  padding-left: 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1.15rem;
  color: #25405C;
  font-weight: 500;
  text-decoration: none;
  border-radius: 7px;
  padding: 12px 8px 12px 0;
  transition: color 0.15s, background 0.16s;
  min-width: 190px;
  margin-bottom: 6px;
  display: inline-block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #fff;
  background: #F2B705;
}
@media (max-width: 990px) {
  nav.main-nav {
    gap: 14px;
  }
}
@media (max-width: 900px) {
  header .container {
    gap: 13px;
  }
}
@media (max-width: 768px) {
  nav.main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .btn-primary {
    display: none;
  }
  .container {
    padding: 0 7px;
  }
}

/* =========================================================================
   FOOTER
   ======================================================================== */
footer {
  background: #fff;
  border-top: 1px solid #ecedf1;
  padding: 38px 0 30px 0;
  margin-top: 48px;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  gap: 36px;
  flex-wrap: wrap;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 12px;
}
.footer-nav a {
  font-family: 'Montserrat', Georgia, serif;
  color: #25405C;
  font-size: 0.99rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0 8px;
  border-radius: 6px;
  transition: background 0.14s, color 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #F2B705;
  color: #fff;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.97rem;
  color: #576078;
}
footer img {
  height: 48px;
  margin-right: 24px;
}

/* =========================================================================
   COOKIE CONSENT BANNER & MODAL
   ======================================================================== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: rgba(251, 250, 241, 0.99);
  box-shadow: 0 -2px 24px rgba(37,64,92,0.12);
  z-index: 2022;
  padding: 22px 16px 22px 16px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
  justify-content: center;
  font-family: 'Lato', Georgia, serif;
  font-size: 1rem;
  animation: banner-fade-in 0.7s;
}
@keyframes banner-fade-in {
  from { transform: translateY(100%); } to { transform: translateY(0); }
}
.cookie-banner .cookie-banner-content{
  max-width: 520px;
}
.cookie-banner .cookie-banner-buttons{
  display: flex;
  gap: 14px;
  align-items: center;
}
.cookie-banner button {
  padding: 9px 23px;
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1rem;
  border-radius: 24px;
  border: none;
  box-shadow: 0 2px 8px rgba(37, 64, 92, 0.08);
  margin: 0;
  cursor: pointer;
  transition: background 0.16s, color 0.13s, box-shadow 0.13s;
}
.cookie-banner .accept {
  background: #25405C;
  color: #fff;
  font-weight: 600;
}
.cookie-banner .accept:hover {background: #193149;}
.cookie-banner .reject {
  background: #eaeaea;
  color: #25405C;
  font-weight: 600;
}
.cookie-banner .reject:hover {background: #F2B705; color: #fff;}
.cookie-banner .settings {
  background: transparent;
  border: 1px solid #25405C;
  color: #25405C;
}
.cookie-banner .settings:hover {background: #25405C; color: #fff;}

.cookie-modal-overlay {
  display: none;
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 2025;
  background: rgba(30, 42, 54, 0.25);
  justify-content: center;
  align-items: flex-end;
}
.cookie-modal-overlay.open {
  display: flex !important;
  animation: modal-slide-in 0.18s cubic-bezier(.68,-0.55,.27,1.55) both;
}
@keyframes modal-slide-in {
  from { opacity:0; transform: translateY(58px); }
  to { opacity:1; transform: translateY(0); }
}
.cookie-modal {
  background: #fff;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -6px 40px rgba(37, 64, 92, 0.18);
  width: 100%;
  max-width: 414px;
  margin-bottom: 0;
  padding: 30px 30px 36px 30px;
  animation: modal-content-in 0.3s cubic-bezier(.68,-0.55,.27,1.55);
}
@keyframes modal-content-in {
  from { opacity: 0; transform: translateY(140px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-modal h2 {
  color: #25405C;
  font-size: 1.32rem;
  margin-bottom: 14px;
}
.cookie-modal .cookie-categories {
  margin: 18px 0 22px 0;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
  margin-bottom: 14px;
}
.cookie-modal .toggle-switch {
  position: relative;
  width: 44px;
  height: 24px;
  display: inline-block;
}
.cookie-modal .toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-modal .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #F1F4F9;
  border-radius: 16px;
  transition: 0.2s;
}
.cookie-modal .toggle-switch input:checked + .slider {
  background-color: #25405C;
  border: 1px solid #F2B705;
}
/* Dot */
.cookie-modal .slider:before {
  content: "";
  position: absolute;
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(64,68,74,0.13);
  transition: 0.19s;
}
.cookie-modal .toggle-switch input:checked + .slider:before {
  transform: translateX(18px);
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.cookie-modal .modal-actions button {
  min-width: 120px;
  font-size: 1rem;
}
.cookie-modal .modal-close {
  position: absolute;
  right: 16px;
  top: 16px;
  background: none;
  border: none;
  color: #25405C;
  font-size: 2rem;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.12s;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  background: #edf1f7;
}

/* =========================================================================
   RESPONSIVE DESIGN
   ======================================================================== */
@media (max-width: 1024px) {
  .container { padding: 0 11px; }
  .feature-item, .service-item, .blog-preview { min-width: 230px; }
  .footer-nav { gap: 10px; }
}
@media (max-width: 900px) {
  .container { max-width: 98vw; }
  .card-container, .feature-grid, .service-grid, .card-grid, .content-grid {
    gap: 18px;
  }
  .content-wrapper {
    gap: 0;
  }
  .footer-contact, .footer-nav {
    font-size: 0.91rem;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.35rem; }
  h3 { font-size: 1.02rem; }
  .section { padding: 27px 6px; margin-bottom: 38px; border-radius: 7px; }
  .card-container, .feature-grid, .service-grid, .card-grid, .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .testimonials, .blog-list {
    flex-direction: column;
    gap: 18px;
  }
  .feature-item, .service-item, .blog-preview {
    min-width: 95%;
    max-width: 100%;
    padding: 18px 8px 18px 13px;
  }
  .cta-section { padding: 27px 10px; border-radius: 7px; }
  .container { padding: 0 3px; }
  .footer-contact { font-size: 0.91rem; }
  footer .container { flex-direction: column; gap: 8px; }
  .footer-nav { flex-direction: column; gap: 3px; margin-bottom: 12px; }
  .cookie-banner {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
    padding: 16px 8px 18px 10px;
  }
  .cookie-banner .cookie-banner-content {
    max-width: 94vw;
    font-size: 1rem;
  }
  .cookie-banner .cookie-banner-buttons {
    gap: 8px;
  }
  .cookie-modal {
    padding: 22px 14px 26px 14px;
    min-width: 0;
    max-width: 96vw;
  }
}
@media (max-width: 480px) {
  h1 { font-size: 1.18rem; }
  h2 { font-size: 1.09rem; }
  .section { padding: 16px 0; margin-bottom: 28px; }
  .feature-item, .service-item, .blog-preview, .testimonial-card {
    padding: 9px 5px 14px 9px;
    border-radius: 6px;
  }
  .cta-section { padding: 12px 0; border-radius: 6px; }
  .quick-facts { font-size: 0.88rem; }
  .cookie-modal { border-radius: 8px 8px 0 0; }
}

/* =========================================================================
   ADDITIONAL UTILITIES / MICROINTERACTIONS
   ======================================================================== */
::-webkit-scrollbar {
  width: 9px; background: #F1F4F9; border-radius: 0;
}
::-webkit-scrollbar-thumb {
  background: #dee3e8; border-radius: 16px;
}
::-webkit-input-placeholder { color: #9ba4b2; }
:-moz-placeholder { color: #9ba4b2; }
::-moz-placeholder { color: #9ba4b2; }
:-ms-input-placeholder { color: #9ba4b2; }
input:focus, textarea:focus, select:focus {
  outline: 2px solid #F2B705;
}

.privacy-disclaimer {
  font-size: 0.92rem;
  color: #72809C;
}

/* =========================================================================
   END OF STYLE.CSS
   ======================================================================== */
