/* ===============================================
   CSS RESET & INDUSTRIAL MODERN VARIABLE SETUP
   =============================================== */
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;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #181e22;
  color: #E9F5DB;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  position: relative;
}
a {
  color: #E9F5DB;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #81c784;
  outline: none;
}
ul, ol {
  margin-left: 1.3rem;
  margin-bottom: 1rem;
}
strong {
  font-weight: 700;
  color: #fff;
}
img {
  max-width: 100%;
  height: auto;
}

/* MONTSERRAT - for display headers, strong, .btn-primary, nav, etc. */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Roboto:wght@400;500;700&display=swap');

:root {
  --color-primary: #257145;
  --color-secondary: #264653;
  --color-accent: #E9F5DB;
  --color-background: #181e22;
  --color-foreground: #212529;
  --color-metallic: #6E7B82;
  --color-card: #232b30;
  --color-light: #E9F5DB;
  --color-dark: #101417;
  --color-muted: #495057;
  --color-error: #e63946;

  --shadow-main: 0 6px 24px rgba(40,50,55,0.12), 0 1px 4px rgba(30,32,38,0.14);
  --shadow-card: 0 2px 12px rgba(30,32,38,0.15);

  --radius-main: 8px;
  --radius-sm: 4px;
  --radius-lg: 24px;

  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

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

/* ===============================================
   TYPOGRAPHY
   =============================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-accent);
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.15;
  margin-bottom: 12px;
}
h1 {
  font-size: 2.75rem;
  margin-top: 0;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.4rem;
}
h4 {
  font-size: 1.15rem;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: var(--color-light);
  max-width: 760px;
}

p, li, address {
  font-family: var(--font-body);
  color: var(--color-accent);
  font-size: 1.15rem;
  line-height: 1.8;
  letter-spacing: 0.1px;
}
li {
  margin-bottom: 8px;
  padding-left: 8px;
}
ul li img {
  width: 26px;
  height: 26px;
  margin-right: 10px;
  vertical-align: middle;
  filter: grayscale(30%) brightness(1.1) contrast(1.1);
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.11rem; }
}

/* ===============================================
   HEADER + NAVIGATION
   =============================================== */
header {
  background: var(--color-secondary);
  border-bottom: 2px solid #333d44;
  box-shadow: 0 2px 8px rgba(30,32,38, 0.11);
  z-index: 102;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  min-height: 68px;
}
header img {
  height: 48px;
  min-width: 48px;
  filter: none;
  margin-right: 14px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 12px;
}
header nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.06rem;
  color: var(--color-accent);
  padding: 10px 18px;
  border-radius: var(--radius-main);
  letter-spacing: 1.1px;
  transition: background 0.17s, color 0.17s;
}
header nav a:not(.btn-primary):hover, 
header nav a:not(.btn-primary):focus {
  background: rgba(39,113,69,0.21);
  color: #fff;
}
header nav .btn-primary {
  margin-left: 18px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-main);
  padding: 10px 26px;
  font-weight: 700;
  letter-spacing: 1.3px;
  box-shadow: 0 2px 8px rgba(39,113,69,0.18);
  transition: filter 0.2s, background 0.21s;
  cursor: pointer;
}
header nav .btn-primary:hover, header nav .btn-primary:focus {
  background: #3b8e5b;
  filter: brightness(1.08);
}

.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: var(--color-accent);
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 24px;
  outline: none;
  height: 54px;
  width: 54px;
  z-index: 103;
  border-radius: 50%;
  transition: background 0.16s;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: #2d3741;
}

/* Responsive Header/Nav */
@media (max-width: 1024px) {
  header nav a {
    padding: 8px 6px;
    font-size: 1rem;
  }
}
@media (max-width: 900px) {
  header nav {
    gap: 5px;
  }
}
@media (max-width: 768px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ===============================================
   MOBILE MENU
   =============================================== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(28,32,35,0.97);
  z-index: 1110;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.54,0,.38,1.02);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  padding: 18px 28px 10px 10px;
  align-self: flex-end;
  cursor: pointer;
  z-index: 1109;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 22px;
  gap: 10px;
  padding: 0 32px;
}
.mobile-nav a {
  font-family: var(--font-display);
  color: var(--color-accent);
  font-size: 1.28rem;
  font-weight: 600;
  background: none;
  border-radius: var(--radius-main);
  padding: 13px 0;
  margin-bottom: 2px;
  width: 100%;
  transition: background 0.16s, color 0.16s;
  border-left: 4px solid transparent;
}
.mobile-nav a:active, .mobile-nav a:hover, .mobile-nav a:focus {
  background: rgba(39, 113, 69, 0.22);
  color: #fff;
  border-left: 4px solid var(--color-primary);
}

