/* ===== CSS RESET & NORMALIZER ===== */
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 {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
body {
  background: #23374D;
  color: #EAF7E2;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.22s cubic-bezier(.4,0,.2,1);
}
a:focus { outline: 2px solid #40FFB2; outline-offset: 2px; }

/* ===== VARIABLES ===== */
:root {
  --brand-primary: #287749;
  --brand-secondary: #23374D;
  --brand-accent: #EAF7E2;
  --brand-dark: #16252B;
  --neon-green: #40FFB2;
  --neon-blue: #03BFFD;
  --bg-dark: #1B2631;
  --shadow-medium: 0 3px 24px 0 rgba(3,191,253, 0.07);
  --shadow-card: 0 6px 32px -8px rgba(40,119,73, 0.25);
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;
}

/* ===== TYPOGRAPHY ===== */
h1, .h1 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 2.25rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 0.025em;
  line-height: 1.13;
}
h2, .h2 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.7rem;
  color: var(--neon-green);
  margin-bottom: 14px;
  font-weight: 600;
  letter-spacing: 0.015em;
}
h3, .h3 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.2rem;
  color: #fff;
  font-weight: 500;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: var(--brand-accent);
}
p, li {
  font-size: 1rem;
  color: #EAF7E2;
  line-height: 1.7;
  margin-bottom: 12px;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
}
strong {
  color: var(--neon-green);
  font-weight: 600;
}

/* ===== GENERAL LAYOUT ===== */
.container {
  max-width: 1140px;
  margin: 0 auto;
  width: 100%;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 40px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ===== HEADER & NAV ===== */
header {
  width: 100%;
  background: linear-gradient(90deg, var(--brand-secondary), var(--bg-dark) 120%);
  box-shadow: 0 2px 20px 0 rgba(64,255,178,0.06);
  z-index: 1000;
  position: relative;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 16px 0;
  justify-content: flex-start;
}
.main-nav a {
  color: var(--brand-accent);
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  padding: 7px 14px;
  position: relative;
  transition: color 0.2s, background 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--neon-blue);
  background: rgba(3,191,253,0.09);
}
.main-nav .cta {
  background: var(--neon-green);
  color: var(--brand-secondary)!important;
  box-shadow: 0 2px 16px 0 rgba(64,255,178,0.13);
  font-weight: bold;
  border-radius: var(--radius-md);
  margin-left: 16px;
  transition: background 0.22s, color 0.2s, transform 0.18s;
}
.main-nav .cta:hover, .main-nav .cta:focus{
  color: #fff!important;
  background: var(--brand-primary);
  transform: translateY(-2px) scale(1.02);
}
.main-nav img {
  height: 38px;
  width: auto;
  margin-right: 14px;
}

/* ===== MOBILE MENU ===== */
.mobile-menu-toggle {
  background: none;
  border: none;
  color: var(--neon-green);
  font-size: 2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: color 0.2s;
  margin-left: auto;
  z-index: 1120;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus { color: var(--neon-blue); }

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(22, 37, 43, 0.96);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-100%);
  transition: transform 0.34s cubic-bezier(.69,1.41,.42,1);
  padding: 0 0;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--neon-green);
  font-size: 2.6rem;
  position: absolute;
  right: 22px;
  top: 20px;
  z-index: 1220;
  cursor: pointer;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--neon-blue);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  justify-content: flex-start;
  width: 100vw;
  margin-top: 76px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.16rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  padding: 16px 30px;
  border-radius: var(--radius-md);
  transition: background 0.2s, color 0.22s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--neon-green);
  color: var(--brand-secondary);
}

/* ===== HERO SECTIONS ===== */
.hero {
  width: 100%;
  min-height: 44vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(95deg, #23374D 0%, #287749 90%);
  box-shadow: var(--shadow-card);
  margin-bottom: 0;
  padding-top: 48px;
  padding-bottom: 48px;
}
.hero h1 {
  color: #fff;
  text-shadow: 0 3px 16px rgba(3,191,253,0.12);
}
.hero p {
  color: var(--neon-green);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 20px;
}
.hero .cta {
  margin-top: 14px;
}

/* ===== BUTTONS & CTA ===== */
.cta, .cta-banner a, button[type="submit"] {
  padding: 12px 30px;
  background: linear-gradient(90deg, var(--neon-green) 0%, var(--neon-blue) 120%);
  color: var(--brand-secondary);
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-size: 1.06rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 24px 0 rgba(3,191,253,0.16);
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s, color 0.20s, transform 0.18s;
  margin-bottom: 8px;
  display: inline-block;
}
.cta:hover, .cta:focus, .cta-banner a:hover, .cta-banner a:focus, button[type="submit"]:hover, button[type="submit"]:focus {
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-green) 120%);
  color: #fff;
  box-shadow: 0 6px 28px 0 rgba(40,119,73,0.27);
  transform: translateY(-2px) scale(1.02);
}

