/* ===== SERVICES PAGE SPECIFIC STYLES ===== */

/* Page container to account for fixed navbar */
.services-page {
  margin-top: 110px; /* Account for fixed navbar */
}

/* ===== HERO SECTION ===== */
.services-hero {
  background: linear-gradient(135deg, var(--dark-color) 0%, var(--gray-800) 100%);
  color: var(--light-color);
  padding: 100px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.services-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../Images/3.jpg') center/cover no-repeat;
  opacity: 0.2;
  z-index: 0;
}

.services-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.services-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--light-color);
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.services-hero p {
  font-size: 1.3rem;
  color: var(--gray-200);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.services-hero .btn {
  margin-top: 1rem;
}

/* ===== SERVICES OVERVIEW SECTION ===== */
.services-overview {
  padding: 80px 0;
  background-color: var(--gray-100);
}

.services-overview .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.services-overview h2 {
  text-align: center;
  color: var(--dark-color);
  margin-bottom: 3rem;
  font-size: 2.5rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

/* ===== SERVICE CARDS ===== */
.service-card {
  background: var(--light-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  position: relative;
  border: 1px solid var(--gray-200);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.service-card-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.service-card:hover .service-card-image img {
  transform: scale(1.05);
}

.service-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--primary-color) 0%, rgba(220, 20, 60, 0.8) 100%);
  opacity: 0.8;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon {
  font-size: 3rem;
  color: var(--light-color);
}

.service-card-content {
  padding: 2rem;
}

.service-card h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.service-card p {
  color: var(--gray-700);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-features {
  list-style: none;
  margin-bottom: 2rem;
}

.service-features li {
  padding: 0.5rem 0;
  color: var(--gray-600);
  position: relative;
  padding-left: 1.5rem;
}

.service-features li:before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0.5rem;
  color: var(--secondary-color);
  font-weight: bold;
}

.service-card .btn {
  width: 100%;
  text-align: center;
}

/* ===== WHY CHOOSE US SECTION ===== */
.why-choose-us {
  padding: 80px 0;
  background: var(--light-color);
}

.why-choose-us .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.why-choose-us h2 {
  text-align: center;
  color: var(--dark-color);
  margin-bottom: 3rem;
  font-size: 2.5rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.benefit-item {
  text-align: center;
  padding: 2rem;
  background: var(--gray-100);
  border-radius: 12px;
  transition: var(--transition);
}

.benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.benefit-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.benefit-item h3 {
  color: var(--dark-color);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.benefit-item p {
  color: var(--gray-600);
  line-height: 1.6;
}

/* ===== CTA SECTION ===== */
.services-cta {
  background: linear-gradient(135deg, var(--primary-color) 0%, #b91c3c 100%);
  color: var(--light-color);
  padding: 80px 0;
  text-align: center;
  position: relative;
}

.services-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../Images/5.jpg') center/cover no-repeat;
  opacity: 0.1;
  z-index: 0;
}

.services-cta-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.services-cta h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--light-color);
}

.services-cta p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--gray-200);
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons .btn {
  min-width: 180px;
}

.cta-btn-primary {
  background-color: var(--secondary-color);
  color: var(--dark-color);
  font-weight: 600;
}

.cta-btn-primary:hover {
  background-color: #e6b800;
  transform: translateY(-2px);
}

.cta-btn-secondary {
  background-color: transparent;
  color: var(--light-color);
  border: 2px solid var(--light-color);
  font-weight: 600;
}

.cta-btn-secondary:hover {
  background-color: var(--light-color);
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .services-hero h1 {
    font-size: 2.2rem;
  }
  
  .services-hero p {
    font-size: 1.1rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .services-overview,
  .why-choose-us,
  .services-cta {
    padding: 60px 0;
  }
  
  .services-overview h2,
  .why-choose-us h2,
  .services-cta h2 {
    font-size: 2rem;
  }
  
  .service-card-content {
    padding: 1.5rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 576px) {
  .services-page {
    margin-top: 70px;
  }
  
  .services-hero {
    padding: 80px 0 60px;
  }
  
  .services-hero h1 {
    font-size: 1.8rem;
  }
  
  .services-hero p {
    font-size: 1rem;
  }
  
  .services-overview,
  .why-choose-us,
  .services-cta {
    padding: 40px 0;
  }
  
  .services-overview h2,
  .why-choose-us h2,
  .services-cta h2 {
    font-size: 1.7rem;
  }
  
  .service-card-content {
    padding: 1.2rem;
  }
  
  .benefit-item {
    padding: 1.5rem;
  }
}

/* ===== ANIMATION UTILITIES ===== */
.fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

.fade-in-left {
  animation: fadeInLeft 0.8s ease-out;
}

.fade-in-right {
  animation: fadeInRight 0.8s ease-out;
}

/* ===== ADDITIONAL UTILITY CLASSES ===== */
.text-highlight {
  color: var(--primary-color);
  font-weight: 600;
}

.accent-border {
  border-left: 4px solid var(--secondary-color);
  padding-left: 1rem;
}