/* --- 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,
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;
}
html {
  box-sizing: border-box;
}
*, *::before, *::after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  background: #ECEBE8;
  color: #1D2340;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #224177;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #B57019;
  outline: none;
}
ul li {
  margin-bottom: 8px;
}
ul {
  list-style: disc inside;
  padding-left: 0;
}
ol {
  list-style: decimal inside;
  padding-left: 0;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Helvetica, Arial, sans-serif;
  font-weight: 800;
  color: #224177;
  letter-spacing: 0.5px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  line-height: 1.2;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 14px;
  color: #B57019;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}
p {
  margin-bottom: 14px;
  color: #222;
  font-size: 16px;
}
strong, b {
  font-weight: 700;
  color: #224177;
}

/* --- LAYOUT+CONTAINERS --- */
.container {
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 4px 32px 0 rgba(34,65,119,0.07);
}
.text-section {
  margin-bottom: 20px;
  padding: 8px 0;
}

/* --- NAVIGATION --- */
header {
  background: #224177;
  box-shadow: 0 3px 12px 0 rgba(34,65,119,0.13);
  position: sticky;
  top: 0;
  z-index: 1001;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding: 12px 0;
  justify-content: flex-start;
  max-width: 1060px;
  margin: 0 auto;
  padding-left: 16px;
}
header nav img {
  height: 40px;
  width: auto;
  margin-right: 18px;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  padding: 8px 10px;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
  line-height: 1;
}
header nav a.cta-btn {
  background: #B57019;
  color: #fff;
  font-weight: 900;
  padding: 9px 18px;
  border-radius: 18px;
  box-shadow: 0 6px 20px 0 rgba(181,112,25,0.15);
  transition: background .18s, box-shadow .2s;
  margin-left: auto;
}
header nav a.cta-btn:hover, header nav a.cta-btn:focus {
  background: #D99A40;
  box-shadow: 0 4px 16px 0 rgba(34,65,119,0.17);
}
header nav a:hover, header nav a:focus {
  background: #ECEBE8;
  color: #224177;
}

/* Burger Button */
.mobile-menu-toggle {
  display: none;
  background: #B57019;
  color: #fff;
  font-size: 2rem;
  padding: 5px 18px 6px 18px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  margin-left: auto;
  margin-right: 20px;
  transition: background .16s;
  box-shadow: 0 6px 16px 0 rgba(181,112,25,0.15);
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #224177;
  color: #FFD100;
}

/* Mobile Menu Styles */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 90vw;
  max-width: 350px;
  background: #fff;
  box-shadow: -6px 0 28px rgba(34,65,119,.15);
  transform: translateX(100%);
  transition: transform .36s cubic-bezier(0.87, 0, 0.13, 1);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0 40px 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: #B57019;
  color: #fff;
  font-size: 2rem;
  border: none;
  margin: 14px 14px 0 0;
  padding: 7px 15px 8px 15px;
  border-radius: 20px;
  cursor: pointer;
  transition: background .16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #224177;
  color: #FFD100;
}
.mobile-nav {
  margin-top: 16px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  padding-left: 24px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  color: #224177;
  font-size: 1.2rem;
  padding: 9px 0 9px 2px;
  width: 100%;
  border-radius: 8px;
  transition: background .19s, color .19s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #ECEBE8;
  color: #B57019;
}

