/* Banner */
.services-banner {
  width: 100vw;
  height: 340px;

  /* Optional: dark overlay so white text is readable */
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 120px;
  color: #fff;
}

.services-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65); /* darker overlay for better contrast */
}

.banner-content {
  position: relative;
  z-index: 1;
}

.banner-content h1 {
  font-size: 5rem;
  color: white;
  font-weight: bolder;
}

.path-services {
  margin-left: 5px;
  margin-right: 5px;
}

.breadcrumb {
  margin-top: 1rem;
  padding-left: 0;
}

.breadcrumb a {
  color: #3189c9;
  text-decoration: none;
}

.breadcrumb span {
  color: #fff;
}

/* Layout */
.all-services-container {
  display: flex;
  gap: 2rem;

  /* margin: 120px 120px; */
  flex-wrap: wrap;
}

/* Left column */
.left-col {
  flex: 3;
  min-width: 300px;
}
.left-col li {
  list-style: none;
  position: relative;
  padding-left: 1.5rem;
}

.left-col li::before {
  font-family: "Font Awesome 6 Pro";
  content: "\f101";
  position: absolute;
  color: #3189c9;
  left: 0;
  top: 0;
}

.main-image {
  width: 100%;
  border-radius: 5px;
}
.section-title {
  color: #3189c9;
  margin-top: 1rem;
  font-size: 1.5rem;
}
.faq-title {
  color: #3189c9;
  margin-top: 2rem;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.left-col p {
  margin: 1rem 0;
  line-height: 1.6;
}

/* Accordion */
.accordion {
  margin-top: 1rem;
}
.accordion-item {
  border: 1px solid #ddd;
  margin-bottom: 0.5rem;
  border-radius: 4px;
}
.accordion-item.active .accordion-header {
  background: #3189c9;
  color: #fff;
}
.accordion-header {
  width: 100%;
  padding: 2px 5px;
  text-align: left;
  background: #f9f9f9;
  border: none;
  cursor: pointer;
  font-weight: bold;
  font-size: large;
}
.accordion-content {
  display: none;
  background: #fff;
}
.accordion-content p {
  font-size: medium !important;
  padding: 2px 5px;
  height: max-content;
  margin-bottom: -0px !important;
}
.accordion-item.active .accordion-content {
  display: block;
}

/* Right column */
.right-col {
  flex: 1;
  min-width: 250px;
}

/* Services list */
.services-list {
  background: #f8f8f8;
  padding: 1rem;
  border-radius: 5px;
}
.services-list h4 {
  margin-bottom: 1rem;
  font-size: large;
  color: #3189c9;
}
.services-list ul {
  list-style: none;
}
.services-list li {
  padding: 0.8rem;
  cursor: pointer;
  border-radius: 4px;
  font-size: medium;
}
.services-list li:hover,
.services-list li.active {
  background: #3189c9;
  color: #fff;
}

/* Contact box */
.contact-box {
  background: #3189c9;
  color: #fff;
  padding: 1.5rem;
  margin-top: 2rem;
  border-radius: 5px;
  text-align: center;
}
.contact-box .icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.contact-box h4 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}
.contact-box .phone {
  font-size: 1.3rem;
  font-weight: bold;
}
.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.accordion-header i {
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header i.fa-plus {
  display: none;
}

.accordion-item.active .accordion-header i.fa-minus {
  display: inline;
}

.accordion-header i.fa-minus {
  display: none;
}

/* Responsive */
@media (max-width: 1024px) {
  .all-services-container {
    display: flex;
    gap: 2rem;
    /* margin: 40px 40px; */
    flex-wrap: wrap;
  }
  .banner-content h1 {
    font-size: 4rem;
  }
  .services-banner {
    padding: 0 40px;
  }
  .contact-box h4 {
    font-size: 2.3rem;
    margin-bottom: 0.5rem;
  }
  .contact-box .phone {
    font-size: 1rem;
    font-weight: bold;
  }
}

@media (max-width: 993px) {
  .all-services-container {
    display: flex;
    gap: 2rem;
    /* margin: 50px 10px; */
    flex-wrap: wrap;
  }
  .banner-content h1 {
    font-size: 3rem;
  }
  .services-banner {
    padding: 0 10px;
  }
  .contact-box h4 {
    font-size: 2.3rem;
    margin-bottom: 0.5rem;
  }
  .contact-box .phone {
    font-size: 1rem;
    font-weight: bold;
  }
  .path-services {
    margin-left: 5px;
    margin-right: 5px;
    font-size: medium;
  }
  .breadcrumb a {
    font-size: medium;
  }
}

/* Project Details Section - Service Pages */
.project-details-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  background-color: pink;
  padding-bottom: 200px;
}

