/* Services Page Styles */

.services-page {
  padding: 100px 0;
}

.sections-title {
  text-align: center;
  margin-bottom: 60px;
}

.sections-title h2 {
  font-size: 36px;
  color: #333;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.sections-title h2:after {
  content: "";
  position: absolute;
  width: 60px;
  height: 2px;
  background: #e53f29;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.sections-title p {
  color: #777;
  font-size: 16px;
  max-width: 700px;
  margin: 0 auto;
}

/* Service Content Sections */

.service-content {
  display: flex;
  align-items: center;
  margin-bottom: 80px;
}

.service-text {
  flex: 1;
  padding: 0 30px;
}

.service-image {
  flex: 1;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 3px solid #f39c12;
  border-radius: 10px;
  padding: 5px;
  background: white;
  box-shadow: 0 0 10px rgba(243, 156, 18, 0.3);
}

.service-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
  border-radius: 10px;
  background: white;
}

.service-image:hover img {
  transform: scale(1.03);
}

.service-text h3 {
  font-size: 28px;
  color: #333;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 15px;
}

.service-text h3:after {
  content: "";
  position: absolute;
  width: 50px;
  height: 2px;
  background: #e53f29;
  bottom: 0;
  left: 0;
}

.service-text p {
  color: #666;
  line-height: 1.8;
  margin-bottom: 25px;
}

.service-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  color: #555;
}

.service-list li:before {
  content: "\f00c";
  font-family: "FontAwesome";
  color: #e53f29;
  position: absolute;
  left: 0;
  top: 2px;
}

/* Alternate Layout */

.service-content.alternate {
  flex-direction: row-reverse;
}

/* Services Gallery Section */

.services-gallery {
  background: #f9f9f9;
  padding: 80px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.service-card {
  background: #fff;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card-img {
  height: 200px;
  overflow: hidden;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card-img img {
  transform: scale(1.1);
}

.service-card-content {
  padding: 25px;
}

.service-card-content h3 {
  font-size: 20px;
  color: #333;
  margin-bottom: 15px;
  text-align: center;
}

.service-card-content p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: center;
}

.read-more {
  display: inline-block;
  color: #e53f29;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.read-more:hover {
  color: #333;
}

.read-more i {
  margin-left: 5px;
  transition: margin-left 0.3s ease;
}

.read-more:hover i {
  margin-left: 10px;
}

/* Responsive Adjustments */

@media (max-width: 992px) {
  .service-content {
    flex-direction: column;
  }
  .service-content.alternate {
    flex-direction: column;
  }
  .service-text,
  .service-image {
    width: 100%;
    padding: 0;
  }
  .service-image {
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  .section-title h2 {
    font-size: 28px;
  }
}
