@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body, html {
  font-family: 'Poppins', sans-serif;
  height: 100%;
  font-family: 'Poppins', sans-serif;
  scroll-behavior: smooth;
}
header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 30px;
  background: transparent;
}
#main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  z-index: 1000;
  transition: transform 0.3s ease;
}

.header-hidden {
  transform: translateY(-100%);
}
.logo {
  max-height: 60px;
  height: auto;
  width: auto;
}
nav .menu {
  display: flex;
  list-style: none;
  gap: 20px;
}
nav .menu li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}
.hamburger {
  display: none;
  font-size: 26px;
  color: white;
  cursor: pointer;
}
.video-background {
  position: relative;
  height: 100vh;
  overflow: hidden;
}
.video-background video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
}
.hero-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 20px;
}
.hero-logo {
  width: 100px;
  margin-bottom: 20px;
}
.scroll-button {
  background-color: #00c4cc;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 30px;
  text-decoration: none;
  margin-top: 20px;
  font-weight: bold;
  transition: transform 0.3s ease;
}
.scroll-button:hover {
  transform: scale(1.1);
}
.arrow-down {
  margin-top: 15px;
  width: 24px;
  height: 24px;
  border-left: 3px solid white;
  border-bottom: 3px solid white;
  transform: rotate(45deg);
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0) rotate(45deg); }
  50% { transform: translateY(10px) rotate(45deg); }
}
#backToTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #00c4cc;
  border: none;
  color: white;
  padding: 10px 14px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: none;
  z-index: 10;
}
@media (max-width: 768px) {
  nav .menu {
    display: none;
    flex-direction: column;
    position: absolute;
    right: 30px;
    top: 60px;
    background: rgba(0,0,0,0.9);
    padding: 10px;
  }
  nav .menu.active {
    display: flex;
  }
  .hamburger {
    display: block;
  }
}

.video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: 0;
}
.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.mobile-bg {
  display: none;
}
@media (max-width: 767px) {
  .video-wrapper video {
    display: none;
  }
  .mobile-bg {
    display: block;
    background: url('images/video-bg.jpg') no-repeat center center;
    background-size: cover;
    height: 100vh;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 0;
  }
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}s
}

.hero-container {
  position: relative;
  height: 100vh;
  overflow: hidden;
}
.hero-wrap {

  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease-out forwards;
}
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-logo {
  max-width: 400px;
  width: 20%;
  height: auto;
  margin-bottom: 1em;
  transition: transform 0.5s ease;
}
.hero-heading {
  color: white;
  font-size: 1.4em;
  max-width: 90%;
  margin-bottom: 2rem;
  transition: opacity 0.5s ease;
}
.hero-cta {
  color: #fff;
  background: transparent;
  border: 2px solid #c21f2b;
  padding: 0.7em 1.5em;
  font-size: 1em;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}
.hero-cta:hover {
  background: #c21f2b;
  color: #000;
}
.arrow-down {
  margin-top: 1.5rem;
  width: 48px;
  height: 48px;
  background: none;
  border: none;
  animation: bounce 1.5s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}
.arrow-down svg {
  background: none;
  border: none;
  box-shadow: none;
  stroke: #c21f2b;
  width: 100%;
  height: 100%;
}
@media (max-width: 600px) {
  .hero-logo {
    width: 50%;
  }
  .hero-heading {
    font-size: 1.2em;
  }
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}
.hero-wrap {
  z-index: 2;
}

