/* === 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,filedset,
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.6;
  font-family: 'Roboto', Arial, sans-serif;
  background-color: #FFF9F5;
  color: #2C3042;
  min-height: 100vh;
  font-size: 16px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 16px;
}
h1, h2, h3, h4 {
  color: #184582;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  line-height: 1.2;
}
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.12rem;
  margin-bottom: 8px;
}
a {
  color: #184582;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus-visible {
  outline: 2px solid #F2B705;
  outline-offset: 2px;
}
a:hover {
  color: #F2B705;
}
strong {
  font-weight: 600;
  color: #184582;
}
p {
  margin-bottom: 18px;
  font-size: 1rem;
  color: #373737;
}

abbr, acronym {
  border-bottom: 1px dotted #aaa;
  cursor: help;
}

blockquote {
  color: #184582;
  background: #FFF3CF;
  border-left: 4px solid #F2B705;
  padding: 18px 22px;
  margin: 0 0 16px 0;
  border-radius: 18px 3px 18px 3px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.13rem;
  box-shadow: 0 1px 4px rgba(245,185,40,0.07);
}

/* === FONT IMPORTS (for browser fallback as they may be loaded elsewhere) === */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;600;500&family=Roboto:wght@400;500&display=swap');

/* === LAYOUT CONTAINERS === */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px;
  width: 100%;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 12px rgba(245,185,40,0.06);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px rgba(90, 62, 7, 0.08);
  padding: 26px 22px 22px 22px;
  flex: 1 1 260px;
  min-width: 220px;
  max-width: 350px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 6px 24px rgba(245,185,40,0.18);
  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 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 24px;
  background: #fffefa;
  border-radius: 22px;
  margin-bottom: 20px;
  box-shadow: 0 4px 20px rgba(34, 52, 89, 0.06), 0 0.5px 2px rgba(242,183,5,0.06);
  border: 1.5px solid #F2B705;
  color: #184582;
}
.testimonial-card blockquote {
  margin-bottom: 0;
  background: none;
  border: none;
  font-size: 1.08rem;
  color: #184582;
  padding: 0;
  font-family: 'Montserrat', Arial, sans-serif;
}
.testimonial-card p {
  color: #552800;
  margin-bottom: 0;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.text-section {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* === BUTTONS === */
.cta-primary {
  display: inline-block;
  background: #F2B705;
  color: #184582;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  padding: 13px 36px;
  border-radius: 32px;
  border: none;
  box-shadow: 0 2px 9px rgba(242,183,5,0.12);
  outline: none;
  cursor: pointer;
  text-align: center;
  margin-top: 10px;
  transition: background 0.18s, color 0.18s, box-shadow 0.2s;
}
.cta-primary:hover, .cta-primary:active {
  background: #184582;
  color: #fff;
  box-shadow: 0 4px 16px rgba(24, 69, 130, 0.18);
}
.cta-primary:focus-visible {
  outline: 2px solid #184582;
}
.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.button-secondary {
  background: #fff;
  color: #184582;
  border: 2px solid #F2B705;
  border-radius: 32px;
  padding: 13px 32px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  transition: background 0.19s, color 0.19s, border-color 0.17s;
  cursor: pointer;
}
.button-secondary:hover,
.button-secondary:focus {
  background: #F2B705;
  color: #184582;
  border-color: #184582;
}

/* === NAVIGATION (DESKTOP & MOBILE) === */
header {
  background: #fff;
  box-shadow: 0 3px 16px rgba(24, 69, 130, 0.11);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
}
.main-navigation {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  justify-content: flex-start;
  padding: 16px 22px;
  background: none;
}

.main-navigation > a {
  padding: 8px 18px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #184582;
  border-radius: 18px;
  font-weight: 500;
  transition: background 0.18s, color 0.2s;
}
.main-navigation > a:hover {
  background: #F2B705;
  color: #184582;
}
.main-navigation > a.cta-primary {
  margin-left: auto;
  margin-right: 0;
}
.main-navigation img {
  height: 38px;
  margin-right: 18px;
}

/* Hide mobile menu by default on desktop */
.mobile-menu-toggle {
  display: none;
}
.mobile-menu {
  display: none;
}

/* === HERO SECTION === */
.hero {
  background:
    linear-gradient(rgba(255,243,207, 0.8), rgba(255, 249, 245, 0.98)),
    url('../assets/hero-bg.jpg') center/cover;
  padding: 52px 0 54px;
  border-radius: 0 0 44px 44px;
  box-shadow: 0 6px 30px rgba(24, 69, 130, 0.08);
  margin-bottom: 60px;
}
.hero .container{
  display: flex;
  flex-direction: column;
}
.hero .content-wrapper{
  text-align: left;
  max-width: 700px;
  gap: 24px;
}
.hero h1 {
  color: #184582;
  text-shadow: 0 2px 6px #fff5db;
}
.hero p {
  font-size: 1.13rem;
  color: #373737;
}

/* === FEATURES GRID === */
.feature-grid, .usp-list, .benefit-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid > div, .usp-list > div, .benefit-grid > div {
  background: #fffefa;
  border-radius: 18px;
  box-shadow: 0 3px 14px rgba(242,183,5,0.07);
  padding: 22px 18px;
  flex: 1 1 220px;
  min-width: 180px;
  max-width: 320px;
  margin-bottom: 20px;
  align-items: center;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.15s, transform 0.15s;
}
.feature-grid > div:hover, .usp-list > div:hover, .benefit-grid > div:hover {
  box-shadow: 0 8px 28px rgba(242,183,5,0.16);
  transform: translateY(-3px) scale(1.03);
}
.feature-grid img, .usp-list img, .benefit-grid img {
  height: 44px;
  width: 44px;
  margin-bottom: 16px;
  border-radius: 11px;
  background: #FFF6D3;
  padding: 8px;
}
.feature-grid h3, .usp-list h3 {
  color: #184582;
  margin-bottom: 8px;
}

/* === TABLES === */
table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  margin-bottom: 32px;
  box-shadow: 0 1px 12px rgba(245,187,40,0.09);
}
thead th {
  background: #F2B705;
  color: #184582;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 12px 8px;
}
tbody td {
  font-size: 1rem;
  color: #373737;
  padding: 12px 8px;
  background: #fffefa;
  border-bottom: 1.5px solid #F9E69A;
}
tbody tr:last-child td {
  border-bottom: none;
}

/* === SECTIONS === */
.about-brief, .brand-promise, .services-overview, .process, .faq, .usp, .awards-certifications, .thank-you, .contact, .map, .calculator, .benefits {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 12px rgba(245,185,40,0.05);
}

.cta {
  background: #FFF3CF;
  border-radius: 30px;
  box-shadow: 0 8px 28px rgba(242,183,5,0.13);
  margin-bottom: 60px;
  padding: 46px 24px;
  text-align: center;
}
.cta h2 {
  font-size: 2.1rem;
  color: #184582;
}

/* === TRUST LOGOS === */
.trust-logos {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 10px;
}
.trust-logos img {
  height: 50px;
  width: auto;
  border-radius: 8px;
  background: #FFFBF2;
}

/* === FOOTER === */
footer {
  background: #184582;
  color: #fff;
  padding: 48px 0 28px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.footer-nav, .contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  margin-bottom: 12px;
}
.footer-nav a {
  color: #F2B705;
  font-weight: 500;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: color 0.17s;
}
.footer-nav a:hover {
  color: #fff;
  text-decoration: underline;
}
.contact-info img {
  height: 21px;
  width: 21px;
  margin-right: 7px;
  vertical-align: middle;
}
.brand {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.brand img {
  height: 48px;
  width: auto;
  margin-bottom: 2px;
}
.brand p {
  font-size: 0.96rem;
  color: #F2B705;
}

/* === MOBILE NAVIGATION === */
.mobile-menu-toggle {
  display: none;
  background: #F2B705;
  color: #184582;
  border: none;
  font-size: 2.1rem;
  padding: 7px 14px;
  border-radius: 15px;
  cursor: pointer;
  position: absolute;
  top: 14px;
  right: 20px;
  z-index: 201;
  box-shadow: 0 1.5px 9px rgba(245,185,5,0.12);
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-toggle:focus-visible {
  outline: 2px solid #184582;
}
.mobile-menu {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(248, 242, 219, 0.96);
  z-index: 400;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-110vw);
  transition: transform 0.38s cubic-bezier(0.47,0,0.74,0.71);
  box-shadow: 0 0 32px 6px rgba(242,183,5,0.06);
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  margin-top: 14px;
  margin-left: 20px;
  background: none;
  border: none;
  color: #184582;
  font-size: 2.2rem;
  font-weight: bold;
  cursor: pointer;
  border-radius: 10px;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-close:focus-visible {
  outline: 2px solid #F2B705;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  margin-top: 36px;
  align-items: flex-start;
  padding-left: 38px;
}
.mobile-nav a {
  font-size: 1.19rem;
  padding: 10px 0;
  color: #184582;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-radius: 10px;
  line-height: 1.5;
  transition: background 0.18s, color 0.17s, box-shadow 0.15s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #F2B705;
  color: #184582;
  padding-left: 8px;
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fffbea;
  box-shadow: 0 -7px 28px rgba(34,52,89,0.09);
  border-top: 2px solid #F2B705;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  padding: 18px 30px 18px 20px;
  gap: 18px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  animation: cookiebanner-in 0.52s cubic-bezier(0.32,0.0,0.67,0.0);
}
@keyframes cookiebanner-in {
  from {transform: translateY(90px);opacity:0;}
  to {transform: translateY(0);opacity:1;}
}
.cookie-banner__text {
  max-width: 650px;
  color: #184582;
}
.cookie-banner .button-group {
  margin-left: auto;
  gap: 12px;
}
.cookie-banner .cta-primary,
.cookie-banner .button-secondary {
  font-size: 1rem;
  padding: 8px 22px;
  border-radius: 20px;
}

/* Cookie Preferences Modal */
.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(24, 69, 130, 0.35);
  z-index: 1060;
  opacity: 1;
  animation: cookiebackdrop-in 0.16s;
}
@keyframes cookiebackdrop-in {
  from {opacity:0;} to {opacity:1;}
}
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(1);
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 8px 54px rgba(24, 69, 130, 0.18);
  z-index: 1070;
  min-width: 320px;
  max-width: 98vw;
  padding: 40px 30px 28px 30px;
  display: flex; flex-direction: column;
  gap: 22px;
  animation: cookiemodal-in 0.26s cubic-bezier(0.32,0.17,0.67,0.8);
}
@keyframes cookiemodal-in {
  from {transform:translate(-50%,-43%) scale(0.9);opacity:0;}
  to {transform:translate(-50%,-50%) scale(1);opacity:1;}
}
.cookie-modal h3 {
  margin-bottom: 8px;
  color: #184582;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.39rem;
  font-weight: 600;
}
.cookie-modal label {
  font-size: 1.04rem;
  color: #373737;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid #FFF3CF;
}
.cookie-modal .cookie-toggle {
  appearance: none;
  width: 40px; height: 22px;
  background: #F2B705;
  border-radius: 11px;
  position: relative;
  transition: background 0.18s;
  outline: none;
  cursor: pointer;
  border: 1px solid #e6c561;
}
.cookie-modal .cookie-toggle:checked {
  background: #184582;
  border-color: #184582;
}
.cookie-modal .cookie-toggle:before {
  content: '';
  position: absolute;
  top: 3px; left: 4px;
  width: 15px; height: 15px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.17s, background 0.17s;
}
.cookie-modal .cookie-toggle:checked:before {
  transform: translateX(16px);
  background: #F2B705;
}
.cookie-modal .cookie-category [readonly], .cookie-modal .cookie-category .disabled {
  pointer-events: none;
  opacity: 0.5;
}
.cookie-modal .button-group {
  gap: 14px;
  justify-content: flex-end;
}

/* === RESPONSIVE QUERIES === */
@media (max-width: 1099px) {
  .container {
    max-width: 95vw;
    padding: 0 10px;
  }
  .feature-grid > div, .usp-list > div, .benefit-grid > div {
    min-width: 150px;
    max-width: 48vw;
  }
}
@media (max-width: 900px) {
  .feature-grid, .usp-list, .benefit-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid > div, .usp-list > div, .benefit-grid > div {
    max-width: none;
    min-width: 0;
    width: 100%;
  }
}
@media (max-width: 830px) {
  .main-navigation,
  .footer-nav,
  .contact-info {
    gap: 10px;
    flex-wrap: wrap;
    font-size: 0.98rem;
    padding: 8px;
  }
  
}
@media (max-width: 768px) {
  .main-navigation {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .footer-nav, .contact-info {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .section, .about-brief, .brand-promise, .services-overview, .process, .faq, .usp, .awards-certifications, .thank-you, .contact, .map, .calculator, .benefits {
    padding: 24px 9px;
  }
  .testimonial-card {
    padding: 12px 7px;
  }
  .feature-grid, .usp-list, .benefit-grid {
    flex-direction: column;
    gap: 12px;
  }
  .content-wrapper {
    gap: 12px;
  }
  .cta {
    padding: 22px 8px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 14px;
  }
}
@media (max-width: 540px) {
  h1 { font-size: 1.55rem;}
  h2 { font-size: 1.15rem;}
  h3 { font-size:1rem;}
  .footer-nav a, .brand p {font-size: 0.92rem;}
  .cookie-banner { flex-direction: column; gap:8px; text-align:center; padding: 14px 5vw 14px 5vw; }
  .cookie-banner .button-group { margin-left: 0;}
  .cookie-banner__text { max-width: 99vw; }
  .cookie-modal { padding:20px 7px 18px 7px; min-width:75vw; }
  .hero {
    padding: 24px 0;
    border-radius: 0 0 19px 19px;
    margin-bottom:32px;
  }
}
/* === FORM ELEMENTS (for cookies modal, etc.) === */
input, select, textarea {
  border-radius: 11px;
  border: 1px solid #e6c561;
  padding: 12px 10px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 10px;
  transition: border 0.16s;
}
input:focus, select:focus, textarea:focus {
  outline: 1.5px solid #F2B705;
  border-color: #184582;
}

/* === UTILITIES === */
.bg-accent {
  background: #F2B705 !important;
  color: #184582 !important;
}
.text-center {
  text-align: center;
}
.rounded {
  border-radius: 20px !important;
}
.shadow {
  box-shadow: 0 2px 9px rgba(242,183,5,0.12) !important;
}

/* === MICRO-INTERACTIONS & TRANSITIONS === */
.card, .feature-grid > div, .usp-list > div, .benefit-grid > div, .cta-primary, .button-secondary, .testimonial-card {
  transition: box-shadow 0.18s, transform 0.18s, background 0.17s, color 0.17s;
}

/* === HELP TEXT, NOTE, ETC. === */
.note {
  background: #FFF8E6;
  border-left: 3px solid #F2B705;
  padding: 10px 13px;
  border-radius: 11px;
  color: #B79714;
  font-size: 0.99rem;
  margin-bottom: 15px;
}

/* === ADDRESS/INFO BLOCKS FOR CONTACT PAGE === */
.address-block, .hours-info, .phone-email-info {
  background: #fffefa;
  padding: 13px 17px;
  border-radius: 18px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 13px;
  box-shadow: 0 1px 5px rgba(245,185,5,0.07);
}
.address-block img,
.hours-info img,
.phone-email-info img {
  height: 23px;
  width: 23px;
  margin-right:8px;
}
.phone-email-info a { color: #184582; font-weight: 500; }
.phone-email-info a:hover { color: #F2B705;}

/* === MISCELLANEOUS === */
::-webkit-scrollbar{
  width:10px;
  background:#FFF8E6;
}
::-webkit-scrollbar-thumb{
  background:#F2B705;
  border-radius:7px;
}
::-webkit-scrollbar-thumb:hover{ background:#184582;}

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