/* ===== 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,
main, 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;
  background: #FAF9F6;
  min-height: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  font-family: 'Georgia', 'Times New Roman', serif;
  background: #FAF9F6;
  color: #2D3A4A;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, textarea, select {
  font: inherit;
}
a {
  color: #2D3A4A;
  text-decoration: none;
  transition: color .2s cubic-bezier(.4,0,.2,1);
}
a:hover, a:focus {
  color: #89B9AD;
  outline: none;
}
ul, ol {
  padding-left: 24px;
}
/* ===== BRAND FONTS ===== */
h1, h2, h3, .logo, .btn {
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 700;
  letter-spacing: 0.01em;
}
p, li, blockquote, address, dl, dt, dd {
  font-family: 'Georgia', 'Times New Roman', serif;
}
@media (max-width: 480px) {
  body { font-size: 15px; }
}
/* ===== TYPOGRAPHY SCALE ===== */
h1 {
  font-size: 2.9rem;
  line-height: 1.15;
  margin-bottom: 24px;
  color: #2D3A4A;
}
h2 {
  font-size: 2.1rem;
  line-height: 1.25;
  margin-bottom: 20px;
  color: #2D3A4A;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 14px;
  color: #2D3A4A;
}
h4, h5, h6 {
  font-size: 1.15rem;
  color: #2D3A4A;
}
p, ul, ol, blockquote, dl {
  margin-bottom: 16px;
}
strong, b {
  font-weight: bold;
}
em, i {
  font-style: italic;
}
blockquote {
  font-size: 1.18rem;
  font-style: italic;
  color: #2D3A4A;
  border-left: 3px solid #D1BFA7;
  padding-left: 18px;
  margin-bottom: 4px;
  background: rgba(209,191,167,0.08);
  border-radius: 0 6px 6px 0;
}
/* ===== LAYOUT BASICS ===== */
.container {
  width: 100%;
  max-width: 1190px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
/* Section Spacing - as per requirements */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  .section { padding: 32px 8px; margin-bottom: 36px; }
}
main > section {
  margin-bottom: 52px;
  padding-top: 12px;
  padding-bottom: 6px;
}
.text-section {
  max-width: 740px;
}
/* ===== HERO SECTION ===== */
.hero {
  background: #fff;
  border-radius: 0 0 36px 36px;
  box-shadow: 0 8px 32px 0 rgba(45,58,74,0.07);
  padding: 60px 0 52px 0;
  margin-bottom: 48px;
}
@media (max-width: 768px) {
  .hero {
    padding: 32px 0 28px 0;
    border-radius: 0 0 20px 20px;
    margin-bottom: 24px;
  }
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 24px;
}
/* ===== NAVIGATION ===== */
header {
  background: #fff;
  border-bottom: 1px solid #E7DFCF;
  padding: 0;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  padding: 10px 0 10px 0;
}
nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  font-size: 1rem;
}
nav a {
  color: #2D3A4A;
  text-decoration: none;
  position: relative;
  padding: 4px 3px;
  transition: color .2s;
}
nav a:after {
  content: '';
  display: block;
  margin: 0 auto;
  width: 0;
  height: 2px;
  background: #89B9AD;
  border-radius: 1px;
  transition: width .26s cubic-bezier(.25,1,.5,1);
}
nav a:hover:after, nav a:focus:after {
  width: 80%;
}
nav a:hover, nav a:focus {
  color: #89B9AD;
}
/* NAV BUTTON */
.btn.btn-primary {
  background: #2D3A4A;
  color: #fff;
  padding: 9px 24px 10px 24px;
  border-radius: 25px;
  font-size: 1.06rem;
  border: none;
  box-shadow: 0 2px 14px 0 rgba(45,58,74,0.06);
  transition: background .16s, color .16s, box-shadow .18s;
  display: inline-block;
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 700;
  letter-spacing: .01em;
  cursor: pointer;
  line-height: 1.25;
}
.btn.btn-primary:hover, .btn.btn-primary:focus {
  background: #D1BFA7;
  color: #2D3A4A;
  box-shadow: 0 4px 20px 0 rgba(210,191,167,0.14);
}
/* MOBILE MAIN MENU */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #2D3A4A;
  cursor: pointer;
  margin-left: 14px;
  transition: color .2s;
  z-index: 1002;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: #89B9AD;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 6px 48px 0 rgba(45,58,74,0.10);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0 0 0 0;
  z-index: 2000;
  transform: translateX(-100vw);
  transition: transform .37s cubic-bezier(.6,.2,.38,1);
  will-change: transform;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 24px 24px 0 0;
  background: none;
  border: none;
  font-size: 2rem;
  color: #2D3A4A;
  cursor: pointer;
  transition: color .18s;
  z-index: 2002;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #89B9AD;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100vw;
  margin: 32px 0 0 36px;
  font-size: 1.25rem;
}
.mobile-nav a {
  padding: 10px 0;
  color: #2D3A4A;
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 20px 20px 0;
  transition: background .15s, color .17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #D1BFA7;
  color: #2D3A4A;
}
@media (max-width: 1100px) {
  .container { padding-left: 10px; padding-right: 10px; }
}
@media (max-width: 990px) {
  header .container nav, header .container .btn.btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 991px) {
  .mobile-menu {
    display: none !important;
  }
}
/* ===== FOOTER ===== */
footer {
  background: #2D3A4A;
  color: #fff;
  padding: 44px 0 30px 0;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}
