.waste-table-section {
    margin-top:2%;
    padding: 60px 20px;
    background: #fff;
    margin-bottom:10%;
  }
  
  .table-container {
    max-width: 1100px;
    margin: 0 auto;
    overflow-x: auto;
  }
  
  .waste-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Segoe UI', sans-serif;
    font-size: 15px;
    color: #333;
      white-space: normal; 
      word-break: break-word;
    
    
  }
  
  .waste-table thead {
    background-color: #f2f2f2;
  }
  
  .waste-table th,
  .waste-table td {
    padding: 15px 20px;
    text-align: left;
  }
  
  .waste-table tbody tr:nth-child(even) {
    background-color: #f2f2f2;
  }
  
  .waste-table th {
    font-weight: 700;
    color: #222;
  }
  
  @media (max-width: 768px) {
    .waste-table {
      font-size: 14px;
    }
  
    .waste-table th,
    .waste-table td {
      padding: 10px 15px;
    }
  }
  .custom-section {
    margin-top: 5%;
    position: relative;
    background-image: url('photos/odpady.jpg');
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;

  }
  
  @media (min-width: 1024px) {
    .custom-section {
      margin-right: 20%; 
    }
  }
  
  
  
  .custom-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(255,255,255,1) 50%, rgba(255,255,255,0.7) 80%, rgba(255,255,255,0.3) 100%);
    backdrop-filter: blur(4px);
    z-index: 1;
  }
  
  .custom-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-start;
    max-width: 1200px;
    width: 100%;
    padding: 40px 20px;
  }
  
  .custom-card {
    width: 100%;
    max-width: 500px;
    box-sizing: border-box;
    margin:0;
    background: white;
    padding: 40px;
    max-width: 500px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  }

  
  
  .custom-card h2 {
    font-size: 2.4rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #111;
  }
  
  .custom-card p {
    font-size: 1rem;
    color: #333;
    line-height: 1.7;
  }
  
  @media (max-width: 768px) {
    .custom-card {
      padding: 25px;
    }
  
    .custom-card h2 {
      font-size: 1.8rem;
    }
  }
  
  .hero {
    height: 50vh;
    background: url('photos/odpady.jpg') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  
  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
  }
  
  .hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
  }
  
  .hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
  }
  
  .hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
  }

  

 @media (max-width: 768px) {


  .hero-content h1 {
    font-size: 1.4rem;      
    line-height: 1.8rem;    
    text-align: center;
    padding: 0 10px;
  }

  .hero-content p {
    font-size: 0.9rem;
    line-height: 1.3rem;
    padding: 0 15px;
  }


  .hero-content .buttons .btn {
    font-size: 0.85rem;
    padding: 8px 18px;
  }


  .about-text h2,
  .why-container h2 {
    font-size: 1.3rem;
    text-align: center;
  }

  .about-text p,
  .why-container p,
  .why-features p {
    font-size: 0.9rem;
    line-height: 1.4rem;
  }


  .gallery-container {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 0 10px;
  }


  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 20px;
  }

  .footer-section {
    width: 100%;
  }

  .footer-section h3 {
    font-size: 1rem;
  }

  .footer-section p,
  .footer-section li {
    font-size: 0.85rem;
    line-height: 1.3rem;
  }

  .map-container iframe {
    height: 180px;
  }
}

@media (max-width: 768px) {
  .footer-container {
    display: flex;
    flex-direction: column;  
    align-items: center;
    text-align: center;
    gap: 25px;
    padding: 25px 10px;
  }

  .footer-section {
    width: 100%;
    max-width: 300px;
  }

  .footer-section h3 {
    font-size: 1rem;
    margin-bottom: 8px;
  }

  .footer-section p,
  .footer-section li,
  .footer-section a {
    font-size: 0.9rem;
    line-height: 1.4rem;
  }

  .footer-logo {
    max-width: 150px;
    margin: 0 auto 10px auto;
  }

  .map-container iframe {
    width: 100%;
    height: 200px;
    border-radius: 8px;
  }

  .footer-bottom {
    font-size: 0.75rem;
    padding: 10px;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .waste-table {
    font-size: 10px;
  }

  .waste-table th,
  .waste-table td {
    padding: 8px 8px;
  }

  .waste-table td {
    word-break: break-word;  
  }
}
