/* ============================== */
/* CSS RESET & BASE NORMALIZATION  */
/* ============================== */
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.6;
  background: #F4F4F4;
  color: #23354A;
}
*, *:before, *:after {
  box-sizing: border-box;
}
ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
a {
  text-decoration: none;
  color: inherit;
  background-color: transparent;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
}


/* ======================================= */
/* TYPOGRAPHY & BRAND FONT DECLARATION     */
/* ======================================= */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Open+Sans:wght@400;600&display=swap');
body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  background: #F4F4F4;
  color: #23354A;
  font-weight: 400;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  color: #23354A;
  letter-spacing: -1px;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  line-height: 1.2;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  font-weight: 700;
}
p, ul li, ol li {
  font-size: 1rem;
  color: #23354A;
  margin-bottom: 8px;
}
strong {
  font-weight: 700;
}


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

main {
  padding-top: 40px;
  padding-bottom: 40px;
  min-height: 60vh;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* Visual Hierarchy: Cards and Sections */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 28px rgba(40, 64, 90, 0.10), 0 1.5px 6px rgba(214, 155, 59, 0.09);
  margin-bottom: 20px;
  position: relative;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.3s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 10px 40px rgba(40,64,90,0.16), 0 3px 12px #D69B3B33;
  transform: translateY(-6px) 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: 12px;
  padding: 28px 24px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px #23354A1A;
  border-left: 8px solid #D69B3B;
  min-width: 0;
  max-width: 560px;
  color: #23354A;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px #23354A26;
  border-left: 8px solid #28405A;
}
.testimonial-card p {
  font-size: 1.125rem;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  color: #23354A;
  margin: 0 0 8px 0;
}
.testimonial-card span {
  font-size: 1rem;
  font-weight: 700;
  color: #D69B3B;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-top: 4px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px #23354A14;
  padding: 20px 18px;
}

/* ========== HERO SECTION ============= */
.hero {
  min-height: 280px;
  background: #23354A;
  color: #fff;
  position: relative;
  padding: 56px 0 48px 0;
  margin-bottom: 48px;
}
.hero h1 {
  color: #fff;
  font-size: 2.5rem;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.hero p {
  color: #F4F4F4;
  font-size: 1.25rem;
  margin-bottom: 22px;
}


/* ========== NAVBAR ============= */
header {
  background: #fff;
  box-shadow: 0 1.5px 6px #28405A11;
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  min-height: 70px;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 20px;
}
header img {
  max-height: 48px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #28405A;
  padding: 0 6px;
  transition: color 0.2s;
  letter-spacing: 0.5px;
  border-bottom: 2.5px solid transparent;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #D69B3B;
  border-bottom: 2.5px solid #D69B3B;
  outline: none;
}
.cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 1rem;
  background: #D69B3B;
  color: #fff;
  border-radius: 100px;
  padding: 16px 32px;
  box-shadow: 0 2px 8px #23354A29;
  transition: background 0.2s, color 0.2s, transform 0.12s;
  display: inline-block;
  margin-left: 16px;
  letter-spacing: 0.6px;
  border: none;
  cursor: pointer;
  position: relative;
}
.cta-btn:hover,
.cta-btn:focus {
  background: #23354A;
  color: #D69B3B;
  transform: translateY(-2px) scale(1.04);
  outline: none;
}

/* ========================= */
/* MOBILE NAVIGATION        */
/* ========================= */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: #D69B3B;
  color: #fff;
  border-radius: 12px;
  font-size: 2rem;
  z-index: 160;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  box-shadow: 0 2px 8px #23354A33;
}
.mobile-menu-toggle:active {
  background: #b57e29;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 88vw;
  max-width: 340px;
  background: #23354A;
  color: #fff;
  z-index: 200;
  transform: translateX(120%);
  transition: transform 0.38s cubic-bezier(.73,.01,.27,1.09);
  display: flex;
  flex-direction: column;
  padding: 40px 24px 24px 24px;
  box-shadow: -8px 0 36px #23354A33;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  font-size: 1.7rem;
  background: #D69B3B;
  color: #fff;
  border-radius: 100%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 220;
  transition: background 0.19s, color 0.17s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #fff;
  color: #D69B3B;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-top: 48px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  background: transparent;
  border-radius: 8px;
  padding: 12px 8px;
  transition: background 0.18s, color 0.17s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #D69B3B33;
  color: #D69B3B;
}

