/* ===============================================================
   LumenGlow – tech_futuristic style CSS
   Modern, innovative, and unmistakably tech-inspired
   Author: Senior CSS Developer & UI Designer
   =============================================================== */

/* ------ RESET & NORMALIZE ------ */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
}
body {
  background: #101522;
  color: #f8f8f8;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img, svg {
  max-width: 100%;
  display: block;
}
section, header, footer, nav, main, aside, article {
  display: block;
}
ul, ol {
  list-style: none;
  padding-left: 0;
}
a {
  color: #00C4C8;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #3CF2F7;
}


/* ------ BRAND VARIABLES (FALLBACKS) ------ */
:root {
  --color-primary: #113148;
  --color-secondary: #00C4C8;
  --color-accent: #F8F8F8;
  --color-bg-dark: #101522;
  --color-bg-light: #21293a;
  --color-hero-glow: #182d3e;
  --color-glass-dark: rgba(17, 49, 72, 0.90);
  --color-card: #16263b;
  --color-txt-light: #F8F8F8;
  --color-txt-dark: #151a21;
  --color-neon: #00fff7;
  --box-radius: 16px;
  --btn-radius: 36px;
  --shadow-card: 0 6px 30px 0 rgba(0, 196, 200, 0.12);
  --shadow-btn: 0 2px 12px 0 rgba(0, 255, 247, 0.25);

  --font-display: 'Roboto Slab', serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}


/* ------ TYPOGRAPHY SCALE ------ */
h1, .h1 {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--color-secondary);
  margin-bottom: 24px;
}
h2, .h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: 18px;
}
h3, .h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-accent);
  margin-bottom: 8px;
}
h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-accent);
}
p, ul li, ol li, .subtitle {
  font-family: var(--font-body);
  font-size: 1rem;
  letter-spacing: 0.005em;
  color: var(--color-accent);
}
.subtitle {
  color: #cce6fa;
  font-size: 1.13rem;
  margin-bottom: 18px;
  font-weight: 400;
}
strong {
  font-weight: 700;
  color: var(--color-secondary);
}


/* ------ CONTAINERS & LAYOUT ------ */
.container {
  width: 100%;
  max-width: 1220px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  border-radius: var(--box-radius);
}

/* Don't let card/section elements stack without spacing */
.card-container,
.features-grid,
.features-list,
.service-list,
.service-cards,
.details-list,
.faq-list,
.project-highlights,
.testimonial-grid,
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}

