/* ======================= CSS RESET & BASE ========================= */
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;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #F4F4F9;
  color: #162C26;
  min-height: 100vh;
  /* for mobile menu scroll lock */
  transition: background 0.3s;
}
img {
  max-width: 100%;
  display: block;
}
ul, ol {
  list-style-position: inside;
}
a {
  color: #206A5D;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #FFC145;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
}
input, textarea, select {
  font-family: inherit;
}

/* ======================= COLOR VARIABLES (with fallbacks) ========================= */
:root {
  --color-primary: #206A5D;
  --color-secondary: #162C26;
  --color-accent: #FFC145;
  --color-light: #F4F4F9;
  --color-white: #fff;
  --color-dark: #162C26;
  --color-error: #fa3c3c;
  --color-success: #3bf288;
}

/* ======================= TYPOGRAPHY SCALE ========================= */
h1, .hero h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -1px;
  margin-bottom: 20px;
}
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-dark);
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
}
p, li, td, th, label, input, select {
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  color: var(--color-secondary);
  font-weight: 400;
}
p.subheadline {
  font-size: 1.15rem;
  color: var(--color-dark);
}
small {
  font-size: 0.9rem;
  color: #666;
}
strong, b {
  font-weight: 700;
}

/* ======================= CONTAINER & LAYOUT ========================= */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-white);
  border-radius: 20px;
  box-shadow: 0 6px 32px 0 rgba(32,106,93,0.08);
}
.features, .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}
.feature-grid {
  flex-direction: row;
  justify-content: flex-start;
}
.feature {
  background: var(--color-light);
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(32,106,93,0.07);
  padding: 32px 24px;
  flex: 1 1 220px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature:hover {
  box-shadow: 0 8px 34px 0 rgba(32,106,93,0.16);
  transform: translateY(-4px) scale(1.025);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-white);
  border-radius: 16px;
  box-shadow: 0 4px 18px 0 rgba(32,106,93,0.10);
  padding: 28px 20px;
  flex: 1 1 300px;
  min-width: 270px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(32,106,93,0.18);
  transform: translateY(-3px) scale(1.018);
  z-index: 2;
}
.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;
  padding: 20px;
  margin-bottom: 20px;
  background: #fffbe9;
  border-radius: 16px;
  box-shadow: 0 2px 8px 0 rgba(32,106,93,0.07);
  flex-direction: column;
  align-items: flex-start;
  border-left: 6px solid var(--color-accent);
}
.testimonial-card p {
  color: var(--color-dark);
  font-size: 1.1rem;
}
.testimonial-meta {
  color: var(--color-dark);
  font-size: 0.97rem;
  font-weight: 700;
  margin-top: 4px;
}
.star-rating {
  color: #FFC145;
  font-size: 1.25em;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 28px;
}
/* About page values section */
.value-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}
.value {
  background: var(--color-light);
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(32,106,93,0.13);
  padding: 24px 20px;
  flex: 1 1 210px;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.2s, transform 0.2s;
}
.value:hover {
  box-shadow: 0 10px 38px rgba(32,106,93,0.18);
  transform: translateY(-2px) scale(1.020);
}

/************************* HERO SECTIONS *************************/
.hero {
  position: relative;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 0 0 36px 36px;
  margin-bottom: 42px;
  padding: 64px 0 40px 0;
  box-shadow: 0 10px 36px 0 rgba(32,106,93,0.17);
}
.hero h1, .hero h2, .hero h3 {
  color: var(--color-white);
  font-weight: 900;
  letter-spacing: -1.2px;
}
.hero p, .hero .subheadline {
  color: var(--color-accent);
  font-weight: 500;
  margin-bottom: 16px;
}
.hero .cta {
  margin-top: 24px;
}

/************************* C T A BUTTONS *************************/
.cta, .main-nav .cta {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  background: var(--color-accent);
  color: var(--color-secondary);
  padding: 12px 38px;
  border-radius: 25px;
  box-shadow: 0 6px 16px 0 rgba(255,193,69,0.18);
  margin-top: 8px;
  transition: background 0.2s, color 0.2s, transform 0.15s;
  border: 2px solid var(--color-accent);
}
.cta:hover, .main-nav .cta:hover, .cta:focus {
  background: var(--color-secondary);
  color: var(--color-accent);
  transform: translateY(-2px) scale(1.05);
}

