/* --- CSS RESET & BASE STYLES --- */
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, 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;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
  display: block;
}
html {
  height: 100%;
  scroll-behavior: smooth;
  background: #0f2221;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #e8edf0;
  background: linear-gradient(135deg, #0f2221 70%, #17694A 100%);
  position: relative;
  line-height: 1.6;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
a {
  color: #F2B705;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #FFFBE5;
}
input, button, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}
button {
  background: none;
  border: none;
  cursor: pointer;
}
ul, ol {
  list-style-position: inside;
}

/* --- VARIABLES (with fallback for legacy) --- */
:root {
  --brand-primary: #17694A;
  --brand-secondary: #F2B705;
  --brand-accent: #FFFBE5;
  --tech-dark: #0f2221;
  --tech-gray: #192B2D;
  --neon-green: #1cf486;
  --neon-blue: #25d6fd;
  --text-main: #e8edf0;
  --text-dark: #1a2320;
  --card-bg: #152925;
}

/* --- TYPOGRAPHY --- */
h1, .thank-you-message h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2.2rem;
  color: #FFFBE5;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 16px;
  line-height: 1.2;
}
h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.6rem;
  color: #F2B705;
  font-weight: 600;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}
h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  color: #1cf486;
  font-weight: 500;
  margin-bottom: 8px;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 400;
  color: #25d6fd;
}
p, li {
  color: #e8edf0;
  font-size: 1rem;
}
.subheadline {
  font-size: 1.18rem;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #FFFBE5;
  opacity: 0.93;
  margin-bottom: 18px;
}
strong, b {
  color: #F2B705;
  font-weight: 600;
}

/* ---- LAYOUT & CONTAINERS --- */
.container {
  width: 100%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(21,41,37, 0.96);
  border-radius: 28px;
  box-shadow: 0 8px 32px 0 rgba(28,138,100,0.13);
  display: flex;
  flex-direction: column;
}

@media (max-width: 768px) {
  .section {
    padding: 24px 8px;
    margin-bottom: 36px;
  }
}

/* --- HEADER & NAVIGATION --- */
header {
  width: 100%;
  background: rgba(21,41,37, 0.92);
  box-shadow: 0 1px 12px 0 rgba(23,105,74,0.07);
  position: sticky;
  top: 0;
  z-index: 50;
}
header .container {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #FFFBE5;
  font-size: 1rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
}
header nav a:hover, header nav a:focus {
  color: #1cf486;
  background: #11291e;
}
.cta-button.primary {
  margin-left: 16px;
}
header .mobile-menu-toggle {
  display: none;
}

@media (max-width: 990px) {
  header .container {
    flex-wrap: wrap;
  }
  header nav {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  header nav {
    display: none;
  }
  .cta-button.primary {
    display: none;
  }
  header .mobile-menu-toggle {
    display: block;
    background: none;
    border: none;
    color: #FFFBE5;
    font-size: 2rem;
    padding: 8px 16px;
    z-index: 120;
    border-radius: 6px;
    transition: background 0.18s;
  }
  header .mobile-menu-toggle:active,
  header .mobile-menu-toggle:focus {
    background: #17694A;
    color: #F2B705;
  }
}

/* --- MOBILE MENU --- */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(21,41,37,0.98);
  z-index: 200;
  transform: translateX(-100vw);
  transition: transform 0.33s cubic-bezier(.8,.2,.2,1);
  padding-top: 22px;
  padding-left: 0;
  padding-right: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 6px 22px 6px 0;
  color: #F2B705;
  font-size: 2rem;
  border-radius: 6px;
  background: none;
  transition: background 0.13s, color 0.16s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #17694A;
  color: #FFFBE5;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  padding: 32px 34px 16px 34px;
}
.mobile-nav a {
  color: #FFFBE5;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.12rem;
  padding: 16px 6px;
  border-radius: 8px;
  font-weight: 500;
  letter-spacing: 0.2px;
  transition: background 0.19s, color 0.15s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #17694A;
  color: #1cf486;
}

