:root {
  --primary-color: #1a1d2c;
  --secondary-color: #0e284c;
  --color-primary-accent: #ff6b00;
  --text-color: #222;
  --text-color-light: #fff;
  --text-color-dark: #111;
  --body-bg: #f9f9f9;
  --header-bg: linear-gradient(135deg, #f9fcff, #f2f9fc);
  --header-text: #002b40;
  --dark-section-bg: #ffffff;
  --dark-section-border: var(--primary-color);
  --tile-bg: #eeeeee;
  --dark-section-tile-bg: #f7fafe;
  --tile-border: #e0e0e0;
  --footer-bg: #f0f0f0;
  --footer-text: #666;
  --font-main: 'Poppins', sans-serif;
  --border-radius-s: 8px;
  --border-radius-m: 10px;
  --border-radius-l: 20px;
  --shadow-main: 0 4px 14px rgba(0,0,0,0.25);
  --space-unit: 1rem; 
  --space-s: calc(var(--space-unit) * 0.85);
  --space-m: calc(var(--space-unit) * 1.75);
  --space-l: calc(var(--space-unit) * 3.1);
  --sticky-offset: 100px; /* nav-height + promo-banner-height */
  --nav-height: 60px; /* Estimated height of the main navigation for padding offset */
}

html {
  width: 100%; /* Explicitly set to 100% */
  height: 100%; /* Important for some layouts */
  padding: 0; /* Ensure no padding */
  margin: 0; /* Ensure no margin */
  scroll-padding-top: var(--sticky-offset);
}

body {
  width: 100%; /* Explicitly set to 100% */
  height: 100%; /* Important for some layouts */
  padding: 0; /* Ensure no padding */
  margin: 0; /* Ensure no margin */
  font-family: var(--font-main);
  background-color: var(--body-bg);
  color: var(--text-color);
  scroll-behavior: smooth;
  font-size: 20px;
  line-height: 1.6;
}

header, section {
  padding: 1.5rem 1rem;
  max-width: 800px;
  margin: auto;
  box-sizing: border-box;
  width: 100%;
}

/* Fix for Consentmanager icon misalignment */
[id^="cm-"] {
  z-index: 999999 !important;
  position: fixed !important;
  left: 20px !important;
  bottom: 20px !important;
  transform: none !important;
}

.main-footer {
  width: 100vw; /* Use viewport width to force full screen */
  max-width: none; /* Ensure no max-width limits it */
  margin: 0; /* Ensure no auto margins are present */
  background-color: var(--primary-color);
  color: var(--text-color-light);
  padding: var(--space-l) 0;
  box-sizing: border-box;
  position: relative; /* Needed for left and transform */
  left: 50%; /* Shift element half its width to the right */
  transform: translateX(-50%); /* Shift element back by half its own width */
}
header {
  text-align: center;
  color: var(--header-text);
  min-height: calc(100vh - var(--sticky-offset));
  display: flex;
  align-items: center;
  justify-content: center;
}

h1 {
  font-family: var(--font-main);
  font-size: 38px !important;
  color: #0d0d0d;
  line-height: 1.2;
}

h2 {
  font-family: var(--font-main);
  font-size: 24px !important;
  margin-top: 1.5rem;
  color: inherit;
}

.subheadline {
  font-size: 22px;
  margin-bottom: 1.2rem;
  color: #333;
  line-height: 1.5;
}

.header-question {
  font-size: 24px;
  font-style: italic;
  margin-top: 2rem;
  color: #333;
}


.cta-button {
  box-shadow: var(--shadow-main);
  font-size: 20px;
  letter-spacing: 0.5px;
  display: inline-block;
  background: var(--color-primary-accent);
  color: var(--text-color-light);
  padding: 0.8rem 1.5rem;
  border-radius: var(--border-radius-s);
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s;
}

.cta-button:hover {
  transform: scale(1.05);
}

.secondary-button {
  background: var(--secondary-color);
  color: var(--text-color-light);
  padding: 0.8rem 1.5rem;
  border-radius: var(--border-radius-s);
  text-decoration: none;
  font-weight: 600;
  font-size: 20px;
  transition: transform 0.3s;
}

.secondary-button:hover {
  transform: scale(1.05);
  background: #10345c;
}

.cta-button-row {
  display: flex; 
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.8rem;
}

.dark-section {
  background: var(--dark-section-bg);
  color: var(--text-color-dark);
  border: 2px solid var(--dark-section-border);
  border-radius: var(--border-radius-l);
  padding: 1.5rem 1rem;
  margin: 2rem auto;
  overflow: hidden;
}

.dark-section:hover {
  box-shadow: 0 0 0 4px var(--primary-color) inset, 0 8px 20px rgba(0, 188, 212, 0.15);
  transition: all 0.4s ease;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
}

.tile {
  background-color: var(--tile-bg);
  padding: 1rem;
  border-radius: var(--border-radius-m);
  transition: transform 0.3s;
  color: var(--text-color);
}

.tile:hover {
  transform: translateY(-4px);
}

.dark-section .tile {
  background-color: var(--dark-section-tile-bg);
  color: var(--text-color-dark);
  border: 1px solid var(--tile-border);
  border-radius: var(--border-radius-m);
}

.image-placeholder {
  background-color: #ddd;
  width: 100%;
  height: 180px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  margin: 1rem 0;
  font-size: 20px;
}


.main-footer { 
  background-color: var(--primary-color); 
  color: var(--text-color-light); 
  padding: var(--space-l) 0; 
}

.footer-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    padding: 0 var(--space-l);
}

