/* RESET */
body {
    margin: 0;
    font-family: "Helvetica Neue", Arial, sans-serif;
    background-color: #000;
    color: white;
}

/* HEADER */
.video-header {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

/* VIDEO */
.bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    z-index: 1;
}

/* POPRZEDNIO BYŁO - LEPSZA WYSOKOŚĆ, ALE UCINA PO BOKACH VIDEO
@media (max-width: 768px) {
    .video-header {
         height: 70vh;
    }
} 
*/
@media (max-width: 768px) {
    .bg-video {
        object-fit: contain;
        background: black;
    }

    .video-header {
        height: auto;
        aspect-ratio: 16 / 9;
    }

    
}

/* OVERLAY */
.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 2;
}

@media (max-width: 768px) {
    .video-overlay {
    background: rgba(0,0,0,0.6);
    
    }
}

/* NAVBAR */
.navbar {
    transition: background-color 0.3s ease, padding 0.3s ease;
    padding: 1.5rem 0;
    z-index: 10;
}

.navbar.scrolled {
    background: rgba(0,0,0,0.9);
    padding: 0.6rem 0;
}

.navbar.scrolled a:hover {
    color:#1CB998;

}

.navbar.scrolled .navbar-brand img {
  height: 110px;
}

@media (max-width: 768px) {
    .navbar-brand img {
         max-height: 50px;
    }
}

/* NAV LINKS */
.navbar-nav .nav-link {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.85);
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #fff;
}

/* ACTIVE LINE */
.navbar-nav .nav-link.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 1px;
    background: #fff;
}



/* SECTIONS */
.section {
    padding: 6rem 0;
}

.section-dark {
    background: #000;
    color: #fff;
}

/* MOBILE MENU */
@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(0,0,0,0.95);
        padding: 1rem;
        border-radius: 0.5rem;
    }
}


/* FALLBACK */
.video-header.no-video {
    background: url("poster.jpg") center / cover no-repeat;
}

.kreska {
    border-bottom: #1CB998 1px solid;
    padding-bottom: 10px;
}

/* 4 FILARY */

.quap-pillars-section {
  background: #000;
  color: #fff;
}

.quap-card {
 background: #0a0a0a;
 border: 1px solid #1f2933;
 border-radius: 8px;
 position: relative; 
 overflow: hidden;
}

/*  PODŚWIETLANIE KART 
.quap-card:hover {
 border-color: #10b981;
}
 
 .quap-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(16,185,129,.15), transparent 60%);
  opacity: 0;
  transition: opacity .3s ease;
}


.quap-card:hover::after {
  opacity: 1;
}

*/

.quap-card-icon {
  width: auto;
  height: 120px;
}





.quap-mascot {
  max-height: 420px;
  transition: transform 4s ease;
}

.quap-mascot-home-end {
  max-height: 600px;
  transition: transform 4s ease;
}

.quap-mascot-contact {
  max-height: 630px;
}


@media (max-width: 768px) {
    .quap-mascot-contact{
    height: 300px;
    
    }
}

.program-cta2 {
  position: relative;
  background: #0b0b0b;
  border-radius: 16px;
  padding: 60px 40px;
  overflow: hidden;
}

.program-cta2::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(28,185,152,.25), transparent 50%),
    radial-gradient(circle at bottom left, rgba(28,185,152,.15), transparent 50%);
  pointer-events: none;
}

.program-cta2 h3 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 16px;
}

.program-cta2 p {
  font-size: 1.6rem;
  color: rgba(255,255,255,.8);
  /* max-width: 520px; */
  margin-bottom: 32px; 
}

.program-cta .btn, .program-cta1 .btn, .program-cta2 .btn {
  background: #1CB998;
  color: #000;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 50px;
  border: none;
  z-index: 1;
}

.program-cta .btn:hover, .program-cta1 .btn:hover, .program-cta2 .btn:hover {
  background: #17a88a;
}

.program-cta-image {
    z-index: 2;
}

/* SLIDER FOLIA */

.slider-wrapper {
  background: #0b0b0b;
  padding-bottom: 40px;
}



/* Desktop i większe */
@media (min-width: 992px) {
  #ppfSlider,
  #ppfSlider .carousel-inner,
  #ppfSlider .carousel-item {
    height: 55vh;
  }

  #ppfSlider img {
    height: 100%;
    object-fit: cover;
  }
}


.nav-tile {
  width: 100%;
  padding: 20px;
  background: #151515;
  border: 1px solid #2a2a2a;
  color: #fff;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  border-radius: 8px;
}

.nav-tile:hover {
  background: #1f1f1f;
}

.nav-tile.active {
  border-color: #1CB998;
  box-shadow:
    0 0 8px rgba(28, 185, 152, 0.5),
    0 0 20px rgba(28, 185, 152, 0.25);
  background: #1a1a1a;
}

/* Zmieniający się tekst */

.text-anim-section {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  
  overflow: hidden;
}

.animated-text {
  color: #fff;
  font-weight: 700;
  letter-spacing: 2px;
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.text-out {
  opacity: 0;
  transform: translateY(-40px);
}

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

/* RÓŻNE VIDEO */

.program-video-section {
  height: 60vh;          
  overflow: hidden;
  margin-top: 100px;

}

.program-samochod-section {
  height: 70vh;          
  overflow: hidden;
  margin-top: 100px;

}

@media (max-width: 768px) {
  .program-video-section {
    height: auto;
    aspect-ratio: 4 / 3; 
    margin-top: 40px;
  }

    .program-samochod-section {
    height: auto;
    aspect-ratio: 16 / 9;
    margin-top: 40px;
  }

  .program-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: none;
    object-fit: contain;  
    background: black;
  }
    .program-samochod-section {
         margin-top: 20px;
    }
}

