body {
  margin: 0;
  direction: rtl;
  background-color: #f9f9f9;
}

.container {
  width: 90%;
  margin: 0 auto;
}

.hero-section {
  position: relative;
  height: 350px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: url(./img/sprzatanie.jpg) center center / cover no-repeat;
  z-index: 0;
}

.hero-bg::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.4);
}

.hero-text {
  position: absolute;
  top: 68%;
  left: 70%;
  transform: translate(-2%, -100%);
  text-align: start;
  color: white;
  z-index: 2;
  max-width: 90%;
}

.btn {
  background-color: black;
  border-radius: 30px;
  color: #fff;
  font-size: 17px;
  font-weight: bold;
  padding: 10px 30px;
  margin-bottom: 10px;
}

.hero-text p {
  font-size: 19px;
  line-height: 1.7;
  max-width: 600px;
  margin: 15px auto;
}


.header-details {
  width: 90%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  position: relative;
}

.spacer {
  flex: 2;
}

.logo.flex-2 {
  flex: 2;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.main-nav {
  display: flex;
  flex-direction: row;
  gap: 15px;
  align-items: center;
  justify-content: center;
  background-color: white;
  border-radius: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 12px 30px;

}

.main-nav a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  padding: 8px 16px;
  border-radius: 20px;
  transition: background-color 0.3s, color 0.3s;
}

.main-nav a:hover {
  background-color: #e0f2f1;
}

.main-nav a.active {
  background-color: #1c6cb8;
  color: white;
}

.content {
  background-color: #e5e9e9;
  margin-top: -80px;
  border-top-left-radius: 50px;
  border-top-right-radius: 50px;
  position: relative;
  z-index: 2;
  height: 100%;
  padding-bottom: 10px;
}

.menu-toggle,
.close-menu {
  display: none;
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 90%;
  margin: 0 auto;
  padding-top: 30px;
}

.card {
  background-color: white;
  border-radius: 0 20px 20px 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 12px;
  text-align: start;
  transition: transform 0.3s;
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-top-right-radius: 20px;
  border-bottom-left-radius: 20px;
}

.card h3 {
  font-size: 18px;
  color: rgb(19, 18, 18);
}

.card p {
  font-size: 17px;
  color: #222;
  margin-top: -10px;
}

.cta-btn {
  display: flex;
  align-items: center;
  gap: 15px;
}

.cta-btn i {
  background-color: #fff;
  border-radius: 50%;
  color: #00bcd4;
  padding: 10px;
}

.cta-btn i .fa-whatsapp {
  font-size: 30px;
}

.why-us-content p {
  font-size: 18px;
  line-height: 1.8;
  color: #444;
}

.black-btn {
  background-color: black;
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 18px;
  border-radius: 25px;
  cursor: pointer;
}

.features-list {
  list-style-type: disc;
  padding-right: 20px;
  color: #333;
}

.features-list li {
  margin-bottom: 10px;
  font-size: 18px;
}

.features-list li strong {
  display: block;
  font-weight: bold;
  color: #000;
  margin-bottom: 4px;
}

.features-list li p {
  margin: 0;
  font-size: 16px;
  color: #222;
  line-height: 1.6;
}

