/* 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 {
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  background: #181A22;
  color: #F7F7F2;
  line-height: 1.6;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* COLOR VARIABLES (with fallbacks) */
:root {
  --primary: #2B5E2B;
  --primary-dark: #1c3b1c;
  --secondary: #F7F7F2;
  --secondary-dark: #20222A;
  --accent: #2E90A8;
  --accent-alt: #16728c;
  --danger: #e25440;
  --neon: #51ffe9;
  --shadow: rgba(38,135,167,0.16);
  --radius: 14px;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  color: #51ffe9;
  font-weight: 700;
  letter-spacing: 0.015em;
}
h1 {
  font-size: 2.375rem;
  margin-bottom: 18px;
  line-height: 1.18;
}
h2 {
  font-size: 1.625rem;
  margin-bottom: 14px;
  line-height: 1.22;
}
h3 {
  font-size: 1.125rem;
  margin-bottom: 10px;
  line-height: 1.28;
}
h4 {
  font-size: 1rem;
  margin-bottom: 6px;
}
p, ul, ol {
  font-size: 1rem;
  color: #fafaf5;
  margin-bottom: 8px;
}
strong {
  color: var(--accent-alt);
  font-weight: 700;
}
a {
  color: #51ffe9;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.22s cubic-bezier(.29,1.16,.41,.91);
}
a:hover, a:focus {
  color: #2E90A8;
  outline: none;
}
ul, ol {
  padding-left: 22px;
  margin-bottom: 12px;
}
li {
  margin-bottom: 8px;
}

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

/* HERO SECTION */
.hero {
  background: linear-gradient(115deg, #20222a 0%, #2e90a81a 100%);
  padding: 68px 0 40px 0;
  margin-bottom: 58px;
  border-bottom: 2px solid var(--neon);
}
.hero h1 {
  color: var(--neon);
  text-shadow: 0 1px 16px #00b6b0a2, 0 4px 64px #16728c66;
}
.hero p {
  font-size: 1.12rem;
  color: #e7fdec;
  margin-bottom: 22px;
}

/* MAIN NAVIGATION */
header {
  background: #17181f;
  border-bottom: 1.5px solid #28384e;
  position: relative;
  z-index: 100;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 0 18px;
  height: 70px;
  position: relative;
}
.main-nav img {
  height: 36px;
  vertical-align: middle;
}
.main-nav > ul {
  display: flex;
  flex-direction: row;
  gap: 24px;
  list-style: none;
}
.main-nav > ul > li a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--secondary);
  padding: 7px 16px;
  font-size: 1rem;
  border-radius: 8px;
  transition: background 0.2s;
}
.main-nav > ul > li a:hover, .main-nav > ul > li a:focus {
  background: #192c24;
  color: #51ffe9;
}
.btn-primary {
  font-family: 'Montserrat', Arial, sans-serif;
  background: var(--accent);
  color: #181A22;
  border: none;
  border-radius: 24px;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 10px 30px;
  margin-left: 10px;
  box-shadow: 0 2px 18px #2E90A833;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: background 0.19s, color 0.18s, box-shadow 0.25s;
  outline: none;
  position: relative;
  z-index: 3;
}
.btn-primary:hover, .btn-primary:focus {
  background: #51ffe9;
  color: #1c3b1c;
  box-shadow: 0 4px 32px #51ffe953;
}

/* MOBILE NAVIGATION STYLES */
.mobile-menu-toggle {
  background: none;
  border: none;
  color: #51ffe9;
  font-size: 2rem;
  cursor: pointer;
  display: none;
  z-index: 1201;
  margin-left: 6px;
  transition: color 0.12s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #2E90A8;
}
@media (max-width: 1020px) {
  .main-nav > ul {
    display: none;
  }
  .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #21292c;
  z-index: 1200;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.86,0,.07,1);
  box-shadow: -8px 0 26px #22292a62;
  padding: 0;
  opacity: 0.97;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 34px 24px 10px 0;
  background: none;
  border: none;
  color: #51ffe9;
  font-size: 2rem;
  font-weight: 700;
  cursor: pointer;
  z-index: 1202;
  transition: color 0.16s;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 36px 30px 0 36px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  color: #e7fdec;
  background: none;
  padding: 13px 0;
  border-radius: 6px;
  text-align: left;
  transition: background 0.13s, color 0.17s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #1f4048;
  color: #51ffe9;
}

