/* =================== 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%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}
body {
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  background: #142730;
  color: #DBE2D5;
  min-height: 100vh;
  line-height: 1.7;
}
*, *:before, *:after { box-sizing: inherit; }
img { max-width: 100%; height: auto; display: block; }
a { color: #7FE2C0; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #B16A3F; }

/* =================== BRANDING & FONTS =================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-weight: 700;
  color: #F4F7FA;
  margin-bottom: 16px;
}
h1 { font-size: 2.8rem; line-height: 1.1; }
h2 { font-size: 2rem;  }
h3 { font-size: 1.45rem; }
h4 { font-size: 1.15rem; }
p, ul, ol, li, address { font-size: 1rem; color: #DBE2D5; }
strong, b { color: #B16A3F; font-weight: 700; }
.text-section h3 { color: #B16A3F; }


/* =================== LAYOUT & CONTAINERS =================== */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.section { margin-bottom: 60px; padding: 40px 20px; }

/* =================== HEADER =================== */
header {
  background: #1A3D49;
  box-shadow: 0 4px 32px 0 #0b1a20b3;
  padding: 0;
  position: relative;
  z-index: 20;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 16px 20px;
}
header nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
}
header nav a {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  color: #DBE2D5;
  letter-spacing: 0.05em;
  transition: color 0.18s;
  position: relative;
  padding-bottom: 2px;
}
header nav a::after {
  content: '';
  display: block;
  width: 0%;
  height: 2px;
  background: #B16A3F;
  transition: width 0.2s;
  position: absolute;
  left: 0; bottom: 0;
}
header nav a:hover::after, header nav a:focus::after { width: 100%; }
header nav a.active { color: #B16A3F; }

.cta-btn {
  background: linear-gradient(90deg,#7FE2C0 0%,#B16A3F 90%);
  color: #1A3D49;
  font-family: 'Lato', Arial, sans-serif;
  padding: 11px 30px;
  border: none;
  border-radius: 32px;
  font-size: 1.02rem;
  font-weight: bold;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  box-shadow: 0 2px 16px #0b1a2055;
  cursor: pointer;
  transition: background 0.23s, color 0.18s, transform 0.18s;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg,#B16A3F 0,#7FE2C0 100%);
  color: #142730;
  transform: translateY(-2px) scale(1.04);
}

/* Burger menu (mobile) */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 2.4rem;
  color: #95fff7;
  cursor: pointer;
  z-index: 102;
  margin-left: 8px;
  transition: color 0.16s;
}
.mobile-menu-toggle:focus { outline: 2px solid #B16A3F; }

/* =================== MOBILE NAVIGATION =================== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #1A2531ee;
  box-shadow: 0 0 80px 10px #09242b4a;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 40px 24px 12px 24px;
  z-index: 1001;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.6,-0.08,.4,1.09);
  opacity: 0.98;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 27px;
  margin-top: 38px;
  width: 100%;
}
.mobile-nav a {
  color: #E2FAF9;
  font-family: 'Lato', sans-serif;
  font-size: 1.14rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  padding: 12px 0;
  border-bottom: 1px solid #294955;
  display: block;
  transition: background 0.15s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #B16A3F;
  background: #7FE2C033;
}
.mobile-menu-close {
  font-size: 2.1rem;
  background: transparent;
  border: none;
  color: #B16A3F;
  align-self: flex-end;
  margin-top: -24px;
  margin-bottom: 6px;
  cursor: pointer;
  transition: color 0.16s;
  z-index: 1025;
}
.mobile-menu-close:focus { outline: 2px solid #B16A3F; }

@media (max-width: 1000px) {
  header .container nav {
    display: none;
  }
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 600px) {
  .mobile-menu {
    padding: 40px 10px 10px 10px;
  }
}

/* =================== HERO SECTIONS =================== */
.hero {
  display: flex;
  align-items: center;
  background: linear-gradient(95deg, #1A3D49 70%, #142730 100%);
  min-height: 340px;
  box-shadow: 0 12px 40px 0 #05232a74;
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
  margin-bottom: 60px;
  padding: 56px 0 56px 0;
}
.hero .container { justify-content: center; align-items: flex-start; }
.hero .content-wrapper {
  gap: 24px;
  max-width: 700px;
  padding: 0 8px;
}
.hero h1 {
  font-size: 2.8rem;
  color: #fff;
  letter-spacing: 0.01em;
  background: linear-gradient(92deg, #7FE2C0 0%, #B16A3F 85%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}
.hero p {
  font-size: 1.25rem;
  color: #EAF9F7;
  background: inherit;
  border-left: 3px solid #B16A3F;
  padding-left: 16px;
}

/* =================== FEATURES & PILIERS =================== */
.features, .resource-grid, .about, .values, .editorial-team, .newsletter, .faq, .categories, .contact-details, .legal, .latest-articles, .case-study-list, .highlighted-projects {
  margin-bottom: 60px;
}
.feature-grid, .category-list, .case-study-list, .articles-list ul {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  list-style: none;
}
.feature-grid li, .category-list li, .case-study-list .text-section, .articles-list ul li {
  background: #15222a;
  border-radius: 22px;
  box-shadow: 0 4px 32px #16213948;
  padding: 28px 24px 26px 24px;
  color: #DAE9E7;
  flex: 1 1 195px;
  min-width: 235px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  border: 1.5px solid #22384B;
  transition: box-shadow 0.21s, border-color 0.22s, background 0.19s;
  position: relative;
}
.feature-grid li:hover, .case-study-list .text-section:hover, .articles-list ul li:hover {
  box-shadow: 0 8px 36px 1px #B16A3F55, 0 2px 2px #0001;
  border-color: #B16A3F;
  background: #1A2F36;
}
.feature-grid li img {
  width: 46px; height: 46px; margin-bottom: 14px;
  filter: drop-shadow(0px 2px 8px #7FE2C044);
}
.feature-grid h3, .category-list li {
  font-size: 1.13rem;
  color: #7FE2C0;
}

.category-list li {
  flex: 0 0 180px;
  text-align: center;
  background: #13212a;
  border-left: 4px solid #7FE2C0;
  margin: 0 0 20px 0;
}

/* =================== BUTTONS & INTERACTIONS =================== */
button, .filters button {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 20px;
  padding: 9px 24px;
  background: #203C41;
  border: 1.5px solid #7FE2C0;
  color: #96ffef;
  box-shadow: 0 3px 14px #7FE2C011;
  cursor: pointer;
  transition: background 0.19s, color 0.17s, border 0.18s, transform 0.17s;
  margin-right: 12px;
  margin-bottom: 12px;
}
.filters button:hover, .filters button:focus, button:hover, button:focus {
  background: #B16A3F;
  color: #fff;
  border: 1.5px solid #B16A3F;
  transform: translateY(-2px) scale(1.06);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 17px;
  margin: 32px 0 0 0;
}

.pagination {
  margin: 28px 0 8px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  justify-content: center;
}
.pagination a {
  padding: 8px 16px;
  background: #203C41;
  color: #7FE2C0;
  border-radius: 14px;
  border: 1.5px solid #7FE2C0;
  margin: 0 4px;
  font-weight: bold;
  transition: background 0.13s, color 0.13s, border 0.15s;
}
.pagination a:hover, .pagination a:focus {
  background: #B16A3F;
  color: #fff;
  border: 1.5px solid #B16A3F;
}

/* =================== ABOUT, VALUES, FAQ =================== */
.values ul, .resource-grid ul, .newsletter ul, .recommended-books ul, .useful-links ul {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 20px 0 18px 0;
  padding-left: 18px;
  color: #E9FCFA;
}
.text-section {
  background: #182634;
  border-radius: 17px;
  padding: 24px;
  margin-bottom: 10px;
  box-shadow: 0 4px 28px 0 #0b1a2034;
  color: #C6E3E0;
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.text-section ul {
  list-style: disc inside;
  color: #E2FCF5;
  font-size: 1rem;
}
.text-section a { color: #7FE2C0; text-decoration: underline; }
.text-section a:hover { color: #B16A3F; }

.about-preview a{ color:#7FE2C0; text-decoration:underline; }
.about-preview a:hover{ color:#B16A3F; }

/* =================== ARTICLES =================== */
.articles-list, .latest-articles {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 38px;
}
.articles-list ul, .latest-articles ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.articles-list ul li, .latest-articles ul li {
  flex: 1 1 270px;
  margin-bottom: 20px;
  border-radius: 16px;
  padding: 23px 21px 22px 21px;
  background: #172732;
  border: 1.5px solid #22384B;
  box-shadow: 0 2px 18px #0924321c;
  transition: box-shadow 0.16s, border-color 0.19s, background 0.15s;
}
.articles-list ul li:hover, .latest-articles ul li:hover {
  box-shadow: 0 8px 32px 1px #7FE2C055, 0 2px 2px #0001;
  border-color: #7FE2C0;
  background: #1A2F36;
}
.latest-articles .highlighted-article {
  border-left: 6px solid #B16A3F;
  background: #203442;
  border-radius: 7px;
  margin-top: 30px;
  padding: 18px 24px;
  color: #ffe9c2;
  box-shadow: 0 3px 24px #B16A3F33;
  transition: background 0.16s;
}
.latest-articles .highlighted-article:hover {
  background: #2A3E41;
}

/* =================== NEWSLETTER SECTIONS =================== */
.newsletter {
  background: linear-gradient(92deg, #19364B 48%, #23393C 100%);
  border-radius: 18px;
  box-shadow: 0 4px 20px 0 #123b3522;
  padding: 40px 24px;
  margin-bottom: 60px;
  color: #E2FCF5;
}
.newsletter h2 { color: #7FE2C0;}
.newsletter ul{
  gap:12px;
}

.newsletter b { color: #B16A3F; }

/* =================== FOOTER =================== */
footer {
  background: #162029;
  color: #A6DBDF;
  padding: 46px 0 30px 0;
  border-top: 4px solid #7FE2C0;
  box-shadow: 0 -2px 18px #7FE2C033;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 36px;
}
footer nav {
  display: flex;
  align-items: flex-start;
  gap: 30px;
}
footer nav a {
  color: #A6DBDF;
  font-size: 0.98rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.06em;
  position: relative;
  margin-bottom: 8px;
}
footer nav a:hover, footer nav a:focus { color: #7FE2C0; }
footer address {
  font-style: normal;
  color: #8FCAC2;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
footer address img { width: 18px; margin-right: 8px; opacity: .8; vertical-align: middle; }
footer address p {
  font-size: 0.98rem;
  margin-bottom: 6px;
  color: #8FCAC2;
  display: flex;
  align-items: center;
  gap: 7px;
}

@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 22px;
  }
  .feature-grid, .articles-list ul {
    flex-direction: column;
    gap: 22px;
  }
}

/* =================== RESPONSIVE & FLEXBOX =================== */
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #182634;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 18px #B16A3F22;
  position: relative;
  transition: box-shadow 0.15s, border-color 0.16s;
}
.card:hover, .card:focus {
  box-shadow: 0 8px 28px #B16A3F33;
  border-color: #7FE2C0;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: flex-start; }
  .container { padding: 0 10px; }
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.08rem; }
  .hero {
    min-height: unset;
    padding: 34px 0 32px 0;
    margin-bottom: 32px;
  }
  .newsletter, .section, .features {
    padding: 28px 6px;
    margin-bottom: 32px;
    border-radius: 12px;
  }
  .feature-grid, .category-list, .articles-list ul {
    flex-direction: column;
    gap: 17px;
  }
}

/* Testimonials - strong color contrast on white cards */
.testimonials {
  padding-bottom: 30px;
}
.testimonial-card {
  background: #f7faff;
  color: #1A3D49;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 28px;
  border-radius: 15px;
  box-shadow: 0 2px 20px 0 #7FE2C041;
  margin-bottom: 22px;
  border-left: 5px solid #7FE2C0;
  position: relative;
}
.testimonial-card strong {
  color: #B16A3F;
}
.testimonial-card p {
  color: #1A3D49;
}

/* Feature item structure */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Highlighted project/article */
.highlighted-projects, .highlighted-article {
  background: #222c33;
  border-left: 6px solid #7FE2C0;
  border-radius: 10px;
  padding: 18px 27px;
  margin-top: 16px;
  color: #E9F6F0;
  box-shadow: 0 4px 18px #7FE2C033;
}

/* =================== Cookie Consent Banner/Banners =================== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5000;
  background: #142730ee;
  color: #f0faf5;
  padding: 28px 15px 22px 15px;
  box-shadow: 0 -2px 28px #7FE2C044;
  border-top: 3px solid #7FE2C0;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 30px;
  justify-content: space-between;
  flex-wrap: wrap;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.25s, transform 0.31s;
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}
.cookie-banner p{
  color: #E9FCF5;
  font-size: 1.02rem;
  flex: 1 1 240px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
}
.cookie-banner button {
  border-radius: 18px;
  padding: 9px 22px;
  border: 0;
  font-weight: 600;
  margin: 0 3px;
}
.cookie-banner .accept-all {
  background: #7FE2C0;
  color: #1A3D49;
}
.cookie-banner .reject-all {
  background: #B16A3F;
  color: #fff;
}
.cookie-banner .cookie-settings {
  background: #203C41;
  color: #7FE2C0;
  border: 1.5px solid #7FE2C0;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  opacity: .88;
  box-shadow: 0 3px 18px #B16A3F22;
  outline: none;
}

@media (max-width: 740px) {
  .cookie-banner{
    flex-direction: column;
    gap:18px;
    align-items: flex-start;
    padding: 18px 7px 13px 7px;
  }
}

.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  background: #17202ada;
  z-index: 5008;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.25s;
}
.cookie-modal-backdrop.hide {
  opacity: 0;
  pointer-events: none;
}

.cookie-modal {
  background: #f7f9fa;
  color: #1A3D49;
  border-radius: 15px;
  box-shadow: 0 4px 36px #7FE2C048;
  padding: 34px 30px 25px 30px;
  min-width: 310px;
  width: 97%;
  max-width: 440px;
  position: relative;
  z-index: 5100;
  display: flex;
  flex-direction: column;
  gap: 28px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.23s, transform 0.26s;
}
.cookie-modal.hide {
  opacity: 0;
  transform: translateY(50%);
  pointer-events: none;
}
.cookie-modal h3 {
  color: #B16A3F;
  font-size: 1.2rem;
}
.cookie-modal ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-left: 9px;
  color: #243E46;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 600;
}
.cookie-category input[type=checkbox],
.cookie-category input[type=radio] {
  accent-color: #7FE2C0;
  width: 20px;
  height: 20px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 13px;
  justify-content: flex-end;
}
.cookie-modal button {
  background: #203C41;
  color: #7FE2C0;
  border-radius: 16px;
  padding: 8px 19px;
  border: 1.5px solid #7FE2C0;
  font-weight: 600;
  margin: 0 2px;
  transition: background .18s, color .17s;
}
.cookie-modal button.primary {
  background: #7FE2C0;
  color: #1A3D49;
  border: none;
}
.cookie-modal button:hover, .cookie-modal button:focus {
  background: #B16A3F;
  color: #fff;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 11px; right: 11px;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #B16A3F;
  cursor: pointer;
  z-index: 10012;
}
.cookie-modal .modal-close:focus { outline: 2px solid #7FE2C0; }

/* =================== MISC =================== */
::-webkit-scrollbar {
  width: 12px; background: #1A3D49;
}
::-webkit-scrollbar-thumb {
  background: #7FE2C0; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover {
  background: #B16A3F; }

::selection { background: #7FE2C0; color: #1A3D49; }


/* =================== PRINT =================== */
@media print {
  header, nav, footer, .cookie-banner, .mobile-menu { display: none !important; }
  main, body { background: #fff !important; color: #212732 !important; }
}