@media (max-width: 480px) {
  .mobile-nav {
    padding: 0 12px;
  }
  .mobile-nav a {
    font-size: 1rem;
  }
}

/* =========================
   FLEX LAYOUT PATTERNS
   ========================= */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  width: 100%;
  background: none;
  display: flex;
  flex-direction: column;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  background: var(--color-card);
  border-radius: var(--radius-main);
  box-shadow: var(--shadow-card);
  padding: 26px;
  margin-bottom: 20px;
  position: relative;
  min-width: 220px;
  flex: 1 1 340px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1.5px solid #333d44;
}
.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: 20px;
  background: #f7faf6;
  color: #2f3c3b;
  padding: 20px 26px;
  margin-bottom: 20px;
  border-radius: var(--radius-main);
  box-shadow: 0 2px 10px 1px rgba(30,50,40,0.14);
  border: 1.4px solid #ccd6c6;
  min-width: 190px;
  font-size: 1.1rem;
}
.testimonial-card strong {
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: #257145;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #202a27;
  border-radius: var(--radius-main);
  padding: 24px 20px;
  margin-bottom: 20px;
}

@media (max-width: 900px) {
  .content-grid, .text-image-section, .card-container {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .section {
    padding: 28px 6px;
  }
  .container {
    padding: 0 8px;
  }
  .testimonial-card {
    padding: 14px 10px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

/* ===============================================
   BUTTONS & CALLS-TO-ACTION
   =============================================== */
.btn-primary, .btn-accept, .btn-reject, .btn-settings {
  display: inline-block;
  padding: 10px 28px;
  border-radius: var(--radius-main);
  background: var(--color-primary);
  color: #fff !important;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: 1.2px;
  border: none;
  box-shadow: 0 2px 8px rgba(39,113,69,0.14);
  transition: background 0.18s, box-shadow 0.21s, filter 0.18s;
  cursor: pointer;
  margin-top: 12px;
}
.btn-primary:hover, .btn-primary:focus, .btn-accept:hover, .btn-accept:focus {
  background: #389156;
  filter: brightness(1.08) drop-shadow(0 1px 6px #25714590);
  color: #e6fff7;
}
.btn-reject {
  background: #2d3741;
  color: #fff;
  font-weight: 500;
  margin-left: 12px;
}
.btn-reject:hover, .btn-reject:focus {
  background: #888e94;
  color: #fafafa;
}
.btn-settings {
  background: #7e8c8d;
  color: #184126;
  margin-left: 12px;
}
.btn-settings:hover, .btn-settings:focus {
  background: #b4c1b1;
  color: #0f2517;
}

/* BUTTON FOCUS STATE */
.btn-primary:focus, .btn-accept:focus, .btn-reject:focus, .btn-settings:focus {
  outline: 2px solid #407554;
  outline-offset: 2px;
}

/* ===============================================
   OTHER FLEX CONTENT SECTIONS
   =============================================== */
.team-members {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 20px;
}
.team-members .text-section {
  background: #232b30;
  border-radius: var(--radius-main);
  box-shadow: var(--shadow-card);
  padding: 22px 20px;
}

@media (max-width: 900px) {
  .team-members {
    flex-direction: column;
    gap: 20px;
  }
}

/* ===============================================
   FOOTER
   =============================================== */
footer {
  background: var(--color-secondary);
  border-top: 2px solid #333d44;
  box-shadow: 0 -1px 8px #13181e;
  width: 100%;
  padding: 0 0 37px;
  margin-top: 90px;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 37px 20px 0;
}
footer a img {
  height: 36px;
  margin-right: 14px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
footer nav a {
  color: #b7d5bb;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 500;
  margin-bottom: 3px;
  transition: color 0.16s;
}
footer nav a:hover {
  color: #fff;
}
footer address {
  font-style: normal;
  color: #c4e3ce;
  font-size: 0.99rem;
  display: flex;
  flex-direction: column;
  line-height: 1.8;
  gap: 2px;
}
footer address img {
  height: 16px;
  margin-right: 7px;
  vertical-align: middle;
  filter: grayscale(60%) brightness(1.2);
}

@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 30px 8px 0;
  }
}

/* ===============================================
   COOKIE BANNER & COOKIE MODAL
   =============================================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #232b30;
  border-top: 2px solid #257145;
  color: #E9F5DB;
  font-family: var(--font-body);
  padding: 22px 20px 20px 22px;
  z-index: 1200;
  box-shadow: 0 -2px 14px #2230235d;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
  animation: banner-slideup 0.62s cubic-bezier(.38, 0, .54, 1.13);
}
@keyframes banner-slideup {
  from { transform: translateY(100%); opacity: 0.1; }
  to   { transform: translateY(0);    opacity: 1;   }
}
.cookie-banner p {
  flex: 1 1 280px;
  margin-right: 24px;
  font-size: 1.02rem;
  color: #cad7c7;
}
.cookie-banner .btn-accept, 
.cookie-banner .btn-reject, 
.cookie-banner .btn-settings {
  margin-top: 0;
  margin-bottom: 0;
  min-width: 124px;
}
@media (max-width: 900px) {
  .cookie-banner {
    flex-direction: column;
    gap: 16px;
    padding: 17px 8px 15px 8px;
  }
  .cookie-banner p {
    margin-right: 0;
  }
}

.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(18,25,20,0.83);
  z-index: 1300;
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.open {
  display: flex;
  animation: modal-fadein 0.33s ease;
}
@keyframes modal-fadein {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #232b30;
  color: #E9F5DB;
  border-radius: var(--radius-lg);
  min-width: 340px;
  max-width: 99vw;
  box-shadow: 0 8px 42px #101417bb;
  padding: 38px 42px 36px 38px;
  position: relative;
  display: flex;
  flex-direction: column;
  z-index: 1301;
}
.cookie-modal h2 {
  font-size: 1.44rem;
  color: var(--color-accent);
  margin-bottom: 8px;
}
.cookie-modal .cookie-categories {
  margin: 20px 0 20px 3px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-toggle {
  margin-left: 12px;
  accent-color: var(--color-primary);
  width: 22px;
  height: 22px;
}
.cookie-category-label {
  font-family: var(--font-body);
  font-size: 1.06rem;
  color: #f3faf3;
}
.cookie-modal-btns {
  display: flex;
  flex-direction: row;
  gap: 13px;
  margin-top: 16px;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.24rem;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.12s;
}
.cookie-modal .cookie-modal-close:focus {
  background: #384138;
}
@media (max-width: 512px) {
  .cookie-modal {
    min-width: 88vw;
    padding: 19px 10px 18px 10px;
  }
}

/* ===============================================
   ELEMENTS INTERACTION
   =============================================== */
.card, .feature-item, .team-members .text-section {
  transition: box-shadow 0.18s, background 0.19s;
}
.card:hover, .feature-item:hover, .team-members .text-section:hover {
  box-shadow: 0 4px 18px 2px #26465348;
  background: #27353a;
  cursor: pointer;
}

a.btn-primary:active {
  background: #27774e;
  filter: brightness(0.92);
}

input, textarea, select {
  font-family: var(--font-body);
  border-radius: var(--radius-sm);
  outline: none;
  border: 1.5px solid #495057;
  padding: 11px 12px;
  margin-bottom: 18px;
  background: #181e22;
  color: #E9F5DB;
  width: 100%;
  font-size: 1.11rem;
  box-shadow: none;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-primary);
  background: #232b30;
}
label {
  font-family: var(--font-display);
  color: var(--color-accent);
  font-weight: 500;
  font-size: 1rem;
}

/* ::placeholder style */
input::placeholder, textarea::placeholder {
  color: #748878;
  font-style: italic;
}

/* =========================
   SECTION HEADINGS AND CARDS
   ========================= */
section {
  width: 100%;
  display: flex;
  flex-direction: column;
}
section .container {
  margin-bottom: 0;
}
section h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  letter-spacing: 0.7px;
  color: var(--color-accent);
}
section ul {
  margin-left: 1.1rem;
  margin-bottom: 0.9rem;
}

/* Blog categories/list */
.text-section strong {
  color: #7e8c8d;
  font-size: 1rem;
}

/* ===============================================
   SCROLLBAR & SELECTION (MODERN FEEL)
   =============================================== */
::-webkit-scrollbar {
  width: 12px;
  background: #232b30;
}
::-webkit-scrollbar-thumb {
  background: #37434a;
  border-radius: 12px;
}
::-webkit-scrollbar-thumb:hover {
  background: #257145bb;
}
::selection {
  background: #25714577;
  color: #fff;
}

/* ===============================================
   ACCESSIBILITY & MICRO-INTERACTIONS
   =============================================== */
a:focus, button:focus {
  outline: 2px dashed #257145;
  outline-offset: 3px;
}
.testimonial-card:focus {
  box-shadow: 0 0 0 3px #25714580;
}

/* Micro-interaction for button click */
.btn-primary:active, .btn-accept:active {
  transform: scale(0.98);
}

/* ===============================================
   UTILITIES
   =============================================== */
.d-none {
  display: none !important;
}
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-1 { margin-top: 8px !important; }
.mb-1 { margin-bottom: 8px !important; }

/* Hide visually (for modal overlays/cookies) */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ===============================================
   DARK/LIGHT CONTRAST ENFORCEMENT (TESTIMONIALS)
   =============================================== */
.testimonial-card {
  background: #f7faf6;
  color: #232b30;
  border: 1.4px solid #ccd6c6;
}
.testimonial-card p {
  color: #0f2517;
}

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