.footer-column-left {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.footer-column-left .header-logo img {
    height: 100px;
    width: auto;
}

.footer-column-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.footer-details p { 
  margin: 0; 
  opacity: 0.8; 
  font-size: 1rem; 
}

.footer-links {
    display: flex;
    gap: 2rem;
    font-size: 1rem; 
    justify-content: flex-start;
}

.footer-links a { 
  color: var(--text-color-light); 
  text-decoration: none; 
  opacity: 0.8; 
  transition: opacity 0.3s ease; 
}

.footer-links a:hover { 
  opacity: 1; 
  text-decoration: underline; 
}

@media (max-width: 768px) {
  .footer-container {
      flex-direction: column;
      align-items: center;
      gap: 1.5rem;
  }

  .footer-column-left {
      justify-content: center;
      flex: none;
  }

  .footer-column-right {
      align-items: center;
      text-align: center;
      flex: none;
  }

  .footer-column-left .header-logo img {
      height: 80px;
  }

  .footer-links {
      justify-content: center;
  }
}


.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

section {
  /* margin-bottom: 2rem; */
}

section h2 {
  margin-top: 0;
  margin-bottom: 1rem;
}

img, .image-placeholder {
  display: block;
 /* margin: 1rem auto; */
  max-width: 100%;
  height: auto;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.promo-banner {
  width: 100vw;
  max-width: none;
  margin-top: 15px;
  padding: 0.4rem 1.2rem;
  background: var(--primary-color);
  font-size: 30px;
  font-weight: 700;
  color: var(--text-color-light);
  text-align: center;
  box-sizing: border-box;
  text-transform: uppercase;
  z-index: 999;
}

.about-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.8rem;
}

.about-row img {
  max-width: 40%;
  height: auto;
  border-radius: 5%;
  flex-shrink: 0;
}

.about-row p {
  margin: 0;
  flex: 1;
}

.mobile-only {
  display: none;
}

@media (min-width: 769px) {
  /* Removed sticky positioning for promo-banner to prevent conflict with fixed nav */
  body {
    padding-top: var(--nav-height); /* Offset content for fixed navigation */
  }
  .main-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
  }
}

