/* ===================================================================
   Photonix Flow – Vibrant Energetic CSS Theme
   Author: photonix-flow.com | 2024
   =================================================================== */

/* -------------------
   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 {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  background: #fff;
  color: #21243D;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #2ab7f6;
  text-decoration: none;
  transition: color 0.15s;
}
a:hover, a:focus {
  color: #6CAF54;
}
ul, ol {
  margin-bottom: 24px;
  padding-left: 24px;
}
li + li {
  margin-top: 8px;
}

/* Remove default list styles on ul, ol elements */
ul, ol {
  list-style-position: outside;
}
op {
  margin-bottom: 16px;
}

/* -------------------
   Brand Variables
-------------------- */
:root {
  --color-primary: #21243D;
  --color-secondary: #6CAF54;
  --color-accent: #F4EDED;
  --color-electric-blue: #2AB7F6;
  --color-electric-purple: #7E33FF;
  --color-hot-orange: #FF5C31;
  --color-hot-pink: #FF4372;
  --color-dark: #191A2B;
  --color-light: #fff;
  --color-card-bg: #F9FBFF;
  --color-card-shadow: rgba(46,71,203,0.08);
  --color-testimonial-bg: #F4EDED;
  --color-shadow: rgba(33, 36, 61, 0.10);
  --btn-gradient: linear-gradient(90deg,#2ab7f6,#7E33FF 80%,#FF4372 100%);
  --radius-soft: 14px;
  --radius-strong: 24px;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
  --shadow-lg: 0 8px 32px 0 var(--color-card-shadow);
  --shadow-md: 0 2px 12px 0 var(--color-shadow);
  --transition-blast: all 0.28s cubic-bezier(.65,.09,.25,1);
  --gradient-hero: linear-gradient(88deg,#2ab7f6 0,#FF5C31 100%);
}

@media (max-width: 540px) {
  html { font-size: 15px; }
}

/* -------------------
   Typography
-------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: bold;
  color: var(--color-primary);
  letter-spacing: -1px;
}
h1 {
  font-size: 2.7rem;
  line-height: 1.15;
  margin-bottom: 24px;
  color: var(--color-dark);
  background: var(--gradient-hero);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
h2 {
  margin-bottom: 22px;
  font-size: 2rem;
  color: var(--color-secondary);
  font-family: var(--font-display);
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--color-hot-orange);
}
h4, h5, h6 {
  font-size: 1.06rem;
  color: var(--color-primary);
}
p {
  margin-bottom: 16px;
  font-family: var(--font-body);
  font-size: 1.08rem;
  color: var(--color-primary);
}
strong { font-weight: 700; color: var(--color-hot-orange); }
em    { color: var(--color-electric-blue); }

/* Typography scale with media queries */
@media (min-width: 600px) {
  h1   { font-size: 3.2rem; }
  h2   { font-size: 2.2rem; }
}
@media (min-width: 1000px) {
  h1   { font-size: 3.5rem; }
  h2   { font-size: 2.5rem; }
}

/* -------------------
   Containers & Layout
-------------------- */
.container {
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.section {
  padding: 40px 20px;
  margin-bottom: 60px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-card-bg);
  border-radius: var(--radius-soft);
  box-shadow: var(--shadow-md);
  margin-bottom: 20px;
  position: relative;
  padding: 30px 26px;
  flex: 1 1 250px;
  min-width: 220px;
  transition: transform .18s, box-shadow .2s;
}
.card:hover, .card:focus-within {
  transform: translateY(-4px) scale(1.025);
  box-shadow: 0 6px 32px 0 rgba(87,55,205,0.13);
  z-index: 1;
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--color-testimonial-bg);
  border-radius: var(--radius-soft);
  margin-bottom: 24px;
  box-shadow: 0 2px 10px 0 var(--color-shadow);
  flex: 1 1 240px;
  min-width: 200px;
  transition: box-shadow .18s, transform .18s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 6px 24px 0 rgba(44,162,255,0.13);
  transform: translateY(-3px) scale(1.015);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-accent);
  border-radius: var(--radius-soft);
  padding: 20px 30px;
  margin-bottom: 20px;
}

/* Gap for testimonials */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}