/*sekcja o nas*/
.onas-tytuł {
  text-align: left;
  font-size: 70px;
  font-style: unset;
}
.about-section {
  background: linear-gradient(180deg, #0f1013 0%, #181a1f 50%, #0c0c0c 100%);
  color: white;
  padding: 2rem 2rem;
  text-align: center;
}
.about-container {
  max-width: 1000px;
  margin: 0 auto;
}
.about-section h2 {
  font-size: 2em;
  margin-bottom: 1rem;
}
.about-section p {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 2rem;
}
.brand-logos {
  animation: fadeInUp 1s ease-out forwards;
  opacity: 0;
  transform: translateY(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.brand-logos img {
  width: 320px;
  height: 160px;
  object-fit: contain;
  box-sizing: border-box;
}
@keyframes scrollLogos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.cta-button {
  display: inline-block;
  padding: 0.75em 1em;
  background-color: #c21f2b;
  color: white;
  text-align: right;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}
.cta-button:hover {
  background-color: #e43240;
}

.cta-button2 {
  
display: block;
  color: white;
  border-radius: 3px;
  text-decoration: none;
  font-weight: bold;
  font-size: x-large;
  transition: background 0.3s ease;
}
.cta-button2:hover {
  background-color: #e43240;
}

.ff-description {
  font-size: 1.1em;
  text-align: left;
  margin-top: 0;
  max-width: 400px;

  margin-top: 1rem;
  margin-bottom: 3rem;
  color: #ccc;
}

.partner-heading {
  font-size: 1.3em;
  margin-bottom: 1.5rem;
  color: #ccc;
}




/* Zmieniona animacja — przesuwa o 100% długości widocznej ścieżki */
@keyframes scrollLogos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}



@keyframes scrollCarousel {
  0% { transform: translateX(0); }
  100% { transform: translateX(-33.33%); }
}

 

.partners-static {
  text-align: center;
  margin: 4rem auto 3rem;
}
.partner-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: nowrap;
  max-width: 100%;
  overflow: hidden;
  margin-top: 1.5rem;
}
.partner-logos img {
  max-height: 60px;
  max-width: 150px;
  width: auto;
  
  object-fit: contain;
  display: block;
  object-fit: contain;
}

.partner-logos {
  overflow: hidden;
  width: 100%;
  margin-top: 2rem;
}

.slider-track {
  display: flex;
  gap: 6rem;
  animation: scroll-logos 20s linear infinite;
  width: max-content;
  height: auto;
}
.slider-track img {
  height: auto;
  border-radius: 10px;
  transition: transform 0.3s ease;
}
.slider-track img:hover {
  transform: scale(1.1);
}

@keyframes scroll-logos {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}


.partner-slider-wrap {
  text-align: center;
  margin: 3rem auto;
  padding: 2rem 0;
}

.partner-slider {
  overflow: hidden;
  width: 100%;
  margin-top: 1rem;
}

.slider-track {
  display: flex;
  gap: 5rem;
  animation: scrollSlider 25s linear infinite;
  width: max-content;
}

.slider-track img {
  object-fit: contain;
  flex-shrink: 0;
}

@keyframes scrollSlider {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}


.slider-track {
  display: flex;
  animation: scrollInfinite 30s linear infinite;
  width: max-content;
}

.logo-set {
  display: flex;
  gap: 5rem;
}

@keyframes scrollInfinite {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}




#backToTop {
  color: #c21f2b !important;
  border-color: #c21f2b !important;
  background: transparent;
}

#backToTop svg {
  stroke: #c21f2b !important;
  fill: #c21f2b !important;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7em 1.5em;
  font-size: 1em;
  border: 2px solid #c21f2b;
  color: #fff;
  background: transparent;
  border-radius: 30px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background: #c21f2b;
  color: #000;
}

.cta-arrow {
  display: inline-block;
  animation: bounce 1.5s infinite;
  height: 1em;
}

.cta-arrow svg {
  stroke: #c21f2b;
  height: 100%;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}
.cta-button {
  font-weight: normal;
}

#oferta {
  background: linear-gradient(180deg, #0f1013 0%, #181a1f 50%, #0c0c0c 100%);
  padding: 2rem 2rem;
  color: white;
  font-family: 'Poppins', sans-serif;
  text-align: center;
}

#oferta .container {
  max-width: 1000px;
  margin: 0 auto;
}
/*styl do sekcji oferta*/
.oferta-tytuł {
  text-align: left;
  font-size: 70px;
  font-style: unset;
}
.offer-section {
  display: flex;
  font-family: 'Poppins', sans-serif;
  background: transparent;
  color: white;
  border-radius: 0.5rem;
  overflow: hidden;
}

