/* style.css - PyraFlux Flow "tech_futuristic" theme */

/* --- 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 {
  scroll-behavior: smooth;
}
body {
  line-height: 1.6;
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  background-color: #101623;
  color: #F5F6FA;
  background-image: linear-gradient(135deg, #18415E 30%, #228C6B 100%);
}

/* --- BRAND COLORS & CUSTOM PROPERTIES --- */
:root {
  --primary: #18415E;
  --secondary: #228C6B;
  --accent: #F5F6FA;
  --neutral-dark: #101623;
  --neutral-light: #F5F6FA;
  --neon-cyan: #1CE1FF;
  --neon-green: #48FFB2;
  --glass-bg: rgba(24, 65, 94, 0.72);
  --shadow: 0 4px 32px 0 rgba(28, 225, 255, 0.09);
  --radius: 16px;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.4rem; margin-bottom: 16px; }
h4, h5, h6 { font-size: 1.15rem; }

p, ul, ol, dl, blockquote {
  font-size: 1rem;
  color: var(--accent);
  line-height: 1.8;
  margin-bottom: 18px;
}
a {
  color: var(--neon-cyan);
  text-decoration: none;
  transition: color .18s;
}
a:hover, a:focus {
  color: var(--neon-green);
}
strong { color: var(--neon-green); }

ul, ol {
  padding-left: 28px;
  margin-bottom: 20px;
}
li {
  margin-bottom: 12px;
  font-size: 1.07em;
}
blockquote {
  font-size: 1.12rem;
  border-left: 3px solid var(--neon-cyan);
  padding-left: 14px;
  color: #fff;
  margin-bottom: 15px;
  background: rgba(28, 225, 255, 0.09);
}

/* --- CONTAINER & FLEX UTILS --- */
.container {
  width: 100%;
  max-width: 1190px;
  margin: 0 auto;
  padding: 0 18px;
  box-sizing: border-box;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

/* --- HEADER & NAVIGATION --- */
header {
  background: rgba(24, 65, 94, 0.97);
  box-shadow: 0 2px 24px 0 rgba(28, 225, 255, 0.13);
  position: sticky;
  top: 0;
  z-index: 60;
}
header img {
  height: 44px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: 'Roboto', Arial, sans-serif;
}
.main-nav a {
  color: #F5F6FA;
  font-weight: 500;
  font-size: 1.04rem;
  padding: 7px 15px;
  border-radius: 7px;
  transition: background .2s, color .2s;
  position: relative;
}
.main-nav a::after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  background: var(--neon-cyan);
  transition: width .23s;
  position: absolute;
  left: 15px;
  bottom: 0px;
}
.main-nav a:hover::after {
  width: 70%;
}
.main-nav a:hover, .main-nav a:focus {
  background: rgba(28, 225, 255, 0.10);
  color: var(--neon-cyan);
}
.main-nav .btn-primary {
  margin-left: 8px;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  cursor: pointer;
  padding: 4px 11px;
  border-radius: 50%;
  transition: background .18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: rgba(28, 225, 255, 0.12);
}

/* --- MOBILE MENU --- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, #18415E 70%, #228C6B 100%);
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform .39s cubic-bezier(.35,1.43,.37,1);
  visibility: hidden;
}
.mobile-menu.active {
  transform: translateX(0);
  visibility: visible;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 19px 22px 0 0;
  font-size: 2.1rem;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  padding: 4px 11px;
  transition: background .17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: rgba(28, 225, 255, 0.18);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  align-items: flex-start;
  padding: 24px 32px 0 32px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  padding: 9px 0;
  border-bottom: 1px solid rgba(28, 225, 255, 0.06);
  width: 100%;
  transition: color .18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--neon-cyan);
}

@media (max-width: 1020px) {
  .main-nav {
    gap: 12px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 7px;
  }
  .container { padding: 0 9px; }
}
@media (max-width: 860px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* --- BUTTONS / CTA --- */
.btn-primary {
  background: linear-gradient(90deg, var(--neon-cyan) 0%, var(--neon-green) 100%);
  color: #101623;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  font-weight: bold;
  padding: 12px 32px;
  border: none;
  border-radius: 25px;
  box-shadow: 0 2px 20px 0 rgba(28, 225, 255, 0.12);
  cursor: pointer;
  text-shadow: 0 2px 5px #fff3;
  transition: background .18s, color .18s, transform .14s;
  outline: none;
  margin-top: 12px;
  margin-bottom: 12px;
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(90deg, var(--neon-green) 0%, var(--neon-cyan) 100%);
  color: #0a171a;
  transform: translateY(-1px) scale(1.04) ;
}