.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
  justify-content: flex-start;
}
.services-list > div {
  background: var(--color-card-bg);
  border-radius: var(--radius-soft);
  padding: 28px 20px 20px 20px;
  box-shadow: var(--shadow-md);
  flex: 1 1 260px;
  min-width: 220px;
  margin-bottom: 20px;
  transition: box-shadow .17s, transform .17s;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.services-list > div:hover {
  box-shadow: 0 7px 28px 0 rgba(108,175,84,0.14),0 2px 12px 0 var(--color-shadow);
  transform: translateY(-4px) scale(1.028);
}

/* FAQ Style */
.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 24px;
}
.faq-list > div {
  background: var(--color-accent);
  border-radius: var(--radius-soft);
  padding: 22px 18px;
  flex: 1 1 240px;
  min-width: 220px;
  box-shadow: var(--shadow-md);
  margin-bottom: 20px;
}

.text-section {
  margin-bottom: 24px;
}

/* -------------------
   Header & Main Nav
-------------------- */
header {
  background: var(--color-primary);
  color: #fff;
  width: 100%;
  position: sticky;
  z-index: 40;
  top: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap:18px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
  font-family: var(--font-display);
  font-size: 1.03rem;
}
.main-nav a {
  color: #fff;
  padding: 6px 2px;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  transition: color .17s, border .23s;
  position: relative;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--color-secondary);
  border-bottom: 2.5px solid var(--color-secondary);
}

.cta-main-btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 27px;
  font-size: 1.08rem;
  font-family: var(--font-display);
  background: var(--btn-gradient);
  color: #fff;
  border-radius: 32px;
  font-weight: bold;
  box-shadow: 0 3px 15px 0 var(--color-card-shadow);
  transition: filter 0.18s, box-shadow 0.18s, transform 0.17s;
  border: 0;
  letter-spacing: 0.01em;
  margin-left: 16px;
}
.cta-main-btn:hover, .cta-main-btn:focus {
  filter: brightness(1.08) saturate(1.3);
  box-shadow: 0 8px 28px 0 rgba(44,162,255,0.13);
  transform: scale(1.05);
  color: #fff;
}

/* Burger for mobile nav */
.mobile-menu-toggle {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.3rem;
  cursor: pointer;
  display: none;
  margin-left: 18px;
  z-index: 101;
  transition: color .2s;
}
.mobile-menu-toggle:hover { color: var(--color-electric-blue); }

/* -------------------
   Mobile Menu
-------------------- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #191A2BCC;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(100%);
  transition: transform .33s cubic-bezier(.65,.09,.23,1);
  will-change: transform;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  position: absolute;
  top: 30px;
  right: 30px;
  font-size: 2.2rem;
  background: none;
  border: none;
  color: #fff;
  font-weight: 800;
  z-index: 250;
  cursor: pointer;
  transition: color .18s;
}
.mobile-menu-close:hover { color: var(--color-secondary); }
.mobile-nav {
  margin: 70px 0 0 40px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.28rem;
  color: #fff;
  border-radius: 9px;
  padding: 10px 0 10px 2px;
  min-width: 180px;
  font-weight: 600;
  transition: background .16s, color .16s;
  box-sizing: border-box;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-electric-blue);
  background: #fff2;
}

/* Show/hide for mobile */
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .cta-main-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 900px) {
  .mobile-menu { display:none!important; }
}

