/* ====================
   CSS RESET & BASELINE
   ==================== */
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,
main, 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-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 16px;
  background: #F6F7FA;
  color: #232426;
  -webkit-text-size-adjust: 100%;
}
body {
  line-height: 1.6;
  min-height: 100vh;
  background: #F6F7FA;
  color: #184D6C;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
*,*:before,*:after {
  box-sizing: inherit;
}
a {
  color: #184D6C;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #55B2A7;
  outline: none;
}
ul, ol {
  padding-left: 22px;
  margin: 20px 0;
}
li {
  margin-bottom: 8px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  color: #184D6C;
  margin-bottom: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 14px;
}
p {
  margin-bottom: 16px;
}
strong {
  font-weight: 600;
}
small {
  font-size: 0.9em;
  color: #6e7d8f;
}

/* ==============================
   TYPOGRAPHY & BRANDING
   ============================== */
body, input, textarea, select, button {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-weight: 400;
  font-size: 1rem;
  color: #232426;
}
.display, .hero h1, .thank-you-section h1 {
  font-family: 'Georgia', serif;
  font-size: 2.8rem;
  font-weight: bold;
  letter-spacing: 0.01em;
}

/* ======================
   LAYOUT CONTAINERS
   ====================== */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 18px;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
/* Flexbox grids/adaptations per requirements */
.features-grid, .service-list, .project-summaries ul, .client-logos, .trust-badges, .about-section, .testimonial-slider, .testimonial-list, .featured-articles, .faq-list, .post-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; border-radius: 12px; background: #fff; box-shadow: 0 2px 8px 0 rgba(24,77,108,0.06); transition: box-shadow 0.2s; }
.card:hover { box-shadow: 0 6px 16px 0 rgba(24,77,108,0.18); }
.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: 12px;
  background: #fff;
  border-left: 5px solid #184D6C;
  box-shadow: 0 4px 14px 0 rgba(24,77,108,0.07);
  border-radius: 10px;
  padding: 28px 32px;
  margin-bottom: 20px;
  max-width: 430px;
  color: #232426;
  min-width: 230px;
}
.testimonial-slider, .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}
.client-logos, .trust-badges {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 20px 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.address-box, .phone-box, .email-box, .hours-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 8px 0 rgba(24,77,108,0.11);
  padding: 18px 22px;
  margin-bottom: 14px;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ======================
   HERO SECTION
   ====================== */
.hero {
  background: #184D6C;
  color: #fff;
  padding: 60px 0 54px 0;
  margin-bottom: 40px;
}
.hero h1 {
  color: #fff;
  font-size: 2.6rem;
  margin-bottom: 16px;
}
.hero p {
  font-size: 1.25rem;
  margin-bottom: 28px;
  color: #F6F7FA;
}

/* ======================
   BUTTONS & CALLS TO ACTION
   ===================== */
.cta, .primary, button, input[type=submit], .cookie-btn {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-weight: 600;
  font-size: 1.08rem;
  border-radius: 26px;
  padding: 12px 32px;
  border: none;
  cursor: pointer;
  outline: none;
  background: #184D6C;
  color: #fff;
  margin-right: 12px;
  text-align: center;
  letter-spacing: 0.02em;
  transition: background 0.18s, color 0.18s, box-shadow 0.21s;
  box-shadow: 0 2px 8px rgba(24,77,108,0.11);
}
.cta.primary:hover,
.cta.primary:focus,
button:hover, button:focus,
.cookie-btn:hover, .cookie-btn:focus {
  background: #55B2A7;
  color: #fff;
  box-shadow: 0 4px 14px rgba(24,77,108,0.16);
}
.cta.secondary, .cookie-btn.secondary {
  background: #fff;
  color: #184D6C;
  border: 1px solid #184D6C;
}
.cta.secondary:hover, .cookie-btn.secondary:hover {
  background: #F6F7FA;
  color: #184D6C;
}

/* ======================
   TABLES
   ===================== */
.pricing-table table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px 0 rgba(24,77,108,0.07);
  margin-bottom: 24px;
}
.pricing-table th, .pricing-table td {
  text-align: left;
  padding: 16px 20px;
  font-size: 1rem;
}
.pricing-table th {
  background: #184D6C;
  color: #fff;
  font-size: 1.14rem;
}
.pricing-table tr:nth-child(even) {
  background: #F6F7FA;
}
.pricing-table tr:nth-child(odd) {
  background: #fff;
}

/* ======================
   FAQ / ACCORDION
   ===================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.faq-item {
  background: #fff;
  box-shadow: 0 2px 8px rgba(24,77,108,0.09);
  border-radius: 10px;
  padding: 22px 26px;
  margin-bottom: 20px;
  transition: box-shadow 0.19s;
}
.faq-item h3 {
  font-size: 1.2rem;
  color: #184D6C;
}
.faq-item p {
  margin-bottom: 0;
}
.faq-item:hover {
  box-shadow: 0 4px 14px 0 rgba(24,77,108,0.15);
}

/* ======================
   BLOGS/ARTICLE
   ===================== */
