/* ========================================
   CSS RESET & NORMALIZE
   ======================================== */
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 {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  background: #181D35;
  color: #F5F7FA;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #25ffc7;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #42f5fc;
}
ul, ol {
  padding-left: 22px;
  margin-bottom: 18px;
}
li+li {
  margin-top: 10px;
}
strong { font-weight: 700; }
em { font-style: italic; }

/* ========================================
   BRAND TYPOGRAPHY
   ======================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.6rem;
  font-weight: 900;
  color: #42f5fc;
}
h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #25ffc7;
}
h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #F5F7FA;
}
h4, h5, h6 {
  font-size: 1.1rem;
  font-weight: 600;
}
p, address {
  font-size: 1rem;
  color: #e6edf7;
  margin-bottom: 17px;
}
address { font-style: normal; }

/* ========================================
   SPACING & LAYOUT
   ======================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #232951;
  border-radius: 14px;
  box-shadow: 0 2px 16px 0 #1d235555;
  transition: box-shadow 0.25s, transform 0.2s;
  overflow: hidden;
}
.card:hover, .card:focus {
  box-shadow: 0 6px 28px 0 #00ffd4aa;
  transform: translateY(-4px) scale(1.015);
}
.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;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  margin-bottom: 20px;
  background: #F5F7FA;
  color: #181D35;
  border-radius: 13px;
  box-shadow: 0 2px 18px 0 #21285033;
  min-width: 260px;
  transition: box-shadow 0.2s, background 0.2s;
}
.testimonial-card p {
  color: #0d0f1a;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 3px 0;
}
.testimonial-card span {
  font-size: 0.97rem;
  color: #28305B;
  font-weight: 400;
}
.testimonial-card:hover {
  box-shadow: 0 6px 19px 0 #00ffd4aa;
  background: #E0F7FB;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.text-section {
  max-width: 870px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  align-items: center;
  margin-bottom: 12px;
}
main .container {
  position: relative;
  z-index: 1;
}

/* ========================================
   NAVIGATION BAR & MOBILE MENU
   ======================================== */