/* -------------------
   Hero Section
-------------------- */
.hero {
  padding: 48px 0 42px 0;
  min-height: 350px;
  background: linear-gradient(96deg, #2ab7f6 0, #FF5C31 80%, #fff 100%);
  position: relative;
  width: 100%;
  margin-bottom: 60px;
}
.hero .container {
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
}
.hero .content-wrapper {
  padding: 22px 0;
  gap: 16px;
}
.hero h1 {
  color: var(--color-light);
  background: none !important;
  -webkit-text-fill-color: #fff;
}
.hero p {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 500;
}
@media (max-width: 900px) {
  .hero {
    padding: 28px 0 32px 0;
    min-height: unset;
  }
  .hero .container {
    padding: 0 10px;
  }
}

/* -------------------
   Buttons & CTA Styles
-------------------- */
.cta-primary, .cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.09rem;
  font-weight: 700;
  font-family: var(--font-display);
  border: 0;
  padding: 13px 40px;
  border-radius: 30px;
  background: var(--btn-gradient);
  color: #fff;
  box-shadow: 0 2px 11px 0 var(--color-shadow);
  margin-right: 12px;
  margin-bottom: 10px;
  transition: box-shadow .20s, background .19s, transform .19s, filter .19s;
  letter-spacing: 0.01em;
  cursor: pointer;
}
.cta-primary:hover, .cta-primary:focus {
  filter: brightness(1.12) saturate(1.2) contrast(1.12);
  box-shadow: 0 8px 36px 0 rgba(255,67,114,.13);
  transform: translateY(-2px) scale(1.04);
}
.cta-secondary {
  background: linear-gradient(90deg,#6CAF54,#2ab7f6 80%);
  color: #fff;
}
.cta-secondary:hover, .cta-secondary:focus {
  filter: brightness(1.09) saturate(1.18);
  box-shadow: 0 6px 25px 0 rgba(44,162,255,0.13);
  transform: scale(1.04);
}

button:focus, a:focus {
  outline: 2px solid var(--color-electric-purple);
  outline-offset: 2px;
}

/* -------------------
   Cards
-------------------- */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

/* -------------------
   Tables
-------------------- */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  background: var(--color-card-bg);
  border-radius: var(--radius-soft);
  overflow: hidden;
  box-shadow: 0 2px 13px 0 var(--color-card-shadow);
}
thead {
  background: var(--color-electric-blue);
  color: #fff;
}
th, td {
  padding: 15px 16px;
  text-align: left;
  font-size: 1rem;
}
tbody tr:nth-child(odd) { background: #fff; }
tbody tr:nth-child(even) { background: var(--color-accent); }
th {
  font-family: var(--font-display);
  font-size: 1.11rem;
  letter-spacing: 0;
}

/* -------------------
   Footer
-------------------- */
footer {
  background: var(--color-primary);
  color: #fff;
  padding: 40px 0 0 0;
  margin-top: 70px;
}
footer .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: bold;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
  font-size: 1rem;
}
.footer-nav a {
  color: #fff;
  transition: color .17s;
  font-size: 1em;
  padding: 5px 0;
}
.footer-nav a:hover { color: var(--color-secondary); }
.footer-info {
  width: 100%;
  text-align: center;
  font-size: 0.93em;
  margin: 32px 0 0 0;
  opacity: 0.8;
}

/* -------------------
   Cookie Consent Banner
-------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9999;
  width: 100vw;
  background: #292A33;
  color: #fff;
  box-shadow: 0 -2px 18px 0 rgba(44,162,255,0.11);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 22px 30px;
  gap: 20px;
  font-family: var(--font-body);
  font-size: 1.03rem;
  animation: cookieBannerIn .37s;
}
@keyframes cookieBannerIn {
  from { transform: translateY(110%); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 15px;
}
.cookie-banner button {
  border: 0;
  padding: 10px 24px;
  border-radius: 25px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: filter .16s, box-shadow .18s, background .19s, color .19s;
}
.cookie-accept {
  background: var(--btn-gradient);
  color: #fff;
  box-shadow: 0 2px 10px 0 rgba(44,162,255,0.13);
}
.cookie-accept:hover { filter: brightness(1.10); }
.cookie-decline {
  background: #fff;
  color: var(--color-hot-pink);
  border: 2px solid var(--color-hot-pink);
}
.cookie-decline:hover {
  background: var(--color-hot-pink);
  color: #fff;
}
.cookie-settings {
  background: none;
  color: #fff;
  border: 2px solid #fff;
}
.cookie-settings:hover {
  background: #fff2;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    font-size: 1em;
    padding: 18px 10px;
  }
  .cookie-banner .cookie-btns {
    width: 100%;
    justify-content: flex-start;
    gap: 8px;
  }
}

/* Cookie Modal */
.cookie-modal {
  z-index: 10000;
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: #191a2bc5;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .26s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: #fff;
  color: var(--color-primary);
  border-radius: var(--radius-strong);
  box-shadow: 0 8px 38px 0 rgba(44,162,255,0.17);
  padding: 36px 35px 30px 35px;
  min-width: 300px;
  max-width: 98vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modalPopIn .21s cubic-bezier(.91,.46,.43,1.15);
  position: relative;
}
@keyframes modalPopIn {
  from { transform: scale(0.96); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 12px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  padding: 7px 0;
}
.cookie-category strong {
  margin-right: 6px;
  font-size: 1.04rem;
  color: var(--color-secondary);
}
.cookie-modal-content .close-modal {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--color-hot-pink);
  cursor: pointer;
  transition: color .17s;
}
.cookie-modal-content .close-modal:hover { color: var(--color-hot-orange); }

