@import url("https://use.typekit.net/msl0pbp.css");

/* Global Reset & Smooth Scrolling */
* {
  box-sizing: border-box;
}
html, body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  font-family: "novel-display", sans-serif;
  font-weight: 400;
  font-style: normal;
  line-height: 1.6;
  color: #333;
}
h3{font-family:"Novel Display","Poppins",sans-serif;}
/* Navbar Wrapper */
header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  background-color: #0A2C5F;
  height: 80px;
}
.navbar {
  background-color: transparent;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0 20px;
}

/* Logo */
.logo {
  position: absolute;
  left: 100px;
}
.logo img {
  height: 80px;
  max-width: 160px;
  width: auto;
  transition: transform 0.3s;
}

/* Menu Toggle */
.menu-toggle {
  display: none;
}

/* Hamburger Icon */
.menu-icon {
  display: none;
  position: absolute;
  right: 20px;
  cursor: pointer;
  width: 25px;
  height: 20px;
}
.menu-icon span {
  display: block;
  width: 25px;
  height: 3px;
  margin-bottom: 5px;
  background: #fff;
  border-radius: 2px;
}

/* Navigation Links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 4rem;
  margin: 0;
  padding: 0;
}
.nav-links li {
  margin: 0;
  position: relative;
}
.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-style: normal;
  font-size: 1.25rem;
  font-family: "novel-display", sans-serif;
  transition: color 0.3s ease;
  padding-bottom: 3px;
}
.nav-links a:hover {
  color: #ccc;
}
.nav-links a.active {
  border-bottom: 2px solid #fff;
}

/* Dropdown Menu */
.has-dropdown {
  position: relative;
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  background-color: #0A2C5F;
  min-width: 250px;
  padding: 0.5rem 0;
  border-radius: 4px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  list-style: none;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  text-align: center;
}
.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  
}
.dropdown-menu li {
  padding: 0;
  margin: 0;
  text-align: center;
}
.dropdown-menu a {
  display: block;
  padding: 0.8rem 1.5rem;
  color: #fff;
  transition: background-color 0.3s ease;
  text-align: center;
  width: 100%;
  font-size: 1.2rem;
}
.dropdown-menu a:hover {
  background-color: #1a3c6f;
  color: #fff;
}

/* Section Styles */
.section {
  min-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 0;
  background: #fff !important;
  scroll-margin-top: 90px;
  box-sizing: border-box;
}

.section:nth-child(even) {
  background: #fff;
}

#section3,
#section3-1,
#section3-2,
#section3-3 {
  background: transparent !important;
}

#section3 {
  background: #fff;
}

#section3-1 {
  background: #fff;
}

#section3-2 {
  background: #fff;
}

/* Section 1 */
#section1 {
  padding: 0;
  min-height: 100vh;
  position: relative;
}

/* Movie Section */
.movie-section {
  height: calc(75vh - 80px);
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 80px;
  padding-top: 4rem;
}

.movie-section::before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: #fff;
  z-index: 2;
}

.movie-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 44, 95, 0.5); /* #0A2C5F with 50% opacity */
  z-index: 1;
}

.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  
}

.movie-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  padding: 2rem;
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.movie-overlay h1 {
  font-size: 4.2rem;
  margin-bottom: 1.5rem;
  color: #fff;
  font-weight: 400;
  font-family: "novel-display", sans-serif;
  line-height: 1.2;
}

.movie-overlay p {
  font-size: 1.5rem;
  color: #fff;
  font-weight: 400;
  font-family: "novel-display", sans-serif;
  line-height: 1.4;
  max-width: 800px;
}

/* Cards Section */
.cards-section {
  width: 100%;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  padding: 1.2rem 1.2rem 2rem 1.2rem;
  position: relative;
  z-index: 3;
  margin-top: -1rem;
  border-radius: 20px;
  box-shadow: 0 -10px 30px rgba(0,0,0,0.1);
}

