/* =============================
   RESET + BASELINE 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, 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;
  scroll-behavior: smooth;
  background: #202B38;
}
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #181C22;
  color: #F5F8FA;
  line-height: 1.6;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: #36A99A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #4be9df;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* =============================
   BRAND TYPOGRAPHY
   ============================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #F5F8FA;
  margin-bottom: 16px;
  font-weight: 700;
}
h1 { font-size: 2.5rem; letter-spacing: -1px; }
h2 { font-size: 2rem; margin-top: 24px; }
h3 { font-size: 1.3rem; font-weight: 600; margin-top: 16px; }
h4 { font-size: 1.1rem; }
p, li, span {
  font-size: 1rem;
}
strong { color: #36A99A; font-weight: 600; }

/* =============================
   LAYOUT CONTAINERS
   ============================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* =============================
   HEADER & NAVIGATION
   ============================= */
header {
  background: #1C222B;
  box-shadow: 0 2px 16px rgba(36,160,154,0.05);
  position: relative;
  z-index: 1100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 24px;
}
header img {
  height: 44px;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #F5F8FA;
  padding: 6px 12px;
  border-radius: 6px;
  position: relative;
  transition: background 0.2s, color 0.2s;
  font-weight: 500;
}
.main-nav a:hover, .main-nav a:focus {
  background: #232F3F;
  color: #36A99A;
}
.cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  background: linear-gradient(90deg, #36A99A 10%, #16f0c3 90%);
  color: #181C22;
  border: none;
  padding: 12px 28px;
  border-radius: 32px;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 2px 24px rgba(54,169,154,0.12);
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
  outline: none;
  letter-spacing: 0.5px;
  margin-left: 24px;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, #36A99A 40%, #F5F8FA 100%);
  color: #1C222B;
  box-shadow: 0 4px 44px 0 rgba(54,169,154,0.24);
}

/* Hide mobile menu toggle on desktop */
.mobile-menu-toggle {
  display: none;
}

/* =============================
   MOBILE NAVIGATION
   ============================= */
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    top: 18px;
    right: 24px;
    background: none;
    border: none;
    color: #36A99A;
    font-size: 2.1rem;
    cursor: pointer;
    z-index: 1202;
    padding: 0 8px;
    transition: color 0.2s;
  }
  .mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
    color: #F5F8FA;
  }
  .mobile-menu {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    position: fixed;
    top: 0;
    right: 0;
    width: 85vw;
    max-width: 390px;
    height: 100vh;
    background: #1C222B;
    box-shadow: -4px 0 32px rgba(36,160,154,0.12);
    z-index: 1300;
    padding: 40px 28px 24px 28px;
    transition: transform 0.42s cubic-bezier(0.66,0,0.33,1);
    transform: translateX(100%);
  }
  .mobile-menu.open {
    transform: translateX(0);
  }
  .mobile-menu-close {
    background: none;
    border: none;
    color: #36A99A;
    font-size: 1.9rem;
    position: absolute;
    top: 22px;
    right: 30px;
    cursor: pointer;
    z-index: 1350;
    transition: color 0.18s;
  }
  .mobile-menu-close:hover, .mobile-menu-close:focus {
    color: #F5F8FA;
  }
  .mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 56px;
  }
  .mobile-nav a {
    color: #F5F8FA;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.18rem;
    padding: 7px 0;
    border-bottom: 1px solid #203449;
    transition: color 0.2s;
  }
  .mobile-nav a:hover, .mobile-nav a:focus {
    color: #36A99A;
  }
}

/* Overlay for menu (optional JS) */
.mobile-menu-overlay {
  background: rgba(25,33,44,0.72);
  position: fixed;
  inset: 0;
  z-index: 1280;
}

/* =============================
   HERO & FEATURE SECTIONS
   ============================= */