@media (max-width: 1024px) {
  header nav {
    gap: 12px;
    padding-left: 8px;
    font-size: 15px;
    flex-wrap: wrap;
  }
  header nav img {
    height: 34px;
    margin-right: 8px;
  }
  header nav a.cta-btn {
    padding: 8px 14px;
    font-size: 15px;
  }
}
@media (max-width: 900px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* --- MAIN LAYOUT SPACING AND FLEX --- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2.5px 20px rgba(34,65,119,0.10);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(181,112,25,0.07);
  padding: 26px 18px 20px 18px;
  transition: box-shadow .18s, transform .14s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(34,65,119,.21);
  transform: translateY(-4px) scale(1.04);
  z-index: 1;
}
.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;
  align-items: center;
  gap: 20px;
  background: #ECEBE8;
  color: #1D2340;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(181,112,25,0.08);
  padding: 20px;
  margin-bottom: 20px;
  font-size: 1.1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  position: relative;
  min-width: 0;
}
.testimonial-card p {
  margin-bottom: 0;
  font-size: 1.15rem;
  color: #224177;
  font-weight: 600;
}
.testimonial-card span {
  color: #B57019;
  font-size: 0.98em;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 400;
}
.rating-summary {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  color: #224177;
  font-weight: 700;
  font-size: 1.1rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 14px 0;
}
.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.service-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 14px rgba(34,65,119,0.09);
  padding: 26px 18px 20px 18px;
  flex-basis: calc(50% - 24px);
  min-width: 250px;
  max-width: 350px;
  margin-bottom: 20px;
  transition: box-shadow .17s, transform .12s;
}
.service-card:hover {
  box-shadow: 0 8px 30px rgba(181,112,25,0.16);
  transform: translateY(-3px) scale(1.04);
}