/* ================ FOOTER =================== */
footer {
  background: #23354A;
  color: #fff;
  font-size: 1rem;
  padding: 40px 0 10px 0;
  letter-spacing: 0;
}
footer p {
  color: white;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 30px;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-links {
  display: flex;
  gap: 42px;
}
.footer-links nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-links nav a {
  color: #D69B3B;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  transition: color 0.17s;
}
.footer-links nav a:hover,
.footer-links nav a:focus {
  color: #fff;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}
.footer-contact img {
  width: 18px;
  height: 18px;
  vertical-align: text-bottom;
  margin-right: 7px;
}


/* ============================= */
/* FEATURES / GRIDS             */
/* ============================= */
.features {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px #23354A17;
  margin-bottom: 48px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 36px;
  justify-content: space-between;
  margin-top: 32px;
}
.feature-grid li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 180px;
  flex: 1 1 220px;
  background: #F4F4F4;
  border-radius: 14px;
  box-shadow: 0 2px 10px #23354A0E;
  padding: 20px 18px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #23354A;
  margin-bottom: 0;
}
.feature-grid li img {
  width: 38px;
  height: 38px;
  margin-bottom: 8px;
}

/* About Page Badges etc. */
.trust-badges, .certifications-list {
  display: flex;
  flex-direction: row;
  gap: 36px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 1rem;
  margin-top: 18px;
  color: #23354A;
}
.trust-badges img,
.certifications-list img {
  width: 32px;
  height: 32px;
  vertical-align: bottom;
  margin-right: 6px;
  border-radius: 5px;
}


/* =================== CTA SECTION ===================== */
.cta {
  background: #D69B3B;
  color: #fff;
  border-radius: 22px;
  margin-bottom: 48px;
  box-shadow: 0 3px 32px #23354A1C;
  text-align: center;
  padding: 40px 22px;
}
.cta h2, .cta p {
  color: #fff;
}
.cta-btn {
  margin-top: 16px;
}

/* =========== FAQ =========== */
.faq-list {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px #23354A17;
  margin-bottom: 48px;
}
.faq {
  background: #F4F4F4;
  border-radius: 10px;
  margin-bottom: 18px;
  padding: 20px 24px;
  box-shadow: 0 1.5px 6px #23354A0E;
}
.faq h3 {
  margin-bottom: 8px;
  color: #23354A;
  font-weight: 900;
  letter-spacing: -0.3px;
}
.faq p {
  color: #28405A;
}

/* =============== PROJECT LIST ============== */
.project-list ul {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.project-list li {
  background: #F4F4F4;
  border-radius: 10px;
  padding: 18px 22px;
  color: #23354A;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
}

/* =========== THANK YOU PAGE EXPLORE BTN =========== */
.explore .cta-btn {
  margin-top: 10px;
}

/* ================== COOKIE CONSENT =============== */
#cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #23354A;
  color: #fff;
  z-index: 8888;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 -2px 16px #23354A33;
  padding: 18px 10vw 18px 10vw;
  gap: 24px;
  font-size: 1rem;
  transition: transform 0.30s cubic-bezier(.6,0,.33,1);
}
#cookie-consent-banner.hide {
  transform: translateY(120%);
}
#cookie-consent-banner .cookie-msg {
  max-width: 520px;
  font-size:1rem;
}
#cookie-consent-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-left: 14px;
  align-items: center;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 9999px;
  padding: 13px 28px;
  font-size: 1rem;
  border: none;
  transition: background .22s, color .18s;
  margin: 0 2px;
  cursor: pointer;
}
.cookie-btn.accept {
  background: #D69B3B;
  color: #fff;
}
.cookie-btn.accept:hover,
.cookie-btn.accept:focus {
  background: #fff;
  color: #D69B3B;
}
.cookie-btn.reject {
  background: #fff;
  color: #23354A;
  border: 2px solid #D69B3B;
}
.cookie-btn.reject:hover,
.cookie-btn.reject:focus {
  background: #D69B3B;
  color: #fff;
}
.cookie-btn.settings {
  background: #F4F4F4;
  color: #23354A;
  border: 1.5px dotted #D69B3B;
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  background: #D69B3B;
  color: #fff;
}

/* Cookie modal overlay */
#cookie-modal-overlay {
  position: fixed;
  inset: 0 0 0 0;
  z-index: 9999;
  background: rgba(34, 53, 74, 0.77);
  display: none;
  justify-content: center;
  align-items: center;
  animation: cookieModalIn .42s cubic-bezier(.94,0,.26,1) forwards;
}
#cookie-modal-overlay.open {
  display: flex;
}
@keyframes cookieModalIn {
  from { opacity:0; }
  to { opacity:1; }
}
#cookie-modal {
  background: #fff;
  color: #23354A;
  border-radius: 20px;
  box-shadow: 0 4px 30px #28405A33;
  max-width: 420px;
  min-width: 250px;
  width: 95vw;
  padding: 38px 32px 28px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: modalDropIn .44s cubic-bezier(.97,0,.13,1) both;
}
@keyframes modalDropIn {
  from { transform: translateY(-80px) scale(0.98); opacity:.65; }
  to { transform: none; opacity: 1; }
}
#cookie-modal h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.32rem;
  font-weight: 900;
  color: #23354A;
}
#cookie-modal .category-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
#cookie-modal .cookie-modal-close {
  position: absolute;
  right: 18px;
  top: 14px;
  background: #F4F4F4;
  color: #23354A;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 1.25rem;
  font-weight: 900;
  transition: background .16s, color .17s;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
