/* ========================================================================
   CSS RESET & NORMALIZE (MOBILE-FIRST)
   ======================================================================== */
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, main, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  box-sizing: border-box;
  vertical-align: baseline;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #101c24;
  color: #f3f3f1;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  margin: 0;
  border: none;
  background: none;
  outline: none;
}
:focus {
  outline: 2px solid #81a094;
  outline-offset: 2px;
}

/* ========================================================================
   BASE COLORS (BRAND STYLE) + CSS VARIABLES
   ======================================================================== */
:root {
  --color-primary: #274b5c;
  --color-secondary: #81a094;
  --color-accent: #f3f3f1;
  --color-bg-darker: #0b1820;
  --color-bg-panel: #17212b;
  --color-neon: #00ffe0;
  --color-white: #fff;
  --color-black: #111419;
  --color-error: #ff6666;
  --shadow-card: 0 6px 40px 0 rgba(0, 105, 114, 0.18);
  --radius-base: 16px;
}

/* ========================================================================
   TYPOGRAPHY (FUTURISTIC & MODERN)
   ======================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-accent);
  line-height: 1.2;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

p, li, blockquote {
  font-size: 1rem;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: var(--color-accent);
}
strong, b {
  color: var(--color-white);
  font-weight: 600;
}
em, i {
  font-style: italic;
}

blockquote {
  border-left: 4px solid var(--color-neon);
  background: var(--color-bg-panel);
  color: var(--color-accent);
  padding: 16px 24px;
  margin-bottom: 10px;
  border-radius: var(--radius-base);
  font-style: italic;
}

/* Typography scale for responsiveness */
@media (max-width: 480px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.15rem; }
  h3 { font-size: 1rem; }
  p, li, blockquote { font-size: 0.96rem; }
}

/* ========================================================================
   GENERAL LAYOUT & CONTAINER STYLES (FLEXBOX ONLY)
   ======================================================================== */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  width: 100%;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

.features-grid, .services-list, .blog-list, .testimonials, .faq-list, .statistics, .project-steps, .project-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-bg-panel);
  border-radius: var(--radius-base);
  box-shadow: var(--shadow-card);
  padding: 28px 24px;
  transition: box-shadow 0.27s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 10px 42px 0 var(--color-neon);
  transform: translateY(-2px) scale(1.01);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.text-image-section, .text-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #f3f3f1;
  color: #132430;
  border-radius: var(--radius-base);
  min-width: 0;
  box-shadow: 0 4px 24px 0 rgba(0, 105, 114, 0.11);
  margin-bottom: 20px;
  border: 2px solid var(--color-secondary);
  flex: 1 1 340px;
  transition: border-color 0.23s, box-shadow 0.24s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  border-color: var(--color-neon);
  box-shadow: 0 8px 32px 0 var(--color-neon);
}
.testimonial-info {
  font-weight: 500;
  font-size: 1rem;
  color: #274b5c;
  margin-left: 10px;
}

.feature-item, .service-detail, .faq-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-bg-panel);
  color: var(--color-accent);
  border-radius: var(--radius-base);
  padding: 20px 18px;
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  background: var(--color-bg-panel);
  border-radius: var(--radius-base);
  padding: 22px 18px;
  min-width: 220px;
  box-shadow: 0 4px 16px 0 #133642;
  transition: box-shadow 0.22s, border-color 0.19s;
}
.feature img {
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
  filter: drop-shadow(0 0 10px var(--color-neon));
}
.feature:hover, .feature:focus-within {
  box-shadow: 0 8px 32px 0 var(--color-neon);
  border-color: var(--color-neon);
}

.blog-list article {
  background: var(--color-bg-panel);
  border-radius: var(--radius-base);
  box-shadow: var(--shadow-card);
  padding: 28px 22px;
  transition: box-shadow 0.21s;
  flex: 1 1 340px;
  margin-bottom: 20px;
}

.blog-list article:hover, .blog-list article:focus-within {
  box-shadow: 0 10px 40px 0 var(--color-neon);
  transform: translateY(-2px) scale(1.01);
}

