/* ================================================== */
/* 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 {
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  background: #F4F7FB;
  color: #222;
  font-size: 16px;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #23416E;
  font-weight: 700;
  line-height: 1.15;
}
h1 { font-size: 2.5rem; margin-bottom: 18px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.3rem; margin-bottom: 10px; }
h4, h5, h6 { font-size: 1.1rem; margin-bottom: 8px; }
p, ul, ol, li { font-size: 1rem; }
p { margin-bottom: 14px; color: #2A3541; }
a {
  color: #23416E;
  text-decoration: none;
  transition: color 0.22s;
}
a:hover, a:focus {
  color: #F2A83B;
  outline: none;
}
strong { font-weight: 700; }

/* ======================================== */
/* GENERAL LAYOUTS & UTILITIES             */
/* ======================================== */
.container {
  max-width: 1160px;
  width: 100%;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(35,65,110,0.06);
}

/* FLEXBOX utility containers (MANDATORY) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 8px rgba(35,65,110,0.06);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: box-shadow 0.22s;
}
.card:hover {
  box-shadow: 0 4px 20px rgba(35,65,110,0.13);
}
.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;
  background: #F4F7FB;
  border-left: 6px solid #23416E;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(35,65,110,0.05);
  margin-bottom: 24px;
  color: #163153;
  font-size: 1.08rem;
  font-style: italic;
}
.testimonial-card strong {
  color: #23416E;
  font-style: normal;
  font-size: 1rem;
  margin-left: 10px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 24px;
}

/* Spacing for all lists */
ul, ol {
  margin-bottom: 18px;
  padding-left: 1.7em;
}
ul li, ol li {
  margin-bottom: 10px;
  position: relative;
  color: #2A3541;
}

/* ========================================= */
/* HEADER & NAVIGATION                      */
/* ========================================= */
header {
  background: #fff;
  box-shadow: 0 4px 20px rgba(35,65,110,0.04);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 18px;
  gap: 18px;
}
header img {
  height: 52px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 34px;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #23416E;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.01em;
  position: relative;
  padding: 4px 8px;
  border-radius: 5px;
  transition: color 0.22s, background 0.18s;
}
header nav a:hover, header nav a:focus {
  background: #F4F7FB;
  color: #F2A83B;
}
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #23416E;
  color: #fff;
  padding: 11px 30px;
  border: none;
  border-radius: 100px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 14px rgba(35,65,110,.08);
  transition: background 0.22s, box-shadow 0.18s, color 0.17s;
  text-decoration: none;
  margin-left: 20px;
}
.cta-button:hover, .cta-button:focus {
  background: #F2A83B;
  color: #23416E;
  box-shadow: 0 4px 18px rgba(242,168,59,.13);
}

