/* ===========================================================
 CSS RESET & BASE STYLES
=========================================================== */
html {
  box-sizing: border-box;
  font-size: 100%;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 16px;
  color: #222;
  background: #FBFBFA;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #174363;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #FFA900;
  outline: none;
}
ul, ol {
  list-style: none;
}
blockquote {
  font-style: italic;
  margin: 0 0 10px 0;
  color: #174363;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-weight: 700;
  line-height: 1.1;
  color: #174363;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.6rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.36rem;
  margin-bottom: 16px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 18px;
}

/* ===========================================================
 SECTIONS, LAYOUT SPACING & WRAPPERS
=========================================================== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
}
.text-section {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* Card containers and cards */
.card-container, .services-cards, .services-list, .testimonials-slider, .testimonials-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card, .service-card, .testimonial-card {
  background: #fff;
  border: 1px solid #e3e4e6;
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: 0 2px 16px 0 rgba(23,67,99,0.06);
  padding: 28px 24px;
  flex: 1 1 310px;
  max-width: 360px;
  position: relative;
  transition: box-shadow 0.22s, transform 0.22s;
}
.card:hover, .service-card:hover, .testimonial-card:hover {
  box-shadow: 0 4px 24px 0 rgba(23,67,99,0.13);
  transform: translateY(-4px) scale(1.015);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Testimonials: responsive display */
.testimonials-slider, .testimonials-preview {
  gap: 24px;
  display: flex;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: #fff;
  border: 1px solid #dedede;
  border-radius: 16px;
  box-shadow: 0 6px 22px 0 rgba(23,67,99,0.09);
  color: #222;
  margin-bottom: 20px;
}
.testimonial-card blockquote {
  font-size: 1.09rem;
  color: #174363;
  margin-bottom: 8px;
}
.testimonial-card footer {
  color: #777;
  font-size: 0.99rem;
  font-style: normal;
}
.client-rating-summary {
  background: #EFEFEF;
  padding: 20px 28px;
  border-radius: 14px;
  margin-top: 12px;
  font-family: 'Georgia', serif;
}

/* FAQ and sub-sections */
.faq-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 24px 0;
}
.faq-section h4 {
  color: #174363;
  font-size: 1.13rem;
}

/* Feature lists (main page) */
.services-cards, .services-list {
  gap: 24px;
}
.service-card {
  background: #fff;
  border: 1px solid #E3E4E6;
  border-radius: 15px;
  box-shadow: 0 2px 8px 0 rgba(23,67,99,0.07);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: flex-start;
  padding: 28px 20px 20px 20px;
  gap: 14px;
  min-width: 230px;
  max-width: 330px;
  margin-bottom: 20px;
  transition: box-shadow 0.23s, transform 0.21s;
}
.service-card img {
  width: 52px;
  height: 52px;
  margin-bottom: 8px;
}
.service-card h2, .service-card h3 {
  margin-bottom: 10px;
  color: #174363;
  font-size: 1.2rem;
}
.service-card p {
  color: #555;
  font-size: 1rem;
}

/* ===========================================================
 HEADER & NAVIGATION
=========================================================== */
header {
  background: #fff;
  border-bottom: 1px solid #E3E4E6;
  box-shadow: 0 2px 12px rgba(23,67,99,0.02);
  position: sticky;
  top: 0;
  z-index: 1001;
}
nav {
  display: flex;
  align-items: center;
  gap: 34px;
  justify-content: space-around;
  padding: 14px 0;
  font-family: 'Georgia', 'Times New Roman', serif;
  min-height: 54px;
}
nav > a > img {
  height: 40px;
  width: auto;
}
nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
nav ul li {
  font-size: 1rem;
}
nav ul li a {
  color: #174363;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 7px 2px;
  border-radius: 4px;
  transition: background 0.18s, color 0.16s;
}
nav ul li a:focus,
nav ul li a:hover {
  background: #EFEFEF;
  color: #FFA900;
}
.cta-btn {
  display: inline-block;
  background: #174363;
  color: #fff;
  border-radius: 28px;
  font-weight: 700;
  font-family: 'Georgia', serif;
  font-size: 1.12rem;
  padding: 12px 28px;
  text-align: center;
  box-shadow: 0 2px 8px 0 rgba(23,67,99,0.07);
  border: none;
  outline: none;
  margin-left: 16px;
  transition: background 0.18s, color 0.16s, box-shadow 0.22s, scale 0.16s;
  cursor: pointer;
  letter-spacing: 0.02em;
}
.cta-btn:hover, .cta-btn:focus {
  background: #FFA900;
  color: #174363;
  box-shadow: 0 6px 22px 0 rgba(23,67,99,0.19);
}