.card {
  flex: 1;
  max-width: 220px;
  min-width: 140px;
  height: auto;
  padding: 1.5rem;
  text-align: center;
  background: #fff;
  border-radius: 15px;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.card-icon {
  width: 100%;
  max-width: 70px;
  height: auto;
  aspect-ratio: 1/1;
  margin-bottom: 1rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
  object-fit: contain;
}

.card h3 {
  color: #0A2C5F;
  font-size: 1.4rem;
  font-weight: 700;
  text-align: center;
  margin-top: 0;
}

.card p {
  font-size: 1.2rem;
  line-height: 1.5;
  color: #555;
  font-family: "novel-display", sans-serif;
}

.wave-divider {
  width: 100vw;
  max-width: 100vw;
  height: 180px;
  overflow: hidden;
  position: relative;
  margin-top: -30px;
  background: none;
  left: 50%;
  right: 50%;
  transform: translateX(-50%);
}

.wave-divider img {
  width: 100vw;
  max-width: 100vw;
  height: 100%;
  object-fit: cover;
  background: none;
  display: block;
}

/* Section Headers */
.section-header {
  width: 100%;
  padding: 0;
  margin-bottom: 1rem;
  text-align: center;
  scroll-margin-top: 90px;
}

.section-header h1 {
  color: #0A2C5F;
  font-size: 4.5rem;
  margin: 0 0 0.75rem 0;
  font-weight: 400;
  font-family: "novel-display", sans-serif;
  line-height: 1.2;
}

/* About Section */


.about-image {
  flex: 0 0 36%;
  width: 36%;
  height: 63vh;
  position: relative;
}

.about-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-content {
  flex: 0 0 55%;
  width: 55%;
  text-align: left;
  padding: 1rem 0 0 3rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 58vh;
  background: #fff !important;
}

.about-text {
  font-size: 1.1rem !important;
  margin-top: 2.5rem !important;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.about-text, .about-text p, .about-text strong {
  color: #0A2C5F !important;
  font-weight: 700 !important;
  font-style: normal !important;
}

.about-text p {
  font-size: 1.4rem;
  line-height: 1.6;
  margin: 0;
  font-family: "novel-display", sans-serif;
}

.about-text strong {
  font-weight: 700;
  color: #0A2C5F;
}

.services-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.services-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.8rem;
  font-size: 1.5rem;
  line-height: 1.6;
  color: #444;
}

.services-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 400;
}

/* Contact Section */
#section4 {
  min-height: auto;
  scroll-margin-top: 40px;
  padding: 1rem 0;
}