.project-main-content {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

/* Service Hero Image */
.project-hero-image {
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  position: relative;
}

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

.project-hero-image:hover img {
  transform: scale(1.05);
}

/* Image Title Overlay */
.image-title-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(49, 137, 201, 0.8) 0%,
    rgba(0, 0, 0, 0.6) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.project-hero-image:hover .image-title-overlay {
  opacity: 1;
}

.image-title {
  color: white;
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
  margin: 0;
  transform: translateX(-100px);
  opacity: 0;
  animation: slideInTitle 0.8s ease forwards;
  animation-delay: 0.2s;
}

@keyframes slideInTitle {
  0% {
    transform: translateX(-100px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Project Title */
.project-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

/* Project Description */
.project-description {
  margin-bottom: 2rem;
  line-height: 1.8;
  color: #6c757d;
}

.project-description h3 {
  color: #2c3e50;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 2rem 0 1rem 0;
}

.project-description ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.project-description li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

/* FAQ Section */
.faq-section {
  margin-top: 3rem;
}

.faq-title {
  font-size: 2rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.faq-intro {
  color: #6c757d;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* Sidebar */
.project-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-card {
  background: white;
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
}

.sidebar-card h3 {
  color: #2c3e50;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #3189c9;
}

/* Services Slider Card */
.services-slider-card {
  margin-bottom: 2rem;
}

/* Contact Card */
.contact-card p {
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.contact-info {
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  padding: 0.5rem;
  background: #f8f9fa;
  border-radius: 8px;
}

.contact-item i {
  color: #3189c9;
  font-size: 1rem;
}

.contact-item span {
  color: #2c3e50;
  font-weight: 500;
}

.contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 1rem;
  background: #3189c9;
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.contact-btn:hover {
  background: #2c3e50;
  transform: translateY(-2px);
  color: white;
}

/* Services List */
.services-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.services-list li {
  margin-bottom: 0.5rem;
}

.services-list a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  color: #6c757d;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.services-list a:hover {
  background: #f8f9fa;
  color: #3189c9;
  transform: translateX(5px);
}

.services-list li.active a {
  background: #3189c9;
  color: white;
}

.services-list i {
  width: 20px;
  text-align: center;
}
/* ==============================
   SUBTLE FADE & GLIDE ANIMATION For All Servies Pages
   ============================== */

/* Keyframes */
@keyframes fadeSlideLeft {
  0% {
    opacity: 0;
    transform: translateX(-20px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeSlideRight {
  0% {
    opacity: 0;
    transform: translateX(20px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Apply animations */
.left-col,
.banner-content,
.project-main-content {
  animation: fadeSlideLeft 0.8s ease-out forwards;
}

.right-col,
.project-sidebar,
.contact-card {
  animation: fadeSlideRight 0.8s ease-out forwards;
}

.services-banner,
.project-hero-image {
  animation: fadeSlideUp 0.8s ease-out forwards;
}

/* Optional hover polish */
.card,
.contact-card {
  transition: transform 0.3s ease;
}
.card:hover,
.contact-card:hover {
  transform: translateY(-4px);
}