/* ===========================================================
 HAMBURGER MENU FOR MOBILE
=========================================================== */
.mobile-menu-toggle {
  display: none;
  background: #EFEFEF;
  border: none;
  color: #174363;
  font-size: 2.1rem;
  border-radius: 60px;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: auto;
  transition: background 0.2s;
  z-index: 1400;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #DDD;
  color: #FFA900;
}
.mobile-menu {
  position: fixed;
  inset: 0;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 1401;
  box-shadow: 0 0 48px 0 rgba(23,67,99,0.14);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.7,0,0.3,1);
  display: flex;
  flex-direction: column;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 18px 22px 0 0;
  background: #EFEFEF;
  color: #174363;
  border: none;
  border-radius: 50%;
  font-size: 2.1rem;
  width: 46px;
  height: 46px;
  cursor: pointer;
  transition: background 0.19s, color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #DDD;
  color: #FFA900;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 48px 32px;
  align-items: flex-start;
}
.mobile-nav a {
  font-size: 1.18rem;
  color: #174363;
  border-radius: 8px;
  padding: 12px 8px;
  font-weight: 600;
  font-family: 'Georgia', serif;
  transition: background 0.17s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FFA9003b;
  color: #FFA900;
}
@media (max-width: 1023px) {
  nav ul {
    display: none;
  }
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (max-width: 700px) {
  .mobile-nav {
    padding: 30px 14px 22px 24px;
    gap: 14px;
  }
}

/* Make sure header/nav sits above mobile-menu */
header, nav, .mobile-menu {
  z-index: 1201 !important;
}

/* ===========================================================
 MAIN CONTENT, TYPOGRAPHY, SPACING
=========================================================== */
main {
  margin-top: 0;
  margin-bottom: 60px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 700px) {
  .container {
    padding: 0 8px;
  }
  section {
    padding: 30px 0 18px 0;
  }
}
p, ul li, ol li {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 1rem;
  margin-bottom: 10px;
  color: #444;
}

ul, ol {
  list-style: disc inside;
}
ul li strong {
  font-weight: 700;
  color: #174363;
}

/* Accent color for secondary emphasis */
.primary {
  color: #174363;
}
.secondary {
  color: #888;
}
.accent {
  color: #FFA900;
}

/* Icon list formatting */
section ul li {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 12px;
  font-size: 1rem;
  min-height: 36px;
}
section ul li img {
  width: 26px;
  height: 26px;
}
/* For sections with images/icons */
section ul li strong {
  margin-right: 8px;
}

/* Contact info cards */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 9px;
  background: #EFEFEF;
  border-radius: 10px;
  padding: 16px 18px 14px 18px;
  margin-bottom: 16px;
}
.contact-details strong {
  color: #174363;
  font-weight: 600;
}

/* ===========================================================
 FOOTER
=========================================================== */
footer {
  background: #fff;
  border-top: 1px solid #E3E4E6;
  margin-top: 90px;
}
footer .container {
  padding: 24px 18px;
}
.footer-brand img {
  width: 120px;
  height: auto;
  margin-bottom: 14px;
}
.footer-links, .footer-contact, .footer-nav {
  margin-bottom: 10px;
}
.footer-links a, .footer-nav a {
  color: #174363;
  font-family: 'Georgia', serif;
  font-size: 1rem;
  margin: 0 5px;
  transition: color 0.13s, text-decoration 0.14s;
}
.footer-links a:hover,
.footer-nav a:hover {
  color: #FFA900;
}
.footer-contact {
  font-size: 1rem;
  color: #222;
}
.footer-contact .email a {
  color: #174363;
  border-radius: 4px;
}
.footer-contact .email a:hover {
  text-decoration: underline;
  color: #FFA900;
}
.footer-contact .address,
.footer-contact .hours {
  color: #444;
}
@media (max-width: 880px) {
  .footer-nav {
    flex-wrap: wrap;
    gap: 7px 9px;
    font-size: 0.94rem;
  }
}
@media (max-width: 700px) {
  .footer-brand img {
    width: 88px;
  }
  .footer-nav {
    font-size: 0.92rem;
  }
}