.contact-content {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

.contact-header {
  text-align: center;
  margin-bottom: 0.75rem;
  padding-top: 0;
}

.contact-header h1 {
  color: #0A2C5F;
  font-size: 4.5rem;
  margin: 0 0 0.75rem 0;
  font-weight: 400;
  font-family: "novel-display", sans-serif;
  line-height: 1.2;
}

.contact-text {
  text-align: center;
  margin-bottom: 1rem;
}

.contact-text p {
  color: #4b4b4b;
  font-size: 1.1rem;
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.contact-form {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
}

.form-group {
  margin-bottom: 1rem;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 0.3rem;
  color: #0A2C5F;
  font-size: 1.1rem;
  font-weight: 500;
  text-align: left;
}

.form-group input {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1px solid #ddd;
  border-radius: 25px;
  font-size: 0.9rem;
  background-color: #fff;
  transition: all 0.3s ease;
  height: 42px;
}

.form-group textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1px solid #ddd;
  border-radius: 15px;
  font-size: 0.9rem;
  background-color: #fff;
  transition: all 0.3s ease;
  min-height: 120px;
  resize: vertical;
}

.form-group textarea:focus {
  border-color: #0A2C5F;
  outline: none;
  box-shadow: 0 0 0 2px rgba(10, 44, 95, 0.1);
}

.form-group textarea::placeholder {
  color: #999;
}

.form-group textarea:focus::placeholder {
  color: #666;
}

.form-group textarea:focus + .char-counter {
  color: #0A2C5F;
}

.char-counter {
  display: block;
  text-align: right;
  font-size: 0.8rem;
  color: #666;
  margin-top: 0.3rem;
}

.char-counter.warning {
  color: #ff6b6b;
}

.char-counter.error {
  color: #dc3545;
}

/* Simplified validation styles */
.form-group input:invalid,
.form-group textarea:invalid {
  border-color: #dc3545;
}

.form-group input:valid,
.form-group textarea:valid {
  border-color: #28a745;
}

/* Submit Button */
.submit-btn {
  width: 100%;
  padding: 0.75rem;
  background-color: #0A2C5F;
  color: white;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.submit-btn:hover {
  background-color: #083a7a;
  transform: translateY(-1px);
}

.submit-btn:active {
  transform: translateY(0);
}

.submit-btn:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

/* Animations */
@keyframes slideInFromBottom {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Styles */
@media (max-width: 768px) {
  /* Navbar */
  .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  .logo img {
    height: 100px;
    max-width: 150px;
  }
  .menu-icon {
    display: block;
  }
  .nav-links {
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background-color: #0A2C5F;
    gap: 1rem;
    padding: 1rem 0;
    margin: 0;
    display: none;
    z-index: 1001;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }
  .menu-toggle:checked ~ .nav-links {
    display: flex;
  }
  .has-dropdown {
    width: 100%;
    text-align: center;
    position: relative;
  }
  .dropdown-menu {
    position: static;
    background-color: #1a3c6f;
    width: 100%;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding: 0.5rem 0;
    text-align: center;
    margin: 0.5rem 0;
    left: auto;
    right: auto;
  }
  .dropdown-menu.show {
    display: block;
  }
  .dropdown-menu li {
    width: 100%;
    background-color: #1a3c6f;
    text-align: center;
  }
  .dropdown-menu a {
    padding: 0.7rem 1.2rem;
    width: 100%;
    display: block;
    text-align: center;
  }
  .has-dropdown > a {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    width: auto;
  }
  /* Remove hover effects on mobile */
  .has-dropdown:hover .dropdown-menu,
  .has-dropdown:focus-within .dropdown-menu {
    display: none;
    transform: none;
  }
  .has-dropdown:hover > a::after {
    transform: none;
  }

  /* Section adjustments */
  .section {
    min-height: calc(100vh - 80px);
    padding-top: 0;
    padding: 0 15px;
  }

 

  /* Movie Section */
  .movie-section {
    
    min-height: 450px;
    margin-top: 40px;
    padding: 0.5rem;
    display: flex;
    align-items: center;
  }

  .movie-overlay {
    padding: 1rem;
    min-height: 50vh;
    position: relative;
    z-index: 2;
    margin-bottom: -50px;
    margin-top: 50px;
  }

  .movie-overlay h1 {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    line-height: 1.2;
  }

  .movie-overlay p {
    font-size: 1.4rem;
    max-width: 100%;
    line-height: 1.4;
    margin-bottom: 0;
  }

  .background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
  }

  /* Cards Section */
  .cards-section {
    flex-direction: row;
    flex-wrap: wrap;
    padding: 1.5rem;
    gap: 1rem;
    margin-top: 1rem;
    justify-content: center;
  }
  .card {
    flex: 0 0 calc(50% - 1rem);
    max-width: calc(50% - 1rem);
    padding: 1rem;
    min-width: 120px;
  }
  .card h3 {
    font-size: 1.4rem;
  }
  .card p {
    font-size: 1.1rem;
  }

  /* Section 2 - About Section */
  .about-container {
    flex-direction: column;
    padding: 0.5rem 1rem;
    min-height: auto;
    padding-left: 25px;
    padding-right: 25px;
  }
  .about-content {
    width: 100%;
    text-align: center;
    padding: 2rem 0;
    min-height: auto;
  }
  .about-text {
    gap: 1rem;
  }
  .about-text p {
    font-size: 1.2rem;
    gap: 1.4rem;
  }
  .about-image {
    width: 100%;
    height: 45vh;
    margin-top: 2rem;
  }

  /* General Section Adjustments */
  .section-header {
    padding: 0.25rem 0;
    margin-bottom: 0.75rem;
  }

  .section-header h1 {
    font-size: 3.2rem;
    text-align: center;
    padding: 0 1rem;
    margin-bottom: 0;
  }

  .services-list {
    text-align: left;
    padding-left: 1.5rem;
  }

  .services-list li {
    text-align: left;
    padding-left: 0;
    margin-bottom: 0.8rem;
  }

  .services-list li::before {
    left: -1.5rem;
  }

  .offer-content {
    max-width: 100%;
    text-align: left;
    padding: 0 1.5rem;
  }

  .offer-text p {
    text-align: left;
    margin-bottom: 1.2rem;
  }

  /* Adjust content sections padding */
  .content {
    padding: 0 15px;
    margin-top: 1rem;
  }

  .content h1 {
    margin-bottom: 1.5rem;
  }

  .content p {
    margin-bottom: 1.2rem;
  }

  .content ul {
    text-align: left;
    padding-left: 1.5rem;
    margin: 1.2rem 0;
  }

  .content ul li {
    text-align: left;
    margin-bottom: 0.8rem;
  }

  .wave-divider {
    display: none;
  }
  
  .wave-divider svg {
    min-height: 40px;
    max-height: 80px;
  }

  .contact-header h1 {
    font-size: 3rem;
    font-weight: 600;
    padding-top: 1rem;
  }

  .contact-text {
    margin-bottom: 0.75rem;
  }

  .form-group label {
    font-size: 1rem;
    margin-bottom: 0.25rem;
  }

  /* Specific styles for section 3-1 (Leasing tekstyliów) */
  #section3-1 .content ul {
    text-align: center;
    padding-left: 0;
    list-style: none;
  }

  #section3-1 .content ul li {
    text-align: center;
    padding: 0;
    margin-bottom: 0.8rem;
  }

  #section3-1 .content ul li::before {
    display: none;
  }
  
  /* About section specific adjustments */
  #section2 .section-header {
    margin-bottom: 0.5rem;
  }

  .about-container {

    gap: 0;
  }

  .about-content {
    padding-top: 0;
  }

  .about-text {
    gap: 1.2rem;
  }

  /* Offer section adjustments */
  #section3 .offer-container {
    flex-direction: column;
    padding: 0;
    gap: 0;
    width: 100%;
  }

  #section3 .offer-image {
    display: none !important;
    max-width: 0;
    width: 0;
    height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
  }

  #section3 .offer-content {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
    text-align: left;
    padding: 0 1.5rem;
    margin: 0;
  }

  #section3 .offer-text {
    text-align: left;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  #section3 .services-list {
    text-align: left;
    padding-left: 1.5rem;
    margin: 1rem 0;
  }

  .pre-footer {
    padding: 2rem 0;
    margin-top: 1rem;
    max-height: 300px;
  }

  .pre-footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }

  .contact-info {
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
  }

  .contact-info h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    text-align: center;
  }

  .contact-info p {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    text-align: center;
    width: 100%;
  }

  .contact-info a {
    text-align: center;
    display: inline-block;
  }

  .oferta-bg {
    background-size: 90vw auto;
  }

  #section2 .section-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
  }

  .cleaning-products-image {
    display: none;
  }
  
  .cleaning-products-content {
    width: 100%;
    text-align: center;
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .cleaning-products-section .cleaning-products-btn {
    margin: 0 auto;
  }

  .cleaning-products-section .cleaning-products-image {
    display: none !important;
  }
  
  .cleaning-products-section .cleaning-products-content {
    width: 100%;
    text-align: center;
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  #section1 {
    min-height: auto;
  }
  
  .movie-section {
    min-height: 400px;
    padding: 0.75rem;
  }
  
  .cards-section {
    padding: 1rem;
    gap: 0.8rem;
    margin-top: 1.5rem;
  }
  .card {
    flex: 0 0 calc(50% - 0.8rem);
    max-width: calc(50% - 0.8rem);
    padding: 0.8rem;
  }
  .card h3 {
    font-size: 1.2rem;
  }
  .card p {
    font-size: 1rem;
  }

  .about-content h1 {
    font-size: 2.5rem;
  }
  .about-text p {
    font-size: 1.1rem;
    gap: 1.2rem;
  }

  .services-list li {
    font-size: 1rem;
  }
  
  .contact-header h1 {
    font-size: 2.8rem;
  }

  .contact-text p {
    font-size: 0.9rem;
  }

  .nav-links a {
    font-size: 1.15rem;
  }

  .wave-divider {
    height: 30px;
  }
  
  .wave-divider svg {
    min-height: 30px;
    max-height: 60px;
  }

  .contact-content {
    padding: 0.25rem 1rem;
  }

  .contact-header {
    margin-bottom: 0.5rem;
  }

  .contact-text {
    margin-bottom: 0.75rem;
  }

  .form-group label {
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
  }
  
  .form-group input {
    height: 36px;
    padding: 0.5rem 0.8rem;
  }

  .form-group textarea {
    padding: 0.5rem 0.8rem;
    min-height: 90px;
  }

  .submit-btn {
    font-size: 0.9rem;
  }

  .section {
    min-height: calc(100vh - 80px);
    padding-top: 0;
  }

  .section-header {
    margin-bottom: 0.5rem;
  }

  .section-header h1 {
    font-size: 2.8rem;
  }

  .services-list {
    padding-left: 1.2rem;
  }

  .services-list li {
    margin-bottom: 0.6rem;
    font-size: 1rem;
  }

  .offer-text p {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .content {
    padding: 0 15px;
  }

  .content h1 {
    margin-bottom: 1.2rem;
  }

  .content p {
    margin-bottom: 1rem;
  }

  .content ul {
    padding-left: 1.2rem;
    margin: 1rem 0;
  }

  .content ul li {
    margin-bottom: 0.6rem;
  }

  #section3-1 .content ul li {
    margin-bottom: 0.6rem;
    font-size: 1rem;
  }

  #section2 .section-header {
    margin-bottom: 0.5rem;
  }

  .about-container {
    gap: 1rem;
  }

  .about-text {
    gap: 0.8rem;
  }

  .offer-content {
    padding: 0 1.2rem;
  }

  .offer-text p {
    margin-bottom: 1rem;
  }

  .services-list {
    padding-left: 1.2rem;
  }

  #section3 .offer-content {
    padding: 0 1.2rem;
  }

  #section3 .services-list {
    padding-left: 1.2rem;
  }

  .pre-footer {
    padding: 1.5rem 0;
  }

  .pre-footer-content {
    gap: 1.2rem;
  }

  .contact-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
  }

  .contact-info p {
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
  }
}