.card,
.features-grid > div,
.features-list > div,
.service-list > div,
.service-cards > div,
.details-list > div,
.faq-list > div,
.project-highlights ul,
.testimonial-card {
  background: var(--color-card);
  border-radius: var(--box-radius);
  box-shadow: var(--shadow-card);
  padding: 24px 20px 20px 24px;
  margin-bottom: 20px;
  position: relative;
  min-width: 240px;
  flex: 1 1 280px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover,
.features-grid > div:hover,
.features-list > div:hover,
.service-list > div:hover,
.service-cards > div:hover,
.details-list > div:hover {
  box-shadow: 0 8px 38px 0 rgba(0,255,247,.14);
  transform: translateY(-2px) scale(1.02);
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.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: 20px 24px;
  background: var(--color-accent);
  color: var(--color-txt-dark);
  border-radius: var(--box-radius);
  box-shadow: 0 4px 24px rgba(17,49,72,0.06);
}
.testimonial-meta {
  font-size: 1rem;
  color: var(--color-primary);
  font-weight: 700;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}


/* ------ HEADER & NAVIGATION ------ */
header {
  position: sticky;
  top: 0;
  z-index: 30;
  width: 100%;
  background: var(--color-primary);
  box-shadow: 0 4px 30px rgba(0,196,200,0.05);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}
.logo img {
  height: 40px;
  width: auto;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
header nav a {
  color: var(--color-accent);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  transition: color 0.2s;
  padding: 6px 8px;
}
header nav a:hover,
header nav a:focus {
  color: var(--color-neon);
  text-shadow: 0 0 6px var(--color-neon);
}
.header .cta-btn,
header .cta-btn {
  margin-left: 24px;
}


/* ------ CTA BUTTONS ------ */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  padding: 12px 36px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.125rem;
  background: linear-gradient(90deg,#00C4C8 0%, #14e5ee 100%);
  color: #113148;
  border: none;
  border-radius: var(--btn-radius);
  box-shadow: var(--shadow-btn);
  cursor: pointer;
  letter-spacing: 0.03em;
  outline: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
  margin-top: 18px;
}
.cta-btn:hover,
.cta-btn:focus {
  background: linear-gradient(90deg,#22fcfc 0%, #43fff0 100%);
  color: var(--color-primary);
  box-shadow: 0 4px 32px 0 var(--color-neon);
  transform: scale(1.025);
}


/* ------ HERO SECTION ------ */
.hero {
  background: var(--color-hero-glow);
  background-image: linear-gradient(90deg, #113148 50%, #182d3e 100%);
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 40px 0 rgba(0,255,247,0.09);
  overflow: hidden;
  border-radius: 0 0 28px 28px;
  margin-bottom: 60px;
}
.hero .container {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.hero h1 {
  color: var(--color-neon);
  text-shadow: 0 0 12px #00fff7b0;
}
.hero .subtitle {
  color: #cce6fa;
  font-weight: 400;
}


/* ------ FEATURES / SERVICES / CARDS ------ */
.features-grid > div,
.features-list > div,
.service-list > div,
.service-cards > div,
.details-list > div {
  border: 1.2px solid #00C4C850;
  background: rgba(24,45,62,0.85);
  border-radius: var(--box-radius);
  box-shadow: var(--shadow-card);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 220px;
  flex: 1 1 280px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.features-grid img,
.features-list img {
  height: 44px;
  width: 44px;
  margin-bottom: 14px;
  filter: drop-shadow(0 0 8px #00C4C8AA);
}
.features-grid h3,
.features-list h3,
.service-list h3 {
  color: var(--color-neon);
  text-shadow: 0 0 5px #00fff733;
}


/* ------ TESTIMONIALS ------ */
.testimonial-slider,
.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.testimonial-card {
  padding: 20px 26px;
  background: var(--color-accent);
  color: var(--color-txt-dark);
  border-radius: var(--box-radius);
  box-shadow: 0 4px 24px rgba(17,49,72,0.06);
  font-size: 1.06rem;
  line-height: 1.7;
  font-family: var(--font-body);
}
.testimonial-meta {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1rem;
  margin-top: 12px;
}


/* ------ FAQ / ACCORDION ------ */
.faq-accordion > div,
.faq-list > div {
  border: 1.2px solid #14e5ee88;
  padding: 22px 20px;
  background: var(--color-bg-light);
  border-radius: var(--box-radius);
  margin-bottom: 20px;
  transition: box-shadow 0.2s;
  cursor: pointer;
}
.faq-accordion > div:hover, .faq-list > div:hover {
  box-shadow: 0 4px 32px #00fff71a;
}
.faq-accordion h3, .faq-list h3 {
  font-size: 1.13rem;
  color: var(--color-neon);
}


/* ------ FOOTER ------ */
footer {
  background: var(--color-primary);
  color: var(--color-accent);
  margin-top: 40px;
  padding: 44px 0 24px 0;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 36px;
}
footer .logo img {
  height: 36px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
footer nav a {
  color: var(--color-accent);
  font-size: 1rem;
}
footer nav a:hover { color: var(--color-neon); }
.footer-contact {
  font-size: 0.97rem;
  color: #b1cbda;
  margin-top: 10px;
}


/* ------ PROJECTS & HIGHLIGHTS ------ */
.project-highlights ul {
  list-style: none;
  padding-left: 0;
  background: var(--color-card);
  border-radius: var(--box-radius);
  box-shadow: var(--shadow-card);
  padding: 22px 18px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.project-highlights li {
  color: var(--color-accent);
  font-size: 1rem;
  margin-bottom: 6px;
}


/* ------ CONTACT INFO ------ */
.contact-info {
  background: var(--color-bg-light);
  color: var(--color-txt-light);
  border-radius: var(--box-radius);
  box-shadow: var(--shadow-card);
  padding: 20px 18px;
  margin-bottom: 20px;
  font-size: 1.06rem;
}
.contact-info a { color: var(--color-secondary); }
.contact-info ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ------ BUTTONS & INTERACTIVES ------ */
button, .button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  outline: none;
  border-radius: var(--btn-radius);
  transition: background 0.2s, color 0.2s, box-shadow 0.18s, transform 0.14s;
}
button:active, .button:active   { transform: scale(0.98); }


/* ------ MOBILE NAVIGATION ------ */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 24px;
  top: 18px;
  z-index: 50;
  font-size: 2.1rem;
  color: var(--color-neon);
  background: none;
  padding: 6px;
  border-radius: 50%;
  box-shadow: 0 2px 10px #00c4c855;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #16263b;
  color: #43fff0;
}
.mobile-menu {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100vh;
  width: 100vw;
  background: linear-gradient(120deg, #113148 65%, #00C4C8 160%);
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(.95, .4, .1, 1);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.1rem;
  background: none;
  color: var(--color-neon);
  border: none;
  padding: 10px;
  margin: 18px 0 0 0;
  align-self: flex-end;
  margin-right: 22px;
  border-radius: 50%;
  box-shadow: 0 2px 10px #00c4c855;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  width: 100%;
  margin-top: 44px;
}
.mobile-nav a {
  color: var(--color-accent);
  font-size: 1.35rem;
  font-family: var(--font-display);
  letter-spacing: 0.035em;
  padding: 12px 30px;
  background: rgba(24, 45, 62, 0.17);
  border-radius: var(--btn-radius);
  transition: background 0.12s, color 0.16s;
  text-align: center;
  width: 80%;
}
.mobile-nav a:focus,
.mobile-nav a:hover {
  color: var(--color-neon);
  background: #16e8f611;
  text-shadow: 0 0 10px #00fff755;
}


@media (max-width: 980px) {
  .container {
    max-width: 99vw;
    padding-left: 12px;
    padding-right: 12px;
  }
}

@media (max-width: 860px) {
  header .container, footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 7px;
    padding-right: 7px;
  }
  .section {
    padding: 24px 7px;
    margin-bottom: 36px;
  }
  .content-wrapper {
    gap: 12px;
  }
  .features-grid,
  .features-list,
  .service-list,
  .service-cards,
  .details-list,
  .faq-list,
  .testimonial-slider,
  .testimonial-grid {
    flex-direction: column;
    gap: 18px;
  }
  .card, .features-grid > div, .features-list > div, .service-list > div, .service-cards > div, .details-list > div, .faq-list > div, .testimonial-card {
    min-width: 0;
    flex: 1 1 100%;
    padding: 16px 12px 14px 14px;
  }
  .hero {
    min-height: 240px;
    border-radius: 0 0 14px 14px;
    margin-bottom: 36px;
  }
  .hero h1 { font-size: 1.5rem; }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header nav, header .cta-btn {
    display: none !important;
  }
  footer .container {
    gap: 10px;
    align-items: flex-start !important;
  }
}

@media (max-width: 480px) {
  h1, .h1 { font-size: 1.18rem; }
  h2, .h2 { font-size: 1rem; }
  h3, .h3 { font-size: 0.98rem; }
  .cta-btn {
    font-size: 1rem;
    padding: 10px 22px;
  }
}


/* ------ COOKIE CONSENT BANNER ------ */
.cookie-banner {
  position: fixed;
  z-index: 12000;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: linear-gradient(90deg, #16263b 55%, #113148 100%);
  color: #fff;
  box-shadow: 0 -3px 32px #00fff755;
  padding: 24px 20px 18px 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: transform 0.32s cubic-bezier(.8,.2,.2,1);
  transform: translateY(0);
}
.cookie-banner.hide {
  transform: translateY(130%);
}
.cookie-banner .cookie-text {
  font-size: 1.03rem;
  font-family: var(--font-body);
  flex: 1 1 55%;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
  flex-direction: row;
  align-items: center;
}
.cookie-banner button {
  padding: 10px 24px;
  font-size: 1rem;
  background: linear-gradient(90deg, #00C4C8 0%, #22fcfc 120%);
  color: #113148;
  border-radius: var(--btn-radius);
  border: none;
  margin: 0 3px;
  font-weight: 700;
  box-shadow: var(--shadow-btn);
  transition: background 0.18s, transform 0.12s, color 0.23s;
}
.cookie-banner button:hover,
.cookie-banner button:focus {
  background: linear-gradient(90deg, #22fcfc 0%, #54fff7 100%);
  color: var(--color-primary);
  transform: scale(1.05);
}
.cookie-banner .cookie-settings-btn {
  background: none;
  border: 1.4px solid #00C4C8cc;
  color: #00fff7;
  box-shadow: none;
}
.cookie-banner .cookie-settings-btn:hover {
  background: #11275a;
  color: #3CF2F7;
}
@media (max-width: 680px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 7px 16px 10px;
  }
  .cookie-banner .cookie-actions {
    width: 100%;
    justify-content: flex-end;
    gap: 8px;
  }
}

/* ------ COOKIE MODAL ------ */
.cookie-modal {
  position: fixed;
  z-index: 13000;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(16,21,34,0.89);
  display: flex;
  justify-content: center;
  align-items: center;
}
.cookie-modal .modal-content {
  background: var(--color-card);
  color: var(--color-accent);
  border-radius: var(--box-radius);
  box-shadow: 0 8px 38px #00fff728;
  width: 98%; max-width: 430px;
  padding: 34px 32px 26px 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: cookieModalIn 0.36s cubic-bezier(.62, .01, .21, 1);
}
@keyframes cookieModalIn {
  0% { transform: scale(0.8) translateY(60px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h3 {
  color: var(--color-neon);
  font-size: 1.18rem;
  margin-bottom: 7px;
}
.cookie-modal p, .cookie-modal label {
  font-size: 1.02rem;
  color: var(--color-accent);
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.cookie-modal input[type="checkbox"] {
  width: 22px; height: 22px;
  accent-color: var(--color-secondary);
  border-radius: 6px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 18px; right: 20px;
  background: none;
  color: #00fff7;
  font-size: 1.5rem;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.14s;
}
.cookie-modal .modal-close:focus,
.cookie-modal .modal-close:hover {
  background: #00fff722;
}

@media (max-width: 520px) {
  .cookie-modal .modal-content {
    padding: 22px 7px 18px 7px;
  }
}

/* ------ TRANSITIONS & MICRO-INTERACTIONS ------ */
.card,
.cta-btn,
.features-grid > div,
.service-cards > div,
.testimonial-card,
footer nav a,
button,
.mobile-nav a,
.faq-accordion > div,
.faq-list > div
{
  transition: box-shadow 0.2s, transform 0.18s, background 0.12s, color 0.17s;
}

/* ------ SCROLLBAR THEMING ------ */
::-webkit-scrollbar {
  width: 8px; background: #16263b;
}
::-webkit-scrollbar-thumb {
  background: #00C4C8;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #00fff7;
}

/* ------ SELECTION ------ */
::selection {
  background: #00C4C8;
  color: #113148;
}

/* ------ ACCESSIBILITY ------ */
:focus { outline: 2px solid #00fff7; outline-offset: 2px; }

/* ------ Z-INDEX SAFEGUARD FOR MENUS ------ */
header, .mobile-menu, .cookie-banner, .cookie-modal {
  z-index: 1000;
}

/* ------ HIDE REDUNDANT NAV ON MOBILE ------ */
@media (max-width: 768px) {
  header .container nav,
  header .container .cta-btn {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 769px) {
  .mobile-menu,
  .mobile-menu-toggle { display: none !important; }
}