.featured-articles, .blog-intro, .post-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.featured-articles article {
  background: #fff;
  border-radius: 11px;
  box-shadow: 0 2px 8px #184d6c11;
  padding: 26px 28px;
  margin-bottom: 16px;
  border-left: 5px solid #184D6C;
  transition: box-shadow 0.18s, border-color 0.18s;
}
.featured-articles article:hover {
  border-color: #55B2A7;
  box-shadow: 0 3px 12px 0 #184d6c19;
}
.post-list {
  gap: 18px;
  list-style: disc inside;
}
.post-list li {
  padding-left: 0;
}
.post-list a {
  font-size: 1.05rem;
  color: #184D6C;
  text-decoration: underline;
  transition: color 0.16s;
}
.post-list a:hover {
  color: #55B2A7;
  text-decoration: none;
}

/* ======================
   LEGAL TEXT STYLING
   ===================== */
.legal-text {
  background: #fff;
  border-radius: 11px;
  padding: 26px 28px;
  box-shadow: 0 2px 8px rgba(24,77,108,0.09);
  color: #232426;
  font-size: 1.04rem;
}
.legal-text ul {
  list-style: disc outside;
  margin-left: 28px;
}

/* ======================
   NAVIGATION (DESKTOP & MOBILE)
   ===================== */
header {
  background: #fff;
  box-shadow: 0 2px 8px 0 rgba(24,77,108,0.09);
  position: sticky;
  top: 0;
  z-index: 103;
}
header nav {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 19px 0 15px 0;
  justify-content: flex-start;
}
header nav img {
  height: 48px;
  margin-right: 16px;
}
header nav a {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 1.08rem;
  letter-spacing: 0.01em;
  padding: 8px 0;
  color: #184D6C;
  border-bottom: 2px solid transparent;
  transition: border 0.2s, color 0.13s;
}
header nav a.cta.primary {
  margin-left: 18px;
}
header nav a:hover, header nav a.active {
  color: #55B2A7;
  border-bottom: 2px solid #55B2A7;
}
.mobile-menu-toggle {
  display: none;
  margin-left: auto;
  font-size: 2rem;
  background: none;
  border: none;
  color: #184D6C;
  cursor: pointer;
  padding: 6px 15px;
  z-index: 130;
  line-height: 1;
  transition: color 0.16s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: #55B2A7;
}

/* ======================
   FOOTER
   ===================== */