/* ===========================================================
 COOKIES CONSENT BANNER & MODAL
=========================================================== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  color: #174363;
  border-top: 1px solid #E3E4E6;
  box-shadow: 0 -5px 30px 0 rgba(23,67,99,0.07);
  padding: 16px 30px 18px 30px;
  z-index: 1900;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  animation: banner-in 0.36s cubic-bezier(.6,.69,.32,1.2);
  font-family: 'Georgia', serif;
}
.cookie-banner p {
  margin: 0;
  font-size: 1rem;
  color: #222;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
  align-items: center;
}
.cookie-btn {
  padding: 10px 22px;
  border-radius: 24px;
  font-family: 'Georgia', serif;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.17s, color 0.16s, box-shadow 0.15s;
  box-shadow: 0 2px 8px 0 rgba(23,67,99,0.07);
  font-weight: 700;
}
.cookie-btn.accept {
  background: #174363;
  color: #fff;
}
.cookie-btn.accept:hover {
  background: #FFA900;
  color: #174363;
}
.cookie-btn.reject {
  background: #EFEFEF;
  color: #174363;
  border: 1px solid #dedede;
}
.cookie-btn.reject:hover {
  background: #dedede;
}
.cookie-btn.settings {
  background: transparent;
  color: #174363;
  text-decoration: underline;
  padding-left: 10px;
  padding-right: 10px;
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  color: #FFA900;
}
@keyframes banner-in {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

.cookie-modal {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(23,67,99,0.13);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2001;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.26s, visibility 0.26s;
}
.cookie-modal.open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 20px;
  padding: 36px 32px 28px 32px;
  box-shadow: 0 18px 42px rgba(23,67,99,0.22);
  max-width: 420px;
  min-width: 280px;
  width: 90vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-family: 'Georgia', serif;
  color: #174363;
}
.cookie-modal-content h3 {
  font-size: 1.32rem;
  color: #174363;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.cookie-category label {
  font-size: 1.03rem;
  color: #23405a;
}
.cookie-category input[type=checkbox],
.cookie-category input[type=radio] {
  accent-color: #174363;
  width: 18px;
  height: 18px;
}
.cookie-modal-content .category-desc {
  font-size: 0.98rem;
  color: #555;
}
.cookie-modal .modal-close {
  align-self: flex-end;
  background: #EFEFEF;
  color: #174363;
  border: none;
  border-radius: 50%;
  font-size: 1.6rem;
  width: 38px;
  height: 38px;
  margin-top: -24px;
  margin-right: -16px;
  cursor: pointer;
  transition: background 0.16s;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  background: #dedede;
  color: #FFA900;
}
@media (max-width: 600px) {
  .cookie-banner { padding: 12px 10px 10px 12px; }
  .cookie-modal-content { padding: 16px 8px 18px 8px; }
}

/* ===========================================================
 BUTTONS
=========================================================== */
button, input[type=submit], .cta-btn, .cookie-btn {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  border: none;
  outline: none;
  cursor: pointer;
  transition: background 0.16s, color 0.16s, box-shadow 0.19s, transform 0.16s;
}
button:focus, input[type=submit]:focus, .cta-btn:focus {
  outline: 2px dotted #FFA900;
}

/* ===========================================================
 RESPONSIVE & ACCESSIBILITY
=========================================================== */
@media (max-width: 990px) {
  .card-container, .services-cards, .services-list, .testimonials-slider, .testimonials-preview, .content-grid {
    gap: 12px;
  }
  .service-card, .card, .testimonial-card {
    padding: 22px 14px;
    min-width: 170px;
    max-width: 100%;
  }
}
@media (max-width: 700px) {
  .card-container, .services-cards, .services-list, .testimonials-slider, .testimonials-preview, .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .service-card, .card, .testimonial-card {
    max-width: 100%;
    min-width: 0;
    width: 100%;
    margin-bottom: 16px;
  }
}

/* Section and card alignment on all screens */
@media (max-width: 600px) {
  section, .section { padding: 18px 0 10px 0; margin-bottom: 33px; }
  .content-wrapper { gap: 16px; }
}

/* ===========================================================
 MICRO-INTERACTIONS & ANIMATIONS
=========================================================== */
.cta-btn, .cookie-btn {
  transition: background 0.17s, color 0.17s, box-shadow 0.22s, transform 0.16s;
}
.cta-btn:active, .cookie-btn:active {
  transform: scale(0.97);
}

/* Subtle card animation on appear */
@media (prefers-reduced-motion: no-preference) {
  .card, .service-card, .testimonial-card {
    animation: card-in 0.55s cubic-bezier(.62,0,.34,1.01) both;
  }
}
@keyframes card-in {
  0% { opacity: 0; transform: scale(0.97) translateY(20px);}
  100% { opacity: 1; transform: scale(1) translateY(0);}
}

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