/* ============================================== */
/* MOBILE MENU                                   */
/* ============================================== */
.mobile-menu-toggle {
  background: none;
  border: none;
  color: #23416E;
  font-size: 2rem;
  cursor: pointer;
  display: none;
  margin-left: 10px;
  z-index: 250;
  padding: 0 8px;
  line-height: 1;
  transition: color 0.2s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  color: #F2A83B;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 300;
  width: 100vw;
  height: 100vh;
  transform: translateX(-100%);
  transition: transform 0.39s cubic-bezier(.8,0,.6,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0;
  box-shadow: 0 4px 32px rgba(35,65,110,0.13);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #23416E;
  font-size: 2.2rem;
  padding: 18px 20px 10px 20px;
  align-self: flex-end;
  cursor: pointer;
  z-index: 320;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #F2A83B;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px 32px 32px 32px;
  width: 100vw;
}
.mobile-nav a {
  color: #23416E;
  font-size: 1.25rem;
  padding: 14px 6px 12px 4px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:active, .mobile-nav a:focus {
  background: #F4F7FB;
  color: #F2A83B;
}

/* ============= Hero Section ============ */
.hero {
  background:
    linear-gradient(100deg, #23416E 60%, #3d5a81 100%);
  color: #fff;
  min-height: 330px;
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  padding: 55px 0;
}
.hero .container { height: 100%; }
.hero .content-wrapper {
  gap: 18px;
  color: #fff;
  padding: 36px 0;
}
.hero h1,
.hero p {
  color: #fff;
  max-width: 750px;
}
.hero .cta-button {
  background: #F2A83B;
  color: #23416E;
  margin-top: 18px;
}
.hero .cta-button:hover {
  background: #fff;
  color: #23416E;
  box-shadow: 0 6px 28px rgba(35,65,110,0.09);
}

/* ============= Features Section ============ */
.features {
  background: #fff;
}
.features .content-wrapper {
  gap: 20px;
}
.features ul {
  list-style-type: none;
  padding-left: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}
.features ul li {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 1.06rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #F4F7FB;
  border-radius: 9px;
  padding: 16px 20px;
  box-shadow: 0 1.5px 9px rgba(35,65,110,0.04);
  min-width: 260px;
  flex: 1 1 260px;
  font-weight: 500;
}
.features img {
  width: 38px;
  height: 38px;
}

/* ============ About/Team/Values/Legal ============= */
.about, .team, .values, .legal, .blog-intro, .blog-list, .newsletter,
.process, .info, .faq, .service-details, .services, .benefits, .company-info,
.project-overview, .project-types, .about-preview, .services-overview, .thank-you, .contact-form {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(35,65,110,0.06);
}
.values ul, .team ul, .service-details ul, .process ol, .benefits ul, .project-overview ul, .project-types ul, .blog-list ul {
  margin-top: 7px;
  padding-left: 28px;
}
.tagline-highlight {
  background: #F4F7FB;
  color: #23416E;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.14rem;
  padding: 12px 22px;
  border-radius: 7px;
  margin: 14px 0 8px 0;
}
address {
  font-style: normal;
  color: #222;
  margin-bottom: 10px;
  font-size: 1rem;
}

/* =============== CTA Section =============== */
.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(89deg, #f4f7fb 33%, #dde6f7 100%);
  box-shadow: 0 2px 18px rgba(35,65,110,0.07);
  border-radius: 16px;
  margin-bottom: 60px;
  padding: 50px 0 38px 0;
}
.cta h2 {
  margin-bottom: 15px;
  color: #23416E;
}
.cta p {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cta img {
  vertical-align: middle;
  width: 23px;
  height: 23px;
  margin-right: 4px;
}

/* =============== Testimonials =============== */
.testimonials h2 {
  margin-bottom: 26px;
  color: #23416E;
}

/* ============================================= */
/* FOOTER                                        */
/* ============================================= */
footer {
  background: #23416E;
  color: #fff;
  padding: 36px 0 0 0;
  border-radius: 32px 32px 0 0;
  box-shadow: 0 -3px 16px rgba(35,65,110,0.10);
  font-size: 1rem;
  margin-top: 70px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  justify-content: flex-start;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}
footer nav a {
  color: #fff;
  opacity: 0.93;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  letter-spacing: .01em;
  transition: opacity 0.19s, color 0.19s;
  margin-bottom: 5px;
}
footer nav a:hover, footer nav a:focus {
  color: #F2A83B;
  opacity: 1;
}
footer p {
  color: #eaf1fb;
  font-size: 0.97rem;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
footer img {
  width: 20px;
  height: 20px;
  margin-right: 4px;
  vertical-align: middle;
}

/* =============== Blog =============== */
.blog-list ul li, .blog-list ul li a {
  font-size: 1.05rem;
  color: #23416E;
}
.blog-list ul li a:hover, .blog-list ul li a:focus {
  color: #F2A83B;
  text-decoration: underline;
}

/* =============== Cookie Consent =============== */
.cookie-consent-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  background: #23416E;
  color: #fff;
  box-shadow: 0 -6px 22px rgba(35,65,110,0.14);
  padding: 28px 18px 30px 18px;
  z-index: 8000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 1.07rem;
  transition: transform 0.35s cubic-bezier(.8,0,.6,1), opacity 0.24s;
}
.cookie-consent-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-consent-banner .cookie-buttons {
  display: flex;
  gap: 18px;
  margin-top: 6px;
}
.cookie-consent-banner button {
  border: none;
  border-radius: 50px;
  padding: 9px 22px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  margin-right: 0;
  cursor: pointer;
  background: #F2A83B;
  color: #23416E;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(242,168,59,.13);
  transition: background 0.18s, color 0.18s;
}
.cookie-consent-banner button.cookie-reject {
  background: #F4F7FB;
  color: #23416E;
  border: 1.5px solid #b5c9df;
}
.cookie-consent-banner button.cookie-settings {
  background: #fff;
  color: #23416E;
  border: 1.5px solid #23416E;
}
.cookie-consent-banner button:hover,
.cookie-consent-banner button:focus {
  background: #23416E;
  color: #fff;
  border: 1.5px solid #F2A83B;
  outline: none;
}

/* ================= Cookie Modal Popup ================== */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(35,65,110,0.40);
  z-index: 8050;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.2s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  color: #23416E;
  border-radius: 16px;
  max-width: 400px;
  width: 93vw;
  padding: 34px 22px 24px 22px;
  box-shadow: 0 6px 32px rgba(35,65,110,0.18);
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 8070;
  transform: translateY(0);
  transition: transform 0.28s cubic-bezier(.2,.6,.33,1);
}
.cookie-modal h3 {
  font-size: 1.24rem;
  margin-bottom: 12px;
  color: #23416E;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding: 12px 0;
  border-bottom: 1px solid #eaedf3;
}
.cookie-modal .cookie-category:last-child {
  border-bottom: none;
}
.cookie-modal .cookie-switch {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cookie-modal .cookie-switch input {
  accent-color: #23416E;
}
.cookie-modal .essential {
  opacity: 0.9;
  font-weight: 600;
}
.cookie-modal .modal-buttons {
  display: flex;
  gap: 18px;
  margin-top: 7px;
  flex-wrap: wrap;
}
.cookie-modal button {
  border: none;
  border-radius: 24px;
  padding: 8px 22px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  margin-right: 0;
  cursor: pointer;
  background: #23416E;
  color: #fff;
  font-weight: 600;
  transition: background 0.18s, color 0.18s;
}
.cookie-modal button.secondary {
  background: #F2A83B;
  color: #23416E;
  border: 1.5px solid #F2A83B;
}
.cookie-modal button:hover,
.cookie-modal button:focus {
  background: #F2A83B;
  color: #23416E;
  outline: none;
}

/* ================== Forms (Contact etc.) =================== */
input, textarea, select {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  background: #F4F7FB;
  border: 1.1px solid #b5c9df;
  border-radius: 7px;
  padding: 9px 12px;
  transition: border-color 0.18s, box-shadow 0.13s;
  outline: none;
}
input:focus, textarea:focus, select:focus {
  border-color: #23416E;
  box-shadow: 0 0 0 2px #e1eaf7;
}
label {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #23416E;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 3px;
  display: block;
}

/* Icon spacing */
li img, p img {
  display: inline-block;
  vertical-align: middle;
  width: 23px;
  height: 23px;
  margin-right: 7px;
}

/* Miscellaneous utility */
.hide { display: none !important; }
.with-gap { gap: 30px; }

/* ================= RESPONSIVE ================= */
@media (max-width: 1020px) {
  .container {
    max-width: 98vw;
    padding: 0 8px;
  }
  .hero h1 {
    font-size: 2rem;
  }
}
@media (max-width: 900px) {
  header .container, footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  header nav {
    flex-wrap: wrap;
    gap: 20px;
  }
  .cta-button {
    margin-left: 0;
    margin-top: 12px;
  }
  .hero {
    min-height: 200px;
    padding: 29px 0 0 0;
  }
}
@media (max-width: 768px) {
  .content-grid, .features ul {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .section, .about, .team, .values, .legal,
  .process, .info, .faq, .service-details,
  .benefits, .company-info,
  .about-preview, .services-overview,
  .thank-you, .contact-form,
  .project-overview, .project-types, .blog-intro, .blog-list, .newsletter {
    padding: 22px 8px;
    margin-bottom: 36px;
    border-radius: 13px;
  }
  .cta {
    padding: 27px 0 18px 0;
    border-radius: 13px;
  }
}
@media (max-width: 710px) {
  header nav, .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero {
    padding: 36px 0 20px 0;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
@media (max-width: 480px) {
  h1 { font-size: 1.34rem; }
  h2 { font-size: 1.18rem; }
  .mobile-nav a { font-size: 1rem; }
  .cookie-consent-banner { font-size: 0.98rem; }
  .cookie-modal { padding: 18px 6vw 18px 6vw; }
  .cta {
    padding: 18px 0 6px 0;
  }
  .content-wrapper {
    gap: 9px;
  }
}

/* ========= Micro-interactions and transitions ========== */
.card, .testimonial-card, .section, .cta, header, .cta-button, .features ul li, .cookie-consent-banner, .cookie-modal {
  transition: box-shadow 0.23s cubic-bezier(.3,.6,.28,1), background 0.18s, transform 0.18s;
}
.card:hover, .features ul li:hover {
  box-shadow: 0 4px 22px rgba(35,65,110,0.13);
  transform: translateY(-2px) scale(1.013);
}

/* =========== Custom scrollbars for style ============= */
::-webkit-scrollbar {
  width: 12px;
  background: #e9eefa;
}
::-webkit-scrollbar-thumb {
  background: #b5c9df;
  border-radius: 8px;
}

/* ======= Accessibility improvements ======= */
:focus-visible {
  outline: 2px solid #F2A83B;
  outline-offset: 3px;
}

/* END OF STYLE.CSS */