/* --- CSS RESET & NORMALIZATION --- */
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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
ol, ul {
  list-style: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: inline-block;
  max-width: 100%;
  vertical-align: middle;
  height: auto;
}
button, input, select, textarea {
  font: inherit;
  outline: none;
  background: none;
  border: none;
  color: inherit;
}

:root {
  --color-primary: #23425C;
  --color-secondary: #759F87;
  --color-accent: #F3F3F3;
  --color-dark-bg: #131F26;
  --color-footer: #101823;
  --color-light-bg: #FFFFFF;
  --color-neon: #67FFF8;
  --color-shadow: rgba(51, 68, 103, 0.13);
  --color-divider: #1e2c3f;

  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

body {
  background: var(--color-dark-bg);
  color: var(--color-accent);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

/* --- Typography --- */
h1, .hero h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(90deg, var(--color-secondary), var(--color-neon));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}
h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-neon);
  margin-bottom: 12px;
  letter-spacing: 0.01em;
  font-weight: 600;
}
h3 {
  font-family: var(--font-display);
  color: var(--color-secondary);
  margin-top: 24px;
  font-size: 1.15rem;
  margin-bottom: 10px;
  font-weight: 600;
}
p {
  color: var(--color-accent);
  margin-bottom: 14px;
  font-size: 1rem;
}
strong {
  color: var(--color-neon);
  font-weight: 700;
}
em {
  color: var(--color-secondary);
}

/* --- Containers & Content Wrappers --- */
.container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.section, .hero, .services, .features, .testimonials, .about-section, .contact-section, .confirmation, .content-section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 18px;
  background: rgba(29,36,44,0.84);
  box-shadow: 0 4px 24px var(--color-shadow);
  transition: box-shadow 0.28s;
}
.section:last-child { margin-bottom: 0; }

/* --- Flex Layout Rules --- */
.card-container, .card-grid, .features, .services, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card-container { gap: 24px; }
.card-grid { gap: 28px; }
.content-grid { gap: 20px; }
.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;
}

/* --- Card Styles --- */
.card {
  background: var(--color-footer);
  border-radius: 16px;
  box-shadow: 0 4px 32px var(--color-shadow);
  padding: 30px 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 250px;
  flex: 1 1 300px;
  border: 1.5px solid var(--color-divider);
  transition: border 0.2s, box-shadow 0.3s;
}
.card:hover, .card:focus-within {
  border-color: var(--color-secondary);
  box-shadow: 0 6px 42px var(--color-secondary);
}

/* --- Hero Section --- */
.hero {
  background: linear-gradient(100deg, #1f2733 60%, #213860 100%);
  box-shadow: 0 8px 42px 0 rgba(65,162,186,0.08);
  min-height: 290px;
  margin-bottom: 60px;
  display: flex;
  align-items: center;
}
.hero .container, .hero .content-wrapper {
  flex-direction: column;
  align-items: flex-start;
}
.hero p {
  font-size: 1.15rem;
  color: var(--color-accent);
  margin-bottom: 24px;
}

/* --- Features List --- */
.features ul, .services ul {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-left: 0;
  margin-bottom: 0;
}
.features li, .services li {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--color-accent);
  font-size: 1.07rem;
  padding: 10px 0;
  line-height: 1.6;
  border-bottom: 1px solid rgba(115,183,164,0.07);
}
.features li img, .services li img {
  flex-shrink: 0;
  width: 32px; 
  height: 32px;
  margin-right: 10px;
  filter: drop-shadow(0 0 4px var(--color-neon));
}
.features li:last-child, .services li:last-child { border-bottom: none; }

/* --- Testimonials --- */
.testimonials .testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #759f87;
  color: #111824;
  border-radius: 12px;
  padding: 28px 28px 18px 28px;
  margin-bottom: 22px;
  box-shadow: 0 2px 18px 0 rgba(103,255,248,0.10);
  border: 1.5px solid var(--color-secondary);
  transition: box-shadow 0.25s, border 0.2s;
}
.testimonials .testimonial-card:hover {
  border-color: var(--color-neon);
  box-shadow: 0 2px 30px 1px var(--color-neon);
}
.testimonial-meta {
  font-size: 1rem;
  color: var(--color-primary);
  font-weight: 500;
  margin-top: 4px;
  letter-spacing: .02em;
}
.testimonials h2 {
  color: var(--color-primary);
}

/* --- Navigation (Header) --- */
header {
  background: var(--color-footer);
  box-shadow: 0 2px 18px 0 rgba(36,91,110,0.10);
  padding: 0 0 2px 0;
  position: relative;
  z-index: 30;
}
.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 14px 0;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: var(--font-display);
  font-weight: 500;
}
.main-nav a {
  color: var(--color-accent);
  padding: 6px 13px;
  position: relative;
  font-size: 1rem;
  border-radius: 7px;
  transition: color 0.2s, background 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--color-neon);
  background: rgba(103,255,248,0.09);
}