/************************* NAVIGATION *************************/
header {
  width: 100%;
  background: var(--color-white);
  box-shadow: 0 2px 12px 0 rgba(32,106,93,0.06);
  padding: 0;
  z-index: 40;
  position: sticky;
  top: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
}
.main-nav {
  display: flex;
  gap: 16px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: var(--color-dark);
  font-size: 1rem;
  position: relative;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background 0.17s, color 0.17s;
  z-index: 9;
}
.main-nav a:after {
  content: '';
  display: block;
  width: 0;
  height: 2.5px;
  background: var(--color-accent);
  border-radius: 12px;
  transition: width 0.20s;
  position: absolute;
  left: 10px; bottom: 0;
}
.main-nav a:hover:after, .main-nav a:focus:after {
  width: 60%;
}
.main-nav .cta {
  margin-left: 12px;
}
.mobile-menu-toggle {
  background: var(--color-accent);
  color: var(--color-dark);
  font-size: 2rem;
  padding: 10px 18px;
  border-radius: 50%;
  border: none;
  margin-left: 14px;
  box-shadow: 0 2px 8px 0 rgba(32,106,93,0.11);
  transition: background 0.17s, color 0.17s, box-shadow 0.16s;
  z-index: 51;
  display: none;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: var(--color-primary);
  color: var(--color-accent);
  box-shadow: 0 2px 16px #FFC14544;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-secondary);
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.31s cubic-bezier(0.87,0,0.13,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 34px 22px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--color-accent);
  color: var(--color-dark);
  font-size: 2.1rem;
  padding: 4px 21px;
  border-radius: 50%;
  margin-bottom: 18px;
  align-self: flex-end;
  position: relative;
  z-index: 1001;
  box-shadow: 0 2px 10px #FFC14544;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  align-items: flex-start;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--color-accent);
  background: none;
  border-radius: 8px;
  padding: 8px 0 8px 12px;
  transition: color 0.18s, background 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-accent);
  color: var(--color-secondary);
}

/************************* FOOTER *************************/
footer {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 42px 0 22px 0;
  border-radius: 36px 36px 0 0;
  margin-top: 48px;
  box-shadow: 0 -8px 36px 0 rgba(32,106,93,0.14);
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}
.footer-logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}
.footer-nav a {
  color: var(--color-accent);
  font-size: 1.06rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-white);
}
.footer-contact {
  font-size: 0.98rem;
  color: #FFFDEB;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/************************* FORMS & CONTACT DETAILS *************************/
.contact-details, .address-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 24px 0 0 0;
}
.contact-details div, .address-details p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.09rem;
}
.contact-details a {
  color: var(--color-primary);
  font-weight: 700;
}
.map-placeholder {
  background: #F4F7E2;
  border: 1.5px dashed var(--color-accent);
  border-radius: 16px;
  padding: 18px 12px;
  margin-top: 18px;
  color: #664002;
  text-align: center;
}

