/* 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,
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, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}
body {
  line-height: 1.5;
  background: #F1F5FB;
  color: #1a252f;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  min-height: 100vh;
  position: relative;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  background: none;
  border: none;
  color: inherit;
  outline: none;
  box-sizing: border-box;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

/* TYPOGRAPHY */
h1, h2, h3, h4 {
  color: #173962;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}
h4 {
  font-size: 1.04rem;
  margin-bottom: 8px;
}
p, li, blockquote {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #1a252f;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 8px;
}
strong {
  font-weight: 700;
  color: #173962;
}
blockquote {
  font-size: 1.08rem;
  color: #173962;
  font-style: italic;
  border-left: 4px solid #EFA040;
  padding-left: 16px;
  margin-bottom: 12px;
}

/* LAYOUT CLASSES */
.container {
  width: 100%;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 22px;
  padding-right: 22px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 17px;
  box-shadow: 0 8px 32px rgba(23, 57, 98, 0.09), 0 2px 4px rgba(23,57,98,0.02);
  padding: 32px 24px;
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 280px;
  min-width: 240px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 12px 38px rgba(23,57,98,0.15), 0 0px 0px #0000;
  transform: translateY(-4px) scale(1.03);
  z-index: 2;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.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;
  background: #fff;
  box-shadow: 0 3px 25px rgba(23, 57, 98, 0.10);
  border-radius: 17px;
  margin-bottom: 24px;
  min-width: 260px;
  max-width: 460px;
  transition: box-shadow 0.18s, transform 0.16s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 40px rgba(239, 160, 64, 0.17), 0 3px 18px rgba(23,57,98,0.10);
  transform: translateY(-2px) scale(1.01);
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
  align-items: stretch;
  margin-bottom: 22px;
}
.feature-grid > div {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(23,57,98,0.07);
  flex: 1 1 230px;
  min-width: 200px;
  max-width: 320px;
  padding: 28px 18px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  transition: box-shadow 0.21s, transform 0.21s;
}
.feature-grid > div:hover {
  box-shadow: 0 12px 32px rgba(239,160,64,0.13), 0 2px 6px rgba(23,57,98,0.02);
  transform: translateY(-3px) scale(1.018);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.trust-badges,
.customer-satisfaction-stats,
.experience-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin: 16px 0 12px 0;
  font-weight: 600;
  color: #173962;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.06rem;
}
.trust-badges img {
  height: 38px;
  width: auto;
}

/* HERO SECTION */
.hero {
  background: #173962;
  color: #fff;
  padding: 64px 0 54px 0;
  min-height: 340px;
  display: flex;
  align-items: center;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero .content-wrapper > h1,
.hero .content-wrapper > p {
  color: #fff;
}
.hero .cta.primary {
  margin-top: 18px;
}

.contact-cta {
  background: #EFA040;
  color: #173962;
  border-radius: 17px;
  margin-bottom: 60px;
  padding: 40px 20px;
}
.contact-cta h2,
.contact-cta p {
  color: #173962;
}

/* BUTTONS & CTA */
.cta {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  padding: 14px 36px;
  border-radius: 8px;
  cursor: pointer;
  background: #fff;
  color: #173962;
  border: 2px solid #173962;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 10px rgba(23,57,98,0.016);
  transition: background 0.17s, color 0.15s, box-shadow 0.16s, transform 0.13s;
}
.cta.primary {
  background: #173962;
  color: #fff;
  border: 2px solid #173962;
  box-shadow: 0 4px 16px rgba(23,57,98,0.15);
}
.cta.primary:hover, .cta.primary:focus {
  background: #1e2e4f;
  color: #EFA040;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 22px rgba(239,160,64,0.13), 0 2px 4px rgba(23,57,98,0.07);
}
.cta.secondary {
  background: #fff;
  color: #EFA040;
  border-color: #EFA040;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #EFA040;
  color: #173962;
  border-color: #173962;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 18px rgba(239,160,64,0.16), 0 2px 4px rgba(23,57,98,0.07);
}
.cta:active {
  transform: scale(0.97);
}

/* MAIN NAV */
header {
  background: #fff;
  box-shadow: 0 3px 18px rgba(23,57,98,0.07);
  padding: 0;
  position: relative;
  z-index: 30;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  justify-content: flex-start;
  padding: 18px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
}
.main-nav > a {
  padding: 8px 14px;
  border-radius: 6px;
  color: #173962;
  background: none;
  transition: background 0.13s, color 0.13s;
  position: relative;
}
.main-nav > a:not(.cta):hover, .main-nav > a:not(.cta):focus {
  background: #F1F5FB;
  color: #EFA040;
}
.main-nav > a.cta {
  margin-left: auto;
}
.main-nav > a img {
  height: 32px;
  margin-right: 8px;
  vertical-align: middle;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: #fff;
  color: #173962;
  font-size: 2.1rem;
  position: absolute;
  right: 22px;
  top: 16px;
  border: none;
  border-radius: 8px;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  z-index: 111;
  cursor: pointer;
  transition: background 0.14s, color 0.14s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #EFA040;
  color: #fff;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  z-index: 200;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 4px 40px rgba(23,57,98,0.18);
  pointer-events: none;
  opacity: 0;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.9,.1,.18,1), opacity 0.19s;
}
.mobile-menu.active {
  pointer-events: auto;
  opacity: 1;
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  color: #173962;
  background: #F1F5FB;
  border: none;
  border-radius: 8px;
  width: 44px;
  height: 44px;
  position: absolute;
  right: 22px;
  top: 22px;
  z-index: 230;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
  display: flex;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #EFA040;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 90px 32px 32px 32px;
}
.mobile-nav a {
  font-size: 1.12rem;
  color: #173962;
  padding: 16px 0;
  font-weight: 700;
  border-bottom: 1px solid #F1F5FB;
  transition: color 0.14s, background 0.14s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #EFA040;
  background: #F1F5FB;
}

/* FOOTER */
footer {
  background: #173962;
  color: #fff;
  padding-top: 36px;
  padding-bottom: 24px;
  margin-top: 68px;
  font-size: 1rem;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  align-items: center;
  margin-bottom: 14px;
}
.footer-nav a {
  color: #fff;
  padding: 8px 10px;
  border-radius: 6px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.15s, background 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #EFA040;
  color: #173962;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
  font-size: 0.99rem;
}
.footer-contact div {
  display: flex;
  align-items: center;
  gap: 9px;
}
.footer-contact img {
  width: 20px;
  height: 20px;
  margin-right: 6px;
}
.footer-branding {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.96rem;
  text-align: center;
  color: #F1F5FB;
  font-weight: 600;
  margin-top: 10px;
}

/* TESTIMONIALS */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.star-rating {
  color: #EFA040;
  font-size: 1.16rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  margin-bottom: 9px;
}
.testimonial-meta {
  color: #173962;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}

/* BLOG & FORMS */
.categories {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
  margin-bottom: 10px;
}
.categories span {
  background: #173962;
  color: #fff;
  border-radius: 7px;
  padding: 6px 18px;
  font-size: 0.95rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-right: 2px;
}
input[type="text"] {
  width: 98%;
  max-width: 400px;
  border: 2px solid #173962;
  border-radius: 7px;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  padding: 10px 15px;
  margin-bottom: 16px;
  outline: none;
  background: #fff;
  transition: border 0.17s;
}
input[type="text"]:focus {
  border-color: #EFA040;
}

/* LIST STYLES */
ul, ol {
  margin-bottom: 16px;
  margin-left: 22px;
  padding-left: 5px;
}
ul li, ol li {
  margin-bottom: 7px;
  color: #1a252f;
  font-size: 1.01rem;
}
ul li::before {
  content: '\2022';
  color: #EFA040;
  font-weight: 700;
  display: inline-block;
  width: 1.2em;
  margin-left: -1.2em;
}
ol li {
  list-style-type: decimal;
  color: #173962;
  font-weight: bold;
  padding-left: 0.2em;
}

/* SECTION DEFAULT SPACING */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* GEOMETRIC SHAPES - DECORATIVE (Not used absolutely for content) */
.hero::after {
  content: '';
  display: block;
  position: absolute;
  bottom: -20px; right: -36px;
  width: 160px;
  height: 85px;
  background: #EFA040;
  opacity: 0.12;
  border-radius: 44px 130px 56px 70px;
  z-index: 0;
  pointer-events: none;
}
@media (max-width: 900px) {
  .hero::after {
    display: none;
  }
}

/* ANIMATIONS & MICRO-INTERACTIONS */
.cta, .feature-grid > div, .card, .testimonial-card, .mobile-menu, .mobile-nav a, .footer-nav a {
  transition: all 0.17s cubic-bezier(.22,.67,.43,1.31) 0s;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  z-index: 2500;
  background: #173962;
  color: #fff;
  padding: 28px 18px 18px 18px;
  box-shadow: 0 0 30px rgba(23,57,98,0.17);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 19px;
  font-size: 1rem;
  border-radius: 17px 17px 0 0;
  animation: cookie-slide-in 0.5s cubic-bezier(.38,1.6,.43,.99);
}
.cookie-banner.hide {
  display: none;
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 9px;
}
.cookie-banner .cta {
  padding: 12px 25px;
  font-size: 1.01rem;
}
.cookie-banner .cta.primary {
  background: #EFA040;
  color: #173962;
  border: 2px solid #EFA040;
}
.cookie-banner .cta.primary:hover {
  background: #fff;
  color: #EFA040;
  border: 2px solid #EFA040;
}
.cookie-banner .cta {
  border-radius: 7px;
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  top: 0; left:0;
  width: 100vw;
  height: 100vh;
  z-index: 3000;
  background: rgba(23,57,98,0.53);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.24s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-content {
  background: #fff;
  color: #173962;
  border-radius: 18px;
  padding: 36px 30px 30px 30px;
  max-width: 410px;
  width: 92vw;
  box-shadow: 0 10px 38px rgba(23,57,98,0.14);
  display: flex;
  flex-direction: column;
  gap: 15px;
  font-size: 1rem;
}
.cookie-modal-content h3 {
  font-size: 1.24rem;
  margin-bottom: 8px;
  color: #173962;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.cookie-toggle {
  width: 40px;
  height: 22px;
  border-radius: 12px;
  background: #F1F5FB;
  border: 2px solid #EFA040;
  position: relative;
  cursor: pointer;
  transition: background 0.13s, border 0.13s;
  display: flex;
  align-items: center;
  padding: 3px;
}
.cookie-toggle input {
  display: none;
}
.cookie-toggle-slider {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #EFA040;
  position: absolute;
  left: 3px;
  top: 2px;
  transition: left 0.13s;
}
.cookie-toggle input:checked + .cookie-toggle-slider {
  left: 19px;
  background: #173962;
}
.cookie-modal-btns {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 17px;
}
.cookie-modal-btns .cta {
  font-size: 1rem;
  padding: 10px 22px;
}

/* ACCESSIBILITY FOCUS STATES */
a:focus, button:focus, .cta:focus, input:focus {
  outline: 2px solid #EFA040;
  outline-offset: 2px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1100px) {
  .container {
    max-width: 900px;
  }
  .feature-grid > div {
    min-width: 180px;
    max-width: 420px;
  }
  .card, .testimonial-card {
    min-width: 170px;
    max-width: 98vw;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 11px;
    font-size: 0.97rem;
  }
  .feature-grid {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 96%;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.56rem;
  }
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .container {
    padding-left: 9px;
    padding-right: 9px;
  }
  .hero {
    padding: 38px 0 30px 0;
    min-height: 180px;
  }
  section {
    margin-bottom: 34px;
    padding: 18px 6px;
  }
  .contact-cta {
    margin-bottom: 32px;
    padding: 26px 10px;
    border-radius: 11px;
  }
  .content-grid, .feature-grid, .testimonial-slider {
    flex-direction: column !important;
    gap: 18px;
    align-items: stretch;
  }
  .feature-grid > div, .card, .testimonial-card {
    min-width: 95vw;
    max-width: 99vw;
    padding-left: 14px;
    padding-right: 14px;
    margin-left: auto;
    margin-right: auto;
  }
  .footer-contact, .footer-nav {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 17px;
    align-items: flex-start;
  }
}
@media (max-width: 500px) {
  h1 {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 1.18rem;
  }
  .main-nav {
    font-size: 0.96rem;
  }
  .footer-contact {
    font-size: 0.91rem;
  }
  .footer-nav {
    gap: 10px;
    font-size: 0.9rem;
  }
}

/* Print Styles */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  section, .container, .content-wrapper { padding: 0 !important; margin: 0 !important; }
}

/* KEYFRAMES */
@keyframes cookie-slide-in {
  from { transform: translateY(100%); opacity:0; }
  to { transform: translateY(0); opacity:1; }
}