.offer-sidebar {
  width: 220px;
  background: transparent;
  border-right: 1px solid #2a2a2a;
  display: flex;
  flex-direction: column;
}

.offer-sidebar button {
  padding: 1.2em;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  font-weight: 500;
  color: #ccc;
  position: relative;
  transition: all 0.25s ease;
}

.offer-sidebar button::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: #c21f2b;
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.offer-sidebar button.active {
  color: #c21f2b;
  background: transparent;
}

.offer-sidebar button.active::before {
  transform: scaleY(1);
}

.offer-sidebar button:hover {
  background: transparent;
  color: white;
}

.offer-content {
  padding: 2rem;
  flex: 1;
  background: transparent;
}

.offer-panel {
  display: none;
  animation: fadeIn 0.3s ease forwards;
}

.offer-panel.active {
  display: block;
}


.images {
  display: flex;
  gap: 1rem;
  margin: 1.5rem 0;
}

.images img {
  width: 24%;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

ul {
  padding-left: 1.2em;
}

ul li {
  margin-bottom: 0.5em;
  
}

@keyframes fadeIn {
  from {opacity: 0; transform: translateY(10px);}
  to {opacity: 1; transform: translateY(0);}
}
.offer-panel#INSTALACJE\\ ELEKTRYCZNE {
  background: linear-gradient(180deg, #0f0f0f, #151515);
  padding: 3rem 2rem;
  color: white;
  font-family: 'Poppins', sans-serif;
  animation: fadeIn 0.5s ease;
}

.instalacje-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}

.instalacje-text {
  flex: 1 1 400px;
  max-width: 600px;
}

.instalacje-text h3 {
  font-size: 2rem;
  color: #c21f2b;
  margin-bottom: 1rem;
}

.instalacje-text .lead {
  font-size: 1.1rem;
  color: #ccc;
  margin-bottom: 1.5rem;
}

.instalacje-text ul {
  list-style: none;
  padding: 0;
  font-size: 1rem;
  color: #eee;
}

.instalacje-text li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: left;
}

.instalacje-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(0,0,0,0.3);
}


.offer-panel#UTRZYMANIE\\ RUCHU {
  background: linear-gradient(180deg, #0f0f0f, #151515);
  padding: 3rem 2rem;
  color: white;
  font-family: 'Poppins', sans-serif;
  animation: fadeIn 0.5s ease;
}

.ur-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}

.ur-text {
  flex: 1 1 400px;
  max-width: 600px;
}

.ur-text h3 {
  font-size: 2rem;
  color: #c21f2b;
  margin-bottom: 1rem;
}

.ur-text .lead {
  font-size: 1.1rem;
  color: #ccc;
  margin-bottom: 1.5rem;
}

.ur-text ul {
  list-style: none;
  padding: 0;
  font-size: 1rem;
  color: #eee;
}

.ur-text li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
}

.ur-img img {
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(0,0,0,0.3);
}




.offer-panel#INTELIGENTNY\\ BUDYNEK {
  background: linear-gradient(180deg, #0f0f0f, #151515);
  padding: 3rem 2rem;
  color: white;
  font-family: 'Poppins', sans-serif;
  animation: fadeIn 0.5s ease;
}

.smarthome-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}

.smarthome-text {
  flex: 1 1 400px;
  max-width: 600px;
}

.smarthome-text h3 {
  font-size: 2rem;
  color: #c21f2b;
  margin-bottom: 1rem;
}

.smarthome-text .lead {
  font-size: 1.1rem;
  color: #ccc;
  margin-bottom: 1.5rem;
}

.smarthome-text ul {
  list-style: none;
  padding: 0;
  font-size: 1rem;
  color: #eee;
}

.smarthome-text li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
}

.smarthome-img img {
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(0,0,0,0.3);
}



.offer-panel#INSTALACJE\\ SSP {
  background: linear-gradient(180deg, #0f0f0f, #151515);
  padding: 3rem 2rem;
  color: white;
  font-family: 'Poppins', sans-serif;
  animation: fadeIn 0.5s ease;
}

.ssp-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}