.program-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
}

.program-video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 2;
}


@media (max-width: 768px) {
    .program-video-overlay {
    background: rgba(0,0,0,0.6);
    
    }
}

.program-video-section .container {
  position: relative;
  z-index: 3;
}

.program-video-title {
  letter-spacing: 0.03em;
}

.program-cta2 a {
  text-decoration: none;
  color:#000;
}

.ploter-zalety .fa-solid {

color:#1CB998
}

.software-siec {
  background-image: url(img/zielona-siec.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 500px;

}

.wave-text span {
    display: inline-block;
    font-size: 4rem;
    animation: wave 2s ease-in-out infinite;
}

@media (max-width: 991px) {
.wave-text span {
  font-size: 3rem;
  }

}


.wave-text span:nth-child(1) {
    animation-delay: 0s;
}
.wave-text span:nth-child(2) {
    animation-delay: 0.2s;
}
.wave-text span:nth-child(3) {
    animation-delay: 0.4s;
}
.wave-text span:nth-child(4) {
    animation-delay: 0.6s;
}

@keyframes wave {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

 .swiper {
    width: 100%;
  }

  .swiper-slide {
    height: auto;
  }

  .swiper-slide img {
    width: 100%;
    height: 250px;
    object-fit: cover;
  }

  img.software-req {
    height: 80px;
    width: 80px;
  }

  img.software-cta {
    height: 500px;
  }

  @media (max-width: 768px) {
    img.software-cta {
    height: 300px;
    
    }
}

  .contact-section {
  background: #000;
  color: #fff;
}

.contact-title {
  font-size: 2.4rem;
  font-weight: 600;
}

.contact-subtitle {
  color: #b5b5b5;
}

.contact-card {
  background: rgba(20, 20, 20, 0.85);
  border-radius: 18px;
  border: 1px solid rgba(28, 185, 152, 0.2);
  box-shadow: 0 0 60px rgba(28, 185, 152, 0.15);
  position: relative;
}

.contact-input {
  background: transparent;
  border: none;
  border-bottom: 1px solid #333;
  border-radius: 0;
  color: #fff;
  padding-left: 0;
}

.contact-input:focus {
  box-shadow: none;
  border-color: #1CB998;
}

.form-label {
  font-size: 0.9rem;
  color: #aaa;
}

.contact-btn {
  background: #1CB998;
  color: #000;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.contact-btn:hover {
  background: #22d6b0;
  transform: translateY(-2px);
}

.contact-info p {
  margin-bottom: 1rem;
}

.contact-info hr {
  border-color: rgba(255,255,255,0.1);
}

.contact-note {
  display: inline-block;
  margin-top: 1rem;
  color: #1CB998;
  font-size: 0.9rem;
}



.contact-input {
  background: rgba(255, 255, 255, 0.04) !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #ffffff !important;
  caret-color: #1CB998;
}

/* focus */
.contact-input:focus {
  background: rgba(255, 255, 255, 0.07) !important;
  border-color: #1CB998;
  color: #ffffff !important;
  box-shadow: 0 0 0 2px rgba(28, 185, 152, 0.35);
}

/* placeholder */
.contact-input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

/* Bootstrap override */
.form-control:focus {
  background-color: transparent;
  color: #ffffff !important;
}

/* Chrome autofill fix */
input:-webkit-autofill,
input:-webkit-autofill:focus,
textarea:-webkit-autofill {
  -webkit-text-fill-color: #ffffff !important;
  transition: background-color 9999s ease-in-out 0s;
}

@media (max-width: 768px) {
  .contact-input {
    padding: 14px 12px;
    font-size: 1rem;
  }

  .contact-btn {
    width: 100%;
    padding: 14px;
    font-size: 1.05rem;
  }
}


@media (max-width: 768px) {
  .map-section iframe {
    height: 280px;
  }
}

/* STICKY CONTACT MOBILE */

.mobile-sticky-contact {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(28, 185, 152, 0.3);
  display: flex;
  z-index: 9999;
}

.sticky-btn {
  flex: 1;
  text-align: center;
  padding: 14px 10px;
  font-weight: 600;
  text-decoration: none;
  color: #ffffff;
  font-size: 1rem;
}

.sticky-btn.call {
  background: rgba(28, 185, 152, 0.15);
  color: #1CB998;
}

.sticky-btn.mail {
  background: transparent;
  color: #ffffff;
}


.sticky-btn:active {
  background: rgba(28, 185, 152, 0.25);
}


body {
  padding-bottom: 60px;
}

.footer-quap {
  background-color: #000;
  border-top: 1px solid rgba(28, 185, 152, 0.9);
  margin-top: 30px;
  padding: 30px 0;
  font-size: 14px;
}

.footer-copy {
  color: #9aa0a6;
}

.footer-social a {
  color: #9aa0a6;
  margin-left: 14px;
  font-size: 2rem;
  transition: color 0.2s ease;
  text-decoration: none;
}

.footer-social a:hover {
  color: #1CB998;
}

.btn-sent {
    pointer-events: none;  
    cursor: default;
}