.footer-logo {
  margin-right: 28px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 13px;
  font-size: 1.06rem;
}
footer nav a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 500;
}
footer nav a:hover, footer nav a:focus {
  color: #D1BFA7;
}
.footer-contact {
  min-width: 200px;
  font-family: 'Georgia', 'Times New Roman', serif;
}
.footer-contact a {
  color: #D1BFA7;
  text-decoration: underline;
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 500;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  footer { padding: 30px 0 20px 0; }
}
/* ===== CARDS & FEATURE LISTS ===== */
.features-grid, .service-cards, .services-list, .project-summary-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
  margin-bottom: 8px;
}
@media (max-width: 768px) {
  .features-grid, .service-cards, .services-list, .project-summary-list {
    flex-direction: column;
    gap: 18px;
  }
}
.feature, .service-card, .service-detail, .project-summary {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 1.5px 8px 0 rgba(45,58,74,0.05);
  border: 1px solid #E7DFCF;
  padding: 24px 22px 18px 22px;
  margin-bottom: 20px;
  flex: 1 1 240px;
  min-width: 240px;
  max-width: 385px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow .17s, border-color .21s, transform .25s;
}
.feature:hover, .service-card:hover, .service-detail:hover, .project-summary:hover {
  box-shadow: 0 6px 32px 0 rgba(45,58,74,0.14);
  border-color: #D1BFA7;
  transform: translateY(-6px) scale(1.012);
  z-index: 3;
}
.feature img, .project-summary img {
  height: 40px;
  width: 40px;
  margin-bottom: 10px;
}
.feature h3, .service-card h3, .service-detail h3, .project-summary h3 {
  font-size: 1.18rem;
  margin-bottom: 8px;
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 600;
  color: #2D3A4A;
}
/* Content Grids and Wrappers */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1px 6px rgba(45,58,74, 0.045);
  border: 1px solid #E7DFCF;
  padding: 22px 18px;
  min-width: 220px;
  max-width: 320px;
}
/* General Flex Utilities */
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
/* ===== TESTIMONIAL CARDS ===== */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 18px;
  background: #FAF9F6;
  box-shadow: 0 2px 16px 0 rgba(45,58,74,0.08);
  border: 1px solid #E7DFCF;
  color: #2D3A4A;
  font-family: 'Georgia', 'Times New Roman', serif;
  transition: box-shadow .22s, border-color .23s;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 6px 32px 0 rgba(45,58,74,0.15);
  border-color: #D1BFA7;
}
.testimonial-card blockquote {
  font-size: 1.1em;
  margin: 0;
  border-left: 3px solid #89B9AD;
  padding-left: 16px;
  background: none;
  color: #2D3A4A;
}
.testimonial-card span {
  font-style: normal;
  font-size: 0.98em;
  color: #2D3A4A;
}
.testimonial-card div {
  align-self: flex-end;
}
@media (max-width:600px){
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 14px 10px;
  }
}
/* ===== USP / IMPACT / WORKFLOW ===== */
.usp-list, .impact-statements ul, .workflow-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: 'Georgia', 'Times New Roman', serif;
}
.workflow-steps {
  gap: 14px;
  counter-reset: ws;
  margin-left: 24px;
}
.workflow-steps li {
  position: relative;
  padding-left: 18px;
}
.workflow-steps li:before {
  counter-increment: ws;
  content: counter(ws) '.';
  color: #89B9AD;
  font-family: 'Montserrat', Georgia, serif;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}