@media (max-width: 768px) {
  .promo-banner {
    display: none;
  }
  body {
    padding: 0;
    margin: 0;
    font-size: 18px;
  }

  header, section {
   /* width: 100vw; */
    max-width: 100vw;
    overflow-x: hidden;
  }
  
  .main-footer {
    width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
  }

  
  h1{
    font-size: 28px;
    text-align: center;
  }

  h2 {
    font-size: 22px;
    text-align: center;
  }

  .cta-button {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
  }

  section {
    padding: 1rem 0.8rem;
  }

  img {
    max-width: 90%;
  }

  .cta-button-row {
    flex-direction: column; 
    align-items: stretch;
  }

  .cta-button,
  .secondary-button {
    width: 100%;
    text-align: center;
    padding: 1rem;
    font-size: 1.1rem;
    box-sizing: border-box;
  }

  .grid {
    margin: 0 auto;
  }
  .mobile-only {
    display: block;
  }
  .floating-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-primary-accent); /* Changed to orange color */
    color: var(--text-color-light);
    text-align: center;
    padding: 0.8rem;
    font-weight: bold;
    font-size: 1.1rem;
    z-index: 1000000; /* Increased z-index to ensure visibility above all other elements */
  }
  .floating-cta a {
    color: var(--text-color-light);
    text-decoration: none;
  }
}

@media (max-width: 600px) {
  h1 {
    font-size: 24px;
  }
  h2 {
    font-size: 24px;
  }
  .subheadline {
    font-size: 20px;
  }
  .cta-button {
    font-size: 20px;
    padding: 0.6rem 1rem;
  }
  .about-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-row img {
    max-width: 100%;
  }
}

.svg-background {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  top: 0;
  left: 0;
}

.header-image {
  border-radius: 5%;
  margin-bottom: 3.8rem;
  margin-top: 2.8rem;
}

.line-height-2em {
  line-height: 2.0em;
}

.line-height-1-8em {
  line-height: 1.8em;
}

.line-height-1-6 {
  line-height: 1.6;
}

.line-height-1-6em {
  line-height: 1.6em;
}

.pm-leader-image {
  border-radius: 1%;
  margin-bottom: 0.8rem;
  margin-top: 0.8rem;
}

.font-size-26px {
  font-size: 26px;
}



.header-content {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header-text-content {
  flex: 2;
  text-align: left;
}

.header-image-container {
  flex: 1;
}

.explanation-text {
  font-size: 12px;
  color: #666;
  margin-top: 1rem;
  font-style:italic;
}

@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    text-align: center;
  }

  .header-text-content {
    text-align: center;
  }
  
  .cta-button-row {
    justify-content: center;
  }
}

/* --- NAVIGATION --- */
.main-nav {
  background-color: var(--body-bg);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  /* Removed sticky positioning here, will apply fixed in media query */
  z-index: 1000;
  width: 100%;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.5rem 1rem;
}

.nav-logo img {
  height: 40px;
}

.nav-links a {
  margin: 0 1rem;
  text-decoration: none;
  color: var(--text-color);
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--color-primary-accent);
}

.mobile-menu-icon {
  display: none;
  cursor: pointer;
}

.mobile-menu-icon span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px;
  background-color: var(--text-color);
  transition: all 0.3s ease-in-out;
}

@media (max-width: 1024px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 55px;
    left: 0;
    width: 100%;
    background-color: var(--body-bg);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid var(--tile-border);
  }

  .nav-cta {
    display: none;
  }
  
  .mobile-menu-icon {
    display: block;
  }
}



.contact-section {
  
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  justify-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.form-wrapper {
  padding: 1rem;
  border-radius: var(--border-radius-l);
  width: 100%;
  max-width: 600px;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--tile-border);
  border-radius: var(--border-radius-m);
  font-family: var(--font-main);
  font-size: 1rem;
  background-color: var(--tile-bg);
  color: var(--text-color);
}

.form-group-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.form-group-checkbox input[type="checkbox"] {
  margin-top: 5px;
}

.form-group-checkbox label {
  font-weight: 400;
  font-size: 0.9rem;
}

/* Video Container for responsive videos */

