
/* Services Page Styles */
:root {
  --primary-color: #e67e22;
  --secondary-color: #34495e;
  --accent-color: #3498db;
  --light-bg: #f9f9f9;
  --dark-bg: #2c3e50;
  --text-dark: #333;
  --text-light: #777;
  --box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

#services-page {
  overflow-x: hidden;
  color: var(--text-dark);
}

/* Hero Section - Matching industries.css style */
.page-header {
  height: 85vh;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.85), rgba(230, 126, 34, 0.7));
  z-index: 1;
}

.page-header .container {
  position: relative;
  z-index: 2;
  animation: fadeInUp 1s ease-out;
}

.page-header h1 {
  font-size: 5rem;
  font-weight: 800;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-header p {
  font-size: 1.5rem;
  line-height: 1.6;
  margin-bottom: 40px;
  opacity: 0.95;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Introduction Section */
.section-intro {
  background-color: white;
  position: relative;
  text-align: center;
}

.section-intro::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 20%;
  background: url('../images/pattern-bg.jpeg');
  opacity: 0.03;
  z-index: 0;
  
}

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


/* Services Navigation */
.services-nav {
  background-color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 15px 0;
  transition: all 0.3s ease;
}

.services-nav.scrolled {
  padding: 10px 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.nav-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
}

.nav-container::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge */
}

.services-nav-list {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  min-width: max-content;
}

.services-nav-list li {
  margin: 0 5px;
}

.service-nav-link {
  display: block;
  padding: 12px 20px;
  color: var(--text-dark);
  font-weight: 600;
  text-decoration: none;
  border-radius: 30px;
  transition: var(--transition);
  white-space: nowrap;
}

.service-nav-link:hover,
.service-nav-link.active {
  background-color: var(--primary-color);
  color: white;
}

/* Services Content */
.services-content {
  padding-bottom: 80px;;
}

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-bottom: 100px;
  align-items: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  scroll-margin-top: 100px; /* Ensures proper scrolling with sticky nav */
}

.service-detail.animated {
  opacity: 1;
  transform: translateY(0);
}

.service-detail:last-child {
  margin-bottom: 0;
}

.service-detail.odd {
  direction: rtl;
}

.service-detail.odd .service-image,
.service-detail.odd .service-info {
  direction: ltr;
}

.service-image {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  height: 500px;
}

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

.service-detail:hover .service-image img {
  transform: scale(1.05);
}

.service-icon {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), #f39c12);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 2rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  z-index: 2;
  transition: all 0.3s ease;
}

.service-detail:hover .service-icon {
  transform: rotate(360deg);
}

.service-info h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--secondary-color);
  position: relative;
  padding-bottom: 15px;
}

.service-info h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background: var(--primary-color);
}

.service-description {
  margin-bottom: 30px;
  color: var(--text-light);
  line-height: 1.8;
}

.service-description p {
  margin-bottom: 15px;
}

.service-features {
  margin-bottom: 30px;
}

.service-features h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.service-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-features li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
  line-height: 1.5;
}

.service-features li i {
  color: var(--primary-color);
  margin-top: 3px; /* Align icon with first line of text */
  flex-shrink: 0;
}

.btn-primary {
  display: inline-block;
  padding: 12px 30px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(230, 126, 34, 0.3);
}

.btn-primary:hover {
  background-color: #d35400;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(230, 126, 34, 0.4);
}

/* CTA Section */
#cta {
  padding: 100px 0;
  background-size: cover;
  background-position: center;
  position: relative;
  color: white;
  text-align: center;
}

#cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.85), rgba(230, 126, 34, 0.85));
}

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

.cta-content h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.btn-outline {
  display: inline-block;
  padding: 12px 30px;
  background: transparent;
  color: white;
  border: 2px solid white;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.btn-outline:hover {
  background-color: white;
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

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

/* Responsive Adjustments */
@media (max-width: 1200px) {
  .service-detail {
    gap: 30px;
  }
  
  .service-image {
    height: 450px;
  }
}

@media (max-width: 992px) {
  .header-content h1 {
    font-size: 4rem;
  }
  
  .service-detail {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .service-detail.odd {
    direction: ltr;
  }
  
  .service-image {
    height: 400px;
  }
  
  .service-info h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .page-header {
    height: 70vh;
  }
  
  .header-content h1 {
    font-size: 3.5rem;
  }
  
  .header-content p {
    font-size: 1.2rem;
  }
  
  .service-image {
    height: 350px;
  }
  
  .service-icon {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
  }
  
  .service-features ul {
    grid-template-columns: 1fr;
  }
  
  .cta-content h2 {
    font-size: 2.5rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 576px) {
  .header-content h1 {
    font-size: 2.8rem;
  }
  
  .header-content p {
    font-size: 1.1rem;
  }
  
  .service-info h2 {
    font-size: 2rem;
  }
  
  .service-image {
    height: 300px;
  }
  
  .service-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    top: 20px;
    right: 20px;
  }
  
  .cta-content h2 {
    font-size: 2.2rem;
  }
}

/* Enhanced service description paragraph */
.services-description {
  font-size: 1.4rem;
  line-height: 1.8;
  color: #444;
  max-width: 900px;
  margin: 0 auto 50px;
  text-align: center;
  padding: 30px;
  background-color: #f9f9f9;
  border-left: 4px solid var(--primary-color);
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
  .services-description {
    font-size: 1.2rem;
    padding: 20px;
    margin-bottom: 30px;
  }
}