/* --- BUTTONS & INTERACTIVE ELEMENTS --- */
.cta-btn,
.button,
button,
input[type="submit"] {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  background: #B57019;
  color: #fff;
  font-size: 1.1rem;
  padding: 12px 26px;
  border: none;
  border-radius: 24px;
  cursor: pointer;
  transition: background .19s, box-shadow .19s, transform .12s;
  box-shadow: 0 4px 17px 0 rgba(181,112,25,.13);
  margin-top: 10px;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus, .button:hover, .button:focus, button:hover, button:focus, input[type="submit"]:hover, input[type="submit"]:focus {
  background: #224177;
  color: #FFD100;
  box-shadow: 0 7px 22px 0 rgba(34,65,119,0.15);
  outline: none;
  transform: translateY(-2px) scale(1.03);
}

/* --- FORMS --- */
input, textarea, select {
  border-radius: 10px;
  border: 1.5px solid #ECEBE8;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  padding: 12px 13px;
  margin-bottom: 10px;
  width: 100%;
  box-sizing: border-box;
  background: #fff;
  transition: border-color .18s;
}
input:focus, textarea:focus, select:focus {
  border-color: #224177;
  outline: none;
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  color: #224177;
  margin-bottom: 4px;
  display: block;
  font-weight: 800;
}

/* --- FOOTER --- */
footer {
  background: #224177;
  color: #fff;
  padding: 28px 0 10px 0;
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin-bottom: 14px;
}
footer nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 5px 12px;
  border-radius: 6px;
  transition: background .13s, color .13s;
}
footer nav a:focus, footer nav a:hover {
  background: #B57019;
  color: #fff;
}
footer .text-section {
  color: #fff;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 400;
  margin-top: 6px;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  border-top: 3px solid #B57019;
  box-shadow: 0 -4px 24px rgba(34,65,119,0.13);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 24px 16px 24px 16px;
  gap: 18px;
  font-size: 1rem;
  transition: transform .36s, opacity .19s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(110%);
  pointer-events: none;
}
.cookie-banner p {
  max-width: 440px;
  margin-bottom: 0;
  color: #224177;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
}
.cookie-banner .cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 11px 20px;
  margin-left: 7px;
  border-radius: 16px;
  font-size: 1rem;
  min-width: 115px;
  background: #B57019;
  color: #fff;
  border: none;
  box-shadow: 0 2px 8px rgba(181,112,25,.09);
  cursor: pointer;
  transition: background .17s, color .14s;
}
.cookie-banner .cookie-btn.settings {
  background: #224177;
  color: #fff;
}
.cookie-banner .cookie-btn:focus,
.cookie-banner .cookie-btn:hover {
  background: #224177;
  color: #FFD100;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(34,65,119,0.25);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2100;
  opacity: 1;
  transition: opacity .27s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(34,65,119,0.22);
  padding: 34px 28px 24px 28px;
  max-width: 430px;
  width: 90vw;
  display: flex;
  flex-direction: column;
  gap: 22px;
  color: #224177;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal-content h2 {
  font-size: 1.3rem;
  margin-bottom: 0;
}
.cookie-modal-content label {
  font-size: 1.1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #224177;
  margin-bottom: 0;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-modal-content .toggle {
  appearance: none;
  width: 32px;
  height: 18px;
  background: #ECEBE8;
  border-radius: 9px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background .18s;
  margin: 0 0 0 8px;
}
.cookie-modal-content .toggle:checked {
  background: #B57019;
}
.cookie-modal-content .toggle:before {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 12px;
  height: 12px;
  background: #fff;
  border-radius: 50%;
  transition: left .16s;
}
.cookie-modal-content .toggle:checked:before {
  left: 17px;
}
.cookie-modal-content .btn-row {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal-content .cookie-btn {
  margin-left: 0;
}

/* Hide modal by default */
.cookie-modal {
  display: none;
}
.cookie-modal.open {
  display: flex;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    font-size: .98rem;
    padding: 18px 8px 18px 8px;
    align-items: flex-start;
  }
}

/* --- VIBRANT/ENERGETIC MICRO-EFFECTS & ANIMATION --- */
.cta-btn, .button, button, input[type="submit"], .mobile-menu-toggle, .mobile-menu-close {
  transition: background .17s, box-shadow .19s, transform .12s, color .12s;
}
.card, .service-card {
  transition: box-shadow .19s, transform .13s;
}
.card:hover, .service-card:hover {
  box-shadow: 0 12px 36px rgba(181,112,25,0.19);
  transform: translateY(-4px) scale(1.04);
}
.testimonial-card {
  transition: box-shadow 0.13s, transform .13s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 22px rgba(34,65,119,0.13);
  transform: scale(1.013);
}

/* --- SPACING & FLEX RESPONSIVENESS --- */
@media (max-width: 960px) {
  .section {
    padding: 25px 8px;
    margin-bottom: 32px;
  }
  .service-grid {
    gap: 14px;
  }
  .card-container {
    gap: 12px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 6px;
  }
  .content-wrapper {
    gap: 13px;
  }
  .section {
    padding: 20px 2.5vw;
    margin-bottom: 24px;
    border-radius: 10px;
  }
  .testimonial-card, .card, .service-card {
    padding: 14px 8px;
    border-radius: 8px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .service-grid {
    flex-direction: column;
    gap: 14px;
  }
  .service-card {
    min-width: 0;
    max-width: 100%;
    flex-basis: 100%;
    margin-bottom: 12px;
  }
  .card-container, .content-grid {
    gap: 13px;
    flex-direction: column;
  }
  header nav img {
    height: 28px;
  }
}
@media (max-width: 480px) {
  h1 {
    font-size: 1.45rem;
  }
  h2 {
    font-size: 1.1rem;
  }
  .section {
    padding: 14px 0;
    margin-bottom: 17px;
  }
  .testimonial-card {
    font-size: 0.98rem;
    gap: 10px;
  }
}

/* --- MISC --- */
::-webkit-input-placeholder {
  color: #224177B3;
}
::-moz-placeholder {
  color: #224177B3;
}
:-ms-input-placeholder {
  color: #224177B3;
}
::placeholder {
  color: #224177B3;
}

@media (max-width: 550px) {
  footer nav {
    gap: 9px;
    font-size: 14px;
  }
  .footer .text-section {
    font-size: .99rem;
  }
}

/* --- ICON STYLING IN LISTS --- */
ul li img {
  height: 23px;
  width: 23px;
  vertical-align: middle;
  margin-right: 8px;
  margin-top: -2px;
}

/* --- DYNAMIC SECTION ALTS --- */
section:nth-child(odd) {
  background: #fff;
}
section:nth-child(even) {
  background: #ECEBE8;
}

/* --- EXTRAS: SCROLLBAR, SELECTION --- */
::-webkit-scrollbar {
  width: 11px;
  background: #ECEBE8;
}
::-webkit-scrollbar-thumb {
  background: #B57019;
  border-radius: 7px;
}
::selection {
  background: #B57019;
  color: #fff;
}

/* --- BRIGHT FOCUS OUTLINES FOR ACCESSIBILITY --- */
a:focus, button:focus, .cta-btn:focus {
  outline: 3px dashed #D99A40;
  outline-offset: 2px;
}

/* --- PRINT FRIENDLY --- */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
  body { background: #fff; color: #000; }
  section { box-shadow: none; background: #fff; margin: 0 0 16px 0; }
}
