/* RESET & BASE STYLES */
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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  background: #f5f7fa;
  color: #263D6A;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }

img {
  max-width: 100%; display: block;
}
ul, ol {
  padding-left: 30px; margin-bottom: 16px;
}
a {
  color: #263D6A; text-decoration: none; font-weight: 600;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F2B134;
  outline: none;
}
strong { font-weight: 700; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: #263D6A;
}
h1 { font-size: 2.7rem; line-height: 1.15; margin-bottom: 20px; }
h2 { font-size: 2rem; line-height: 1.22; margin-bottom: 18px; }
h3 { font-size: 1.25rem; line-height: 1.3; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1.125rem; line-height: 1.3; margin-bottom: 10px; }
p {
  margin-bottom: 16px;
  font-size: 1.08rem;
  color: #263D6A;
}
.text-section ul, .text-section ol {
  margin-top: 6px;
}
.text-section li { margin-bottom: 7px; }

/* BUTTONS & CTAs */
.cta-btn, .cookie-banner button, .cookie-modal button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #263D6A;
  background: #F2B134;
  border: none;
  border-radius: 6px;
  padding: 12px 32px;
  margin-top: 10px;
  cursor: pointer;
  box-shadow: 0 2px 11px 0 rgba(38,61,106,0.1);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
  outline: none;
  display: inline-block;
}
.cta-btn:hover, .cookie-banner button:hover, .cookie-modal button:hover,
.cta-btn:focus, .cookie-banner button:focus, .cookie-modal button:focus {
  background: #263D6A;
  color: #fff;
  box-shadow: 0 6px 20px 0 rgba(38,61,106,0.16);
  transform: translateY(-2px) scale(1.045);
}