/* Offer Section */
.offer-container {
  padding-top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  gap: 3rem;
  padding: 1rem 0;
  box-sizing: border-box;
}

.offer-content {
  flex: 0 0 45%;
  max-width: 45%;
  text-align: left;
  padding: 0.5rem 0;
}

.offer-text {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 0;
}

.offer-text p {
  font-size: 1.6rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  margin-top: 0;
  font-family: "novel-display", sans-serif;
  color: #444;
}

.services-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.services-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  font-size: 1.6rem;
  line-height: 1.6;
  color: #444;
  font-weight: 400;
}

.services-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 400;
}

.offer-image {
  flex: 0 0 50%;
  max-width: 50%;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.offer-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 768px) {
  .offer-container {
    padding: 0.5rem 1rem;
    gap: 1.5rem;
  }

  .offer-content {
    padding: 0.25rem 0;
  }

  .offer-text {
    gap: 1.2rem;
  }

  .offer-text p {
    font-size: 1.4rem;
  }

  .services-list {
    margin: 1.5rem 0;
  }

  .services-list li {
    font-size: 1.4rem;
  }

  .offer-image {
    max-width: 100%;
    height: 40vh;
  }
}

@media (max-width: 480px) {
  .offer-container {
    padding: 1.5rem 1rem;
  }

  .offer-text p {
    font-size: 1.3rem;
  }

  .services-list li {
    font-size: 1.3rem;
  }

  .offer-image {
    height: 35vh;
  }
}