.blog-categories {
  margin-top: 18px;
}
.blog-categories ul {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 6px;
}
.blog-categories li a {
  color: var(--color-neon);
  border: 1px solid var(--color-neon);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 1rem;
  transition: background 0.18s, color 0.16s;
}
.blog-categories li a:hover, .blog-categories li a:focus {
  background: var(--color-neon);
  color: var(--color-bg-darker);
}

.privacy-notice {
  margin-top: 12px;
  background: var(--color-bg-panel);
  border-radius: 12px;
  padding: 12px 16px;
}
.privacy-notice a {
  color: var(--color-neon);
  text-decoration: underline;
  font-weight: 500;
}

.statistics ul, .project-highlights ul, .content-wrapper ul {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
.statistics li, .project-highlights li, .content-wrapper ul li {
  font-weight: 600;
  font-size: 1.08rem;
  background: var(--color-secondary);
  color: #17212b;
  border-radius: 12px;
  padding: 8px 16px;
}

/* ========================================================================
   HEADER & NAVIGATION (INCL. MOBILE BURGER)
   ======================================================================== */
header {
  background: linear-gradient(90deg, #101c24 64%, #274b5c 100%);
  box-shadow: 0 2px 24px 0 #11181c33;
  z-index: 1002;
}
header .container {
  display: flex;
  align-items: center;
  height: 82px;
  justify-content: space-between;
  gap: 16px;
}
nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.08rem;
  padding: 8px 10px;
  color: var(--color-accent);
  border-radius: 6px;
  transition: background 0.18s, color 0.15s;
  position: relative;
}
nav a:hover, nav a:focus {
  color: var(--color-neon);
  background: #22384a99;
}
nav .btn-primary {
  margin-left: 18px;
}

.mobile-menu-toggle {
  display: flex;
  background: none;
  color: var(--color-neon);
  font-size: 2.1rem;
  align-items: center;
  justify-content: center;
  padding: 4px 14px;
  border-radius: 10px;
  border: 2px solid var(--color-neon);
  cursor: pointer;
  transition: background 0.21s, box-shadow 0.16s;
  z-index: 1101;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #1a232f;
  box-shadow: 0 0 0 4px #00ffe043;
}

/* Hide mobile menu toggle on desktop */
@media (min-width: 1025px) {
  .mobile-menu-toggle { display: none; }
  .mobile-menu { display: none !important; }
}
/* Hide main navigation on mobile */
@media (max-width: 1024px) {
  nav { display: none; }
  .mobile-menu-toggle { display: flex; }
}

/* ========================================================================
   MOBILE MENU (SLIDE-IN, FULL SCREEN)
   ======================================================================== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, #101c24 80%, #274b5c 100%);
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.63,0.22,0.18,1.23);
  z-index: 2002;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: var(--color-neon);
  font-size: 2rem;
  margin-top: 24px;
  margin-right: 28px;
  border: 2px solid var(--color-neon);
  border-radius: 8px;
  padding: 4px 16px;
  cursor: pointer;
  transition: background 0.17s, box-shadow 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #1a232f;
  box-shadow: 0 0 0 4px #00ffe033;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 40px;
  gap: 18px;
  width: 100vw;
  padding-left: 42px;
}
.mobile-nav a {
  color: var(--color-neon);
  font-size: 1.22rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 10px 0;
  border-radius: 6px;
  transition: background 0.15s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-bg-panel);
  background: var(--color-neon);
}
@media (min-width: 1025px) {
  .mobile-menu { display: none !important; }
}

/* ========================================================================
   BUTTONS & LINKS (TECH FUTURISTIC)
   ======================================================================== */
.btn-primary, .btn-secondary, .btn-link {
  display: inline-flex;
  align-items: center;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: 24px;
  padding: 11px 34px;
  font-size: 1.13rem;
  cursor: pointer;
  outline: none;
  border: none;
  margin-top: 10px;
  background: var(--color-neon);
  color: #101c24;
  box-shadow: 0 0 8px 0 var(--color-neon);
  transition: box-shadow 0.19s, background 0.21s, color 0.15s, transform 0.17s;
  text-shadow: 0 0 4px #00ffe05d;
}
.btn-primary:hover, .btn-primary:focus {
  background: #00ffe0;
  color: #111419;
  box-shadow: 0 0 24px 0 var(--color-neon), 0 4px 16px 0 #22384a8c;
  transform: scale(1.03);
}
.btn-secondary {
  background: var(--color-secondary);
  color: #101c24;
  box-shadow: 0 0 8px 0 var(--color-secondary);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--color-neon);
  color: #101c24;
  box-shadow: 0 0 16px 0 var(--color-neon);
}
.btn-link {
  padding: 0;
  background: transparent;
  color: var(--color-neon);
  font-size: 1.1rem;
  text-decoration: underline;
  margin-top: 6px;
  margin-bottom: 0;
  box-shadow: none;
}
.btn-link:hover, .btn-link:focus {
  color: var(--color-white);
  background: none;
  text-shadow: 0 0 3px var(--color-neon);
}

