/* Services Page Specific Styles */

/* Hero Section */
.services-hero {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: url('../../img/services-hero.jpg') center/cover no-repeat;
  color: #fff;
  padding: 120px 0 80px;
 
}


.services-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: linear-gradient(45deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%); */
  background: url(../img/breadcrb.jpg);
  z-index: 0;
}

.services-hero__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.services-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  color: #fff;
}

.services-hero p.lead {
  font-size: 1.25rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin: 0 auto 2rem;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: #fff;
  border-radius: 8px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #eee;
}

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

.service-card__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: rgba(255, 102, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #ff6600;
  transition: all 0.3s ease;
}

.service-card:hover .service-card__icon {
  background: #ff6600;
  color: #fff;
  transform: rotateY(180deg);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #333;
}

.service-card p {
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.service-card__link {
  color: #ff6600;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

.service-card__link i {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.service-card__link:hover {
  color: #e65c00;
}

.service-card__link:hover i {
  transform: translateX(5px);
}

/* Why Choose Us */
.why-choose-us {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.why-choose-us__image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.why-choose-us__image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.why-choose-us__image:hover img {
  transform: scale(1.05);
}

.features-list {
  margin-top: 2rem;
}

.feature {
  display: flex;
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.feature:hover {
  transform: translateX(10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.feature__icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 102, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #ff6600;
  margin-right: 1.5rem;
  flex-shrink: 0;
}

.feature__content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.feature__content p {
  color: #666;
  margin: 0;
  line-height: 1.6;
}

/* Service Modal */
.service-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.service-modal.active {
  opacity: 1;
  visibility: visible;
}

.service-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  z-index: 1;
}

.service-modal__container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 1000px;
  max-height: 90vh;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  z-index: 2;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.service-modal__close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 2.5rem;
  background: none;
  border: none;
  color: #666;
  cursor: pointer;
  z-index: 3;
  transition: color 0.3s ease;
}

.service-modal__close:hover {
  color: #ff6600;
}

.service-modal__content {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow-y: auto;
}

/* Carousel */
.service-carousel {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  background: #f5f5f5;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  height: 100%;
}

.carousel-slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 2;
  transform: translateY(-50%);
}

.carousel-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  color: #333;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.carousel-btn:hover {
  background: #ff6600;
  color: #fff;
  transform: scale(1.1);
}

.carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot.active {
  background: #ff6600;
  border-color: #fff;
  transform: scale(1.2);
}

.service-details {
  padding: 2.5rem;
}

.service-details h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #333;
}

.service-details p {
  color: #555;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.service-features {
  margin: 2rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.feature-item i {
  color: #ff6600;
  font-size: 1.5rem;
  margin-top: 0.3rem;
}

.feature-content h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.feature-content p {
  margin: 0;
  font-size: 0.95rem;
  color: #666;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .service-modal__container {
    width: 95%;
  }
  
  .service-carousel {
    height: 350px;
  }
}

@media (max-width: 768px) {
  .service-carousel {
    height: 300px;
  }
  
  .service-details {
    padding: 1.5rem;
  }
  
  .service-details h2 {
    font-size: 1.75rem;
  }
  
  .service-features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .service-carousel {
    height: 250px;
  }
  
  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  
  .service-details {
    padding: 1.25rem;
  }
  
  .service-details h2 {
    font-size: 1.5rem;
  }
}

/* Process Steps 
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  position: relative;
  padding-top: 2rem;
}

.process-step {
  text-align: center;
  padding: 2rem 1.5rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

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

.process-step__number {
  width: 60px;
  height: 60px;
  background: #ff6600;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 1;
}

.process-step__number::after {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border: 2px dashed rgba(255, 102, 0, 0.3);
  border-radius: 50%;
  z-index: -1;
  animation: rotate 15s linear infinite;
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.process-step h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: #333;
}

.process-step p {
  color: #666;
  margin: 0;
  line-height: 1.6;
}*/

/* Construction Process Styles */
.construction-process {
    padding: var(--section-padding);
    background-color: var(--light-gray);
}

.process-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.process-step:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-yellow));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    flex-shrink: 0;
}

.step-content h4 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.step-content p {
    color: var(--charcoal-gray);
    margin: 0;
    line-height: 1.6;
}