/* Call To Action Buttons */
.cta {
  display: inline-block;
  font-family: var(--font-display);
  border: none;
  padding: 12px 28px;
  font-size: 1rem;
  border-radius: 24px;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: var(--color-primary);
  color: var(--color-neon);
  box-shadow: 0 2px 24px 0 rgba(103,255,248,0.10);
  cursor: pointer;
  transition: background 0.21s, color 0.18s, box-shadow 0.22s;
  margin-left: 12px;
  margin-top: 0;
  line-height: normal;
}
.cta.primary {
  background: var(--color-primary);
  color: var(--color-neon);
  border: 1.5px solid var(--color-secondary);
  box-shadow: 0 5px 20px 0 rgba(103,255,248,0.12);
}
.cta.secondary {
  background: var(--color-secondary);
  color: #fff;
  border: 1.5px solid var(--color-primary);
}
.cta:hover, .cta:focus {
  background: var(--color-neon);
  color: var(--color-primary);
  box-shadow: 0 10px 32px 0 var(--color-neon);
  border-color: var(--color-neon);
}

/* --- Footer --- */
footer {
  background: var(--color-footer);
  color: var(--color-accent);
  border-top: 2px solid #16202a;
  padding: 32px 0 12px 0;
  font-size: 1rem;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--color-secondary);
  font-size: 0.97rem;
}
.footer-nav a {
  color: var(--color-neon);
  border-radius: 4px;
  transition: color 0.22s, background 0.22s;
  padding: 2px 6px;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: rgba(119,255,245,0.1);
  color: var(--color-secondary);
}
.footer-contact, .footer-social, .footer-cert {
  color: var(--color-accent);
  font-size: 0.98rem;
  margin-bottom: 5px;
}
.footer-contact img, .footer-social img, .footer-cert img {
  width: 18px;
  margin-right: 7px;
  vertical-align: middle;
  filter: drop-shadow(0 0 3px var(--color-neon));
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a:hover img {
  filter: drop-shadow(0 0 6px var(--color-neon)) brightness(1.2);
}
footer .footer-cert {
  margin-top: 5px;
  color: var(--color-secondary);
  font-size: 0.95rem;
}

/* --- Forms --- */
input, textarea, select {
  background: #181e24;
  border: 1.5px solid var(--color-secondary);
  padding: 14px 13px;
  border-radius: 9px;
  font-size: 1rem;
  color: var(--color-accent);
  width: 100%;
  transition: border 0.18s, box-shadow 0.21s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-neon);
  box-shadow: 0 2px 12px 0 var(--color-neon);
}
label {
  display: block;
  color: var(--color-secondary);
  font-family: var(--font-display);
  margin-bottom: 6px;
}

/* --- Confirmation/Thank You --- */
.confirmation {
  background: linear-gradient(90deg, #16292a 55%, #6BA6A7 100%);
  color: var(--color-accent);
  text-align: left;
  border-radius: 18px;
}
.confirmation h1 {
  color: var(--color-neon);
  -webkit-text-fill-color: var(--color-neon);
  background: none;
}
.confirmation .cta {
  margin-top: 16px;
}

/* --- Miscellaneous --- */
.location-map {
  background: rgba(100,255,248,0.07);
  padding: 16px 24px;
  border-radius: 9px;
  margin-top: 18px;
  color: var(--color-secondary);
}
.contact-details p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.contact-details img {
  width: 22px;
}

/* --- Mobile Menu (Burger) --- */
.mobile-menu-toggle {
  display: none;
  background: var(--color-secondary);
  color: #fff;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 16px 0 rgba(119,255,245,0.09);
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  z-index: 120;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--color-neon);
  color: var(--color-primary);
  box-shadow: 0 2px 20px var(--color-neon);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 100vw;
  background: var(--color-footer);
  box-shadow: -10px 0 40px 0 var(--color-primary);
  transform: translateX(100vw);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.32s cubic-bezier(.6,.1,.48,1.1), opacity 0.16s, visibility 0.16s;
  z-index: 3000;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}
.mobile-menu-close {
  display: block;
  background: var(--color-neon);
  color: var(--color-primary);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  margin-left: auto;
  margin-right: 20px;
  margin-top: 22px;
  font-size: 2.3rem;
  cursor: pointer;
  box-shadow: 0 2px 8px var(--color-neon);
  align-self: flex-end;
  transition: background 0.16s, color 0.19s;
  z-index: 3001;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-secondary);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  margin: 40px 0 0 38px;
}
.mobile-nav a {
  display: block;
  font-size: 1.18rem;
  line-height: 1.6;
  color: var(--color-neon);
  border-radius: 8px;
  margin-bottom: 6px;
  padding: 10px 22px;
  transition: background 0.21s, color 0.19s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: rgba(103,255,248,0.09);
  color: var(--color-secondary);
}