/* --- CTA BUTTONS --- */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  padding: 12px 28px;
  border-radius: 8px;
  background: #F2B705;
  color: #17694A;
  box-shadow: 0 2px 20px 0 rgba(242,183,5,0.09);
  border: none;
  cursor: pointer;
  margin-top: 10px;
  margin-bottom: 6px;
  letter-spacing: 0.1em;
  transition: background 0.2s, color 0.2s, box-shadow 0.22s;
  text-shadow: none;
  outline: none;
}
.cta-button.primary {
  background: #17694A;
  color: #FFFBE5;
  box-shadow: 0 2px 20px 0 rgba(23,105,74,0.18);
}
.cta-button:hover, .cta-button:focus {
  background: #1cf486;
  color: #0f2221;
  box-shadow: 0 8px 32px 0 rgba(28,244,134,0.13);
}
.cta-button.primary:hover, .cta-button.primary:focus {
  background: #F2B705;
  color: #17694A;
  box-shadow: 0 8px 32px 0 rgba(242,183,5,0.15);
}

/* --- HERO, FEATURES, SERVICES ETC --- */
.features-grid, .service-list, .service-categories, .service-details, .case-study-list, .testimonial-cards, .value-list, .advantage-list, .faq-list, .faq-accordion {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 6px;
}
.features-grid > div, .service-list > div, .service-categories > div, .service-details > div, .case-study-list > div {
  background: #152925;
  border-radius: 16px;
  box-shadow: 0 1px 16px 0 rgba(28,244,134,0.06);
  padding: 24px 20px;
  flex: 1 1 250px;
  min-width: 220px;
  transition: box-shadow 0.2s, background 0.18s;
  margin-bottom: 20px;
  border: 1px solid rgba(28,244,134,0.11);
}
.features-grid > div:hover, .service-list > div:hover, .service-categories > div:hover, .service-details > div:hover, .case-study-list > div:hover {
  box-shadow: 0 6px 28px 0 rgba(36,214,253,0.14);
  background: #19332d;
}
.features-grid img, .service-categories img, .service-details img, .case-study-list img {
  margin-bottom: 12px;
  width: 38px;
}

.value-list, .advantage-list, .faq-list, .faq-accordion {
  flex-direction: column;
  gap: 18px;
}
.value-list li, .advantage-list li, .faq-list li {
  position: relative;
  background: #112d20;
  color: #e8edf0;
  border-left: 4px solid #1cf486;
  padding: 12px 14px 12px 22px;
  border-radius: 8px;
  margin-bottom: 10px;
}

