/* 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 {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  line-height: 1.5;
  font-size: 16px;
  background: #fff;
  color: #183e54;
  min-height: 100vh;
  letter-spacing:  0.01em;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
button { font-family: inherit; outline: none; border: none; background: none; cursor: pointer; }
:focus-visible { outline: 2px solid #00436a; outline-offset: 2px; }

/* VARIABLES AS FALLBACKS */
:root {
  --brand-primary: #00436a;
  --brand-secondary: #46b36b;
  --brand-accent: #fffbea;
  --electric-yellow: #ffe900;
  --vivid-orange: #ff4e1f;
  --vivid-pink: #ed1e79;
  --neutral-bg: #fff;
  --card-shadow: 0 8px 32px 0 rgba(68,82,104,.11),0 1.5px 8px 0 rgba(70,179,107,.07);
}

/* TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #00436a;
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #183e54;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
p, li, ul {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  color: #183e54;
  font-size: 1.06rem;
}
strong {
  font-weight: bold;
  color: #00436a;
}

/* LAYOUT CONTAINERS */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 38px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--card-shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 32px 28px 24px 28px;
  flex: 1 1 320px;
  min-width: 280px;
  transition: transform 0.15s, box-shadow 0.17s;
}
.card:hover, .card:focus {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 12px 40px 0 rgba(70,179,107,0.20),0 4px 16px 0 rgba(0,67,106,.17);
  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;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 28px 24px;
  background: #fffbea;
  border-radius: 20px;
  box-shadow: var(--card-shadow);
  margin-bottom: 24px;
  color: #1e3142;
  max-width: 600px;
  font-size: 1.12rem;
  font-style: italic;
}
.testimonial-card span {
  font-style: normal;
  color: #00436a;
  font-weight: 700;
  align-self: flex-end;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* DYNAMIC/VIBRANT HERO SECTION */
.hero {
  background: var(--brand-primary);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 48px 0 54px 0;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.hero h1 {
  color: #ffe900;
  text-shadow: 0 2px 18px #00436a;
  font-size: 2.6rem;
}
.hero p {
  color: #fff;
  font-size: 1.33rem;
  margin-bottom: 26px;
  font-weight: 500;
}

/* CTA BUTTONS */
.cta-btn {
  display: inline-block;
  background: linear-gradient(90deg, #ffe900 65%, #ff4e1f 100%);
  color: #00436a;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  font-size: 1.15rem;
  border-radius: 28px;
  padding: 13px 32px 13px 32px;
  text-align: center;
  transition: background 0.17s, color 0.15s, box-shadow 0.18s, transform 0.16s;
  box-shadow: 0 7px 22px 0 rgba(255,233,0,0.07), 0 2px 10px 0 rgba(70,179,107,0.12);
  margin-top: 10px;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, #ff4e1f 0%, #ed1e79 100%);
  color: #fff;
  transform: translateY(-1px) scale(1.04);
  box-shadow: 0 16px 32px 0 rgba(237,30,121,0.17), 0 6px 18px 0 rgba(70,179,107,0.19);
}

/* NAVIGATION STYLES */
header {
  background: #fff;
  box-shadow: 0 4px 16px 0 rgba(70,179,107,0.09);
  z-index: 40;
  position: sticky;
  top: 0;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding: 12px 20px 10px 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.main-nav > a {
  color: #00436a;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.03rem;
  font-weight: 500;
  padding: 10px 13px;
  border-radius: 8px;
  transition: background-color 0.11s, color 0.17s;
}
.main-nav > a:hover, .main-nav > a:focus {
  background: #ff4e1f;
  color: #fff;
}
.main-nav > .cta-btn {
  margin-left: auto;
  background: linear-gradient(90deg, #46b36b 65%, #ffe900 100%);
  color: #00436a;
  font-size: 1rem;
  padding: 10px 22px;
}
.main-nav > .cta-btn:hover, .main-nav > .cta-btn:focus {
  background: linear-gradient(90deg, #ff4e1f 0%, #ed1e79 100%);
  color: #fff;
}

.main-nav img {
  height: 38px;
  width: auto;
  margin-right: 10px;
}

/* Hamburger Menu (mobile) */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 18px;
  right: 28px;
  z-index: 101;
  height: 40px;
  width: 40px;
  background: #00436a;
  color: #ffe900;
  font-size: 2rem;
  border-radius: 10px;
  border: none;
  box-shadow: 0 2px 8px rgba(70,179,107,0.10);
  transition: background 0.14s, color 0.15s, transform 0.15s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #ff4e1f;
  color: #fff;
  transform: scale(1.09);
}

.mobile-menu {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #00436a;
  color: #fff;
  z-index: 9999;
  transform: translateX(-100vw);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.34s cubic-bezier(.6,1.5,.38,1), opacity 0.26s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 2.1rem;
  background: #fff;
  color: #ff4e1f;
  border-radius: 10px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.11s, color 0.17s;
  z-index: 1003;
  border: none;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #ff4e1f;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: center;
  padding: 86px 0 20px 0;
}
.mobile-nav a {
  color: #fffbea;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.48rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 14px 24px;
  border-radius: 10px;
  background: transparent;
  transition: background 0.13s, color .16s, transform .13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #ffe900;
  color: #00436a;
  transform: scale(1.04);
}
.mobile-nav a.cta-btn {
  background: linear-gradient(90deg, #ff4e1f 70%, #ffe900 100%);
  color: #fff;
  font-size: 1.13rem;
  margin-top: 16px;
  padding: 13px 26px;
  border-radius: 28px;
}
.mobile-nav a.cta-btn:hover, .mobile-nav a.cta-btn:focus {
  background: linear-gradient(90deg, #ffe900, #ff4e1f);
  color: #00436a;
}

/* ========== FLEX SECTION LAYOUT PATTERNS ========== */
.features .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  padding-top: 14px;
  padding-bottom: 6px;
}
.features .feature-grid > div {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--card-shadow);
  flex: 1 1 230px;
  min-width: 210px;
  max-width: 365px;
  padding: 28px 18px 22px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: transform .12s, box-shadow .17s;
}
.features .feature-grid > div img {
  width: 58px;
  margin-bottom: 10px;
  display: block;
}
.features .feature-grid > div:hover {
  transform: scale(1.07) translateY(-3px);
  box-shadow: 0 12px 45px 0 rgba(255,78,31,0.18);
  z-index: 1;
}

.process ol {
  padding-left: 18px;
  color: #1e3142;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.process li::marker {
  color: #ff4e1f;
  font-size: 1.31em;
}

.callout {
  background: #46b36b;
  color: #fff;
  border-radius: 20px;
  padding: 34px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 36px 0 0 0;
  box-shadow: 0 7px 24px 0 rgba(46, 153, 81, 0.11);
  gap: 12px;
}
.callout h2, .callout p {
  color: #fff;
  margin-bottom: 8px;
}
.callout a.cta-btn {
  margin-top: 7px;
  background: linear-gradient(90deg, #ffe900 70%, #ed1e79 100%);
  color: #00436a;
  box-shadow: 0 5px 18px 0 rgba(255,233,0,0.14);
}
.callout a.cta-btn:hover, .callout a.cta-btn:focus {
  background: linear-gradient(90deg, #ed1e79, #ffe900);
  color: #fff;
}

/* FOOTER */
footer {
  background: #00436a;
  color: #fff;
  padding: 32px 0 23px 0;
  margin-top: 38px;
  box-shadow: 0 -7px 18px 0 rgba(70,179,107,0.09);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
  margin-bottom: 18px;
}
.footer-nav a {
  color: #ffe900;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.01rem;
  font-weight: 500;
  letter-spacing: .03em;
  border-bottom: 2px solid transparent;
  transition: color 0.17s, border .17s;
  padding-bottom: 2px;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #ff4e1f;
  border-bottom: 2px solid #ff4e1f;
}
.footer-contact {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 36px;
  align-items: flex-start;
  margin-top: 7px;
}
.footer-contact span {
  display: flex;
  align-items: center;
  font-size: 1.01rem;
  color: #d5e6ee;
  gap: 7px;
}
.footer-contact img {
  width: 20px; height: 20px; margin-right: 2px;
}

/* ----------- CONTENT SECTIONS (About, Services, Locations, Projects, FAQ, Thank You) ----------- */
.text-section, .usp-section, .benefit-section, .project-summaries, .project-process, .faq-section, .thankyou-message {
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--card-shadow);
  padding: 26px 19px 12px 19px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.text-section ul, .usp-section ul, .benefit-section ul, .project-summaries ul, .project-process ol, .faq-section ul, .thankyou-message ul {
  margin: 0 0 0 18px;
  list-style-position: inside;
  gap: 11px;
  display: flex;
  flex-direction: column;
}
.city-blocks {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 23px;
}
.city-blocks > div {
  background: #fffbea;
  border-radius: 15px;
  box-shadow: var(--card-shadow);
  flex: 1 1 240px;
  min-width: 220px;
  max-width: 350px;
  padding: 17px 18px 13px 18px;
  margin-bottom: 4px;
  color: #16304a;
}

.contact-blocks {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
}
.contact-form-block, .contact-details-block {
  flex: 1 1 310px;
  min-width: 260px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--card-shadow);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.contact-form-block ul, .contact-details-block ul {
  margin: 0 0 0 10px;
  margin-bottom: 5px;
}
.contact-details-block li {
  display: flex;
  align-items: center;
  gap: 7px;
}
.contact-details-block img {
  width: 20px; height: 20px;
}
.thankyou-message {
  background: #fffbea;
  color: #1e3142;
  border-radius: 12px;
  margin-top: 13px;
  font-size: 1.13rem;
  display: flex;
  flex-direction: column;
  gap: 13px;
  box-shadow: var(--card-shadow);
}

/* ========== COOKIE CONSENT BANNER ========== */
.cookie-banner {
  display: flex;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9998;
  background: #ff4e1f;
  color: #fff;
  justify-content: center;
  align-items: center;
  padding: 20px 10px 20px 10px;
  box-shadow: 0 -6px 24px rgba(0,67,106,0.09);
  gap: 22px;
  font-size: 1.03rem;
  animation: cookieEnter 0.8s cubic-bezier(.65,.01,.26,1.09);
}
@keyframes cookieEnter {
  0% { transform: translateY(120px); opacity: 0; }
  60% { transform: translateY(-10px); opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  margin: 0 16px 0 0;
  font-family: inherit;
  color: #fff;
}
.cookie-banner .cookie-btn {
  border-radius: 18px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  font-size: 1rem;
  margin-left: 10px;
  margin-right: 2px;
  padding: 10px 22px;
  background: #ffe900;
  color: #00436a;
  transition: background 0.13s, color 0.13s, transform 0.14s;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #00436a;
  color: #ffe900;
  transform: scale(1.05);
}
.cookie-banner .cookie-btn.reject {
  background: #fffbea;
  color: #ff4e1f;
}
.cookie-banner .cookie-btn.reject:hover, .cookie-banner .cookie-btn.reject:focus {
  background: #ff4e1f;
  color: #fffbea;
}
.cookie-banner .cookie-btn.settings {
  background: #46b36b;
  color: #fff;
}
.cookie-banner .cookie-btn.settings:hover, .cookie-banner .cookie-btn.settings:focus {
  background: #00436a;
  color: #46b36b;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 12000;
  transform: translate(-50%, -50%) scale(0.92);
  background: #fff;
  box-shadow: 0 8px 40px rgba(4,44,74,0.18);
  border-radius: 17px;
  min-width: 330px;
  max-width: 96vw;
  padding: 32px 28px 28px 28px;
  color: #00436a;
  opacity: 0;
  pointer-events: none;
  transition: opacity .27s, transform .24s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
  animation: fadeInModal .34s cubic-bezier(.65,0,.32,1.3);
}
@keyframes fadeInModal {
  0% { opacity: 0; transform: translate(-50%,-58%) scale(0.94); }
  100% { opacity: 1; transform: translate(-50%,-50%) scale(1); }
}
.cookie-modal h2 {
  margin-bottom: 14px;
  font-size: 1.41rem;
  color: #00436a;
}
.cookie-modal .categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 19px 0 0 0;
}
.cookie-modal .category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  background: #fffbea;
  border-radius: 9px;
  padding: 13px 19px;
}
.cookie-modal .category .category-label {
  font-weight: bold;
  font-size: 1.07rem;
  color: #00436a;
}
.cookie-modal .toggle-switch {
  --ts-bg: #d3d3d3;
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
}
.cookie-modal .toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-modal .toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--ts-bg);
  border-radius: 20px;
  transition: background 0.18s;
}
.cookie-modal .toggle-switch input:checked + .toggle-slider {
  background: linear-gradient(90deg, #46b36b 70%, #ff4e1f 100%);
}
.cookie-modal .toggle-slider:before {
  position: absolute;
  content: '';
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 10px #00436a33;
  transition: transform 0.19s;
}
.cookie-modal .toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(20px);
}
.cookie-modal .close-modal {
  position: absolute;
  top: 17px;
  right: 15px;
  background: transparent;
  border: none;
  color: #ff4e1f;
  font-size: 1.9rem;
  cursor: pointer;
}
.cookie-modal .cookie-btn {
  margin-top: 24px;
  margin-right: 10px;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1080px) {
  .container {
    max-width: 98vw;
    padding: 0 14px;
  }
  .main-nav {
    padding: 12px 14px 10px 14px;
  }
}
@media (max-width: 900px) {
  .content-wrapper {
    gap: 20px;
  }
  .city-blocks {
    gap: 12px;
  }
  .features .feature-grid {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 98%;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.33rem; }
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
  .footer-contact { 
    flex-direction: column;
    gap: 13px;
    align-items: flex-start;
    margin-top: 11px;
  }
  .content-grid,.card-container,.features .feature-grid,.city-blocks,.contact-blocks {
    flex-direction: column !important;
    gap: 20px;
    align-items: stretch;
  }
  .testimonial-card, .card {
    max-width: 99vw;
  }
  .container, .callout {
    padding-left: 6px;
    padding-right: 6px;
  }
  .hero {
    padding: 34px 0 34px 0;
  }
}
@media (max-width: 540px) {
  html {
    font-size: 93%;
  }
  h1 { font-size: 1.41rem; }
  .footer-contact span {
    font-size: .99rem;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 10px;
    font-size: .97rem;
    padding: 14px 4px 14px 4px;
    text-align: center;
  }
  .cookie-modal {
    min-width: 90vw;
    padding: 18px 7px 17px 7px;
  }
}

/* GENERAL UTILS */
.gap-8 { gap: 8px !important; }
.gap-12 { gap: 12px !important; }
.gap-20 { gap: 20px !important; }

/* ACCESSIBLE HIDDEN (screen readers only, e.g. .sr-only) */
.sr-only {
  border: 0 !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  -webkit-clip-path: inset(50%) !important;
  clip-path: inset(50%) !important;
  height: 1px !important; margin: -1px !important;
  overflow: hidden !important; padding: 0 !important;
  position: absolute !important; width: 1px !important;
  white-space: nowrap !important;
}

/* MICRO-INTERACTIONS & SUBTLE ANIMATIONS */
.card, .features .feature-grid > div, .cta-btn, .main-nav > a, .footer-nav a, .city-blocks > div, .testimonial-card, .callout {
  will-change: transform, box-shadow, background, color;
  transition: box-shadow .16s, background .13s, transform .11s, color .12s;
}

::-webkit-scrollbar {
  width: 7px;
  background: #fffbea;
}
::-webkit-scrollbar-thumb {
  background: #46b36b;
  border-radius: 13px;
}

/* HIDE SCROLL (modal open) */
body.modal-open {
  overflow: hidden;
}