/************************* LISTS & TABLES *************************/
ul, ol {
  margin-left: 22px;
  margin-bottom: 10px;
  line-height: 1.7;
}
ul.service-list, .company-values ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 20px 0 0 0;
  padding: 0;
}
ul.service-list li, .company-values ul li {
  background: var(--color-light);
  border-radius: 11px;
  padding: 12px 19px;
  font-weight: 600;
  color: var(--color-dark);
  min-width: 170px;
  font-family: 'Montserrat', Arial, sans-serif;
  display: flex;
  align-items: center;
  gap: 12px;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
  background: var(--color-white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 3px 16px rgba(32,106,93,0.10);
}
th, td {
  padding: 16px 10px;
  text-align: left;
}
th {
  background: var(--color-primary);
  color: var(--color-white);
  font-family: 'Montserrat',Arial,sans-serif;
  font-size: 1.07rem;
}
td {
  border-bottom: 1px solid #ececec;
}
tr:last-child td {
  border-bottom: none;
}

/************************* FAQ ACCORDION *************************/
.faq-section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-white);
  border-radius: 20px;
  box-shadow: 0 6px 32px 0 rgba(32,106,93,0.08);
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.faq-item {
  background: var(--color-light);
  border-radius: 12px;
  padding: 18px 15px;
  box-shadow: 0 2px 8px 0 rgba(32,106,93,0.06);
  transition: box-shadow 0.16s;
}
.faq-item h3 {
  margin-bottom: 7px;
  color: var(--color-primary);
}
.faq-item p {
  color: var(--color-secondary);
}
.contact-prompt {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

/************************* CASE STUDIES *************************/
.case-study-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.case-study {
  background: var(--color-light);
  border-radius: 15px;
  box-shadow: 0 3px 12px 0 rgba(32,106,93,0.09);
  padding: 22px 16px;
  min-width: 250px;
  flex: 1 1 330px;
}
.case-study h3 {
  color: var(--color-secondary);
  margin-bottom: 10px;
}
.case-study p strong {
  color: var(--color-primary);
}

/************************* CTA BANNER *************************/
.cta-banner {
  background: var(--color-accent);
  border-radius: 28px;
  padding: 40px 24px 38px;
  margin-bottom: 60px;
  text-align: center;
  box-shadow: 0 9px 34px 0 rgba(255,193,69,0.09);
}
.cta-banner h2 {
  color: var(--color-secondary);
  letter-spacing: -0.8px;
  font-size: 2.2rem;
}
.cta-banner p {
  color: var(--color-secondary);
  margin-bottom: 20px;
}
.cta-banner .cta {
  margin-top: 6px;
  font-size: 1.12rem;
}

/************************* COOKIES: BANNER & MODAL *************************/
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; width: 100vw;
  background: var(--color-accent);
  color: var(--color-secondary);
  box-shadow: 0 -6px 22px rgba(32,106,93,0.18);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 34px;
  z-index: 9998;
  padding: 24px 20px 20px 20px;
  border-radius: 28px 28px 0 0;
  animation: cookiesSlideUp 0.38s ease;
  font-family: 'Open Sans', Arial, sans-serif;
}
@keyframes cookiesSlideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  max-width: 410px;
  color: var(--color-secondary);
  font-size: 1.03rem;
  margin-right: 18px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 9px 26px;
  border-radius: 21px;
  background: var(--color-primary);
  color: var(--color-accent);
  border: 2px solid var(--color-primary);
  transition: background 0.17s, color 0.17s, border 0.15s;
}
.cookie-btn.accept {
  background: var(--color-success);
  color: var(--color-dark);
  border-color: var(--color-success);
}
.cookie-btn.reject {
  background: var(--color-error);
  color: var(--color-white);
  border-color: var(--color-error);
}
.cookie-btn.settings {
  background: var(--color-accent);
  color: var(--color-secondary);
  border-color: var(--color-accent);
}
.cookie-btn:hover, .cookie-btn:focus {
  box-shadow: 0 2px 12px 0 #FFC14555;
  background: var(--color-secondary);
  color: var(--color-accent);
}
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(22,44,38,0.85);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.27s;
}
@keyframes fadeIn {
  from { opacity:0; }
  to { opacity:1; }
}
.cookie-modal {
  background: var(--color-light);
  border-radius: 20px;
  border: 2px solid var(--color-accent);
  color: var(--color-secondary);
  max-width: 430px;
  width: 94vw;
  padding: 42px 22px 28px 22px;
  z-index: 10001;
  box-shadow: 0 8px 48px 0 rgba(32,106,93,0.23);
  animation: modalPopIn 0.32s;
  display: flex;
  flex-direction: column;
  gap: 25px;
}
@keyframes modalPopIn {
  from { transform: scale(0.7); opacity:0; }
  to { transform: scale(1); opacity:1; }
}
.cookie-modal h3 {
  margin-bottom: 6px;
  color: var(--color-primary);
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 13px 0;
}
.cookie-category label {
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-dark);
}
.cookie-toggle {
  width: 44px; height: 24px;
  background: #ddd;
  border-radius: 50px;
  position: relative;
  cursor: pointer;
  transition: background 0.2s;
  margin-left: 12px;
  display: inline-flex;
  align-items: center;
}
.cookie-toggle input {
  display: none;
}
.cookie-toggle span {
  display: inline-block;
  width: 20px; height: 20px;
  background: var(--color-primary);
  border-radius: 50%;
  position: absolute;
  left: 3px; top: 2px;
  transition: left 0.18s, background 0.18s;
}
.cookie-toggle input:checked + span {
  left: 21px;
  background: var(--color-accent);
}
.cookie-modal .close-modal {
  position: absolute;
  top: 10px; right: 14px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-primary);
  cursor: pointer;
}
.cookie-modal .save-cookies {
  align-self: flex-end;
  margin-top: 12px;
}