header {
  background: #232951;
  position: relative;
  width: 100%;
  box-shadow: 0 2px 16px 0 #181D3533;
  z-index: 101;
}
nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 18px;
  padding: 16px 0 16px 0;
}
nav > a {
  color: #F5F7FA;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 7px 14px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}
nav > a.cta {
  background: linear-gradient(90deg, #00ffd4 0%, #42f5fc 100%);
  color: #232951;
  font-weight: 700;
  border-radius: 22px;
  padding: 8px 22px;
  box-shadow: 0 1px 9px 0 #00ffd466;
  margin-left: 0.8rem;
  text-shadow: 0 2px 5px #fff6;
  border: none;
}
nav > a:hover, nav > a:focus {
  background: rgba(32, 255, 226, 0.14);
  color: #25ffc7;
}
nav > a.cta:hover, nav > a.cta:focus {
  background: linear-gradient(90deg, #42f5fc 0%, #00ffd4 100%);
  color: #28305B;
  box-shadow: 0 3px 17px 0 #00ffd488;
}
nav img {
  height: 36px;
  width: auto;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #25ffc7;
  font-size: 2rem;
  cursor: pointer;
  margin-left: auto;
  z-index: 120;
  padding: 4px 12px;
}
.mobile-menu {
  display: none;
}
.mobile-menu.active {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #181D35ee;
  z-index: 9999;
  padding: 32px 24px 24px 24px;
  transform: translateX(0);
  transition: transform 0.33s cubic-bezier(0.6, 0.05, 0.2, 1);
}
.mobile-menu { 
  transform: translateX(100vw);
  transition: transform 0.33s cubic-bezier(0.6, 0.05, 0.2, 1);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #25ffc7;
  font-size: 2.1rem;
  align-self: flex-end;
  margin-bottom: 15px;
  transition: color 0.2s;
  cursor: pointer;
  z-index: 10002;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #42f5fc;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  margin-top: 18px;
}
.mobile-nav a {
  color: #F5F7FA;
  background: #273062;
  border-radius: 12px;
  font-size: 1.25rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  padding: 16px 22px;
  margin: 0;
  min-width: 180px;
  transition: background 0.18s, color 0.18s;
  outline: none;
}
.mobile-nav a:active, .mobile-nav a:hover, .mobile-nav a:focus {
  background: #25ffc722;
  color: #25ffc7;
}

@media (max-width: 1100px) {
  .container {
    max-width: 900px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
  }
  nav {
    gap: 10px;
  }
}
@media (max-width: 820px) {
  nav {
    gap: 7px;
  }
  .footer-nav {
    gap: 7px;
  }
}
@media (max-width: 768px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .container {
    padding-left: 10px;
    padding-right: 10px;
    max-width: 98vw;
  }
  .content-grid, .card-container {
    gap: 14px;
  }
  .text-image-section, .content-wrapper {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    padding: 16px;
  }
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  background: linear-gradient(100deg, #28305B 50%, #197B5E 100%);
  min-height: 320px;
  display: flex;
  align-items: center;
  padding: 60px 0;
  position: relative;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  flex-direction: column;
  background: rgba(24,29,53,0.88);
  box-shadow: 0 3px 40px 0 #1f246099;
  padding: 36px 32px;
  border-radius: 18px;
  min-width: 270px;
  max-width: 500px;
}
.hero h1, .hero h2 {
  color: #42f5fc;
  text-shadow: 0 2px 12px #28305b77;
}
.hero p {
  font-size: 1.18rem;
  color: #f0fdff;
  margin-bottom: 18px;
}

@media (max-width: 650px) {
  .hero {
    padding: 32px 0;
  }
  .hero .content-wrapper {
    padding: 20px;
  }
}

/* ========================================
   CTA BUTTONS & INTERACTIVE ELEMENTS
   ======================================== */
.cta {
  display: inline-block;
  background: linear-gradient(90deg, #00ffd4 0%, #42f5fc 100%);
  color: #181D35;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.17rem;
  font-weight: 700;
  padding: 11px 28px;
  border: none;
  border-radius: 25px;
  margin-top: 7px;
  box-shadow: 0 2px 17px #00ffd466;
  cursor: pointer;
  transition: background 0.24s, color 0.21s, transform 0.18s;
  text-shadow: 0 1px 5px #fff3;
  outline: none;
}
.cta:hover, .cta:active, .cta:focus {
  background: linear-gradient(90deg, #42f5fc 0%, #00ffd4 100%);
  color: #28305B;
  transform: scale(1.04);
  box-shadow: 0 6px 24px #25ffc7dd;
}

/* ========================================
   FEATURES & SERVICES
   ======================================== */
.features {
  background: #21264e;
  border-top: 2px solid #197B5E33;
}
.features h2, .services h2 {
  color: #25ffc7;
  font-size: 2rem;
}
.features ul, .services ul {
  list-style-type: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 15px;
}
.features ul li, .services ul li {
  display: flex;
  align-items: center;
  background: #28305B;
  color: #fff;
  padding: 16px 22px;
  border-radius: 11px;
  font-size: 1.13rem;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  box-shadow: 0 2px 11px #197b5e22;
  gap: 17px;
  min-height: 44px;
  transition: background 0.2s, color 0.2s;
  margin-bottom: 5px;
}
.features ul li img {
  height: 28px;
  width: auto;
  filter: drop-shadow(0 0 8px #42f5fc77);
}
.features ul li:hover {
  background: #197B5E !important;
  color: #25ffc7;
}
@media (max-width: 600px) {
  .features ul li, .services ul li {
    padding: 11px 9px;
    font-size: 1rem;
  }
  .features ul li img {
    height: 19px;
    min-width: 19px;
    margin-right: 6px;
  }
}

.services {
  background: #232951;
  border-top: 2px solid #42f5fc22;
}
.services ul li em {
  color: #25ffc7;
  font-style: normal;
  margin-left: 10px;
  font-weight: 500;
  font-size: 1.06rem;
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials {
  background: #F5F7FA;
  padding: 50px 0;
}
.testimonials h2 {
  color: #28305B;
}
.testimonials .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  align-items: flex-start;
  justify-content: flex-start;
}
.testimonials .testimonial-card {
  background: #fff;
  color: #181D35;
  min-width: 220px;
  flex: 1 1 270px;
  margin-bottom: 0;
  border-left: 4px solid #42f5fc;
  box-shadow: 0 2px 18px 0 #21285022;
}

/* ========================================
   CTA SECTION
   ======================================== */
section.cta {
  background: #197B5E;
  padding: 36px 0;
  text-align: center;
  box-shadow: 0 2px 40px 0 #00ffd444;
}
section.cta h2 {
  color: #fff !important;
  font-size: 2.1rem;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 13px;
}
section.cta .cta {
  margin-top: 14px;
}

/* ========================================
   LEGAL & ABOUT SECTIONS
   ======================================== */
.legal, .about-home, .about-mission, .about-team, .contact-details, .contact-home, .thankyou {
  background: #232951;
  color: #F5F7FA;
  border-radius: 18px;
  box-shadow: 0 2px 14px 0 #181D3533;
  margin-bottom: 40px;
  padding-top: 35px;
  padding-bottom: 35px;
}
.legal h1, .legal h2, .legal h3 {
  color: #42f5fc;
}
.legal a {
  color: #197B5E;
  text-decoration: underline;
}
.legal ul li {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.text-section {
  padding: 10px 0;
}

/* ========================================
   FOOTER
   ======================================== */
footer {
  background: #181D35;
  padding: 32px 0 12px 0;
  text-align: center;
  border-top: 6px solid #197B5E;
  box-shadow: 0 -2px 20px #23295155;
}
footer .footer-nav {
  margin-bottom: 16px;
}
footer a {
  color: #F5F7FA;
}
footer p {
  color: #e2e7f1;
  font-size: 0.97rem;
}

/* ========================================
   COOKIE CONSENT BANNER
   ======================================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #181D35;
  color: #fff;
  box-shadow: 0 -2px 28px 0 #197B5E55;
  padding: 22px 13px 22px 13px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  z-index: 11000;
  transform: translateY(130%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.7,0,0,1), opacity 0.3s;
}
.cookie-banner.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.cookie-banner p {
  color: #fff;
  margin: 0;
  font-size: 1rem;
}
.cookie-banner button {
  background: linear-gradient(90deg, #00ffd4 0%, #42f5fc 100%);
  color: #232951;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  border: none;
  border-radius: 15px;
  padding: 8px 18px;
  margin: 0 5px;
  box-shadow: 0 2px 10px #00ffd433;
  cursor: pointer;
  font-size: 1.05rem;
  transition: background 0.17s, color 0.18s, transform 0.17s;
}
.cookie-banner button:active, .cookie-banner button:hover, .cookie-banner button:focus {
  background: linear-gradient(90deg,#42f5fc 0%,#00ffd4 100%);
  color: #181D35;
  transform: scale(1.04);
}

/* COOKIE BANNER MODAL PREFERENCES */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  width: 100vw; height: 100vh;
  z-index: 12000;
  background: rgba(24,29,53,0.75);
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.active {
  display: flex;
}
.cookie-modal {
  background: #21264e;
  color: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 54px #197B5E66;
  max-width: 380px;
  width: 92vw;
  padding: 38px 23px 26px 23px;
  display: flex;
  flex-direction: column;
  gap: 21px;
  position: relative;
  animation: cookieModalFadeIn 0.42s cubic-bezier(0.7,0,0,1);
}
@keyframes cookieModalFadeIn {
  from { opacity: 0; transform: translateY(80px) scale(0.93); }
  to   { opacity: 1; transform: none; }
}
.cookie-modal h2 {
  color: #25ffc7;
  font-size: 1.32rem;
  margin-bottom: 5px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: space-between;
}
.cookie-modal label {
  font-size: 1.07rem;
}
.cookie-modal .toggle {
  display: flex;
  align-items: center;
  gap: 5px;
}
.cookie-modal .switch {
  position: relative;
  width: 42px;
  height: 26px;
  display: inline-block;
}
.cookie-modal .switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-modal .slider {
  position: absolute;
  cursor: pointer;
  background: #28305B;
  border-radius: 30px;
  height: 100%;
  width: 100%;
  transition: background 0.19s;
}
.cookie-modal .switch input:checked ~ .slider {
  background: #25ffc7;
  box-shadow: 0 0 10px 2px #25ffc7bb;
}
.cookie-modal .slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 4px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.19s;
  box-shadow: 0 1px 6px #181D3533;
}
.cookie-modal .switch input:checked ~ .slider:before {
  transform: translateX(16px);
}
.cookie-modal .category-desc {
  color: #c4e6e0;
  font-size: 0.98rem;
  margin-bottom: 6px;
  margin-top: 3px;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 9px;
}
.cookie-modal button {
  background: linear-gradient(90deg, #00ffd4 0%, #42f5fc 100%);
  color: #232951;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  border: none;
  border-radius: 14px;
  padding: 7px 19px;
  font-size: 1.11rem;
  cursor: pointer;
  box-shadow: 0 2px 8px #00ffd433;
  margin: 0 2px;
  transition: background 0.17s, color 0.18s, transform 0.17s;
}
.cookie-modal button:active, .cookie-modal button:hover, .cookie-modal button:focus {
  background: linear-gradient(90deg,#42f5fc 0%,#00ffd4 100%);
  color: #181D35;
  transform: scale(1.04);
}
.cookie-modal .close-modal {
  position: absolute;
  top: 13px;
  right: 20px;
  background: none;
  color: #25ffc7;
  border: none;
  font-size: 1.29rem;
  padding: 0;
  cursor: pointer;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  color: #42f5fc;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    padding: 18px 6px 18px 6px;
    font-size: 15px;
  }
  .cookie-modal {
    padding: 18px 7px 18px 7px;
    min-width: 0;
  }
}

/* ========================================
   MICRO-INTERACTIONS & TRANSITIONS
   ======================================== */
.card, .testimonial-card, .features ul li, .services ul li, .cta, .cookie-banner button, .cookie-modal button {
  transition: box-shadow 0.17s, transform 0.16s, background 0.19s, color 0.16s;
}
section, .section, .hero, footer {
  transition: background 0.25s;
}

/* ========================================
   CUSTOM SCROLLBAR
   ======================================== */
::-webkit-scrollbar {
  width: 11px;
  background: #232951;
}
::-webkit-scrollbar-thumb {
  background: #197B5E;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: #25ffc7;
}

/* ========================================
   ACCESSIBLE OUTLINE
   ======================================== */
a:focus-visible, .cta:focus-visible, button:focus-visible, .mobile-menu-close:focus-visible {
  outline: 3px solid #25ffc7;
  outline-offset: 2px;
}

/* ========================================
   MISC HELPERS
   ======================================== */
@media (max-width: 530px) {
  h1 {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 1.17rem;
  }
  .hero .content-wrapper {
    min-width: 0;
    max-width: 95vw;
    padding: 13px 6px;
  }
  .section, section {
    padding: 15px 0 15px 0;
  }
}

::-moz-selection {
  background: #42f5fc55;
  color: #fff;
}
::selection {
  background: #42f5fc55;
  color: #fff;
}


/* ========================================
   END OF CELESTIAL ROAD LEIPZIG CSS
   ======================================== */