/* --- HERO SECTIONS --- */
.hero, .about-hero, .services-hero, .testimonials-hero, .blog-hero, .contact-hero {
  background: linear-gradient(120deg, #18415E 60%, #228C6B 100%);
  box-shadow: 0 6px 48px 0 rgba(28, 225, 255, 0.11);
  border-radius: 0 0 35px 35px;
  margin-bottom: 60px;
  padding: 60px 0 48px 0;
}

/* --- SECTION SPACING --- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.features, .about-preview, .services-highlight, .services-list, .benefits, .process-overview,
.process-steps, .team, .values, .qa, .qa-accordion, .blog-list, .blog-categories, .contact-details, .privacy-policy, .gdpr, .cookies-policy, .terms, .thank-you-message, .case-studies {
  margin-bottom: 60px;
  padding: 40px 20px;
}
/* --- CARDS / FLEX GROUPS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--glass-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 25px;
  color: var(--accent);
  min-width: 260px;
  transition: box-shadow .14s, transform .16s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 56px 0 var(--neon-cyan), 0 1.5px 4px 0 #2227;
  transform: translateY(-2px) scale(1.018);
}

.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;
  border-radius: 19px;
  background: #F5F6FA;
  color: #18415E;
  box-shadow: 0 2px 32px 0 rgba(24,65,94,0.07);
  margin-bottom: 20px;
  border: 1.5px solid var(--neon-cyan);
  transition: box-shadow .13s, border-color .13s;
}
.testimonial-card blockquote {
  color: #18415E;
  border-left: 3px solid var(--secondary);
  background: #e2f7f5;
  font-style: italic;
}
.testimonial-card strong {
  color: var(--primary);
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 6px 30px 0 #228C6B44;
  border-color: var(--neon-green);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- BLUR-CARD + CASE --- */
.service-card,
.blog-teaser,
.case {
  background: var(--glass-bg);
  border-radius: 19px;
  padding: 30px 25px;
  margin-bottom: 20px;
  color: var(--neutral-light);
  box-shadow: var(--shadow);
  transition: box-shadow .14s, border .14s, background .15s;
}
.service-card:hover, .blog-teaser:hover, .case:hover {
  box-shadow: 0 4px 46px 0 var(--neon-cyan), 0 1.5px 4px 0 #228C6B44;
}

.case h3 {
  margin-bottom: 14px;
  font-size: 1.16rem;
  color: var(--neon-cyan);
}

/* --- FOOTER --- */
footer {
  background: #15334e;
  color: #F5F6FA;
  letter-spacing: 0.01em;
  border-radius: 29px 29px 0 0;
  box-shadow: 0 -4px 48px 0 rgba(24, 65, 94, 0.11);
  margin-top: 80px;
}
footer section {
  padding-top: 32px;
  padding-bottom: 16px;
}
.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.footer-nav a {
  color: var(--neon-cyan);
  font-size: 1rem;
  padding: 4px 10px;
  border-radius: 10px;
  transition: background .2s, color .2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--neon-cyan);
  color: #18415E;
}
.footer-contact span {
  margin-bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-contact img {
  width: 18px; height: 18px;
  vertical-align: middle;
}
.footer-legal {
  margin-top: 18px;
  color: #b9d7e5;
}

/* --- RESPONSIVE FLEX ADJUSTMENTS --- */
@media (max-width: 1024px) {
  .content-grid, .card-container, .footer-nav {
    flex-wrap: wrap;
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 98vw;
    padding: 0 3vw;
  }
  .content-wrapper {
    gap: 16px;
  }
  .hero,.about-hero,.services-hero,.testimonials-hero,.blog-hero,.contact-hero {
    padding: 36px 0 26px 0;
    border-radius: 0 0 25px 25px;
  }
  .section,
  .features, .about-preview, .services-highlight, .services-list, .benefits,
  .process-overview, .team, .values, .qa, .qa-accordion, .blog-list, .blog-categories,
  .contact-details, .privacy-policy, .gdpr, .cookies-policy, .terms, .thank-you-message, .case-studies {
    padding: 26px 8px;
    margin-bottom: 38px;
  }
  .header-flex {
    flex-direction: row;
    padding: 10px 0;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 19px;
  }
  .card,.service-card,.blog-teaser,.case {
    padding: 18px 8vw;
    min-width: unset;
  }
  .testimonial-card {
    padding: 13px 8vw;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.07rem; }
}
@media (max-width: 510px) {
  .container {
    padding: 0 5px;
  }
  .footer-nav { gap: 12px; }
}

/* --- COOKIE CONSENT BANNER & MODAL --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #15334e;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 30px;
  justify-content: space-between;
  padding: 20px 30px;
  box-shadow: 0 -2px 34px 0 #18415E99;
  z-index: 140;
  font-size: 1rem;
  transition: transform .29s cubic-bezier(.53, 1.3, .37, 1);
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner .cookie-text {
  max-width: 420px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 10px 28px;
  border: none;
  border-radius: 18px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.08rem;
  margin-right: 4px;
  transition: background .13s, color .13s;
}
.cookie-banner .accept {
  background: var(--neon-green);
  color: #15334e;
}
.cookie-banner .accept:hover,
.cookie-banner .accept:focus {
  background: var(--neon-cyan);
  color: #15334e;
}
.cookie-banner .reject {
  background: #122B3F;
  color: #fff;
  border: 1px solid var(--neon-cyan);
}
.cookie-banner .reject:hover,.cookie-banner .reject:focus {
  background: #1CE1FF44;
  color: var(--neon-cyan);
}
.cookie-banner .settings {
  background: transparent;
  color: var(--neon-cyan);
  border: 1.7px solid var(--neon-cyan);
}
.cookie-banner .settings:hover,.cookie-banner .settings:focus {
  background: var(--neon-cyan);
  color: #18415E;
}

@media(max-width: 660px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    font-size: 0.97rem;
    padding: 18px 10px;
  }
  .cookie-banner .cookie-actions {
    width: 100%;
    flex-direction: column;
    gap: 9px;
  }
  .cookie-banner button { width: 100%; }
}

.cookie-modal-bg {
  position: fixed;
  top:0; bottom: 0; left:0; right: 0;
  background: rgba(24,65,94,0.67);
  z-index: 160;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .2s;
}
.cookie-modal {
  background: #18415E;
  color: #fff;
  padding: 38px 32px;
  border-radius: 19px;
  box-shadow: 0 8px 38px 0 var(--neon-cyan), 0 1.5px 4px 0 #228C6B55;
  max-width: 90vw;
  width: 440px;
  z-index: 161;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cookie-modal h2 {
  color: var(--neon-green);
  font-size: 1.32rem;
  margin-bottom: 15px;
  margin-top: -7px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 7px;
}
.cookie-category label {
  font-size: 1.13rem;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal .toggle {
  width: 42px;
  height: 22px;
  appearance: none;
  background: var(--neon-cyan);
  border-radius: 14px;
  cursor: pointer;
  outline: none;
  position: relative;
  transition: background .17s;
}
.cookie-modal .toggle:checked {
  background: var(--neon-green);
}
.cookie-modal .toggle:before {
  content: '';
  display: block;
  position: absolute;
  top: 3px;
  left: 4px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: left .19s;
}
.cookie-modal .toggle:checked:before {
  left: 22px;
}

.cookie-modal .essential {
  background: none;
  border: none;
  color: var(--neon-cyan);
  font-weight: bold;
  font-size: 1.05rem;
  cursor: not-allowed;
  opacity: 0.85;
}
.cookie-modal .modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 13px;
}
.cookie-modal .modal-actions button {
  padding: 9px 19px;
}

@media(max-width: 520px){
  .cookie-modal {
    padding: 20px 6vw;
    width: 97vw;
    max-width: 97vw;
  }
}

/* --- QA-Accordion --- */
.qa-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.qa-item {
  background: rgba(24,65,94,0.72);
  padding: 18px 11px;
  border-radius: 12px;
  color: var(--neon-cyan);
  box-shadow: 0 2px 16px 0 #228C6B33;
  margin-bottom: 10px;
  border: 1px solid #228C6B66;
}
.qa-item h3 {
  font-size: 1.02rem;
  margin-bottom: 6px;
  color: var(--neon-green);
}
.qa-item p {
  color: var(--accent);
}

/* --- BLOG Categories --- */
.blog-categories ul {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-left: 0;
}
.blog-categories li {
  list-style: none;
  background: #18415E;
  color: var(--neon-cyan);
  padding: 7px 19px;
  border-radius: 13px;
  font-weight: 500;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  box-shadow: 0 2px 12px #228C6B33;
  border: 1.5px solid var(--neon-cyan);
}

/* --- FORMS (for future use) --- */
input[type="text"], input[type="email"], textarea {
  background: #0f2232;
  border: 1.5px solid var(--neon-cyan);
  color: #fff;
  font-size: 1.08rem;
  font-family: 'Roboto', Arial, sans-serif;
  padding: 12px 16px;
  border-radius: 9px;
  margin-bottom: 18px;
  width: 100%;
  outline: none;
  transition: border-color .17s, background .17s;
}
input:focus, textarea:focus {
  border-color: var(--neon-green);
  background: #163146;
}

/* --- ICONS in lists --- */
ul li img, ol li img {
  margin-right: 9px;
  vertical-align: middle;
  width: 24px; height: 24px;
}

/* --- Utility classes --- */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cta-full, .cta-section {
  margin-bottom: 60px;
}

.cta-section .btn-primary {
  margin-bottom: 0;
}

/* Prevent overflow on small screens */
html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

/* --- Accessibility: Focus Outline --- */
a:focus, button:focus, input:focus {
  outline: 2px solid var(--neon-cyan);
  outline-offset: 1px;
  z-index: 99;
}

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

/* --- Thank you message --- */
.thank-you-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 350px;
}

/* --- Neon Glow Effects for techy look --- */
.btn-primary, .main-nav .btn-primary {
  box-shadow: 0 0 16px 0 var(--neon-cyan), 0 1.5px 4px 0 #2296;
}
.btn-primary:active {
  box-shadow: 0 0 6px 0 var(--neon-green), 0 1.5px 4px 0 #2296;
}

h1, h2 {
  text-shadow: 0 2px 16px var(--neon-cyan55);
}

/* --- Animations --- */
@keyframes pulseNeon {
  0% { box-shadow: 0 0 10px var(--neon-cyan44); }
  50% { box-shadow: 0 0 25px var(--neon-green55), 0 2px 15px var(--neon-cyan25); }
  100% { box-shadow: 0 0 10px var(--neon-cyan44); }
}

.btn-primary:hover, .btn-primary:focus {
  animation: pulseNeon 0.8s infinite alternate;
}

/* --- Hide absolute! No absolute for cards or major content --- */
/* No display: grid or columns used anywhere */