.contact-sidebar {
  position: fixed;
  left: 0;
  height: 110px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #00bcd4;
  padding: 15px 12px;
  border-top-right-radius: 25px;
  border-bottom-right-radius: 25px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

.contact-sidebar a i {
  font-size: 19px;
  color: #fff;
}

.contact-sidebar a i .fa-whatsapp {
  font-size: 30px;
}

@media (max-width: 1024px) {
  .cards-container {
    grid-template-columns: repeat(2, 1fr);
  }
  
}

@media (max-width: 600px) {
  .cards-container {
    grid-template-columns: 1fr;
    padding-top: 50px;
  }
  .contact-sidebar{
    display: none;
  }
}

.why-us-section {
  width: 90%;
  margin: 0 auto;
  padding: 30px 10px;
}

.why-us-sec {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 992px) {
  .why-us-sec {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.why-us-content {
  direction: rtl;
}

.why-us-map {
  width: 100%;
  margin-top: 0;
  margin-left: 0;
}

.why-us-map iframe {
  width: 100%;
  height: 300px;
  border: 0;
  border-radius: 40px;
}

@media (min-width: 992px) {
  .why-us-map {
    margin-top: 250px;
    margin-left: 100px;
  }
  .why-us-map iframe {
    height: 300px;
  }
}

/* Responsive  */

@media (max-width: 991px) {
  .hero-text {
    top: 40%;
    left: 70%;
    transform: translate(-50%, -30%);
    text-align: start;
  }
}

@media (max-width: 980px) {
  .main-nav {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: white;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: auto;
    z-index: 1000;
    border-radius: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-30px);
    visibility: hidden;
    transition: opacity 0.5s ease, transform 0.5s ease;
    padding: 0px;
  }

  .main-nav.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }

  .main-nav a {
    margin-bottom: 10px;
  }

  .menu-toggle {
    display: block;
    font-size: 28px;
    background: #e4dcdc;
    border: none;
    border-radius: 25%;
    padding: 4px 12px;
    position: absolute;
    top: 33px;
    right: 20px;
    z-index: 1100;
    cursor: pointer;
    color: #333;
    transition: background-color 0.3s;
    opacity: 0.8;
  }

  .close-menu {
    display: block;
    font-size: 22px;
    background: none;
    border: none;
    color: #333;
    cursor: pointer;
    align-self: flex-start;
    margin-bottom: 10px;
    padding: 20px;
  }

  .hero-text {
    top: 40%;
    left: 50%;
    transform: translate(-50%, -30%);
    text-align: center;
  }
}
.rate-sec {
  width: 90%;
  margin: 0 auto;
  padding: 40px 0;
  direction: rtl;
  font-family: 'Arial', sans-serif;
}

.rating-section {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
}

.rating-box {
  background-color: #f9f9f9;
  border-radius: 24px;
  padding: 25px;
  width: 100%;
  max-width: 360px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.rating-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.rating-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: bold;
  color: #333;
}

.rating-score {
  font-size: 14px;
  color: #0099ff;
  
}

.stars {
  color: #0099ff;
  font-size: 20px;
  margin: 8px 0;
}

.rating-text {
  font-size: 15px;
  color: #444;
  margin: 10px 0 20px;
  line-height: 1.6;
}

.comment-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 12px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s;
}

.comment-input:focus {
  border-color: #0099ff;
}


input {
  padding: 10px 20px;
  width: 80%;
  border-radius: 30px;
  border: 0;
  background-color: #e9e8e8;
}

input:focus {
  outline: none;
}

input::placeholder {
  font-size: 18px; 
}


.footer {
  max-width: 85%;
  margin: 10px auto;
  background-color: white;
  border-radius: 40px;
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  /* box-shadow: 0 2px 8px rgba(0,0,0,0.05); */
}

.first-item, .second-item {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  color: #333;
  white-space: nowrap;
}

.footer-item span {
  font-weight: bold;
}

.footer-item i {
  color: #0099ff;
  font-size: 19px;
  margin: 0 5px;
}


@media (max-width: 768px) {
  .rating-box {
    padding: 20px;
    border-radius: 20px;
  }

  .footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    border-top-left-radius: 40px;
  }
}

@media (max-width: 460px) {
  .footer {
    gap: 20px;
  }
  .first-item, .second-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 14px;
    color: #333;
    white-space: nowrap;
  }

  .second-item .footer-item  {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    text-align: center;
  }

}

.user-profile {
  position: absolute;
  display: inline-block;
  cursor: pointer;
  top: 25px;
  right: -11px;
}

.avatar-container {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #203fec;
  transition: transform 0.3s, box-shadow 0.3s;
}

.avatar-container:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.user-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-menu {
  display: none;
  position: absolute;
  top: 50px;
  /* right: -30; */
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  width: 120px;
}

.user-menu a {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  transition: background-color 0.3s, color 0.3s;
}

.user-menu a:hover {
  /* background-color: #f0f0f0; */
  color: #007bff;
}

.user-profile:hover .user-menu {
  display: block;
}

@media (max-width: 768px) {
  .avatar-container {
    width: 40px;
    height: 40px;
  }

  .user-menu {
    top: 50px;
    width: 150px;
  }

  .user-menu a {
    font-size: 13px;
  }
}