/* ========================================================================
   HERO SECTIONS, CTA, and PANELS (NEON/FUTURISTIC)
   ======================================================================== */
section {
  margin-bottom: 60px;
  padding: 40px 0;
  background: transparent;
}
section:first-of-type {
  margin-top: 36px;
}
.text-section {
  background: linear-gradient(90deg, #17212b 69%, #274b5c 100%);
  border-radius: var(--radius-base);
  box-shadow: 0 3px 24px 0 rgba(0, 105, 114, 0.09);
  padding: 36px 24px;
}

@media (max-width: 630px) {
  section { padding: 26px 0; }
  .text-section, .feature, .service-detail {
    padding: 18px 8px;
  }
}

/* ========================================================================
   FOOTER
   ======================================================================== */
footer {
  background: linear-gradient(90deg, #101c24 65%, #274b5c 100%);
  box-shadow: 0 -2px 24px 0 #11181c33;
  padding: 38px 0 24px 0;
  color: var(--color-accent);
  font-size: 1rem;
  z-index: 1001;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 8px;
}
.footer-nav a {
  color: var(--color-neon);
  font-size: 1rem;
  transition: color 0.11s;
  border-bottom: 1px dotted var(--color-neon);
  padding: 5px 4px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #274b5c;
  background: var(--color-neon);
  border-radius: 8px;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--color-secondary);
}
.footer-contact img {
  width: 19px;
  filter: drop-shadow(0 0 4px var(--color-neon));
  vertical-align: middle;
  margin-right: 4px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 8px;
  border-top: 1px solid #133642;
  padding-top: 16px;
  color: var(--color-accent);
  font-size: 0.99rem;
}
.footer-brand img {
  width: 38px;
}

/* ========================================================================
   COOKIE CONSENT BANNER & MODAL
   ======================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  width: 100vw;
  background: var(--color-bg-panel);
  color: var(--color-accent);
  box-shadow: 0 -2px 24px 0 var(--color-neon);
  z-index: 4000;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 24px 16px;
  gap: 18px;
  animation: slideInCookie 0.44s cubic-bezier(0.45,0.07,0.35,1.12);
}
@keyframes slideInCookie {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-text {
  flex: 1 1 260px;
  font-size: 1rem;
  color: var(--color-accent);
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-banner .cookie-btn {
  border-radius: 20px;
  padding: 8px 20px;
  font-size: 1.02rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  border: none;
  background: var(--color-neon);
  color: var(--color-bg-darker);
  transition: background 0.18s, color 0.15s, box-shadow 0.16s;
  cursor: pointer;
  box-shadow: 0 0 0 2px var(--color-neon);
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #274b5c;
  color: var(--color-neon);
  box-shadow: 0 0 12px 0 var(--color-neon);
}
.cookie-banner .cookie-btn.settings {
  background: var(--color-secondary);
  color: var(--color-bg-panel);
  box-shadow: 0 0 0 2px var(--color-secondary);
}
.cookie-banner .cookie-btn.settings:hover, .cookie-banner .cookie-btn.settings:focus {
  background: var(--color-neon);
  color: var(--color-bg-panel);
}

.cookie-modal-overlay {
  position: fixed;
  z-index: 4010;
  left: 0; top: 0; right: 0; bottom: 0;
  background: #101c24e6;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInOverlay 0.29s;
}
@keyframes fadeInOverlay {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: var(--color-bg-panel);
  color: var(--color-accent);
  border-radius: 18px;
  padding: 38px 28px;
  min-width: 300px;
  max-width: 95vw;
  box-shadow: 0 8px 38px 0 var(--color-neon);
  z-index: 4020;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: slideInCookie 0.48s cubic-bezier(0.47,0.08,0.35,1.19);
}
.cookie-modal h2 {
  color: var(--color-neon);
  font-size: 1.45rem;
  margin-bottom: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}
.cookie-category label {
  font-size: 1.06rem;
  color: var(--color-accent);
  user-select: none;
  cursor: pointer;
}
.cookie-toggle {
  appearance: none;
  width: 34px;
  height: 18px;
  background: #22384a;
  border-radius: 9px;
  position: relative;
  cursor: pointer;
  transition: background 0.17s;
  outline: none;
}
.cookie-toggle:checked {
  background: var(--color-neon);
}
.cookie-toggle::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  background: var(--color-accent);
  border-radius: 50%;
  transition: transform 0.19s;
}
.cookie-toggle:checked::after {
  transform: translateX(16px);
  background: var(--color-bg-darker);
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 12px;
}
.cookie-modal .cookie-btn {
  min-width: 120px;
}

/* ========================================================================
   RESPONSIVE DESIGN (MOBILE-FIRST > TABLET > DESKTOP)
   ======================================================================== */
@media (max-width: 900px) {
  .container, .footer .container {
    max-width: 98vw;
    padding: 0 8px;
  }
  section {
    padding: 22px 0;
  }
  .footer-brand {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  .content-wrapper, .features-grid, .services-list, .testimonials, .card-container,
  .content-grid, .text-image-section, .blog-list, .faq-list {
    flex-direction: column;
    align-items: stretch !important;
    gap: 20px !important;
  }
  .footer-contact {
    font-size: .98rem;
  }
  nav {
    gap: 12px;
    font-size: 0.98rem;
  }
  .container {
    padding: 0 8px !important;
  }
}
@media (max-width: 600px) {
  section {
    padding: 12px 0;
    margin-bottom: 34px;
  }
  .text-section, .feature, .service-detail {
    padding: 12px 5px;
  }
  .footer-nav { gap: 12px; }
  .testimonial-card { flex-direction: column; gap: 10px; }
}

/* Prevent overlapping */
.features-grid > *, .services-list > *, .testimonials > *, .card-container > *, .card {
  margin-bottom: 20px;
  min-width: 0;
  flex: 1 1 220px;
}

/* ========================================================================
   UTILITY CLASSES & VISUAL DETAILS
   ======================================================================== */
::-webkit-scrollbar {
  width: 12px;
  background: #0c1620;
}
::-webkit-scrollbar-thumb {
  background: #274b5c;
  border-radius: 8px;
}

hr {
  border: none;
  border-top: 1px solid #23384b;
  margin: 24px 0;
}

/* Neon focus ring for interactive elements */
.btn-primary:focus, .btn-secondary:focus, .cookie-btn:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus {
  box-shadow: 0 0 0 4px #00ffe026;
}

/* Neon glowing accent line */
.neon-line {
  height: 2px;
  background: var(--color-neon);
  border-radius: 2px;
  margin: 0 auto 18px auto;
  box-shadow: 0 0 8px 2px var(--color-neon);
  width: 60px;
}

/* Misc. */
@media (max-width: 430px) {
  .blog-list article, .testimonial-card, .feature, .feature-item, .service-detail {
    padding: 10px 3px;
  }
  footer {
    padding: 18px 0 10px 0 !important;
  }
  header .container { height: 60px; }
}

/* For accessibility */
.visually-hidden {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* END CSS */