/************************* RESPONSIVE FLEXBOX & SPACING *************************/
@media (max-width: 1100px) {
  .container { max-width: 94vw; }
  .main-nav { gap: 8px; }
  .case-study-list { gap: 12px; }
}
@media (max-width: 900px) {
  .container { max-width: 98vw; }
  .case-study-list, .card-container, .features {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid { flex-direction: column; }
  .value-icons { flex-direction: column; gap: 12px; }
  .footer-nav { flex-direction: row; gap: 18px; }
}
@media (max-width: 768px) {
  h1, .hero h1 { font-size: 2.1rem; }
  h2 { font-size: 1.35rem; }
  .cta-banner, .section, .faq-section {
    padding: 26px 9px;
    margin-bottom: 38px;
    border-radius: 16px;
  }
  .footer-logo { margin-bottom: 0; }
  footer .container {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero {
    padding: 34px 0 22px 0;
    border-radius: 0 0 16px 16px;
    margin-bottom: 24px;
  }
  .features, .feature-grid, .content-grid {
    gap: 13px;
    flex-direction: column;
  }
  .value-icons { gap: 13px; }
  .testimonial-card, .card, .feature, .value {
    min-width: 0;
    padding: 18px 11px;
  }
  .cta, .main-nav .cta {
    font-size: 1.01rem;
    padding: 9px 20px;
  }
  .card-container, .case-study-list {
    gap: 10px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .mobile-nav a { font-size: 1.1rem; }
}
@media (max-width: 540px) {
  .container { padding: 0 7px; }
  .section, .faq-section { padding: 12px 2px; }
  .cta-banner { padding: 18px 4px; }
  .testimonial-card, .case-study, .feature, .value {padding:11px 7px;}
  .mobile-menu { padding:18px 6px; }
}

/* Additional micro-interactions */
.cta, .main-nav .cta, .cookie-btn {
  transition: background 0.17s, color 0.17s, transform 0.13s;
}
.card, .feature, .value, .testimonial-card,
.faq-item, .case-study {
  transition: box-shadow 0.16s, transform 0.15s;
}
.card:focus-within, .feature:focus-within, .value:focus-within {
  outline: 2.5px solid var(--color-accent);
  outline-offset: 2px;
}
/* Hide mobile menu visually on desktop */
@media (min-width: 769px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
  .main-nav { display: flex !important; }
}

/* Prevent content overlap with sticky/fixed items */
body { padding-bottom: 90px; }

/************************* Utility / Helper Classes *************************/
.text-center {
  text-align: center !important;
}
.text-right {
  text-align: right !important;
}
.text-light {
  color: var(--color-light) !important;
}
.bg-primary { background: var(--color-primary) !important; color: var(--color-white) !important; }
.bg-accent { background: var(--color-accent) !important; color: var(--color-secondary) !important; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-24 { margin-top: 24px !important; }
.mb-24 { margin-bottom: 24px !important; }
.w-100 { width: 100% !important; }

/* Hide visually but keep accessibly */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/************************* Vibrant Electric Color Pops for Energetic Style *************************/
.feature img, .value img, .service-list img,
.contact-details img, .address-details img {
  filter: drop-shadow(0 2px 8px #FFC14558) drop-shadow(0 0 4px #206a5dab);
}
.hero:after {
  content: '';
  position: absolute;
  bottom: -30px;
  right: 22vw;
  width: 110px; height: 70px;
  background: var(--color-accent);
  opacity: 0.29;
  border-radius: 40px 18px 60px 75px;
  z-index: 0;
  pointer-events: none;
}
.hero:before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 74px; height: 110px;
  background: #37dfb3;
  opacity: 0.11;
  border-radius: 60px 60px 18px 60px;
  z-index: 0;
  pointer-events: none;
}

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