/* Основний стиль для сторінки */
.service-detail {
    background-color: #f4f7fa;
    padding: 40px 0;
    font-family: "Manrope", sans-serif;
    color: #333;
}

.service-title {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
}



.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.service-item {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.service-grid_1 {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.service-item_1 {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.service-item i {
    font-size: 36px;
    color: #007bff;
    margin-bottom: 10px;
}

.service-item h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.service-item p {
    font-size: 14px;
    color: #666;
}

.faq {
    margin-top: 40px;
}

.faq-item {
    margin-bottom: 20px;
}

.faq-item h4 {
    font-size: 18px;
    font-weight: bold;
}

.faq-item p {
    font-size: 16px;
    color: #666;
    margin-top: 5px;
}

.consultation-form {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.consultation-form input,
.consultation-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.consultation-form button {
    width: 100%;
    padding: 15px;
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}

.consultation-form button:hover {
    background-color: #0056b3;
}


.advantages-block {
  background-color: #f9f9f9;
  padding: 50px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.block-title {
  text-align: center;
  font-size: 28px;
  color: #2c3e50;
  margin-bottom: 40px;
  position: relative;
}

.block-title::after {
  content: '';
  width: 50px;
  height: 4px;
  background-color: #3498db;
  display: block;
  margin: 10px auto 0;
  border-radius: 2px;
}

.advantages-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.advantage-item {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding: 20px;
  width: 260px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.advantage-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.advantage-item i {
  font-size: 40px;
  margin-bottom: 15px;
}

.advantage-item h3 {
  font-size: 20px;
  color: #2c3e50;
  margin-bottom: 10px;
}

.advantage-item p {
  font-size: 16px;
  color: #7f8c8d;
  line-height: 1.5;
}

@media (max-width: 767px) {
    /* Adjust the grid for mobile to 1 column */
    .service-grid {
        grid-template-columns: 1fr; /* 1 column for smaller screens */
        gap: 20px; /* Reduce gap for better fit */
        padding: 0 15px;  /* Add more padding to ensure content doesn't touch screen edges */
    }

    .service-item {
        padding: 15px; /* Reduce padding for better fit */
    }

    .service-item i {
        font-size: 30px; /* Adjust icon size for mobile */
    }

    .service-item h4 {
        font-size: 18px; /* Adjust heading font size */
    }

    .service-item p {
        font-size: 14px; /* Adjust text size */
    }
}