/* =========================================
   1. Our Services Hero Section
   ========================================= */
.services-hero {
  background-image: url("../images/our-services-family.webp");
  background-size: cover;
  background-position: center 45%;
  background-repeat: no-repeat;
  height: 350px;
  position: relative;
}

.services-hero-overlay {
  background: rgba(0, 0, 0, 0.55);
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.services-hero-content {
  text-align: center;
  color: #ffffff;
  padding: 0 20px;
}

/* Breadcrumbs Styling */
.services-hero-content .breadcrumbs {
  font-size: 16px;
  margin-bottom: 10px;
}

.services-hero-content .breadcrumbs a {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
}

.services-hero-content .breadcrumbs span {
  margin: 0 5px;
}

/* Hero Headings */
.services-hero-content h1 {
  font-size: 42px;
  font-weight: 700;
  margin: 0 0 15px 0;
}

.services-description {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Hero Responsive Design */
@media (max-width: 768px) {
  .services-hero {
    height: 260px;
  }

  .services-hero-content h1 {
    font-size: 30px;
  }

  .services-description {
    font-size: 16px;
  }

  .services-hero-content .breadcrumbs {
    font-size: 14px;
  }
}

/* =========================================
   2. Our Services Grid & Images Styling
   ========================================= */

/* Container setup */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.services-grid {
  padding: 50px 0;
}

.services-grid .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px 20px;
}

/* Heading on top of the image */
.service-item-wrapper {
  text-align: center;
  margin-bottom: 30px;
}

.service-title {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
}

.service-title::after {
  content: "";
  display: block;
  width: 20%;
  height: 3px;
  background-color: #ff6600;
  border-radius: 2px;
  margin: 5px auto 0 auto;
}

/* --- Service Item Styling --- */
.service-item {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* --- Image Styling --- */
.service-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}

/* --- Overlay & Link Styling --- */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;

  opacity: 0;
  visibility: hidden;

  transition:
    opacity 0.4s ease,
    visibility 0.4s ease;
}

.overlay a {
  text-decoration: none;
  color: #fff;
  background-color: #0073aa;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background-color 0.3s ease;
}

/* Button Hover Effect */
.overlay a:hover {
  background-color: #005177;
}

/* --- Hover Effects (Interactive) --- */

.service-item:hover img {
  opacity: 0.85;
  transform: scale(1.05);
}

.service-item:hover .overlay {
  opacity: 1;
  visibility: visible;
}

/* --- Responsive Grid Layout --- */

/* Tablets: 2 items per row */
@media (max-width: 992px) {
  .services-grid .container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile: 1 item per row */
@media (max-width: 600px) {
  .services-grid .container {
    grid-template-columns: 1fr;
  }
}

/* Plus Button */
.zoom-btn {
  width: 60px;
  height: 60px;
  background: #0073aa;
  color: #fff;
  font-size: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transform: scale(0);
  transition: 0.4s;
  margin-top: 10px;
}

/* Hover Effects */
.service-item:hover img {
  transform: scale(1.1);
}

.service-item:hover .overlay {
  opacity: 1;
}

.service-item:hover .zoom-btn {
  transform: scale(1);
}

/* Modal */
.image-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.image-modal img {
  max-width: 90%;
  max-height: 90%;
  animation: zoomIn 0.4s ease;
}

.close-modal {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
}

@keyframes zoomIn {
  from {
    transform: scale(0.7);
  }
  to {
    transform: scale(1);
  }
}

/* Our services heading and contents styling */
.featured-services {
  padding: 80px 0;
  background: #fff;
}

.section-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.section-tag {
  color: #f8b547;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  margin-bottom: 16px;
}

.section-title {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.1;
  color: #000;
}

.section-right p {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 20px;
}

.section-left {
  margin-bottom: 50px;
}

/* Responsive */
@media (max-width: 992px) {
  .section-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 36px;
  }
}

.service-description {
  font-size: 16px;
  margin-top: 15px;
  color: #fff;
  font-family: "Roboto", "Helvetica Neue", Arial, sans-serif;
}

/* FAQ's section styling */

.faq-section-services {
  padding: 60px 20px;
  background-color: #f1f5f4;
}

.faq-container {
  display: flex;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

/* Left side FAQs */
.faq-left {
  flex: 1;
  min-width: 300px;
}

.faq-left h2 {
  font-family: "Roboto", Arial, sans-serif;
  margin-bottom: 20px;
  font-size: 28px;
}

.faq-item {
  cursor: pointer;
  margin-bottom: 15px;
}

.faq-question {
  font-weight: 600;
  font-size: 18px;
  background: #fff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  margin-top: 10px;
  font-size: 16px;
  color: #555;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* Right side images */
.faq-right {
  width: 100%;
  max-width: 600px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 15px;
}

.faq-images-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.faq-image-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  border: 3px solid #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.faq-image-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.faq-image-item:hover img {
  transform: scale(1.05);
}

/* left side image with link style */
.sticky-left-link {
  position: fixed;
  left: 0;
  top: 90%;
  transform: translateY(-50%);
  z-index: 9999;

  display: flex;
  align-items: center;

  background: #ffffff; /* Light background */
  padding: 10px 16px 10px 10px;
  border-radius: 0 30px 30px 0;

  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  border-left: 4px solid #007bff; /* Blue accent line */
  transition: all 0.3s ease;
}

/* Image */
.sticky-left-link img {
  width: 100px;
  height: auto;
  margin-right: 10px;
}

/* Text */
.sticky-text {
  color: #007bff; /* Same blue as image */
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

/* Hover effect */
.sticky-left-link:hover {
  transform: translateY(-50%) translateX(5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}