/* CTA Section */
.cta-section {
  position: relative;
  padding: 100px 0;
  background: url('../../img/cta-bg.jpg') center/cover no-repeat;
  color: #fff;
  text-align: center;
  margin-top: 100px;
}

.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.7) 100%);
  z-index: 0;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #fff;
}

.cta-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
}

.btn--primary {
  background: #ff6600;
  color: #fff;
}

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

.btn--secondary {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

.btn i {
  margin-right: 8px;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: #ff6600;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  text-decoration: none;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  bottom: 30px;
}

.back-to-top:hover {
  background: #e65c00;
  transform: translateY(-5px);
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
  
  .why-choose-us {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .why-choose-us__image {
    order: -1;
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (max-width: 992px) {
  .services-hero h1 {
    font-size: 2.5rem;
  }
  
  .services-hero p.lead {
    font-size: 1.1rem;
  }
  
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .services-hero {
    min-height: 350px;
    padding: 100px 0 60px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .process-steps {
    grid-template-columns: 1fr;
  }
  
  .cta-content h2 {
    font-size: 2rem;
  }
  
  .cta-content p {
    font-size: 1.1rem;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 0.85rem;
  }
}

@media (max-width: 576px) {
  .services-hero h1 {
    font-size: 2rem;
  }
  
  .feature {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem 1rem;
  }
  
  .feature__icon {
    margin: 0 auto 1rem;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
    margin-bottom: 10px;
  }
  
  .btn:last-child {
    margin-bottom: 0;
  }
  
  .back-to-top {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    bottom: 20px;
    right: 20px;
  }
}

/* Animation for process steps */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

[data-aos] {
  opacity: 0;
  transition-property: opacity, transform;
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translate(0);
  animation: fadeInUp 0.6s ease forwards;
}

/* Why Choose Us Section */
#why-choose-us {
    padding: 50px 0;
    background-color: #f8f9fa;
}

.features-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.feature-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    flex: 1;
    text-align: center;
    min-width: 230px; /* Minimum width of each card */
    max-width: 23%; /* Maximum width to keep them in a row */
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 15px;
    color: #ff8c00; /* Icon color */
}

.feature-card h3 {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14px;
    color: #777;
}

@media (max-width: 768px) {
    .feature-card {
        min-width: 48%;
    }
}

@media (max-width: 480px) {
    .feature-card {
        min-width: 100%;
    }
}



/* Hover Effect for Service Images */
.services-preview img {
  transition: transform 0.3s ease, opacity 0.3s ease;
  cursor: pointer;
}

.services-preview img:hover {
  transform: scale(1.05);  /* Scales the image */
  opacity: 0.9;  /* Slight opacity change */
}

/* Hover Effect for Feature Cards */
.feature-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px); /* Card lifts up */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); /* Adds a shadow */
}


/* Construction Process Styles */
.process-step {
  background-color: #fff;
  border-radius: 8px;
  padding: 2rem;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-left: 5px solid #ff6600; /* Orange left border for decoration */
}

.process-step:hover {
  transform: translateY(-5px); /* Slight lift on hover */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15); /* Increase shadow */
}

.step-number {
  background-color: #ff6600;
  color: white;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.step-content h4 {
  color: #333;
  margin-bottom: 1rem;
}

.step-content p {
  color: #666;
  margin: 0;
  line-height: 1.6;
}

/* Gallery Modal Styles */
.gallery-modal {
  display: none; /* Hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  max-width: 90%;
  max-height: 80%;
  overflow-y: auto;
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 2rem;
  color: #ff6600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.close-modal:hover {
  color: #e65c00;
}

.gallery-images {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}

.gallery-images img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.gallery-images img:hover {
  transform: scale(1.05);
}

/* Responsive Styles for Modal */
@media (max-width: 768px) {
  .modal-content {
    max-width: 95%;
  }
}




/* 🖼️ Popup Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 80px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0,0,0,0.8);
}

.modal-content {
  background: #fff;
  margin: auto;
  padding: 1.5rem;
  border-radius: 10px;
  max-width: 800px;
  position: relative;
  animation: fadeIn 0.4s ease;
}

.close {
  color: #333;
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 1rem;
}

.gallery img {
  width: 100%;
  height: 200px;
  border-radius: 8px;
  object-fit: cover;
}

@keyframes fadeIn {
  from {opacity: 0; transform: scale(0.95);}
  to {opacity: 1; transform: scale(1);}
}
