 

.carousel {
    position: relative;
    max-width: 250px;
    margin: auto;
    overflow: hidden;
}

.carousel-images {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-images img {
    max-width: 100%;
    display: block;
    width: 100%;
}

.prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}






.service {
    background-image: url("assets/service.jpg");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    margin-top: 35px;
    margin-bottom: 25px;
  }
  
  .service__container {
    padding-block: 0;
    display: grid;
  
    grid-template-columns: repeat(2, 1fr);
  }
  
  .service__content {
    grid-column: 1/3;
    padding: 2rem 4rem;
    background-color: var(--white);
  }
  
  .service__list {
    list-style: none;
    margin-top: 2rem;
    display: grid;
    gap: 2rem;
  }
  
  .service__list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-dark);
  }
  
  .service__list span {
    padding: 5px 12px;
    font-size: 1.75rem;
    color: var(--text-dark);
    background-color: var(--text-light);
    border-radius: 100%;
  }
  
  .service__list li:nth-child(1) span {
    color: #60a5fa;
    background-color: #dbeafe;
  }
  
  .service__list li:nth-child(2) span {
    color: #f472b6;
    background-color: #fce7f3;
  }
  
  .service__list li:nth-child(3) span {
    color: #c084fc;
    background-color: #f3e8ff;
  }
  
  .service__list li:nth-child(4) span {
    color: #fb7185;
    background-color: #ffe4e6;
  }



 

  .qa-section {
    max-width: 600px;
    margin: auto;
    margin-top: 100px;
}

.qa-item {
    background: white;
    margin-bottom: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.qa-button {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    background: gray;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    outline: none;
    transition: background 0.3s;
}

.qa-button:hover {
    background: #0056b3;
}

.qa-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
    padding: 0 15px;
    background: #f9f9f9;
}







@media (max-width: 768px) {
  .service__container {
      grid-template-columns: 1fr; /* Stack items on smaller screens */
  }

  .card-container-l {
      flex-direction: column; /* Stack cards vertically */
      margin-left: 0; /* Remove left margin */
  }

  .qa-section {
      padding: 20px; /* Add padding */
  }
}

@media (max-width: 480px) {
  h1, h2 {
      font-size: 1.5em; /* Adjust font sizes */
  }

  .rating .star {
      font-size: 24px; /* Smaller stars for mobile */
  }

  .container {
      padding: 20px; /* Adjust container padding */
  }

  .modal-content {
      width: 90%; /* Make modal width responsive */
  }
}