#cookie-modal .cookie-modal-close:hover,
#cookie-modal .cookie-modal-close:focus {
  background: #D69B3B;
  color: #fff;
}

.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}
.cookie-category label {
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #23354A;
}
.cookie-toggle {
  width: 48px;
  height: 28px;
  background: #F4F4F4;
  border-radius: 16px;
  position: relative;
  cursor: pointer;
  border: 1.5px solid #D69B3B;
  transition: background .2s, border-color .18s;
  margin-right: 4px;
}
.cookie-toggle input[type="checkbox"] {
  display: none;
}
.cookie-toggle span {
  position: absolute;
  left: 4px;
  top: 4px;
  width: 20px;
  height: 20px;
  background: #D69B3B;
  border-radius: 50%;
  transition: left 0.20s cubic-bezier(.85,0,.15,1);
}
.cookie-toggle input:checked + span {
  left: 24px;
  background: #23354A;
}
.cookie-category input[disabled] + span {
  background: #aaa;
  opacity: .40;
  cursor: not-allowed;
}
.category-desc {
  font-size: 0.95rem;
  color: #28405A;
  opacity: .84;
  margin-left: 8px;
}


/* =========== OTHER UTIL SECTIONS ============== */
.about-team ul, .about ul, .team-features ul, .service-region ul, .services-main ul, .additional-services ul, .steps ul, .usps ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.about-team li, .about li, .team-features li, .service-region li, .services-main li, .additional-services li, .steps li, .usps li {
  background: #F4F4F4;
  padding: 16px 18px;
  border-radius: 10px;
  font-size: 1rem;
}

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

/* Ensure margin/gap between sections/cards */
.card + .card,
.testimonial-card + .testimonial-card,
.faq + .faq,
.section + .section {
  margin-top: 20px !important;
}


/* =================== RESPONSIVE DESIGN ===================== */
@media (max-width: 1024px) {
  .feature-grid {
    gap: 20px 12px;
  }
  .footer-links {
    gap: 20px;
  }
}
@media (max-width: 900px) {
  header .container {
    flex-direction: row;
    gap: 10px;
  }
  .main-nav {
    gap: 12px;
  }
  .footer-contact {
    font-size: 0.97rem;
  }
}
@media (max-width: 768px) {
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  header .container {
    flex-direction: row;
    gap: 6px;
    padding-left: 8px;
    padding-right: 8px;
  }
  .main-nav {
    display: none !important;
  }
  .cta-btn {
    padding: 13px 22px;
    font-size: 0.98rem;
  }
  .hero h1 {
    font-size: 1.45rem;
  }
  .hero {
    min-height: 180px;
    padding: 34px 0 18px 0;
  }
  .content-wrapper {
    gap: 16px;
  }
  section,
  .section {
    padding: 24px 4px;
    margin-bottom: 36px;
  }
  .card {
    padding: 20px 9px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    max-width: 100%;
    padding: 18px 14px;
    margin-bottom: 18px;
  }
  .trust-badges,
  .certifications-list {
    gap: 14px;
    font-size:0.95rem;
  }
  .footer-links {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
  }
  .footer-contact {
    gap: 6px;
    font-size:0.95rem;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (max-width: 580px) {
  .footer-contact {
    font-size: 0.93rem;
  }
  .footer-links nav a { font-size: 0.99rem; }
  #cookie-consent-banner {
    flex-direction: column;
    padding: 12px 4vw 12px 4vw;
    gap: 13px;
    align-items: flex-start;
  }
  .cookie-actions {
    margin-left: 0;
  }
  #cookie-modal {
    padding: 20px 8px 18px 8px;
    font-size: 0.98rem;
  }
}

/* Hamburger always above content */
@media (max-width: 990px) {
  .mobile-menu-toggle {
    display: flex !important;
  }
  .main-nav {
    display: none !important;
  }
}

/* Hide mobile menu button on desktop */
@media (min-width: 991px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}
.cta:before {
  content: '';
  display: block;
  position: absolute;
  top: -22px;
  left: -62px;
  width: 82px;
  height: 82px;
  background: #23354A1a;
  border-radius: 50% 65% 60% 40%;
  z-index: 0;
  opacity:0.11;
}
.cta {
  position: relative;
  overflow: hidden;
}

/* ============= MICRO-INTERACTIONS =============== */
a, .cta-btn, .main-nav a, .footer-links nav a, .mobile-nav a, .cookie-btn, .cookie-modal-close {
  transition: color 0.18s, box-shadow .16s, background .22s, border-color .18s, transform 0.16s;
}
.cta-btn:active, .cookie-btn:active {
  transform: scale(0.97);
}

/* Focus states */
a:focus, button:focus, .cta-btn:focus, .cookie-btn:focus, .mobile-nav a:focus {
  outline: 2px solid #D69B3B;
  outline-offset: 2px;
}

/* ===================== END ===================== */