/* --- Cookie Consent Banner --- */
.cookie-banner {
  position: fixed;
  z-index: 5000;
  left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--color-primary);
  color: var(--color-accent);
  padding: 24px 36px;
  box-shadow: 0 -4px 24px var(--color-shadow);
  font-size: 1rem;
  font-family: var(--font-body);
  gap: 20px;
  flex-wrap: wrap;
  animation: cookiefadein .35s;
}
@keyframes cookiefadein {
  from { opacity: 0; transform: translateY(60px); }
  to   { opacity: 1; transform: translateY(0);   }
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
  align-items: center;
}
.cookie-banner button {
  padding: 10px 22px;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--font-display);
  border: none;
  transition: background .18s, color .16s;
  font-weight: 600;
}
.cookie-banner .accept {
  background: var(--color-secondary);
  color: #fff;
}
.cookie-banner .accept:hover {
  background: var(--color-neon);
  color: var(--color-primary);
}
.cookie-banner .reject {
  background: #222934;
  color: var(--color-secondary);
}
.cookie-banner .reject:hover {
  background: var(--color-neon);
  color: var(--color-primary);
}
.cookie-banner .settings {
  background: transparent;
  color: var(--color-neon);
  border: 1.5px solid var(--color-neon);
}
.cookie-banner .settings:hover {
  background: var(--color-neon);
  color: var(--color-primary);
}

/* --- Cookie Settings Modal --- */
.cookie-modal {
  display: none;
  position: fixed;
  z-index: 6000;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(19,26,36,0.83);
  align-items: center;
  justify-content: center;
}
.cookie-modal.open {
  display: flex;
}
.cookie-modal-content {
  background: var(--color-footer);
  color: var(--color-accent);
  border-radius: 16px;
  box-shadow: 0 4px 42px 0 var(--color-shadow);
  padding: 38px 32px 22px 32px;
  min-width: 300px;
  max-width: 98vw;
  animation: cookiemodalfade .32s;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
@keyframes cookiemodalfade {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}
.cookie-modal-content h2 {
  color: var(--color-neon);
  font-size: 1.25rem;
  margin-bottom: 0;
}
.cookie-category {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cookie-category label {
  font-size: 1rem;
  color: var(--color-secondary);
}
.cookie-toggle {
  width: 50px;
  height: 26px;
  border-radius: 13px;
  background: #36404e;
  position: relative;
  transition: background 0.18s;
  cursor: pointer;
}
.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-toggle .slider {
  position: absolute;
  left: 2px; top: 2px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--color-secondary);
  transition: transform 0.18s, background 0.18s;
}
.cookie-toggle input:checked + .slider {
  background: var(--color-neon);
  transform: translateX(24px);
}
.cookie-modal-content .modal-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 8px;
}
.cookie-modal-content button {
  padding: 8px 20px;
  font-size: 1rem;
  border-radius: 8px;
  background: var(--color-secondary);
  color: #fff;
  border: none;
  font-family: var(--font-display);
  font-weight: 600;
  transition: background .18s, color .16s;
  cursor: pointer;
}
.cookie-modal-content button:hover, .cookie-modal-content button:focus {
  background: var(--color-neon);
  color: var(--color-primary);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .container {padding: 0 6px;}
  .content-wrapper {gap: 14px;}
  .hero{padding: 32px 8px;}
}
@media (max-width: 900px) {
  .container {max-width: 98vw;}
  .main-nav {gap: 14px;}
  .card {min-width: 220px; padding: 22px 12px;}
  .section, .hero, .features, .services {padding: 30px 10px;}
}
@media (max-width: 768px) {
  .container {padding: 0 2vw;}
  .header-flex {gap: 8px;}
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .cta {
    margin-left: 0;
  }
  .footer-nav, .footer-cert, .footer-social, .footer-contact {
    flex-direction: column;
    gap: 6px;
  }
  .section, .hero, .features, .services, .confirmation {
    padding: 24px 6px;
    margin-bottom: 34px;
    border-radius: 9px;
  }
  .testimonial-card {
    padding: 16px 11px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 22px;
  }
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .card-container, .card-grid, .features, .services {
    flex-direction: column;
    gap: 16px;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    padding: 26px 7vw 20px 7vw;
    font-size: 0.99rem;
  }
}
@media (max-width: 600px) {
  h1, .hero h1 {
    font-size: 1.32rem;
  }
  h2 {
    font-size: 1.05rem;
  }
  .cta, .cookie-banner button {
    padding: 10px 12px;
    font-size: 0.97rem;
  }
  .footer-contact, .footer-nav, .footer-social, .footer-cert {
    font-size: 0.92rem;
  }
}

/* --- VISUAL ENHANCEMENTS --- */
.section, .card, .footer-cert, .hero, .cookie-modal-content {
  border-radius: 18px;
  box-shadow: 0 4px 24px var(--color-shadow);
  transition: box-shadow 0.28s;
}
.card:hover, .testimonial-card:hover, .cookie-modal-content:hover {
  box-shadow: 0 8px 48px 0 var(--color-neon);
}

/* --- SCROLLBAR --- */
::-webkit-scrollbar {
  width: 9px;
  background: #1b262d;
}
::-webkit-scrollbar-thumb {
  background: var(--color-secondary);
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-neon);
}

/* --- Utility --- */
.mt-20 {margin-top: 20px;}
.mb-24 {margin-bottom: 24px;}
.text-center {text-align: center;}
.small {font-size: 0.93rem; color: var(--color-secondary);}

/* --- Hide visually but keep accessible --- */
.sr-only {
  position: absolute;
  width: 1px !important;
  height: 1px !important;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
/* --- End of CSS --- */