.hero {
  min-height: 60vh;
  padding-top: 38px;
  padding-bottom: 38px;
  background: linear-gradient(135deg,#203449 45%,#36A99A 120%);
  display: flex;
  align-items: center;
  margin-bottom: 0;
  box-shadow: 0 6px 32px 0 rgba(35,47,63,0.22);
}
.hero .container,
.hero .content-wrapper {
  height: 100%;
  justify-content: center;
  align-items: flex-start;
}
.hero h1 {
  color: #F5F8FA;
  font-size: 2.3rem;
  text-shadow: 0 2px 12px rgba(36,160,154,0.13);
}
.hero p {
  color: #bff2ea;
  font-size: 1.15rem;
  margin-bottom: 18px;
  margin-top: 4px;
}

.section.features {
  background: #203449;
  border-top: 2px solid #36A99A;
  box-shadow: 0 8px 44px 0 rgba(36,169,154,0.06);
}
.features .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  margin-top: 24px;
}
.features .feature-grid > div {
  background: #232F3F;
  border-radius: 20px;
  padding: 28px 24px;
  flex: 1 1 210px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  box-shadow: 0 2px 18px 0 rgba(36,169,154,0.10);
  transition: box-shadow 0.2s, border 0.2s, transform 0.14s;
  border: 1.5px solid #1a3442;
  position: relative;
}
.features .feature-grid > div:hover {
  box-shadow: 0 8px 36px 0 rgba(36,169,154,0.22);
  border: 1.5px solid #36A99A;
  transform: translateY(-2px) scale(1.015);
}
.features img {
  height: 48px;
  width: 48px;
}
.features h3 {
  color: #36A99A;
}

/* =============================
   CTA / CALL TO ACTION SECTION
   ============================= */
.cta, .cta-analytics {
  background: #232F3F;
  border-top: 2px solid #36A99A;
  text-align: center;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 2px 18px rgba(36,169,154,0.05);
  margin-bottom: 0;
}
.cta h2, .cta-analytics h2 {
  color: #36A99A;
  font-size: 2rem;
  margin-bottom: 8px;
}
.cta a.cta-btn, .cta-analytics a.cta-btn {
  margin-top: 24px;
  font-size: 1.13rem;
}

/* =============================
   TESTIMONIALS
   ============================= */
.testimonials, .testimonials-team {
  background: #F5F8FA;
  color: #203449;
  border-top: 2px solid #36A99A;
  border-bottom: 2px solid #36A99A;
}
.testimonials h2, .testimonials-team h2 {
  color: #203449;
  margin-bottom: 24px;
  margin-top: 6px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  border: 2px solid #36A99A;
  border-radius: 20px;
  padding: 20px 32px;
  margin-bottom: 32px;
  box-shadow: 0 4px 24px 0 rgba(54,169,154,0.10);
  font-size: 1.12rem;
  color: #203449;
  position: relative;
  transition: box-shadow 0.18s, transform 0.14s;
}
.testimonial-card span {
  color: #36A99A;
  font-size: 1rem;
  font-weight: 600;
}
.testimonial-card:before {
  content: '\201C';
  font-size: 2.4rem;
  color: #36A99A;
  font-family: 'Montserrat', Arial, sans-serif;
  position: absolute;
  top: 18px;
  left: 18px;
  opacity: 0.12;
  pointer-events: none;
}
.testimonial-card:hover {
  box-shadow: 0 8px 40px 0 rgba(36,169,154,0.19);
  transform: translateY(-2px) scale(1.01);
}

/* =============================
   CARD + FEATURE/USP CONTAINERS
   ============================= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #232F3F;
  border-radius: 14px;
  box-shadow: 0 4px 16px 0 rgba(54,169,154,0.08);
  transition: box-shadow 0.18s, border 0.18s;
  border: 1.5px solid #203449;
  padding: 26px 22px;
}
.card:hover {
  box-shadow: 0 8px 28px 0 rgba(36,169,154,0.19);
  border: 1.5px solid #36A99A;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* =============================
   ABOUT / LEGAL / CONTACT PAGES
   ============================= */
.text-section {
  margin-bottom: 30px;
}
.about-mission, .services-overview, .services-process, .services-development, .services-analytics, .legal-privacy, .legal-gdpr, .legal-terms, .legal-cookie, .contact-section, .contact-ways, .thank-you-hero {
  background: #232F3F;
  border-radius: 18px;
  box-shadow: 0 2px 24px 0 rgba(36,169,154,0.11);
  margin-bottom: 60px;
}
.partner-logos {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 18px;
  flex-wrap: wrap;
  color: #36A99A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
}
.partner-logos img {
  height: 38px;
  width: 38px;
  filter: grayscale(0.3) brightness(1.2);
}

