/* Page Banner Styles */
.page-banner-projects {
  background-image: url("../assets/images/service6.jpg");
  background-position: center;
  background-size: cover;
}

/* Service Main Content Styles */
.service-main {
  padding: 100px 0;
  background-color: #f8f9fa;
}

.service-introduction {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.service-introduction h2 {
  font-size: 2.2rem;
  color: #333;
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
}

.service-introduction h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: #007bff;
}

.intro-content {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.intro-content p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 25px;
}

/* Service Categories Styles */
.service-categories {
  padding: 100px 0;
  background-color: #fff;
}

.category-item {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 80px;
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.category-item:hover {
  transform: translateY(-5px);
}

.category-item:nth-child(even) {
  grid-template-columns: 1.5fr 1fr;
}

.category-item:nth-child(even) .category-image {
  order: 2;
}

.category-item:nth-child(even) .category-content {
  order: 1;
}

.category-image {
  position: relative;
  overflow: hidden;
}

.category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.category-item:hover .category-image img {
  transform: scale(1.05);
}

.category-content {
  padding: 40px;
}

.category-content h2 {
  font-size: 1.8rem;
  color: #333;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.category-content h2 i {
  color: #007bff;
  font-size: 1.8rem;
}

.category-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 30px;
}

.expertise-area h3 {
  font-size: 1.3rem;
  color: #333;
  margin-bottom: 20px;
}

.expertise-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.expertise-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  color: #555;
}

.expertise-list li::before {
  content: "✓";
  color: #28a745;
  font-weight: bold;
}

/* CTA Section */
.cta-section {
  background-color: #0056b3;
  color: #fff;
  padding: 60px 0;
  text-align: center;
}

.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.cta-section p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .btn-primary {
  background-color: #fff;
  color: #0056b3;
  padding: 12px 30px;
  font-size: 1.1rem;
  border: 2px solid #fff;
  transition: all 0.3s ease;
}

.cta-section .btn-primary:hover {
  background-color: transparent;
  color: #fff;
}

.btn-primary {
  display: inline-block;
  padding: 18px 40px;
  background-color: #007bff;
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: 2px solid #007bff;
}

.btn-primary:hover {
  background-color: transparent;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-banner-projects h1 {
    font-size: 3rem;
  }

  .service-introduction h2 {
    font-size: 2.5rem;
  }

  .category-item {
    grid-template-columns: 1fr;
  }

  .category-item:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .category-item:nth-child(even) .category-image {
    order: 1;
  }

  .category-item:nth-child(even) .category-content {
    order: 2;
  }

  .category-image {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .page-banner-projects {
    padding: 100px 0;
  }

  .page-banner-projects h1 {
    font-size: 2.5rem;
  }

  .service-introduction h2 {
    font-size: 2rem;
  }

  .category-content {
    padding: 30px;
  }

  .category-content h2 {
    font-size: 1.8rem;
  }

  .cta-section h2 {
    font-size: 2.2rem;
  }

  .cta-section p {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .page-banner-projects h1 {
    font-size: 2rem;
  }

  .service-introduction h2 {
    font-size: 1.8rem;
  }

  .category-content {
    padding: 25px;
  }

  .category-content h2 {
    font-size: 1.5rem;
  }

  .expertise-list {
    grid-template-columns: 1fr;
  }

  .btn-primary {
    padding: 15px 30px;
    font-size: 1rem;
  }
}
