/* ==== 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 { scroll-behavior: smooth; }
body {
  line-height: 1.6;
  background: linear-gradient(135deg, #E6ECF2 0%, #FFFFFF 100%);
  color: #324B72;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  display: block;
  border: 0;
}
a {
  color: #324B72;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F39237;
}
ul, ol {
  padding-left: 26px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #324B72;
  line-height: 1.2;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.35rem; margin-bottom: 12px; }
h4 { font-size: 1.12rem; margin-bottom: 8px; }

subheadline, .subheadline { font-size: 1.12rem; font-family: 'Roboto', sans-serif; color: #324B72; margin-bottom: 20px; letter-spacing: 0.02em; }

/* Layout Containers */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.section,
.features-section,
.services-section,
.about-section,
.testimonials-section,
.cta-section,
.legal-section,
.contact-section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 4px 32px 0 rgba(50,75,114,0.05);
}

/* Hero Section with Modern Gradient */
.hero-section {
  background: linear-gradient(100deg, #F7F9FB 0%, #E6ECF2 90%);
  min-height: 300px;
  display: flex;
  align-items: center;
  padding: 60px 0 40px 0;
  border-radius: 0 0 36px 36px;
  box-shadow: 0 6px 64px 0 rgba(50, 75, 114, 0.06), 0 1.5px 0 #F39237 inset;
  margin-bottom: 44px;
}
.hero-section .content-wrapper {
  align-items: flex-start;
  gap: 14px;
}
.hero-section h1 {
  font-size: 2.7rem;
  color: #324B72;
  margin-bottom: 6px;
}
.hero-section .subheadline {
  color: #324B72;
  font-size: 1.16rem;
  margin-bottom: 28px;
}

/* Features & Cards Layouts */
.feature-grid, .service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-item,
.service-card {
  background: #F7F9FB;
  border-radius: 16px;
  box-shadow: 0 2px 14px 0 rgba(50,75,114,0.06);
  padding: 28px 22px;
  flex: 1 1 230px;
  min-width: 230px;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.15s, transform 0.16s;
}
.feature-item img {
  width: 48px; height: 48px; margin-bottom: 2px;
}
.feature-item h3,
.service-card h3 {
  margin: 0 0 8px 0;
  color: #324B72;
}
.feature-item:hover, .service-card:hover {
  transform: translateY(-4px) scale(1.012);
  box-shadow: 0 5px 26px rgba(243,146,55,0.13);
}

.service-card {
  min-width: 210px;
  background: #fff;
  border-left: 4px solid #F39237;
  align-items: flex-start;
}

.price-info {
  background: #F39237;
  color: #fff;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 8px;
  margin-top: 10px;
  display: inline-block;
  font-size: 1rem;
  box-shadow: 0 4px 16px 0 rgba(50,75,114,0.07);
}

.callout-custom-set {
  background: linear-gradient(90deg, #fff5ed 0%, #ffe6cd 100%);
  color: #b46b22;
  border-radius: 10px;
  padding: 18px 20px;
  margin-top: 10px;
  font-size: 1.02rem;
}

/* Testimonials */
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #F7F9FB;
  border-radius: 18px;
  padding: 20px 28px;
  color: #26324B;
  box-shadow: 0 2px 18px 0 rgba(50,75,114,0.07);
  min-width: 220px;
  max-width: 350px;
  font-size: 1.01rem;
  font-family: 'Roboto', sans-serif;
  margin-bottom: 20px;
  transition: box-shadow 0.18s;
}
.testimonial-card strong {
  color: #324B72;
  font-size: 0.96rem;
}
.testimonial-card:hover {
  box-shadow: 0 8px 26px 0 rgba(50,75,114,0.13);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(87deg, #F39237 0%, #ffe6cd 100%);
  color: #fff;
  border-radius: 18px;
  margin-bottom: 44px;
  position: relative;
}
.cta-section h2, .cta-section p {
  color: #324B72;
}
.cta-section a.btn-primary {
  background: #324B72;
  color: #fff;
  border: none;
}

/* Text Content Sections */
.text-section, .location-info {
  background: #F7F9FB;
  color: #324B72;
  border-radius: 10px;
  padding: 20px 22px;
  margin-bottom: 18px;
}
.location-info strong {
  color: #F39237;
}

/* Cards & Card Container (generic) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 14px 0 rgba(50,75,114,0.06);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 24px;
}

.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;
}

/**** Header & Nav ****/
header {
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(50,75,114,.04);
  position: sticky;
  top: 0;
  z-index: 20;
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 16px 0;
  max-width: 1200px;
  margin: 0 auto;
}
.logo-link img {
  height: 38px;
}
.main-nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 9px 16px;
  border-radius: 8px;
  color: #324B72;
  font-weight: 600;
  font-size: 1.01rem;
  background: none;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #E6ECF2;
  color: #F39237;
}

/* Primary CTA Button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 11px 26px;
  border-radius: 11px;
  background: linear-gradient(89deg, #F39237 0%, #B46B22 100%);
  color: #fff!important;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  border: 0;
  box-shadow: 0 4px 24px 0 rgba(243,146,55,0.09);
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 0.19s, box-shadow 0.18s, color 0.2s, transform 0.13s;
  margin-left: 10px;
  margin-right: 8px;
  text-decoration: none;
  outline: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(89deg, #324B72 0%, #F39237 100%);
  color: #fff!important;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 24px 0 rgba(50,75,114,0.11);
}


/* ===============
   FOOTER
=================
*/
footer {
  background: #324B72;
  color: #fff;
  padding: 32px 0 16px 0;
  box-shadow: 0 -4px 32px 0 rgba(50,75,114,0.07);
  margin-top: 60px;
}
footer .container {padding-left: 20px;padding-right: 20px;}
footer .content-wrapper {
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 10px;
}
.footer-links a {
  color: #fff;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  opacity: 0.8;
  transition: opacity 0.14s, color 0.14s;
  padding: 7px 10px;
  border-radius: 7px;
}
.footer-links a:hover {opacity: 1; background: #F39237; color: #fff;}
.social-media {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
  margin-bottom: 5px;
}
.social-media img {
  width: 24px; height: 24px; opacity: 0.74;
  transition: opacity 0.2s;
  cursor: pointer;
}
.social-media img:hover { opacity: 1; }
.legal-info {
  font-size: 0.93rem;
  opacity: 0.85;
}

/* ===============
   MOBILE NAVIGATION
==================*/
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #324B72;
  cursor: pointer;
  position: relative;
  z-index: 44;
  margin-left: 12px;
  transition: color 0.17s;
}
.mobile-menu-toggle:focus {color: #F39237; outline: none;}

.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: fixed;
  z-index: 2000;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(0.77,0,0.18,1);
  box-shadow: -8px 0 50px 0 rgba(50,75,114,0.11);
  overflow-y: auto;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.4rem;
  color: #F39237;
  align-self: flex-end;
  margin: 18px 18px 0 0;
  cursor: pointer;
  z-index: 2100;
  transition: color 0.13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus { color: #324B72; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  padding: 0 36px;
  margin-top: 22px;
}
.mobile-nav a {
  color: #324B72;
  font-size: 1.21rem;
  padding: 16px 0;
  width: 100%;
  border-bottom: 1px solid #E6ECF2;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: background 0.13s, color 0.16s;
  border-radius: 6px;
}
.mobile-nav a:last-child {border-bottom: none;}
.mobile-nav a:hover, .mobile-nav a:focus {color: #F39237;background: #E6ECF2;}

body.menu-opened {
  overflow: hidden;
}

/* Responsive Nav */
@media (max-width: 992px) {
  .main-nav { display: none; }
  .btn-primary { margin-left: 0; }
  .mobile-menu-toggle { display: block; }
}
@media (min-width: 993px) {
  .mobile-menu, .mobile-menu.active { display: none!important; }
  .mobile-menu-toggle { display: none!important; }
}

/* ===============
   COOKIE BANNER
==================*/
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3000;
  background: #324B72;
  color: #fff;
  box-shadow: 0 -4px 40px 0 rgba(50,75,114,0.09);
  border-radius: 18px 18px 0 0;
  padding: 24px 16px 18px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 17px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.24s, transform 0.26s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner strong {
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #F39237;
}
.cookie-banner-buttons {
  display: flex;
  gap: 16px;
  margin-top: 4px;
}
.cookie-btn {
  border: none;
  border-radius: 8px;
  padding: 9px 20px;
  font-size: 1rem;
  cursor: pointer;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  transition: background 0.15s, color 0.15s, box-shadow 0.11s;
  letter-spacing: 0.01em;
}
.cookie-accept {
  background: #F39237;
  color: #fff;
  box-shadow: 0 2px 10px 0 rgba(243,146,55,0.13);
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #B46B22;
  outline: none;
}
.cookie-reject {
  background: #fff;
  color: #324B72;
  border: 2px solid #E6ECF2;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #F7F9FB;
  color: #F39237;
}
.cookie-settings {
  background: #E6ECF2;
  color: #324B72;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: #F39237;
  color: #fff;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 0; right: 0;
  top: 0; bottom: 0;
  z-index: 3500;
  background: rgba(50,75,114,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.22s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-content {
  background: #fff;
  color: #324B72;
  border-radius: 16px;
  box-shadow: 0 6px 44px 0 rgba(50,75,114,0.16);
  max-width: 420px;
  width: 94vw;
  padding: 36px 28px 22px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.cookie-modal-close {
  position: absolute;
  top: 10px;
  right: 16px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #F39237;
  cursor: pointer;
  z-index: 20;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
}
.cookie-category input[type="checkbox"] {
  accent-color: #F39237;
  width: 18px; height: 18px;
}
.cookie-category label {
  font-size: 1.04rem;
  color: #324B72;
  cursor: pointer;
}
.cookie-category .essential {
  color: #F39237;
  font-weight: 600;
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 9px;
  align-items: flex-end;
}

/* ==================
   Legal Page Styling
=====================*/
.legal-section h1 {
  color: #324B72;
  font-size: 2.2rem;
}
.legal-section {
  padding: 36px 18px 36px 18px;
  margin-bottom: 60px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 14px 0 rgba(50,75,114,0.04);
}
.legal-section .text-section {
  background: none;
  padding: 0;
  margin-bottom: 0;
}
.legal-section h2 {
  font-size: 1.3rem;
  margin: 24px 0 10px 0;
}
.legal-section ul {
  padding-left: 22px;
  margin-bottom: 18px;
}
.legal-section li {
  margin-bottom: 6px;
  line-height: 1.5;
}

/* ===============
   Help & Contact
==================*/
.contact-section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 4px 32px 0 rgba(50,75,114,0.05);
}
.contact-section .text-section {
  background: #F7F9FB;
  color: #324B72;
  border-radius: 10px;
  padding: 20px 22px;
  margin-bottom: 18px;
}
.contact-section a {
  text-decoration: underline;
}

/* ==================
      RESPONSIVE DESIGN
======================*/
@media (max-width: 1200px) {
  .container { max-width: 980px; }
}
@media (max-width: 992px) {
  .container { max-width: 99vw; }
  .feature-grid, .service-cards, .testimonial-list, .content-grid {
    gap: 18px;
  }
  .feature-item, .service-card, .testimonial-card {
    min-width: 190px;
    max-width: 100vw;
  }
}
@media (max-width: 820px) {
  .main-nav { display: none; }
  .feature-grid, .service-cards, .testimonial-list, .card-container {
    flex-wrap: wrap;
    gap: 14px;
  }
  .feature-item, .service-card, .testimonial-card, .card {
    min-width: 160px;
    max-width: 100vw;
    flex: 1 1 100%;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.36rem; }
  .section, .features-section, .services-section, .about-section, .testimonials-section, .cta-section, .legal-section, .contact-section {
    padding: 25px 7px;
    border-radius: 13px;
  }
  .hero-section, .cta-section {padding: 28px 7px 16px 7px;}
  .content-wrapper {
    gap: 17px;
  }
  .feature-grid, .service-cards, .testimonial-list, .card-container {
    flex-direction: column;
    gap: 14px;
  }
  .feature-item, .service-card, .testimonial-card, .card {
    min-width: 90px;
    max-width: 100vw;
    padding: 18px 10px;
  }
  .location-info, .text-section {
    padding: 14px 10px;
  }
  .footer-links {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 2px;
  }
  .social-media { gap: 11px; }
  .main-nav, .footer-links { flex-direction: column; }
  .text-image-section { flex-direction: column; gap: 14px;}
}
@media (max-width: 480px) {
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.05rem; }
  .btn-primary {font-size: 0.99rem; padding: 10px 12px;}
  .nav-container {gap: 7px; padding: 10px 0;}
  .logo-link img { height: 30px; }
  .footer-links a { font-size: 0.97rem; }
  .cookie-modal-content {padding: 18px 6px 12px 12px;}
}

/* === Microinteractions === */
input, select, textarea, button {
  font-family: inherit;
  font-size: 1rem;
}
input:focus, textarea:focus, select:focus, button:focus {
  outline: 2px solid #F39237;
  outline-offset: 2px;
}

/**** Utilities ****/
.hide { display: none!important; }
.show { display: block!important; }

/* For cards and sections spacing */
.card, .feature-item, .service-card, .testimonial-card {
  margin-bottom: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.content-grid, .card-container, .feature-grid {
  gap: 20px;
}

/* Ensuring no accidental overlaps and consistent z-index layering for overlays */
[role="dialog"], .cookie-modal, .mobile-menu { z-index: 2000!important; }

/* End of CSS */
