/* Our Services Page Specific Styles */

.services-hero {
  padding: 10rem 2rem 6rem;
  text-align: center;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.services-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 80%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1));
  transform: rotate(-15deg);
  animation: float 8s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1rem;
  opacity: 0;
  animation: slideUp 1s ease 0.2s forwards;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  opacity: 0;
  animation: slideUp 1s ease 0.4s forwards;
}

.hero-tagline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--accent-color);
  opacity: 0;
  animation: slideUp 1s ease 0.6s forwards;
}

.hero-tagline i {
  font-size: 1.5rem;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Services Overview */
.services-overview {
  padding: 6rem 0;
  background: var(--white);
}

.overview-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.section-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 2rem;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

.overview-text {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text-light);
}

/* Services Grid */
.services-grid {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--bg-light) 0%, #e5e7eb 100%);
}

/* Service Section Container */
.service-section {
  margin-bottom: 6rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 2rem;
  scroll-margin-top: 120px; /* Offset for fixed header */
}

.service-section:last-child {
  margin-bottom: 0;
}

/* Service Header */
.service-header {
  text-align: center;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.service-header .service-icon {
  background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-header h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0;
  line-height: 1.3;
}

/* Service Purpose */
.service-purpose {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.service-purpose p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-dark);
  margin: 0;
}

/* Service Cards Grid */
.service-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.service-detail-card {
  background: var(--white);
  border-radius: 15px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-left: 4px solid var(--accent-color);
  position: relative;
  overflow: hidden;
}

.service-detail-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: linear-gradient(45deg, transparent, rgba(16, 185, 129, 0.08));
  border-radius: 50%;
  transform: translate(50%, -50%);
}

.service-detail-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-detail-card:nth-child(2) {
  border-left-color: var(--primary-color);
}

.service-detail-card:nth-child(2)::before {
  background: linear-gradient(45deg, transparent, rgba(30, 58, 138, 0.08));
}

/* Center card - spans full width and is centered */
.service-detail-card.center-card {
  grid-column: 1 / -1;
  max-width: 500px;
  margin: 0 auto;
  border-left-color: var(--secondary-color);
}

.service-detail-card.center-card::before {
  background: linear-gradient(45deg, transparent, rgba(168, 85, 247, 0.08));
}

.service-detail-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.service-detail-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 2;
}

.service-detail-card li {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
}

.service-detail-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-color);
  font-weight: 700;
  font-size: 1rem;
}

.service-detail-card:nth-child(2) li::before {
  color: var(--primary-color);
}

.service-detail-card.center-card li::before {
  color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 968px) {
  .service-card-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .service-detail-card.center-card {
    max-width: 100%;
  }
  
  .service-section {
    padding: 0 1.5rem;
    margin-bottom: 4rem;
  }
}

@media (max-width: 768px) {
  .service-header h2 {
    font-size: 1.8rem;
  }
  
  .service-header .service-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .service-detail-card {
    padding: 2rem;
  }
  
  .service-purpose p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .service-section {
    padding: 0 1rem;
    margin-bottom: 3rem;
  }
  
  .service-header h2 {
    font-size: 1.5rem;
  }
  
  .service-detail-card {
    padding: 1.5rem;
  }
  
  .service-detail-card h3 {
    font-size: 1.2rem;
  }
}

/* CTA Section */
.services-cta {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 3rem;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.services-cta .cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services-cta .cta-button.primary {
  background: var(--accent-color);
  color: var(--white);
}

.services-cta .cta-button.secondary {
  background: var(--white);
  color: var(--primary-color);
}

.services-cta .cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .service-card {
    padding: 2rem;
  }
  
  .service-content h3 {
    font-size: 1.3rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .services-cta .cta-button {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .services-hero {
    padding: 8rem 1rem 4rem;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .service-card {
    padding: 1.5rem;
  }
  
  .service-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .hero-tagline {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* Animation delays for staggered effect */
.service-section:nth-child(1) { animation-delay: 0.1s; }
.service-section:nth-child(2) { animation-delay: 0.2s; }
.service-section:nth-child(3) { animation-delay: 0.3s; }
.service-section:nth-child(4) { animation-delay: 0.4s; }
.service-section:nth-child(5) { animation-delay: 0.5s; }
.service-section:nth-child(6) { animation-delay: 0.6s; }
.service-section:nth-child(7) { animation-delay: 0.7s; }