/* Contact Info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 10px;
}
.contact-info div {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #36A99A;
  font-size: 1.08rem;
}
.contact-info img {
  height: 24px;
  width: 24px;
  margin-right: 8px;
}
.social-links {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
}
.social-links img {
  height: 24px;
  width: 24px;
  transition: filter 0.18s;
}
.social-links a:hover img {
  filter: drop-shadow(0 0 5px #36A99A);
}

.map-embed {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.map-embed img {
  height: 70px;
  width: 70px;
  border-radius: 12px;
  box-shadow: 0 1px 16px 0 rgba(54,169,154,0.1);
}

/* =============================
   FOOTER
   ============================= */
footer {
  background: #1C222B;
  border-top: 2.5px solid #36A99A;
  color: #F5F8FA;
  padding: 40px 0 18px 0;
  margin-top: 60px;
}
footer .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 10px;
}
.footer-nav a {
  color: #36A99A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-bottom: 1.5px dotted transparent;
  transition: border 0.2s, color 0.18s;
  padding: 2px 6px;
}
.footer-nav a:hover {
  color: #F5F8FA;
  border-bottom: 1.5px dotted #F5F8FA;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #bff2ea;
  font-size: 1rem;
}
.footer-contact img {
  vertical-align: middle;
  margin-right: 9px;
  height: 20px;
}

/* =============================
   COOKIE CONSENT BANNER
   ============================= */
.cookie-consent-banner {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 3002;
  background: #232F3F;
  color: #F5F8FA;
  padding: 22px 28px;
  border-radius: 20px;
  box-shadow: 0 4px 40px 0 rgba(36,169,154,0.15);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  max-width: 98vw;
  font-size: 1rem;
  border: 2px solid #36A99A;
  opacity: 1;
  transition: opacity 0.34s cubic-bezier(0.5,0,0.25,1E3);
}
.cookie-consent-banner.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-banner-buttons {
  display: flex;
  gap: 13px;
  align-items: center;
}
.cookie-accept-btn, .cookie-reject-btn, .cookie-settings-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  padding: 9px 22px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.cookie-accept-btn {
  background: #36A99A;
  color: #181C22;
}
.cookie-accept-btn:hover, .cookie-accept-btn:focus {
  background: #16f0c3;
  color: #1C222B;
}
.cookie-reject-btn {
  background: #1C222B;
  color: #36A99A;
  border: 1.5px solid #36A99A;
}
.cookie-reject-btn:hover, .cookie-reject-btn:focus {
  background: #232F3F;
  color: #F5F8FA;
}
.cookie-settings-btn {
  background: transparent;
  color: #F5F8FA;
  border: 1.5px solid #36A99A;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #36A99A;
  color: #181C22;
}

/* Cookie Modal (Settings) */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right:0; bottom:0;
  background: rgba(0,22,37,0.66);
  z-index: 3015;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
}
.cookie-modal {
  background: #232F3F;
  border: 2.5px solid #36A99A;
  border-radius: 24px;
  max-width: 93vw;
  width: 400px;
  padding: 36px 34px 24px 34px;
  color: #F5F8FA;
  box-shadow: 0 12px 64px 0 rgba(36,169,154,0.18);
  position: relative;
  z-index: 3018;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cookie-modal h2 {
  color: #36A99A;
  margin-bottom: 7px;
  font-size: 1.3rem;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-category {
  background: #1C222B;
  border-radius: 10px;
  padding: 15px 18px;
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 12px;
  color: #bff2ea;
  font-size: 1.01rem;
}
.cookie-category input[type="checkbox"] {
  accent-color: #16f0c3;
  width: 20px; height: 20px;
}
.cookie-category.essential input[type="checkbox"] {
  accent-color: #36A99A;
}
.cookie-category.essential label {
  font-weight: 700;
  color: #36A99A;
}
.cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 12px;
}
.cookie-close-btn {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  color: #36A99A;
  font-size: 1.5rem;
  cursor: pointer;
}
.cookie-close-btn:hover {
  color: #F5F8FA;
}

/* =============================
   UTILITIES & ANIMATIONS
   ============================= */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeRight {
  from { opacity: 0; transform: translateX(84px); }
  to   { opacity: 1; transform: translateX(0); }
}
.fade-in { animation: fadeIn 0.55s cubic-bezier(.57,.21,.69,1.25); }
.fade-right { animation: fadeRight 0.4s cubic-bezier(.57,.21,.69,1.25); }

.shadowed {
  box-shadow: 0 3px 26px 0 rgba(36,169,154,0.08);
}
.rounded {
  border-radius: 18px;
}
.neon {
  text-shadow: 0 0 6px #16f0c3,0 0 12px #36A99A;
}

/* =============================
   RESPONSIVE DESIGN
   ============================= */
@media (max-width: 1020px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .container { padding: 0 8px; }
}
@media (max-width: 900px) {
  .footer-nav { gap: 18px; }
  .feature-grid,
  .card-container,
  .content-grid { gap: 16px; }
}
@media (max-width: 768px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.18rem; }
  h3 { font-size: 1.03rem; }
  .hero { padding-top: 20px; padding-bottom: 20px; }
  .section { padding: 28px 10px; }
  .features .feature-grid {
    flex-direction: column;
    gap: 20px;
  }
  .card-container,
  .content-grid { flex-direction: column; gap: 18px; }
  .testimonial-card { padding: 17px 12px; }
  .testimonials, .testimonials-team { padding: 16px 0; }
  .footer-contact { font-size: 0.93rem; }
  .about-mission, .services-overview, .services-process,
  .services-development, .services-analytics, .legal-privacy, .legal-gdpr,
  .legal-terms, .legal-cookie, .contact-section, .contact-ways, .thank-you-hero {
    border-radius: 12px;
    margin-bottom: 44px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    padding: 16px 10px;
    font-size: 0.92rem;
    left: 3vw;
    transform: none;
    width: 94vw;
    max-width: 97vw;
  }
}
@media (max-width: 560px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .section { margin-bottom: 32px; }
  .testimonial-card { font-size: 0.96rem; }
  .cookie-modal { width: 98vw; max-width: 98vw; padding: 16px 6vw; }
}