.video-container {
   position: relative;
   padding-bottom: 56.25%; /* 16:9 aspect ratio */
   height: 0;
   overflow: hidden;
   max-width: 100%;
   background: #000;
   margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-section {
    padding-top: 0.5rem;
    margin-top: 1rem;
}

/* Testimonials Section */
#testimonials {
  position: relative;
  margin-top: 1rem;
}

.swiper {
  width: 100%;
  padding-bottom: 40px; /* Space for pagination */
  padding-left: 50px; /* Added for arrow space */
  padding-right: 50px; /* Added for arrow space */
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto;
  padding-bottom: 20px; /* space for pagination */
}

.testimonial-card {
  background: #fff;
  border-radius: var(--border-radius-m);
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  margin: 1rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box; /* Ensured proper box model */
}

.testimonial-text {
  font-style: italic;
  color: #555;
  margin-bottom: 1.5rem;
  font-size: 16px;
  line-height: 1.7;
}

.testimonial-author {
  font-weight: 600;
  color: var(--text-color-dark);
}

.testimonial-author strong {
  color: var(--primary-color);
}

.swiper-button-next, .swiper-button-prev {
    color: var(--color-primary-accent);
    position: absolute; /* Explicit positioning */
    top: 50%; /* Center vertically */
    transform: translateY(-50%); /* Adjust for true centering */
    z-index: 10; /* Ensure they are above other content */
    width: 27px; /* Default Swiper button width */
    height: 44px; /* Default Swiper button height */
    cursor: pointer;
    background-size: 27px 44px;
    background-position: center;
    background-repeat: no-repeat;
}

.swiper-button-prev {
    left: 10px; /* Position from left edge of swiper container */
}

.swiper-button-next {
    right: 10px; /* Position from right edge of swiper container */
}

.marker {
  background: linear-gradient(100deg, #fff35c 0%, #fff35c 100%);
  padding: 0 4px;
  border-radius: 2px;
}

/* New styles for feature blocks */
.feature-block {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
  background-color: var(--tile-bg);
  padding: 1.5rem;
  border-radius: var(--border-radius-m);
  box-shadow: var(--shadow-main);
}

.feature-block:nth-child(even) {
  flex-direction: row-reverse;
}

.feature-block .feature-text {
  flex: 2;
}

.feature-block .feature-image {
  flex: 1;
  min-width: 150px; /* Ensure image container has a minimum width */
  display: flex;
  justify-content: center;
  align-items: center;
}

.feature-block img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius-s);
  margin: 0; /* Override default img margin */
}

.feature-block h3 {
  font-size: 1.5rem;
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.feature-block p {
  font-size: 1.2rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .feature-block {
    flex-direction: column !important; /* Stack vertically on smaller screens */
    text-align: center;
  }

  .feature-block .feature-image {
    order: -1; /* Image appears above text on mobile */
    margin-bottom: 1rem;
  }
}

/* --- FLOATING BANNER STYLES --- */
.funding-banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff35c; /* Kolor markerowy ze strony */
  color: #111;
  padding: 0.8rem;
  text-align: center;
  z-index: 10002;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  font-size: 16px;
  font-weight: 600;
  border-bottom: 2px solid var(--color-primary-accent);
}

.funding-banner p {
  margin: 0;
}

.funding-banner a {
  color: var(--secondary-color);
  text-decoration: underline;
}

.funding-banner .close-banner {
  cursor: pointer;
  font-size: 20px;
  padding: 0 10px;
  color: #666;
}

/* Adjust main nav and body when banner is present */
body {
  margin-top: 0; /* Will be adjusted by nav */
}

@media (min-width: 769px) {
  .main-nav {
    top: 55px; /* Offset for the banner height */
  }
}

@media (max-width: 768px) {
  .funding-banner {
    flex-direction: column;
    padding: 0.6rem;
    font-size: 13px;
    gap: 5px;
  }
  .main-nav {
    /* Adjusting mobile menu position if needed */
  }
}