@media (max-width: 980px) {
  .user-profile {
    display: none;
  }
}
/* @media (max-width: 896px) {
  .auth-nav-link {
    display: inline;
  }
} */
@media (min-width: 897px) {
  .auth {
    display: none;
  }
}
.form-group label {
  color: #009fd1;
  font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
  color: #222;
  background-color: #f6f6f6;
  border: 1px solid #b2ebf2;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #00b4f1;
  background: #fff;
  color: #009fd1;
}
        /* --- Enhanced Modern Responsive Rating & Complaint Forms Styles --- */
        .enhanced-forms-row {
          display: flex;
          justify-content: center;
          align-items: stretch;
          gap: 0;
          flex-wrap: wrap;
          background: rgba(245, 247, 255, 0.7);
          border-radius: 2rem;
          box-shadow: 0 4px 24px rgba(30,90,205,0.07);
          margin-bottom: 2rem;
          margin-top: 2.5rem;
          overflow: hidden;
        }
        .enhanced-forms-row .rate-form-section {
          flex: 1 1 400px;
          min-width: 320px;
          display: flex;
          justify-content: center;
          align-items: center;
          margin: 0;
          padding: 2.5rem 1.5rem;
        }
        .forms-divider {
          width: 2px;
          background: linear-gradient(to bottom, #e0e7ff 10%, #1e5acd 50%, #e0e7ff 90%);
          margin: 2.5rem 0;
          align-self: stretch;
          box-shadow: 0 0 8px #1e5acd22;
          display: block;
        }
        .rate-form {
          background: #fff;
          border-radius: 1.5rem;
          box-shadow: 0 8px 32px rgba(30,90,205,0.10), 0 1.5px 8px rgba(0,0,0,0.06);
          padding: 2.5rem 2rem 2rem 2rem;
          max-width: 420px;
          width: 100%;
          display: flex;
          flex-direction: column;
          align-items: stretch;
          gap: 1.9rem;
          position: relative;
        }
        .rate-form-title {
          text-align: center;
          font-size: 1.6rem;
          font-weight: 900;
          color: #1e5acd;
          margin-bottom: 0.5rem;
          letter-spacing: 0.5px;
        }
        .rate-form-stars {
          display: flex;
          flex-direction: row-reverse;
          justify-content: center;
          gap: 0.2rem;
          font-size: 2.2rem;
          margin-bottom: 0.5rem;
        }
        .rate-form-stars input[type="radio"] {
          display: none;
        }
        .rate-form-stars label {
          color: #e0e0e0;
          cursor: pointer;
          transition: color 0.2s;
          user-select: none;
        }
        .rate-form-stars input[type="radio"]:checked ~ label,
        .rate-form-stars label:hover,
        .rate-form-stars label:hover ~ label {
          color: #f7b731;
        }
        .rate-form-fields {
          display: flex;
          flex-direction: column;
          gap: 0.7rem;
        }
        .rate-form-input,
        .rate-form-textarea {
          border: 1.5px solid #dbeafe;
          border-radius: 0.7rem;
          padding: 0.7rem 1rem;
          font-size: 1rem;
          background: #f9fafb;
          outline: none;
          transition: border 0.2s;
        }
        .rate-form-input:focus,
        .rate-form-textarea:focus {
          border-color: #1e5acd;
        }
        .rate-form-submit {
          background: linear-gradient(90deg, #1e5acd 60%, #3b82f6 100%);
          color: #fff;
          border: none;
          border-radius: 0.7rem;
          padding: 0.8rem 0;
          font-size: 1.1rem;
          font-weight: 700;
          cursor: pointer;
          transition: background 0.2s, box-shadow 0.2s;
          box-shadow: 0 2px 8px rgba(30,90,205,0.08);
          margin-top: 0.5rem;
        }
        .rate-form-submit:hover {
          background: linear-gradient(90deg, #3b82f6 60%, #1e5acd 100%);
        }
        .rate-form-success {
          text-align: center;
          color: #22c55e;
          font-weight: 700;
          margin-top: 0.7rem;
          font-size: 1rem;
        }
        @media (max-width: 1100px) {
          .enhanced-forms-row .rate-form-section {
            flex: 1 1 320px;
            padding: 1.5rem 0.5rem;
          }
        }
        @media (max-width: 900px) {
          .enhanced-forms-row {
            flex-direction: column;
            border-radius: 1.2rem;
          }
          .forms-divider {
            width: 90%;
            height: 2px;
            margin: 0 auto;
            background: linear-gradient(to right, #e0e7ff 10%, #1e5acd 50%, #e0e7ff 90%);
            box-shadow: 0 0 8px #1e5acd22;
            align-self: center;
          }
        }
        @media (max-width: 600px) {
          .rate-form {
            padding: 1.2rem 0.7rem 1.2rem 0.7rem;
            max-width: 98vw;
          }
          .rate-form-title {
            font-size: 1.1rem;
          }
          .rate-form-stars {
            font-size: 1.5rem;
          }
        }