/* ===== CONTACT BLOCKS & INFO ===== */
.contact-info, .contact-block {
  background: #fff;
  border-radius: 14px;
  padding: 18px 16px 10px 16px;
  box-shadow: 0 1.5px 10px rgba(45,58,74,0.045);
  border: 1px solid #E7DFCF;
}
.contact-block dl {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-block dt {
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 700;
  margin-bottom: 2px;
  color: #2D3A4A;
}
.contact-block dd {
  margin-bottom: 6px;
  color: #2D3A4A;
  margin-left: 10px;
}
/* ===== IMPACT STATEMENTS IN PROJECTS ===== */
.impact-statements ul {
  padding-left: 22px;
  color: #2D3A4A;
  font-style: italic;
  margin-bottom: 0;
}
/* ===== COLLABORATION ICONS ===== */
.collaboration-icons {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
  margin-top: 14px;
}
.collaboration-icons img {
  max-width: 44px;
  height: auto;
  opacity: 0.86;
  transition: opacity .13s;
}
.collaboration-icons img:hover, .collaboration-icons img:focus {
  opacity: 1;
}
/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  text-align: center;
  border: none;
  border-radius: 24px;
  font-size: 1rem;
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 700;
  padding: 10px 26px 11px 26px;
  cursor: pointer;
  transition: background .18s, color .19s, box-shadow .22s, border-color .18s;
  box-shadow: 0 2px 10px 0 rgba(45,58,74,0.042);
}
.btn:active {
  transform: translateY(1px) scale(0.98);
}
.btn[disabled], .btn:disabled {
  opacity: 0.6;
  cursor: default;
  pointer-events: none;
}
/* ===== LINKS ===== */
a.btn, .btn a {
  color: inherit;
}
a:focus, button:focus, .btn:focus {
  outline: 2px solid #89B9AD;
  outline-offset: 2px;
}
/* Small utility */
.text-center { text-align: center; }
.mt-2 { margin-top: 16px; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 8px !important; }
.mb-2 { margin-bottom: 16px !important; }

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #2D3A4A;
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 26px 20px 18px 20px;
  z-index: 4000;
  box-shadow: 0 -6px 36px 0 rgba(45,58,74,0.13);
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: transform .35s cubic-bezier(.62,.07,.47,1), opacity .2s;
  font-size: 1.05rem;
}
.cookie-banner.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.cookie-banner .cookie-banner-text {
  max-width: 500px;
}
.cookie-banner .cookie-banner-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
}
.cookie-banner .btn {
  font-size: 1.03rem;
  border-radius: 18px;
  padding: 8px 18px;
  box-shadow: none;
}
.cookie-banner .btn-accept {
  background: #89B9AD;
  color: #2D3A4A;
}
.cookie-banner .btn-accept:hover {
  background: #D1BFA7;
  color: #2D3A4A;
}
.cookie-banner .btn-reject {
  background: #fff;
  color: #2D3A4A;
  border: 1px solid #D1BFA7;
}
.cookie-banner .btn-reject:hover {
  background: #D1BFA7;
  color: #2D3A4A;
}
.cookie-banner .btn-settings {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
}
.cookie-banner .btn-settings:hover {
  background: #89B9AD;
  color: #2D3A4A;
  border-color: #89B9AD;
}
@media (max-width: 640px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 17px 10px 12px 10px;
    font-size: 0.97rem;
  }
  .cookie-banner .cookie-banner-actions {
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
  }
}

/* ===== COOKIE SETTINGS MODAL ===== */
.cookie-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(45,58,74,0.44);
  z-index: 5050;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .34s cubic-bezier(.69,.01,.47,.95);
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal .cookie-modal-dialog {
  background: #fff;
  color: #2D3A4A;
  border-radius: 18px 18px 0 0;
  max-width: 470px;
  width: 100%;
  margin: 0 6px 28px 6px;
  padding: 34px 28px 22px 28px;
  box-shadow: 0 10px 52px rgba(45,58,74,0.23);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal .cookie-modal-title {
  font-size: 1.28em;
  font-family: 'Montserrat', Georgia, serif;
  margin-bottom: 10px;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 18px;
  border: none;
  background: none;
  font-size: 1.4rem;
  color: #89B9AD;
  cursor: pointer;
  z-index: 5100;
}
.cookie-modal .cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #E7DFCF;
}
.cookie-modal .cookie-category:last-child {
  border-bottom: none;
}
.cookie-modal .cookie-category-title {
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 600;
}
.cookie-modal .cookie-category-desc {
  font-size: 0.98em;
  color: #5E6471;
}
.cookie-modal .cookie-toggle {
  position: relative;
  width: 40px;
  height: 22px;
  display: inline-block;
}
.cookie-modal .cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-modal .cookie-slider {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 22px;
  background: #E7DFCF;
  transition: background .16s;
}
.cookie-modal .cookie-toggle input:checked + .cookie-slider {
  background: #89B9AD;
}
.cookie-modal .cookie-slider:before {
  content: '';
  position: absolute;
  left: 3px; top: 2px;
  width: 17px; height: 17px;
  border-radius: 50%;
  background: #fff;
  transition: transform .14s;
}
.cookie-modal .cookie-toggle input:checked + .cookie-slider:before {
  transform: translateX(17px);
}
.cookie-modal .cookie-category.essential .cookie-toggle input {
  display: none;
}
.cookie-modal .cookie-category.essential .cookie-slider {
  background: #C7C4B9;
}
.cookie-modal .btn {
  margin-top: 10px;
  width: 100%;
}
@media (max-width:530px) {
  .cookie-modal .cookie-modal-dialog {
    padding: 18px 8px 12px 8px; max-width: 98vw;
  }
}
/* ===== UTILITY CLASSES ===== */
.hide {
  display: none !important;
}
.show {
  display: block !important;
}
@media (max-width: 900px) {
  .card, .feature, .service-card, .service-detail, .project-summary {
    min-width: 98%;
    max-width: 98%;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 2.05rem; }
  h2 { font-size: 1.35rem; }
  .hero { padding: 18px 0 12px 0; }
}
/* ===== END OF STYLE.CSS ===== */