/* Update About and Offer sections */
#section2 .about-content h1,
#section3 .offer-content h1 {
  display: none;
}

/* Update section containers */
.about-container,
.offer-container {
  padding-top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .section-header h1 {
    font-size: 2.5rem;
    text-align: center;
    padding: 0rem;
  }
}

.content {
  width: 90%;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

.content h1 {
  color: #0A2C5F;
  font-size: 3.8rem;
  margin-bottom: 2rem;
  font-weight: 400;
  font-family: "novel-display", sans-serif;
  line-height: 1.2;
}

.content p {
  font-size: 1.5rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: #444;
  font-family: "novel-display", sans-serif;
}

.content ul {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  text-align: center;
}

.content ul li {
  font-size: 1.5rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: #444;
  font-family: "novel-display", sans-serif;
}

@media (max-width: 768px) {
  .content h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
  }

  .content p {
    font-size: 1.1rem;
    line-height: 1.5;
  }

  .content ul li {
    font-size: 1.1rem;
    line-height: 1.5;
  }
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup {
  background-color: white;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  position: relative;
  animation: popupFadeIn 0.3s ease;
}

.popup h3 {
  color: #0A2C5F;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-family: "novel-display", sans-serif;
}

.popup p {
  color: #444;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  font-family: "novel-display", sans-serif;
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #666;
  padding: 5px;
  line-height: 1;
}

@keyframes popupFadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.popup.show {
  display: block;
}

.popup-overlay.show {
  display: flex;
}

.pre-footer {
  background-color: #0A2C5F;
  color: white;
  padding: 0 0 3rem 0;
  margin-top: 2rem
}
  


.pre-footer-content {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16rem;
}

.contact-info {
  flex: 0 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 200px;
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  font-weight: 400;
  font-family: "novel-display", sans-serif;
  color: white;
  text-align: center;
}

.contact-info p {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
}

.contact-info a {
  color: white;
  text-decoration: none;
  transition: opacity 0.3s ease;
  text-align: center;
}

.footer {
  background-color: #072348;
  color: rgba(255, 255, 255, 0.8);
  padding: 1rem 0;
  text-align: center;
  font-size: 0.9rem;
}

.footer p {
  margin: 0;
}

.footer a {
  color: white;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer a:hover {
  opacity: 0.8;
}

@media (max-width: 768px) {
  .pre-footer {
    padding: 2rem 0;
    margin-top: 1rem;
  }

  .pre-footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }

  .contact-info {
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .pre-footer {
    padding: 1.5rem 0;
  }

  .pre-footer-content {
    gap: 1.2rem;
  }

  .contact-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
  }

  .contact-info p {
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
  }
}

/* Remove specific section3 header overrides */
#section3 .section-header {
  margin-bottom: 1rem;
}