/* GENERAL LAYOUT UTILS AND GRIDS - ONLY FLEXBOX */
.feature-grid, .service-list, .service-grid, .benefits, .article-teasers, .article-list, .testimonial-slider, .testimonial-list, .team-list, .card-container, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 26px;
}

.feature-block, .service-item, .benefit-block, .team-bio, .article-teaser, .article-block, .card, .testimonial-card {
  background: #1c263c;
  border-radius: var(--radius);
  box-shadow: 0 4px 32px #16728c31, 0 1.5px 16px #2e90a81f;
  padding: 28px 22px 22px 22px;
  position: relative;
  min-width: 220px;
  min-height: 120px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  margin-top: 0;
  border: 1.5px solid #2E90A833;
  overflow: hidden;
  transition: box-shadow 0.22s, border-color 0.22s, background 0.15s;
}
.feature-block:hover, .service-item:hover, .benefit-block:hover, .article-teaser:hover, .article-block:hover, .testimonial-card:hover {
  box-shadow: 0 10px 48px #2E90A866, 0 4px 32px #51ffe944;
  border-color: var(--neon);
  background: #222f3c;
}
.feature-block img, .benefit-block img, .team-bio img {
  width: 40px; height: 40px;
  margin-bottom: 12px;
  filter: drop-shadow(0 0 8px #51ffe9aa) brightness(1.3);
}
.price {
  display: inline-block;
  color: var(--neon);
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 14px;
  letter-spacing: 0.02em;
}

.service-list, .service-grid {
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.service-item h3, .service-item h2 {
  color: var(--neon);
  margin-bottom: 7px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #28384e;
  border-radius: var(--radius);
  margin-bottom: 20px;
  position: relative;
}

.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;
  padding: 24px;
  background: #F7F7F2;
  color: #12161d;
  border-radius: var(--radius);
  box-shadow: 0 1.8px 20px #1c263c22, 0 12px 60px #2e90a81c;
  min-width: 240px;
  max-width: 420px;
  transition: box-shadow 0.22s, background 0.14s;
}
.testimonial-card p {
  color: #181A22;
  font-family: 'Open Sans', Arial, sans-serif;
  margin-bottom: 10px;
  font-size: 1.08rem;
}
.testimonial-card span {
  color: #2B5E2B;
  font-weight: 700;
  font-size: 1rem;
}
.testimonial-card:hover {
  background: #e6fafd;
  box-shadow: 0 4px 32px #20222a2c;
}

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

.team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.team-bio h3 {
  color: var(--accent-alt);
}

.article-teasers, .article-list {
  gap: 24px;
  flex-wrap: wrap;
}
.article-teaser a {
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Article Search & Category Filter */
.article-search {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.article-search input {
  background: #1c263c;
  color: #51ffe9;
  border: 1.5px solid #2E90A844;
  border-radius: 8px;
  padding: 9px 16px;
  font-size: 1rem;
  transition: border-color 0.2s;
}
.article-search input:focus {
  outline: none;
  border-color: var(--neon);
}
.article-search img {
  width: 22px;
  filter: drop-shadow(0 0 8px #16728c88);
}
.article-category-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.article-category-filter ul {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0;
  padding-left: 0;
  list-style: none;
}
.article-category-filter li {
  color: var(--neon);
  background: #20222a;
  border-radius: 7px;
  padding: 6px 13px;
  font-weight: 600;
}

/* CTA (Call to Action) */
.cta {
  background: linear-gradient(100deg, #2e90a81c 0%, #1c3b1c 100%);
  padding: 50px 0 40px 0;
  border-radius: 0 0 18px 18px;
  border-top: 2px solid #51ffe99c;
  margin-top: 40px;
}
.cta h2 {
  color: #51ffe9;
}
.cta p {
  color: #F7F7F2;
  font-size: 1.15rem;
  margin-bottom: 22px;
}

/* FOOTER */
footer {
  background: #17181f;
  color: var(--secondary);
  padding: 0 0 22px 0;
  border-top: 2px solid #2E90A822;
}
footer .container {
  padding-top: 34px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 36px 62px;
  justify-content: space-between;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 200px;
  max-width: 320px;
  gap: 9px;
}
.footer-brand img {
  width: 48px; height: 48px;
  margin-bottom: 7px;
}
.footer-menu {
  display: flex;
  gap: 16px;
  flex-direction: column;
  margin-top: 9px;
}
.footer-menu a {
  color: #2e90a8;
  text-decoration: underline;
  font-size: 1rem;
  transition: color 0.14s;
}
.footer-menu a:hover {
  color: #51ffe9;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.98rem;
}
.footer-contact img {
  width: 18px; height: 18px;
  margin-right: 7px;
  vertical-align: middle;
}
.footer-social {
  display: flex;
  gap: 17px;
  align-items: center;
  margin-top: 7px;
}
.footer-social a img {
  width: 28px; height: 28px; filter: grayscale(1) brightness(1.3);
  transition: filter 0.18s;
}
.footer-social a:hover img {
  filter: none;
}
.newsletter-signup {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 200px;
  max-width: 320px;
}
.newsletter-signup h4 {
  color: var(--accent);
  font-size: 1.04rem;
}

/* GENERAL FORMS */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  border-radius: 7px;
  border: 1.3px solid #2E90A844;
  padding: 9px 15px;
  margin-bottom: 10px;
  color: #11161a;
  background-color: #F7F7F2;
  transition: border-color 0.18s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--accent);
}

/* SPACING UTILITIES */
.mt-24 { margin-top: 24px; }
.mb-16 { margin-bottom: 16px; }
.mt-48 { margin-top: 48px; }
.mb-32 { margin-bottom: 32px; }
.gap-8 { gap: 8px; }
.gap-20 { gap: 20px; }


/* MISC BLOCKS */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 1.08rem;
  margin-bottom: 24px;
}
.static-map {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}
.static-map img {
  width: 100%;
  max-width: 270px;
}
.article-list {
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.contact-info-block {
  background: #28384e;
  padding: 22px 20px;
  border-radius: var(--radius);
  margin-bottom: 26px;
  box-shadow: 0 1px 14px #2E90A822;
  max-width: 420px;
}
.contact-info-block ul {
  list-style: none;
  padding: 0;
}
.contact-info-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
  color: #e7fdec;
}
.contact-info-list img {
  width: 20px; height: 20px;
}

/************************************
RESPONSIVE DESIGN & MOBILE STYLES
************************************/
@media (max-width: 1020px) {
  .footer-brand, .newsletter-signup {
    max-width: 100%;
  }
  .footer-menu, .footer-contact {
    max-width: 250px;
  }
  .content-wrapper {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .footer .content-wrapper {
    flex-direction: column;
    gap: 36px;
  }
  .feature-grid,
  .service-list,
  .service-grid,
  .benefits,
  .testimonial-slider,
  .testimonial-list,
  .team-list,
  .card-container,
  .card-grid,
  .content-grid {
    flex-direction: column;
  }
}
@media (max-width: 768px) {
  .main-nav {
    padding: 0 8px;
    height: 60px;
  }
  .hero {
    padding: 38px 0 18px 0;
  }
  .section {
    padding: 20px 7px;
    margin-bottom: 44px;
  }
  .cta {
    padding: 36px 0 20px 0;
  }
  .container {
    padding-left: 7px;
    padding-right: 7px;
  }
  .feature-grid, .service-list, .service-grid, .benefits, .testimonial-slider, .testimonial-list, .team-list, .card-container, .card-grid, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .content-wrapper {
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    max-width: 100%;
    min-width: 180px;
    padding: 19px;
  }
  .mobile-menu {
    padding-top: 0;
  }
  .mobile-nav {
    margin: 24px 11px 0 14px;
    gap: 11px;
  }
}
@media (max-width: 520px) {
  h1 { font-size: 1.48rem; }
  h2 { font-size: 1.11rem; }
  h3 { font-size: 1rem; }
  .btn-primary { font-size: 1rem; padding: 8px 14px; }
  .section { padding: 12px 2px; margin-bottom: 30px; }
  .card, .testimonial-card, .benefit-block, .feature-block, .service-item, .team-bio, .article-block, .article-teaser {
    padding: 15px 10px 12px 10px;
  }
  .contact-info-block { padding: 12px 5px; }
}

/*******************************
TRANSITIONS/INTERACTIONS
*******************************/
section, .feature-block, .service-item, .benefit-block, .card, .testimonial-card, .team-bio, .article-block, .article-teaser {
  transition: box-shadow 0.19s cubic-bezier(.29,1.16,.41,.91), background 0.13s;
}

a, button, .btn-primary {
  transition: all 0.18s cubic-bezier(.42,0,1,1);
}

/*******************************
COOKIE CONSENT BANNER & MODAL
*******************************/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #181a22ee;
  color: #F7F7F2;
  box-shadow: 0 -3px 26px #2E90A822;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 20px 32px;
  font-size: 1.02rem;
  border-top: 2px solid var(--neon);
  flex-wrap: wrap;
  animation: cookieSlideIn 0.55s cubic-bezier(.29,1.2,.41,.92);
}
@keyframes cookieSlideIn {
  0% { transform: translateY(80px); opacity: 0; }
  90% { transform: translateY(-2px); opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-buttons {
  display: flex;
  gap: 14px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 22px;
  padding: 7px 23px;
  border: none;
  font-weight: 700;
  background: #2E90A8;
  color: #F7F7F2;
  cursor: pointer;
  transition: background 0.14s, color 0.14s;
}
.cookie-banner button.cookie-accept {
  background: var(--neon);
  color: #181a22;
}
.cookie-banner button.cookie-accept:hover, .cookie-banner button.cookie-accept:focus {
  background: #2E90A8;
  color: #F7F7F2;
}
.cookie-banner button.cookie-reject {
  background: #e25440;
  color: #fff;
}
.cookie-banner button.cookie-reject:hover, .cookie-banner button.cookie-reject:focus {
  background: #c6462c;
}
.cookie-banner button.cookie-settings {
  background: none;
  border: 1.5px solid #2E90A8;
  color: #2E90A8;
}
.cookie-banner button.cookie-settings:hover, .cookie-banner button.cookie-settings:focus {
  background: #28384e;
  color: var(--neon);
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: #1c263c77;
  z-index: 3000;
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(2px);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}
.cookie-modal-overlay.active {
  pointer-events: auto;
  opacity: 1;
}
.cookie-modal {
  background: #21292c;
  color: #F7F7F2;
  border-radius: 18px;
  box-shadow: 0 6px 44px #181a22e6;
  max-width: 400px;
  width: 92vw;
  padding: 34px 18px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: cookieModalAppear 0.28s cubic-bezier(.7,.2,.28,.97);
}
@keyframes cookieModalAppear {
  0% { transform: scale(0.8); opacity: 0; }
  88% { transform: scale(1.04); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  color: var(--neon);
  font-size: 1.24rem;
  margin-bottom: 10px;
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.01rem;
}
.cookie-category label {
  font-weight: 600;
  color: #51ffe9;
}
.cookie-category input[type=checkbox], .cookie-category input[type=radio] {
  accent-color: #2E90A8;
  width: 18px; height: 18px;
}
.cookie-modal-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/*******************************
EXTRA: THANK-YOU PAGE
*******************************/
.thank-you h1 {
  color: #51ffe9;
  text-shadow: 0 2px 18px #51ffe940;
}

/*******************************
SMOOTH MICRO-INTERACTIONS
*******************************/
.feature-block:after, .benefit-block:after, .service-item:after, .article-block:after, .team-bio:after, .card:after {
  display: block;
  content: '';
  position: absolute;
  top: -28px;
  right: -24px;
  width: 54px;
  height: 54px;
  border-radius: 70% 30% 43% 57% / 37% 68% 32% 63%;
  background: radial-gradient(circle, #51ffe980 32%, #2E90A805 100%);
  z-index: 1;
  pointer-events: none;
  opacity: 0.6;
  transition: opacity 0.3s;
}
.feature-block:hover:after, .benefit-block:hover:after, .service-item:hover:after, .article-block:hover:after, .team-bio:hover:after, .card:hover:after {
  opacity: 0.95;
}


/*******************************
ACCESSIBILITY OUTLINES
*******************************/
a:focus, button:focus, .btn-primary:focus {
  outline: 2.5px solid #51ffe9;
  outline-offset: 1.5px;
  z-index: 4;
}

/*******************************
COLOR CONTRAST / TESTIMONIALS
*******************************/
.testimonial-card, .testimonial-list .testimonial-card {
  color: #181A22;
  background: #F7F7F2;
}
.testimonial-card .accent, .testimonial-card strong {
  color: var(--accent-alt);
}

/*******************************
MISC FORMS (for possible newsletter in footer, generic forms)
*******************************/
footer input[type=email], footer input[type=text] {
  max-width: 220px;
  margin-bottom: 7px;
  font-size: 1rem;
}

/*******************************
NON-ABSOLUTE SPACING PATCHES & GAP GUARANTEES
*******************************/
.feature-block, .service-item, .benefit-block, .team-bio, .article-teaser, .article-block, .card, .testimonial-card {
  margin-bottom: 20px;
}
.card-container, .feature-grid, .service-list, .service-grid, .benefits, .article-teasers, .article-list, .testimonial-slider, .testimonial-list, .team-list, .content-grid {
  gap: 20px;
}

/* END OF FILE */