footer {
  background: #fff;
  color: #232426;
  padding: 36px 0 22px 0;
  border-top: 1px solid #e6ecf4;
  box-shadow: 0 2px 8px 0 rgba(24,77,108,0.04) inset;
  font-size: 1rem;
  margin-top: 40px;
}
footer nav {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  margin-bottom: 16px;
}
footer nav a {
  color: #184D6C;
  font-size: 1.03rem;
  margin: 0 4px;
}
footer nav a:hover { color: #55B2A7; }
footer address {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: center;
  font-style: normal;
  margin-bottom: 10px;
  font-size: 0.98rem;
  color: #232426;
}
footer address img {
  vertical-align: middle;
  height: 18px;
  margin-right: 6px;
}
footer small {
  display: block;
  text-align: center;
  color: #999;
  margin-top: 15px;
  letter-spacing: 0.01rem;
}

/* ============================
   CALLOUT & CTA SECTION STYLES
   ============================ */
.cta-section {
  background: #184D6C;
  color: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 16px #184d6c28;
  margin: 44px 0 32px 0;
  padding: 40px 20px;
  text-align: center;
}
.cta-section h2 { color: #fff; margin-bottom: 16px; }
.cta-section p { color: #F6F7FA; margin-bottom: 24px; }
.cta-section .cta.primary { background: #fff; color: #184D6C; border: none; }
.cta-section .cta.primary:hover { background: #55B2A7; color: #fff; }

/* ======================
   MISCELLANEOUS
   ====================== */
.star-rating {
  color: #FDC448;
  font-size: 1.3rem;
  letter-spacing: 0.13rem;
  margin-top: 6px;
}
.star-summary {
  margin-top: 10px;
  color: #184D6C;
  font-weight: 600;
}

/* === Thank You Section === */
.thank-you-section {
  background: #fff;
  box-shadow: 0 2px 12px #184d6c12;
  border-radius: 14px;
  padding: 48px 8vw;
  text-align: center;
}
.legal-text h2 {
  font-size: 1.2rem;
  margin-top: 16px;
}

/* ======================
   MOBILE MENU OVERLAY
   ===================== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #fbfbfded;
  box-shadow: 0 0 60px 10px rgba(24,77,108,0.13);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  transform: translateX(-120vw);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.37s cubic-bezier(.7,1.6,.32,1), opacity 0.26s;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #184D6C;
  font-size: 2.3rem;
  margin: 20px 32px 0 0;
  cursor: pointer;
  transition: color 0.18s;
  z-index: 1301;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #55B2A7;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 62px 32px auto 32px;
  align-items: flex-start;
}
.mobile-nav a {
  font-size: 1.24rem;
  color: #184D6C;
  font-family: 'Georgia', serif;
  padding: 8px 0;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border 0.16s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a.active {
  border-bottom: 1px solid #55B2A7;
  color: #55B2A7;
}

/* ======================
   RESPONSIVE DESIGN
   ===================== */
@media (max-width: 1050px) {
  .container { max-width: 98vw; }
}
@media (max-width: 900px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.5rem; }
  .display, .hero h1, .thank-you-section h1 { font-size: 2.0rem; }
}
@media (max-width: 800px) {
  .hero { padding: 34px 0 30px 0; }
  .section, section { padding: 24px 8px; }
  .cta-section, .thank-you-section { padding: 30px 6vw; }
}
@media (max-width: 768px) {
  header nav {
    display: none; /* Hidden on mobile, use burger */
  }
  .mobile-menu-toggle {
    display: block;
  }
  .container {
    padding: 0 6px;
  }
  .features-grid,
  .service-list,
  .testimonial-slider, .testimonial-list, .client-logos, .trust-badges {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .content-wrapper {
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .about-section { flex-direction: column; gap:16px; }
  .card, .testimonial-card, .faq-item { padding: 17px 12px; }
  .thank-you-section { padding: 24px 2vw; }
  .post-list { gap: 12px; }
  .cta, .primary { font-size: 1rem; padding: 10px 22px; }
  .featured-articles article { padding: 17px 12px; }
}
@media (max-width: 500px) {
  h1, .hero h1, .display { font-size: 1.3rem; }
  h2 { font-size: 1.09rem; }
  .container {
    padding: 0 2px;
  }
  .cta-section, .thank-you-section { padding: 12px 2vw; }
  .footer address, .footer nav { flex-direction: column; gap: 8px; }
}

/* ===============
   HOVERS/ACTIVE
   =============== */
.card, .testimonial-card, .faq-item {
  transition: box-shadow 0.2s, transform 0.14s;
}
.card:hover, .testimonial-card:hover, .faq-item:hover {
  box-shadow: 0 7px 22px 0 rgba(24,77,108,0.15);
  transform: translateY(-2px);
}

/* =========================
   COOKIE CONSENT BANNER
   ========================= */
#cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff;
  color: #232426;
  box-shadow: 0 -4px 24px 0 #184d6c24;
  z-index: 2023;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 30px;
  font-size: 1.05rem;
  gap: 28px;
  transition: transform 0.3s cubic-bezier(.4,1,.5,1), opacity 0.21s;
  opacity: 1;
  transform: translateY(0);
}
#cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(140%);
}
#cookie-banner .cookie-btn {
  margin: 0 7px;
  padding: 8px 23px;
  font-size: 1.01rem;
}
#cookie-banner .cookie-btn.settings {
  background: #F6F7FA;
  color: #184D6C;
  border: 1px solid #55B2A7;
}
#cookie-banner .cookie-btn.settings:hover {
  background: #55B2A7;
  color: #fff;
}
@media (max-width: 768px) {
  #cookie-banner { flex-direction: column; padding: 22px 10px; gap: 17px; font-size: 0.98rem; }
}

/* =========================
   COOKIE PREFERENCES MODAL
   ========================= */
#cookie-modal-overlay {
  position: fixed;
  z-index: 2030;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(24,77,108,0.29);
  display: none;
  align-items: center;
  justify-content: center;
}
#cookie-modal-overlay.open {
  display: flex;
  animation: fadeInModal 0.34s;
}
@keyframes fadeInModal {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
#cookie-modal {
  background: #fff;
  border-radius: 13px;
  padding: 36px 36px 26px 36px;
  box-shadow: 0 7px 40px 0 #184d6c2a;
  width: 96vw;
  max-width: 420px;
  position: relative;
  color: #232426;
  font-size: 1.08rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: fadeInModal 0.34s;
}
#cookie-modal h2 {
  font-size: 1.23rem;
  margin-bottom: 8px;
  color: #184D6C;
}
#cookie-modal .cookie-close-modal {
  position: absolute;
  right: 17px; top: 17px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #184D6C;
  cursor: pointer;
  transition: color 0.18s;
}
#cookie-modal .cookie-close-modal:hover { color: #55B2A7; }
#cookie-modal .cookie-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 14px;
}
.cookie-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}
.cookie-option label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 1em;
}
.cookie-option input[type=checkbox] {
  accent-color: #184D6C;
  width: 20px;
  height: 20px;
  margin-right: 6px;
  border-radius: 4px;
}
.cookie-btn-row {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
@media (max-width: 540px) {
  #cookie-modal {
    padding: 18px 8px 18px 8px;
    max-width: 98vw;
  }
}

/* ============
   ANIMATIONS
   ============ */
.card, .testimonial-card, .faq-item, .featured-articles article {
  transition: box-shadow 0.20s, border 0.22s, transform 0.15s;
}
.cta, .primary, button, .cookie-btn { transition: background 0.18s, color 0.18s, box-shadow 0.21s; }
.section, .cta-section, .thank-you-section { transition: box-shadow 0.18s, background 0.18s; }

/* ========================
   ACCESSIBILITY/CONTRAST
   ======================== */
.testimonial-card, .faq-item, .featured-articles article {
  color: #232426;
  background: #fff;
}

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