/* =============================
   COLOR UTILITY CLASSES
   ============================= */
.bg-primary { background: #203449 !important; color: #F5F8FA; }
.bg-secondary { background: #36A99A !important; color: #181C22; }
.bg-accent { background: #F5F8FA !important; color: #203449; }
.color-accent { color: #36A99A !important; }
.shadow-accent { box-shadow: 0 3px 26px 0 rgba(54,169,154,0.15) !important; }

/* =============================
   CUSTOM SCROLLBAR for Futuristic Style
   ============================= */
::-webkit-scrollbar {
  width: 8px;
  background: #1C222B;
}
::-webkit-scrollbar-thumb {
  background: #36A99A;
  border-radius: 20px;
}

/* =============================
   FORM FIELDS (for possible contact forms)
   ============================= */
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  border-radius: 9px;
  border: 1.5px solid #36A99A;
  font-size: 1rem;
  padding: 0.7em 1em;
  background: #181C22;
  color: #F5F8FA;
  margin-bottom: 16px;
  transition: border 0.18s, background 0.18s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #16f0c3;
  outline: none;
  background: #232F3F;
}

button, .btn {
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 10px;
  border: none;
  padding: 7px 22px;
  font-size: 1rem;
  background: #36A99A;
  color: #232F3F;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.14s;
  box-shadow: 0 2px 6px 0 rgba(54,169,154,0.13);
}
button:hover, button:focus, .btn:hover, .btn:focus {
  background: #16f0c3;
  color: #1C222B;
  box-shadow: 0 4px 20px 0 rgba(54,169,154,0.18);
}

/* =============================
   FUTURISTIC EFFECTS
   ============================= */
/* Neon Glow Accent Underline */
.neon-underline {
  border-bottom: 2.5px solid #16f0c3;
  box-shadow: 0 0 12px #16f0c3;
}
/* Futuristic button blink animation */
@keyframes btn-glow {
  0% { box-shadow: 0 0 8px #36A99A; }
  50% { box-shadow: 0 0 22px #16f0c3, 0 0 8px #36A99A; }
  100% { box-shadow: 0 0 8px #36A99A; }
}
.cta-btn:focus {
  animation: btn-glow 0.72s infinite alternate;
}

/* =============================
   Z-INDEX LAYERING
   ============================= */
header { z-index: 1100; }
.mobile-menu { z-index: 1300; }
.mobile-menu-close { z-index: 1350; }
.cookie-consent-banner { z-index: 3002; }
.cookie-modal-overlay { z-index: 3015; }
footer { z-index: 1; }

/* =============================
   PRINT (Optional)
   ============================= */
@media print {
  header, footer, .cookie-consent-banner, .mobile-menu { display: none !important; }
}