/* ===== GENERIC CARDS & FLEX CONTAINERS ===== */
.card-container, .card-grid, .features-grid, .values-grid, .services-grid, .projects-grid, .team-profiles, .contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  background: var(--brand-secondary);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 24px 22px 22px 22px;
  transition: box-shadow 0.19s, transform 0.19s;
  margin-bottom: 20px;
  position: relative;
  min-width: 230px;
  flex: 1 1 280px;
}
.card:hover {
  box-shadow: 0 8px 38px -8px var(--neon-blue), 0 6px 32px -8px rgba(40,119,73, 0.16);
  transform: translateY(-3px) scale(1.01);
}

/* ===== FLEXBOX SPACING/ALIGNMENT PATTERNS ===== */
.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;
  margin-bottom: 32px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  color: #23374D;
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 24px 0 rgba(40,119,73,0.12);
  padding: 20px;
  margin-bottom: 22px;
  font-size: 1.1rem;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  transition: box-shadow 0.16s;
}
.testimonial-card p {
  color: #23374D;
  font-size: 1.13rem;
  font-style: italic;
  margin-bottom: 0;
}
.testimonial-card span {
  color: #287749;
  font-weight: 600;
  font-size: 1rem;
  margin-left: auto;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* SPECIAL FLEX GRIDS FOR RESPONSIVE LAYOUTS */
.features-grid, .values-grid, .services-grid {
  justify-content: flex-start;
  row-gap: 36px;
  column-gap: 24px;
  flex-wrap: wrap;
}
.features-grid > div, .values-grid > div, .services-grid > div {
  background: var(--bg-dark);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-medium);
  padding: 26px 20px 20px 20px;
  flex: 1 1 270px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow 0.16s, transform 0.14s;
  margin-bottom: 20px;
  border: 1.5px solid rgba(64,255,178,0.15);
}
.features-grid > div:hover, .values-grid > div:hover, .services-grid > div:hover {
  box-shadow: 0 6px 28px 0 var(--neon-green), var(--shadow-medium);
  transform: translateY(-3px) scale(1.01);
}
.features-grid img, .values-grid img, .services-grid img {
  height: 40px;
  width: 40px;
  margin-bottom: 3px;
}
.projects-grid,
.team-profiles {
  gap: 24px;
  flex-wrap: wrap;
}
.projects-grid > div, .team-profiles > div {
  background: var(--brand-secondary);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 22px 18px 18px 18px;
  flex: 1 1 270px;
  min-width: 210px;
  max-width: 370px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.17s;
}
.projects-grid > div:hover, .team-profiles > div:hover {
  box-shadow: 0 10px 42px -14px var(--neon-blue);
  transform: scale(1.025);
}

.contact-info {
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 24px;
}
.contact-info > div {
  flex: 1 1 200px;
  background: var(--bg-dark);
  color: #EAF7E2;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 164px;
  box-shadow: 0 2px 16px 0 rgba(40,119,73,0.10);
}
.contact-info img {
  width: 26px;
  height: 26px;
}

.cta-banner {
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-secondary) 110%);
  color: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 3px 22px 0 rgba(64,255,178,0.11);
  padding: 32px 18px;
  margin: 30px 0 10px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.cta-banner h3 {
  color: var(--neon-green);
  font-size: 1.3rem;
  font-family: 'Montserrat', sans-serif;
}