.step-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-left: 0;
  margin-bottom: 20px;
}
.step-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #152925;
  border-radius: 8px;
  padding: 10px 18px;
  border-left: 4px solid #1cf486;
  color: #e8edf0;
  margin-bottom: 10px;
}
@media (min-width: 700px) {
  .features-grid, .service-list, .service-categories, .service-details, .case-study-list, .testimonial-cards {
    flex-direction: row;
  }
  .step-list {
    flex-direction: row;
    gap: 24px;
  }
  .step-list li {
    flex: 1 1 220px;
    min-width: 180px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

.text-section, .thank-you-message, .next-steps, .quick-facts, .trust-factors, .important-documents {
  background: transparent;
  border-radius: 0;
  padding: 0;
}

.quick-links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.quick-links a {
  color: #25d6fd;
  font-weight: 500;
  border-bottom: 1px dashed #1cf486;
}

/* --- TESTIMONIALS --- */
.testimonial-slider, .testimonial-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #FFFBE5;
  color: #152925;
  padding: 28px 26px;
  border-radius: 14px;
  box-shadow: 0 6px 32px 0 rgba(36,214,253,0.07);
  min-width: 260px;
  flex: 1 1 260px;
  transition: box-shadow 0.19s, background 0.19s;
  margin-bottom: 20px;
  border: 1px solid #1cf4861c;
}
.testimonial-card p {
  color: #152925;
  font-size: 1.08rem;
  font-style: italic;
  opacity: 0.93;
  margin-bottom: 8px;
}
.testimonial-card span {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #17694A;
  font-size: 1rem;
  font-weight: 600;
}
@media (max-width: 900px) {
  .testimonial-slider, .testimonial-cards {
    flex-direction: column;
    gap: 20px;
  }
  .testimonial-card {
    min-width: 160px;
  }
}

/* --- CARD CONTAINERS--- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #152925;
  border-radius: 16px;
  box-shadow: 0 1px 16px 0 rgba(28,244,134,0.06);
  padding: 22px 20px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.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: 16px;
    align-items: flex-start;
  }
  .content-grid {
    flex-direction: column;
    gap: 14px;
  }
}

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

/* --- Footer --- */
footer {
  width: 100%;
  background: #0f2221;
  position: relative;
  margin-top: 54px;
}
footer .container {
  padding-top: 34px;
  padding-bottom: 16px;
  flex-direction: column;
  display: flex;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-bottom: 1.5px solid #1cf4863a;
  padding-bottom: 18px;
  margin-bottom: 20px;
}
.footer-top img {
  max-height: 46px;
}
.footer-top nav {
  display: flex;
  gap: 18px;
}
.footer-top nav a {
  color: #25d6fd;
  font-size: 1rem;
  border-bottom: 1.5px dashed #25d6fd11;
  transition: color 0.2s;
}
.footer-top nav a:hover,
.footer-top nav a:focus {
  color: #FFFBE5;
  border-bottom: 1.5px solid #25d6fd;
}
.footer-info {
  display: flex;
  flex-direction: row;
  gap: 60px;
  margin-bottom: 18px;
  margin-top: 2px;
}
.footer-info p {
  color: #e8edf0;
  font-size: 0.98rem;
  line-height: 1.5;
  margin-bottom: 0.6em;
}
.footer-info img {
  margin-right: 6px;
  width: 20px;
  vertical-align: middle;
  opacity: 0.82;
}
.footer-bottom {
  text-align: center;
  color: #25d6fd;
  font-size: 0.92rem;
  padding-top: 6px;
  opacity: 0.75;
}
@media (max-width: 850px) {
  .footer-top {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
  .footer-info {
    flex-direction: column;
    gap: 16px;
  }
}

/* ---- ADDRESS + MAP --- */
.contact-information {
  font-size: 1.03rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #e8edf0;
}
.contact-information a {
  color: #F2B705;
  border-bottom: 1.5px dotted #F2B705;
}
.address-map {
  margin-top: 10px;
}
.address-map img {
  width: 46px;
  opacity: 0.87;
}

/* --- COOKIE CONSENT BANNER & MODAL --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 3900;
  background: #152925;
  color: #FFFBE5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 16px;
  border-top: 2.5px solid #1cf486;
  box-shadow: 0 -2px 34px 0 rgba(36,214,253,0.11);
  min-height: 0;
  font-size: 1rem;
  animation: bannerIn 0.4s cubic-bezier(.83,0,.17,1) both;
}
@keyframes bannerIn {
  from { transform: translateY(120px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 8px 16px;
  border-radius: 7px;
  border: none;
  margin-left: 0;
  margin-top: 2px;
  cursor: pointer;
  transition: background 0.15s, color 0.13s;
}
.cookie-banner .accept {
  background: #17694A;
  color: #FFFBE5;
  font-weight: 600;
}
.cookie-banner .accept:hover {
  background: #1cf486;
  color: #152925;
}
.cookie-banner .reject {
  background: #e02219;
  color: #FFFBE5;
  font-weight: 500;
}
.cookie-banner .reject:hover {
  background: #F2B705;
  color: #17694A;
}
.cookie-banner .settings {
  background: #25d6fd;
  color: #0f2221;
}
.cookie-banner .settings:hover {
  background: #FFFBE5;
  color: #17694A;
  box-shadow: 0 0 0 2px #25d6fd;
}

.cookie-modal-backdrop {
  position: fixed;
  left: 0;top: 0;right: 0;bottom:0;
  background: rgba(15,34,33,0.88);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fade-in 0.27s ease both;
}
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #FFFBE5;
  color: #0f2221;
  padding: 32px 22px 24px 22px;
  min-width: 320px;
  max-width: 95vw;
  border-radius: 22px;
  box-shadow: 0 12px 64px 0 rgba(36,214,253,0.17), 0 2px 8px 0 rgba(23,105,74,0.09);
  position: relative;
  z-index: 4100;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modal-in .33s cubic-bezier(.7,0,.32,1) both;
}
@keyframes modal-in {
  from { transform: translateY(70px) scale(0.96); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h3 {
  color: #17694A;
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.cookie-modal label {
  font-size: 1rem;
  color: #17694A;
  margin-left: 7px;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #25d6fd;
  width: 18px;
  height: 18px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}
.cookie-modal button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 10px 18px;
  border-radius: 7px;
  border: none;
  cursor: pointer;
  background: #17694A;
  color: #FFFBE5;
  transition: background 0.14s, color 0.14s;
}
.cookie-modal button:hover {
  background: #F2B705;
  color: #0f2221;
}
.cookie-modal .close {
  background: #25d6fd;
  color: #0f2221;
}
.cookie-modal .close:hover {
  background: #e02219;
  color: #FFFBE5;
}

/* --- SCROLLBARS & MICRO-INTERACTION EFFECTS --- */
::-webkit-scrollbar {
  width: 10px;
  background: #0f2221;
}
::-webkit-scrollbar-thumb {
  background: #17694A;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: #1cf486;
}

/* --- NEON BORDERS/EFFECTS --- */
.card, .testimonial-card, .features-grid > div, .service-list > div, .service-categories > div, .case-study-list > div {
  box-shadow:
    0 1.5px 8px 0 rgba(23,105,74,0.10),
    0 0 0 2px #1cf4862a;
  border: 1px solid #1cf48622;
  position: relative;
  transition: box-shadow 0.18s, background 0.16s;
}
.card:hover, .testimonial-card:hover, .features-grid > div:hover, .service-list > div:hover {
  box-shadow: 0 8px 32px 0 #25d6fd33, 0 0 0 2.5px #25d6fd55;
  border-color: #25d6fd77;
}

/* --- ANIMATIONS --- */
.cta-button, .cta-button.primary {
  transition: background 0.22s, box-shadow 0.22s, color 0.18s, transform 0.24s;
}
.cta-button:active, .cta-button.primary:active {
  transform: scale(0.96);
}

.features-grid > div, .service-list > div, .case-study-list > div, .testimonial-card {
  transition: transform 0.15s, box-shadow 0.16s;
}
.features-grid > div:active, .service-list > div:active, .case-study-list > div:active, .testimonial-card:active {
  transform: scale(0.98) translateY(2px);
}

/* --- RESPONSIVE QUERIES --- */
@media (max-width: 1100px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 600px) {
  h1, .thank-you-message h2 { font-size: 1.4rem; }
  h2 { font-size: 1.08rem; }
  h3 { font-size: 1rem; }
  .section { margin-bottom: 27px; padding: 14px 2px; }
  .testimonial-card {
    padding: 16px 10px;
  }
  .features-grid > div,
  .service-list > div,
  .case-study-list > div {
    padding: 13px 6px;
    min-width: 130px;
  }
  .footer-info {
    flex-direction: column;
    gap: 10px;
  }
}

/* --- FORMS, LISTS, MISCELLANEOUS --- */
input[type="text"], input[type="email"], textarea {
  padding: 11px 13px;
  font-size: 1rem;
  border-radius: 8px;
  border: 1px solid #1cf48655;
  background: #11291e;
  color: #FFFBE5;
  margin-bottom: 14px;
  box-shadow: 0 1px 8px 0 rgba(28,244,134,0.04);
  transition: border 0.13s, box-shadow 0.13s;
}
input:focus, textarea:focus {
  border: 1.5px solid #25d6fd;
  box-shadow: 0 2px 14px 0 #25d6fd11;
}

/* --- FOCUS STYLES --- */
a:focus, .cta-button:focus, button:focus {
  outline: 2.5px solid #25d6fd;
  outline-offset: 1.5px;
}

/* --- PRINT --- */
@media print {
  * {
    background: none !important;
    color: #152925 !important;
    box-shadow: none !important;
  }
  .cookie-banner, .cookie-modal-backdrop, .mobile-menu {
    display: none !important;
  }
}