.ssp-text {
  flex: 1 1 400px;
  max-width: 600px;
}

.ssp-text h3 {
  font-size: 2rem;
  color: #c21f2b;
  margin-bottom: 1rem;
}

.ssp-text .lead {
  font-size: 1.1rem;
  color: #ccc;
  margin-bottom: 1.5rem;
}

.ssp-text ul {
  list-style: none;
  padding: 0;
  font-size: 1rem;
  color: #eee;
}

.ssp-text li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
}

.ssp-img img {
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(0,0,0,0.3);
}



.offer-panel#INSTALACJE\\ SSWiN {
  background: linear-gradient(180deg, #0f0f0f, #151515);
  padding: 3rem 2rem;
  color: white;
  font-family: 'Poppins', sans-serif;
  animation: fadeIn 0.5s ease;
}

.sswin-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}

.sswin-text {
  flex: 1 1 400px;
  max-width: 600px;
}

.sswin-text h3 {
  font-size: 2rem;
  color: #c21f2b;
  margin-bottom: 1rem;
}

.sswin-text .lead {
  font-size: 1.1rem;
  color: #ccc;
  margin-bottom: 1.5rem;
}

.sswin-text ul {
  list-style: none;
  padding: 0;
  font-size: 1rem;
  color: #eee;
}

.sswin-text li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
}

.sswin-img img {
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(0,0,0,0.3);
}


.offer-panel#INSTALACJE\\ CCTV {
  background: linear-gradient(180deg, #0f0f0f, #151515);
  padding: 3rem 2rem;
  color: white;
  font-family: 'Poppins', sans-serif;
  animation: fadeIn 0.5s ease;
}

.cctv-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}

.cctv-text {
  flex: 1 1 60%;
  max-width: 600px;
}

.cctv-text h3 {
  font-size: 2rem;
  color: #c21f2b;
  margin-bottom: 1rem;
}

.cctv-text .lead {
  font-size: 1.1rem;
  color: #ccc;
  margin-bottom: 1.5rem;
}

.cctv-text ul {
  list-style: none;
  padding: 0;
  font-size: 1rem;
  color: #eee;
}

.cctv-text li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
}

.cctv-img img {
  width: 100%;
  max-width: 300px;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(0,0,0,0.3);
}
/*koniec sekcji oferta*/

/*sekcja o nas*/
.kontakt-tytuł {
  text-align: left;
  font-size: 70px;
  font-style: unset;
}
.contact-section {
  background: linear-gradient(180deg, #0f1013 0%, #181a1f 50%, #0c0c0c 100%);
  color: white;
  padding: 2rem 2rem;
}
.contact-container {
  max-width: 1000px;
  margin: 0 auto;
}
.contact-section {
  background: linear-gradien t(180deg, #0f1013 0%, #181a1f 50%, #0c0c0c 100%);
  padding: 2rem;
}
.kontakt-tytuł {
  text-align: left;
  font-size: 70px;
  margin-bottom: 1rem;
}
.kontakt-wrap {
  padding: 4rem 2rem;
  border-radius: 16px;
}
.kontakt-box {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  background: #1a1a1a;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}
.kontakt-left, .kontakt-right {
  flex: 1 1 45%;
}
.kontakt-left h2 {
  font-size: 2.5rem;
  color: #c21f2b;
  margin-bottom: 1rem;
}
.kontakt-left p {
  font-size: 1.2rem;
  color: #ccc;
}
.kontakt-right .kontakt-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.kontakt-icon {
  font-size: 2rem;
  color: #c21f2b;
}
.kontakt-label {
  font-weight: bold;
  color: #ddd;
}
.kontakt-item a {
  color: #c21f2b;
  text-decoration: none;
}
.kontakt-item a:hover {
  text-decoration: underline;
}
footer {
  color: #ccc;
  padding: 2rem 1rem;
  text-align: center;
}
footer .footer-container {
  max-width: 1000px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  border-radius: 20px;
  gap: 1rem;
}
footer p,
footer a {
  color: #ccc;
  font-size: 0.9rem;
}
footer a {
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}
  