#section3 .section-header h1 {
  font-size: 4.5rem;
  margin: 0 0 0.75rem 0;
}

/* Content Blocks Layout */
.content-blocks {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 4rem;
  padding: 1rem 0;
  align-items: center;
  justify-content: center;
}

.content-block {
  flex: 1;
  text-align: left;
}

.content-block p {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: #444;
}

.content-block ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.content-block li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.8rem;
  font-size: 1.25rem;
  line-height: 1.6;
  color: #444;
}

.content-block li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #fff;
}

/* Mobile styles for content blocks */
@media (max-width: 768px) {
  .content-blocks {
    flex-direction: column;
    gap: 2rem;
    padding: 0.5rem 0;
  }

  .content-block {
    width: 100%;
  }

  .content-block p {
    font-size: 1.1rem;
  }

  .content-block li {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .content-blocks {
    gap: 1.5rem;
  }

  .content-block p {
    font-size: 1rem;
  }

  .content-block li {
    font-size: 1rem;
  }
}

/* Section 3-2 specific styles */
#section3-2 .content-block p {
  font-size: 1.5rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: #444;
}

#section3-2 .content-block li {
  font-size: 1.5rem;
  font-weight: 700;
}

#section3-2 .content-block li::before {
  font-weight: 700;
}

/* Mobile styles for section 3-2 */
@media (max-width: 768px) {
  #section3-2 .content-block p {
    font-size: 1.3rem;
  }

  #section3-2 .content-block li {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  #section3-2 .content-block p {
    font-size: 1.2rem;
  }

  #section3-2 .content-block li {
    font-size: 1.2rem;
  }
}

