/* Soft Facility Management Page Styles */

/* Hero Section */

.page-banner-planned-maintenance {
  background-image: url("../assets/images/service3.jpg");
  background-position: center;
  background-size: cover;
}

/* Introduction Section */
.intro-section {
  padding: 80px 0;
  background-color: #fff;
}

.intro-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  display: block;
}

.intro-content h2 {
  font-size: 2.2rem;
  color: #204c75;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 20px;
}

.intro-content h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: #204c75;
}

.intro-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 20px;
}

/* Services Overview */
.services-overview {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.2rem;
  color: #204c75;
  margin-bottom: 15px;
}

.section-header p {
  font-size: 1.1rem;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 30px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(to right, #204c75, #3498db);
  z-index: -1;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: rgba(32, 76, 117, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  color: #204c75;
  transition: all 0.3s ease;
}

.service-card h3 {
  font-size: 1.3rem;
  color: #333;
  margin-bottom: 15px;
}

.service-card p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
}

/* Featured Services Section */
.featured-services {
  padding: 80px 0;
  background-color: #fff;
}

.featured-item {
  display: flex;
  margin-bottom: 70px;
  background-color: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

.featured-item.reverse {
  flex-direction: row-reverse;
}

.featured-image {
  flex: 0 0 45%;
  position: relative;
  overflow: hidden;
}

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

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

.featured-content {
  flex: 0 0 55%;
  padding: 40px;
  position: relative;
}

.featured-icon {
  position: absolute;
  top: -25px;
  left: 40px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #204c75;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  box-shadow: 0 5px 15px rgba(32, 76, 117, 0.3);
}

.featured-item.reverse .featured-icon {
  left: auto;
  right: 40px;
}

.featured-content h3 {
  font-size: 1.6rem;
  color: #204c75;
  margin-bottom: 15px;
}

.featured-content p {
  font-size: 1rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 20px;
}

.featured-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.featured-list li {
  position: relative;
  padding-left: 25px;
  font-size: 0.95rem;
  color: #666;
  line-height: 1.5;
}

.featured-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #204c75;
  font-weight: bold;
}

/* Benefits Section */
.benefits-section {
  padding: 80px 0;
  background-color: #f8f9fa;
  position: relative;
  overflow: hidden;
}

.benefits-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23204c75' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.5;
}

.benefits-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.benefits-content h2 {
  font-size: 2.2rem;
  color: #204c75;
  margin-bottom: 15px;
}

.benefits-content > p {
  font-size: 1.1rem;
  color: #666;
  max-width: 700px;
  margin: 0 auto 50px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.benefit-item {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-10px);
}

.benefit-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: rgba(32, 76, 117, 0.1);
  color: #204c75;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.6rem;
}

.benefit-item h3 {
  font-size: 1.3rem;
  color: #333;
  margin-bottom: 15px;
}

.benefit-item p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
}

/* Testimonials Section */
.testimonials-section {
  padding: 80px 0;
  background-color: #204c75;
  color: #fff;
  text-align: center;
}

.testimonials-section h2 {
  font-size: 2.2rem;
  margin-bottom: 50px;
  position: relative;
  padding-bottom: 20px;
}

.testimonials-section h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: #fff;
}

.testimonial-slider {
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-content {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  position: relative;
}

.testimonial-content::before {
  content: "\201C"; /* Unicode for opening double quote */
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 5rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.2);
  font-family: serif;
}

.testimonial-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-info h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.author-info span {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #204c75, #3498db);
  color: #fff;
  text-align: center;
}

.cta-section h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

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

.cta-section .btn-primary {
  background-color: #fff;
  color: #204c75;
  font-weight: bold;
  padding: 15px 40px;
  border-radius: 50px;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .featured-item,
  .featured-item.reverse {
    flex-direction: column;
  }

  .featured-image {
    height: 300px;
  }

  .featured-icon {
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
  }

  .featured-item.reverse .featured-icon {
    left: 50%;
    right: auto;
  }

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

@media (max-width: 768px) {
  .hero-section {
    height: 60vh;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .services-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .intro-content h2,
  .section-header h2,
  .benefits-content h2,
  .testimonials-section h2,
  .cta-section h2 {
    font-size: 1.8rem;
  }

  .featured-content {
    padding: 30px 20px;
  }
}