.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 15px;
  justify-content: flex-end;
  margin-top: 10px;
}
@media (max-width: 480px) {
  .cookie-modal-content {
    padding: 22px 10px 20px 10px;
    min-width: 0;
  }
}

.cookie-toggle {
  margin-left: auto;
  font-size: 1.1em;
}
.cookie-toggle input[type=checkbox] {
  width: 42px; height: 22px;
  appearance: none;
  background: #ddd;
  border-radius: 13px;
  position: relative;
  outline: none;
  transition: background .14s;
  cursor: pointer;
  vertical-align: middle;
}
.cookie-toggle input[type=checkbox]:checked {
  background: var(--color-secondary);
}
.cookie-toggle input[type=checkbox]::before {
  content: '';
  display: block;
  position: absolute;
  top: 2.5px; left: 3.5px;
  width: 17px; height: 17px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(44,162,255,0.07);
  transition: transform .24s cubic-bezier(.8,.13,.39,1.19);
}
.cookie-toggle input[type=checkbox]:checked::before {
  transform: translateX(18px);
}

/* -------------------
   Responsive Layout
-------------------- */
@media (max-width: 960px) {
  .content-grid, .services-list, .card-container, .testimonials, .faq-list {
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .content-grid, .services-list, .card-container, .testimonials, .faq-list {
    flex-direction: column;
    gap: 13px;
  }
  .section {
    padding: 26px 5px;
    margin-bottom: 40px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .feature-item, .services-list > div, .card, .faq-list > div, .testimonial-card {
    min-width: 0;
  }
  header .container, footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 12px;
  }
}
@media (max-width: 540px) {
  .hero {
    padding: 16px 0 23px 0;
    min-height: unset;
  }
  header .container {
    min-height: 54px;
    gap: 8px;
  }
}

/* -------------------
   Micro-interactions
-------------------- */
.card, .services-list > div, .faq-list > div, .testimonial-card, .feature-item {
  transition: box-shadow .13s, transform .13s;
}
.card:hover, .services-list > div:hover, .faq-list > div:hover, .testimonial-card:hover, .feature-item:hover {
  box-shadow: 0 7px 24px 0 rgba(44,162,255,0.12);
  transform: translateY(-3px) scale(1.013);
}

/* -------------------
   Misc Utility
-------------------- */
.text-center { text-align: center; }
.mx-auto { margin-left:auto; margin-right:auto; }
.rounded { border-radius: var(--radius-soft); }

/* -------------------
   Accessibility
-------------------- */
:focus-visible {
  outline: 2px solid var(--color-hot-orange) !important;
  outline-offset: 2px;
}

/* -------------------
   Color Contrast for Testimonials
-------------------- */
.testimonial-card, .testimonial-card p, .testimonial-card span {
  background: var(--color-testimonial-bg);
  color: #1e2033;
}
.testimonial-card p {
  font-size: 1.13rem;
  font-family: var(--font-display);
  font-weight: 500;
  color: #1e2033;
}
.testimonial-card span {
  font-size: 0.98em;
  font-style: italic;
  font-weight: 400;
  color: #21243d;
  opacity: 0.6;
}

/* -------------------
   Tables: Responsive
-------------------- */
@media (max-width: 650px) {
  table, thead, tbody, th, td, tr { display: block; }
  thead tr { display: none; }
  tr { margin-bottom: 21px; background: inherit !important; }
  td {
    position: relative;
    padding-left: 40%;
    min-height: 36px;
    border: none;
    background: none;
  }
  td:before {
    position: absolute;
    top: 11px;
    left: 16px;
    width: 34%;
    white-space: pre-wrap;
    font-weight: bold;
    content: attr(data-label);
    color: var(--color-secondary);
  }
}

/* -------------------
   Print Improvements
-------------------- */
@media print {
  .cookie-banner, .mobile-menu { display: none !important; }
  header, footer { background: none !important; color: #000 !important; }
  a { color: #000 !important; text-decoration: underline; }
}

/* -------------------
   Selection
-------------------- */
::selection {
  background: var(--color-electric-blue);
  color: #fff;
}