/* ===== FOOTER ===== */
footer {
  width: 100%;
  background: var(--brand-secondary);
  color: #EAF7E2;
  padding: 36px 0 20px 0;
  box-shadow: 0 -2.5px 20px 0 rgba(40,119,73,0.13);
  margin-top: 40px;
}
.footer-nav{
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  align-items: center;
}
.footer-nav a {
  color: var(--neon-green);
  font-size: 1rem;
  font-weight: 500;
  font-family: 'Montserrat', sans-serif;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  transition: background 0.2s, color 0.21s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--neon-green);
  color: var(--brand-secondary);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #EAF7E2;
  font-size: 0.95rem;
  font-family: 'Roboto', sans-serif;
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 25px;
  z-index: 9000;
  background: #fff;
  color: #1B2631;
  box-shadow: 0 5px 60px -12px rgba(3,191,253,0.20), 0 1.5px 10px -4px var(--brand-primary);
  border-radius: var(--radius-lg);
  padding: 24px 18px 18px 18px;
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  opacity: 1;
  transition: opacity 0.22s, bottom 0.28s;
}
.cookie-banner.hide { opacity: 0; pointer-events: none; bottom: 0; }
.cookie-banner-buttons {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.cookie-banner button {
  padding: 10px 22px;
  border: none;
  border-radius: var(--radius-md);
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.17s, color 0.17s, transform 0.13s;
}
.cookie-banner .accept {
  background: var(--neon-green);
  color: var(--brand-secondary);
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: var(--neon-blue);
  color: #fff;
}
.cookie-banner .reject {
  background: #EAEFF3;
  color: var(--brand-secondary);
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #b6c5d6;
}
.cookie-banner .settings {
  background: transparent;
  color: var(--brand-primary);
  border: 1.5px solid var(--brand-primary);
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: var(--brand-primary);
  color: #fff;
}

/* ===== COOKIE MODAL ===== */
.cookie-modal-overlay {
  position: fixed;
  z-index: 9100;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(27,38,49,0.78);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.18s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  color: #1B2631;
  box-shadow: 0 2.5px 28px 0 var(--neon-green), 0 5px 60px -12px rgba(3,191,253,0.13);
  border-radius: var(--radius-lg);
  max-width: 440px;
  width: 90vw;
  padding: 25px 24px 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.cookie-modal h3 {
  color: var(--brand-primary);
  font-size: 1.3rem;
  font-family: 'Montserrat', sans-serif;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #E4EAF0;
}
.cookie-modal-category label {
  font-size: 1.05rem;
  font-family: 'Montserrat', sans-serif;
  color: #16252B;
  font-weight: 500;
}
.cookie-modal-category input[type="checkbox"] {
  accent-color: var(--neon-green);
  width: 19px;
  height: 19px;
}
.cookie-modal-category .locked {
  color: var(--brand-primary);
  font-size: 1.08rem;
  margin-left: 7px;
}
.cookie-modal-footer {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 8px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 12px;
  right: 18px;
  background: transparent;
  color: var(--brand-primary);
  border: none;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  color: var(--neon-blue);
}

/* ========== UTILITY CLASSES ========== */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-2 { margin-top: 2px !important; }
.mt-8 { margin-top: 8px !important; }
.mt-16 { margin-top: 16px !important; }
.mb-8 { margin-bottom: 8px !important; }
.mb-16 { margin-bottom: 16px !important; }

/* ========= CONTENT STYLES ========= */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
ul, ol {
  padding-left: 18px;
  margin-bottom: 18px;
}
li strong { color: var(--neon-blue); font-weight: 600; }
li {
  margin-bottom: 8px;
  font-size: 1rem;
  line-height: 1.65;
}

/* Links inside content */
.content-wrapper a:not(.cta) {
  color: var(--neon-blue);
  font-weight: 500;
  transition: color 0.19s;
  border-bottom: 1.5px solid var(--neon-blue);
  padding-bottom: 1.5px;
}
.content-wrapper a:not(.cta):hover, .content-wrapper a:not(.cta):focus {
  color: var(--neon-green);
  border-bottom: 1.5px solid var(--neon-green);
}

/* ======= RESPONSIVE DESIGN ======= */
@media (max-width: 1280px) {
  .container { max-width: 1000px; }
}
@media (max-width: 1024px) {
  .container { max-width: 92vw; }
  .main-nav {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .features-grid > div,.values-grid>div, .services-grid>div, .projects-grid>div, .card {
    flex: 1 1 95vw;
    min-width: unset;
    max-width: 100vw;
  }
  .container { max-width: 99vw; }
}
@media (max-width: 900px) {
  header .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 901px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
  .main-nav {
    display: flex !important;
  }
}
@media (max-width: 768px) {
  h1, .h1 { font-size: 1.43rem; }
  h2, .h2 { font-size: 1.13rem; }
  .hero { padding-top: 22px; padding-bottom: 22px; min-height: unset; }
  .section { padding: 32px 6px; margin-bottom: 42px; }
  .container { padding: 0 4vw; }
  .content-wrapper { margin-bottom: 22px; gap: 14px; }
}
@media (max-width: 600px) {
  .container { padding: 0 6px; }
  .footer-nav { flex-direction: column; gap: 9px; }
}
@media (max-width: 768px) {
  .features-grid, .values-grid, .services-grid, .projects-grid, .team-profiles, .content-grid, .card-container, .contact-info {
    flex-direction: column;
    gap: 18px;
  }
  .content-wrapper, .cta-banner {
    align-items: flex-start;
    gap: 12px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    font-size: 1rem;
  }
  .card, .features-grid>div, .values-grid>div, .services-grid>div, .projects-grid>div, .team-profiles>div {
    min-width: unset;
    max-width: 100vw;
    padding: 15px 10px 12px 10px;
  }
}

/* ========== SCROLLBAR ========== */
body, .mobile-menu, .cookie-modal-overlay {
  scrollbar-width: thin;
  scrollbar-color: var(--neon-green) var(--bg-dark);
}
body::-webkit-scrollbar,
.mobile-menu::-webkit-scrollbar,
.cookie-modal-overlay::-webkit-scrollbar {
  width: 8px;
  background: var(--bg-dark);
}
body::-webkit-scrollbar-thumb,
.mobile-menu::-webkit-scrollbar-thumb,
.cookie-modal-overlay::-webkit-scrollbar-thumb {
  background: var(--neon-green);
  border-radius: 8px;
}

/* ========== ANIMATIONS & MICROINTERACTIONS ========== */
a, button, .cta, .main-nav a, .footer-nav a, .cookie-banner button {
  transition: background 0.18s, color 0.17s, transform 0.15s, box-shadow 0.18s;
}
.mobile-menu, .cookie-modal-overlay {
  transition: transform 0.34s cubic-bezier(.69,1.41,.42,1), opacity 0.18s;
}

/* ========= FOCUS STYLES ========= */
:focus-visible {
  outline: 2px solid var(--neon-blue);
  outline-offset: 1.5px;
}

/* ========== SPECIAL UTILITIES ========= */
.d-none { display: none !important; }

/* ===== END OF STYLE.CSS ===== */