/* LAYOUT PATTERNS */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 12px 0 rgba(38,61,106,0.05);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1.5px 12px 0 rgba(38,61,106,0.09);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 24px 20px;
  flex: 1 0 260px;
  min-width: 240px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transition: box-shadow 0.2s, transform 0.18s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 5px 22px 2px rgba(38,61,106,0.13);
  transform: translateY(-5px) scale(1.02);
}
.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 {
  background: #fff;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 24px;
  box-shadow: 0 2px 18px 0 rgba(38,61,106,0.09);
  position: relative;
  min-width: 278px;
  max-width: 600px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* FLEXBOX UTILITY */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid > div {
  background: #F9FBFF;
  border-radius: 15px;
  box-shadow: 0 2px 10px 0 rgba(38,61,106,0.07);
  padding: 28px 22px;
  min-width: 228px;
  flex: 1 1 265px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.2s, transform 0.18s;
}
.feature-grid > div img {
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
}
.feature-grid > div:hover, .feature-grid > div:focus-within {
  box-shadow: 0 5px 24px 6px rgba(38,61,106,0.12);
  transform: translateY(-4px) scale(1.03);
  background: #fffbe7;
}

/* HERO SECTIONS */
.hero {
  padding: 72px 0 46px 0;
  background: #263D6A;
  color: #fff;
  border-radius: 0 0 36px 36px;
  margin-bottom: 48px;
}
.hero .container {
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.hero h1, .hero h2, .hero p {
  color: #fff;
}
.hero h1 { font-size: 2.3rem; }
.hero p { font-size: 1.13rem; }

/* FINAL CTA */
.final-cta {
  margin-top: 60px;
  margin-bottom: 40px;
  padding: 56px 0 44px 0;
  background: #fffbe7;
  border-radius: 32px;
}
.final-cta h2 {
  color: #263D6A;
  font-size: 2rem;
}
.final-cta .cta-btn {
  margin-top: 22px;
  font-size: 1.15rem;
}

/* ABOUT/GENERIC SECTIONS */
.about, .services, .contact-info {
  margin-bottom: 48px;
  padding: 32px 0;
}
.text-section {
  padding: 0 4px 0 0;
  max-width: 670px;
}
.text-section h3 { margin-top: 24px; margin-bottom: 8px; }
.text-section ul, .text-section ol { margin-bottom: 16px; }
.text-section li { color: #404F6B; font-weight: 500; }

/* TESTIMONIALS */
.testimonials {
  margin-bottom: 54px;
  padding: 34px 0;
  background: #F9FBFF;
  border-radius: 28px;
}
.testimonials .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}
.testimonial-card h3 {
  color: #263D6A; font-size: 1.1rem; margin-bottom: 6px;
  font-style: italic;
}
.testimonial-card p {
  font-size: 1rem;
  color: #1d1e2f;
  text-align: left;
  line-height: 1.6;
}
.star-ratings {
  display: flex; align-items: center; gap: 6px;
  margin-top: 8px;
  min-height: 26px;
}
.star-ratings img { width: 22px; height: 22px; }

/* HEADER & NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 2px 10px 0 rgba(38,61,106,0.07);
  padding: 0;
  position: sticky; top: 0; z-index: 50;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.logo img { height: 40px; width: auto; }
.main-nav {
  display: flex; flex-direction: row; gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #263D6A;
  font-weight: 600;
  font-size: 1rem;
  position: relative;
  padding: 6px 2px;
  border-radius: 3px;
  transition: color 0.18s, background 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #F2B134;
  background: #f9fbff;
}
.cta-btn { margin-left: 22px; }
.mobile-menu-toggle {
  display: none;
  position: relative;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #263D6A;
  cursor: pointer;
  margin-left: 18px;
  z-index: 52;
  line-height: 1;
  padding: 7px 14px 8px 14px;
  border-radius: 8px;
  transition: background 0.18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #f6faff;
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; height: 100vh; width: 100vw;
  background: #263D6A;
  color: #fff;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(0.8,0.27,0.2,0.81);
  z-index: 1500;
  display: flex; flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 20px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  margin-left: 18px;
  background: none;
  border: none;
  font-size: 2.3rem;
  color: #fff;
  cursor: pointer;
  padding: 10px 20px 10px 0;
  border-radius: 8px;
  transition: background 0.18s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #314674;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px; margin-top: 36px;
  width: 100vw;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.19rem;
  font-weight: 700;
  color: #fff;
  padding: 18px 32px;
  border-radius: 0 25px 25px 0;
  transition: background 0.19s, color 0.2s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #F2B134;
  color: #263D6A;
}

/* FOOTER */
footer {
  background: #263D6A;
  color: #fff;
  margin-top: 50px;
  border-radius: 34px 34px 0 0;
  padding-top: 24px; padding-bottom: 28px;
}
footer .container {
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.logo-footer img {
  height: 38px;
}
.footer-nav {
  display: flex;
  gap: 20px; margin: 11px 0 13px 0;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  opacity: 0.82;
  transition: color 0.18s, opacity 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #F2B134; opacity: 1;
}
.footer-contact, .footer-hours {
  color: #fff;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1rem;
  margin: 5px 0 4px 0;
  flex-wrap: wrap;
}
.footer-contact img, .footer-hours img { width: 22px; height: 22px; }
.copyright {
  color: #fcf3d2;
  margin-top: 16px;
  font-size: 0.96rem;
  opacity: 0.85;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 900px) {
  .feature-grid > div {
    min-width: 170px;
    flex: 1 1 150px;
  }
  .card-container {
    gap: 18px;
  }
}
@media (max-width: 768px) {
  header .container {flex-direction: row;}
  .main-nav {
    display: none;
  }
  .cta-btn { display: none; }
  .mobile-menu-toggle {
    display: block;
  }
  .section, .about, .services, .contact-info, .features, .testimonials, .final-cta {
    padding: 24px 6px;
    border-radius: 16px;
  }
  .hero {
    padding: 48px 0;
    border-radius: 0 0 24px 24px;
    min-height: 0;
  }
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    min-width: 0;
    width: 100%;
    padding: 16px;
  }
  .about, .services, .contact-info {
    margin-bottom: 34px;
  }
  .hero h1 {
    font-size: 1.47rem;
  }
  .hero .content-wrapper { padding: 0 6px; }
  .mobile-nav a {
    font-size: 1rem; padding: 13px 20px;
  }
}

@media (max-width: 500px) {
  .container {
    padding: 0 8px;
  }
  .hero, .final-cta {
    border-radius: 0;
  }
  .footer-contact, .footer-hours {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .footer-nav { gap: 10px; }
}
@media (max-width: 600px) {
  .text-image-section { flex-direction: column; gap: 18px; }
}

/* GEOMETRIC/STRUCTURED ELEMENTS */
.section, .about, .features, .testimonials, .final-cta, .card,
.feature-grid > div, .testimonial-card {
  border-radius: 16px;
  box-shadow: 0 1.5px 12px 0 rgba(38,61,106,0.045);
}
.card:before, .testimonial-card:before {
  content: "";
  display: block;
  position: absolute;
  top: -20px; left: 40px;
  width: 48px; height: 6px;
  background: #F2B134;
  border-radius: 7px 7px 20px 20px;
  z-index: 1;
  opacity: 0.21;
  pointer-events: none;
}
.testimonial-card:before {
  left: 26px;
  width: 32px;
  background: #F2B134;
  opacity: 0.28;
}

/* MICROINTERACTIONS */
.feature-grid > div, .card, .testimonial-card {
  transition: box-shadow 0.18s, transform 0.17s;
}
.feature-grid > div:active, .card:active, .testimonial-card:active {
  transform: scale(0.98);
  box-shadow: 0 0.5px 6px 0 rgba(38,61,106,0.06);
}

/* COOKIE CONSENT & MODAL */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #263D6A;
  color: #fff;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 28px;
  padding: 18px 16px 17px 16px;
  z-index: 2200;
  box-shadow: 0 -2px 18px 0 rgba(38,61,106,0.19);
  font-size: 1.01rem;
  border-radius: 12px 12px 0 0;
  animation: bannerfade 0.55s ease;
}
@keyframes bannerfade {
  from { opacity: 0; transform: translateY(42px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner p {
  flex: 1 1 auto;
  margin-bottom: 0;
}
.cookie-banner button {
  margin: 0 7px;
  padding: 7px 22px;
  border-radius: 6px;
  border: none;
  background: #F2B134;
  color: #263D6A;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.17s, color 0.16s;
}
.cookie-banner button.settings {
  background: #fff;
  color: #263D6A;
  border: 1px solid #ebebeb;
  margin-left: 7px;
}
.cookie-banner button:focus, .cookie-banner button:hover { background: #ffffff; color: #263D6A; }

.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(38,61,106,0.45);
  z-index: 5500;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: modalfadein 0.4s ease;
}
@keyframes modalfadein {
  from {opacity: 0;} to {opacity: 1;}
}
.cookie-modal {
  background: #fff;
  border-radius: 16px;
  padding: 39px 34px 32px 34px;
  min-width: 310px;
  max-width: 94vw;
  min-height: 200px;
  color: #263D6A;
  box-shadow: 0 4px 32px 0 rgba(38,61,106,0.15);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}
.cookie-modal h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem; margin-bottom: 8px;
}
.cookie-modal ul {
  margin-bottom: 18px;
  margin-top: 4px;
}
.cookie-modal-close {
  position: absolute; top: 14px; right: 17px;
  background: none; border: none;
  font-size: 1.6rem; color: #263D6A;
  cursor: pointer;
  padding: 4px;
  border-radius: 5px;
  transition: background 0.15s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #F2B134;
  color: #fff;
}
.cookie-modal input[type="checkbox"] {
  transform: scale(1.22);
  margin-right: 6px;
}
.cookie-modal button {
  margin-top: 18px;
}
.cookie-modal .cookie-category {
  margin-bottom: 11px;
  font-weight: 600;
}
/* Mobile Responsiveness for Cookie Banner/Modal */
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    padding: 17px 6px 13px 6px;
    font-size: 0.99rem;
    left: 3px; right: 3px;
    border-radius: 8px 8px 0 0;
  }
  .cookie-modal {
    padding: 18px 7px 13px 12px;
    min-width: 0;
  }
}

/* UTILITY CLASSES & OVERRIDES */
.hide { display: none !important; }
.flex { display: flex; }
.center { justify-content: center; align-items: center; }

/* ACCESSIBILITY */
:focus-visible {
  outline: 2px solid #F2B134;
  outline-offset: 2px;
  border-radius: 5px;
}

/* CUSTOM SCROLLBAR (Webkit-Browsers) */
::-webkit-scrollbar { width: 10px; background: #f1f3f9; }
::-webkit-scrollbar-thumb { background: #e5e6eb; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: #F2B134; }

/* GEOMETRIC SHAPES FOR STYLE */
.section:after, .features .container:after, .final-cta:after {
  content: "";
  display: block;
  position: absolute;
  right: -30px; top: 35px;
  width: 86px; height: 24px;
  background: #F2B134;
  opacity: 0.17;
  border-radius: 30px 5px 18px 5px/12px 22px 6px 22px;
  z-index: 0;
  pointer-events: none;
}
.section, .about, .features, .testimonials, .final-cta {
  position: relative;
  z-index: 1;
}

/* CUSTOM FONT IMPORT */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&family=Roboto:wght@400;500;700&display=swap');