#section2 {
  background: #fff;
  padding: 10px 0;
  position: relative;
  scroll-margin-top: 80px;
  
}

#section2 .section-header {          
  margin-bottom: 0;                 
}

#section2 .section-header h1 {       /* sam <h1> */
  margin-bottom: 0;                 /* już było mało, teraz 0 */
}

#section2 .about-content {           /* blok tekstu */
  padding-top: 0 !important;    
}

.cleaning-products-section {
  background: #fff;
  color: #fff;
  padding: 60px 0;
}

.cleaning-products-container {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 3rem;
  width: 90%;
}

.cleaning-products-image {
  flex: 0 0 400px;
  max-width: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 400px;
}

.cleaning-products-image img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(10,44,95,0.10);
  margin: auto;
}

.cleaning-products-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.cleaning-products-content h1 {
  color: #fff;
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 2rem;
  line-height: 1.2;
}

.cleaning-products-content p {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 2.5rem;
  line-height: 1.5;
  max-width: 600px;
}

.cleaning-products-btn {
  color: #fff;
  background: transparent;
  border: 2px solid #fff;
  border-radius: 6px;
  padding: 0.8rem 2.2rem;
  font-size: 1.3rem;
  font-weight: 400;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  letter-spacing: 1px;
}
.cleaning-products-btn:hover {
  background: #fff;
  color: #10245a;
}

@media (max-width: 900px) {
  .cleaning-products-container {
    flex-direction: column;
    gap: 2rem;
    align-items: center;
  }
  .cleaning-products-image {
    max-width: 220px;
  }
  .cleaning-products-content h1 {
    font-size: 2rem;
  }
  .cleaning-products-content p {
    font-size: 1.1rem;
  }
}

.oferta-bg {
  background-image: url('assets-imagy/oferta-background.svg');
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  margin-top: 0;
  padding-top: 150px;
}

.oferta-bg .section-header {
  position: relative;
  z-index: 1;
}
.oferta-bg .section-header h1 {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.oferta-bg,
.oferta-bg .section,
.oferta-bg .section-header,
.oferta-bg h1,
.oferta-bg h2,
.oferta-bg h3,
.oferta-bg p,
.oferta-bg ul,
.oferta-bg li,
.oferta-bg a,
.oferta-bg .offer-text,
.oferta-bg .content-block,
.oferta-bg .cleaning-products-content {
  color: #fff !important;
}


.centered-content-block {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.centered-content-block ul {
  text-align: center;
  margin: 1.5rem auto;
  display: inline-block;
}
.centered-content-block li {
  text-align: left;
}

.blue-header {
  color: #0A2C5F !important;
}

#section3.section {
  padding-top: 0 !important;
}

#section3 .offer-text {
  font-weight: 400 !important;
  margin-top: 3rem !important;
}
#section3 .services-list {
  list-style: disc inside;
  padding-left: 1.5rem;
}
#section3 .services-list li::before {
  content: none;
}