/* Services Page Specific Styles */
.services-hero {
  background: linear-gradient(135deg, #2a5298 0%, #1e3c72 100%);
  color: white;
  padding: 120px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.services-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.services-hero .hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.services-hero .hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.services-hero .hero-description {
  font-size: 1.25rem;
  opacity: 0.9;
  line-height: 1.6;
}

.detailed-services-section {
  padding: 80px 0;
  background: #f8fafc;
}

.service-detail-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  margin-bottom: 2rem;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-detail-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.service-detail-header {
  background: linear-gradient(135deg, #2a5298 0%, #74b9ff 100%);
  color: white;
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.service-detail-icon {
  background: rgba(255,255,255,0.2);
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.service-detail-header h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
}

.service-detail-content {
  padding: 2rem;
}

.service-subcategory {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: #f8fafc;
  border-radius: 8px;
  border-left: 4px solid #2a5298;
}

.service-subcategory h3 {
  color: #2a5298;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-subcategory p {
  margin: 0;
  line-height: 1.6;
  color: #4a5568;
}

.service-highlight {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 8px;
  padding: 1rem;
  margin-top: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.service-highlight i {
  color: #f39c12;
  margin-top: 2px;
}

.service-link {
  color: #2a5298;
  text-decoration: none;
  font-weight: 600;
}

.service-link:hover {
  text-decoration: underline;
}

.services-cta-section {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons .btn {
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.cta-buttons .btn-primary {
  background: white;
  color: #2a5298;
}

.cta-buttons .btn-primary:hover {
  background: #f8fafc;
  transform: translateY(-2px);
}

.cta-buttons .btn-outline {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.cta-buttons .btn-outline:hover {
  background: white;
  color: #2a5298;
  transform: translateY(-2px);
}

/* Quick Navigation Styles */
.quick-nav-section {
  background: white;
  padding: 60px 0;
  border-bottom: 1px solid #e2e8f0;
}

.quick-nav-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: #2a5298;
  margin-bottom: 3rem;
}

.quick-nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.quick-nav-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: #f8fafc;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.quick-nav-item:hover {
  background: #2a5298;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(42, 82, 152, 0.3);
  border-color: #2a5298;
}

.quick-nav-icon {
  background: #2a5298;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: all 0.3s ease;
}

.quick-nav-item:hover .quick-nav-icon {
  background: white;
  color: #2a5298;
}

.quick-nav-text h3 {
  margin: 0 0 0.25rem 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.quick-nav-text p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Back to Navigation Button */
.back-to-nav-btn {
  background: rgba(255,255,255,0.2);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-left: auto;
  flex-shrink: 0;
}

.back-to-nav-btn:hover {
  background: rgba(255,255,255,0.3);
  color: white;
  transform: translateY(-2px);
}

/* Scroll offset for fixed navigation */
.service-detail-card {
  scroll-margin-top: 100px;
}

#quick-nav {
  scroll-margin-top: 80px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .services-hero .hero-title {
    font-size: 2.5rem;
  }
  
  .quick-nav-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .quick-nav-item {
    padding: 1rem;
  }
  
  .quick-nav-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .service-detail-header {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .service-detail-header h2 {
    font-size: 1.25rem;
  }
  
  .back-to-nav-btn {
    margin-left: 0;
  }
  
  .cta-content h2 {
    font-size: 2rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-buttons .btn {
    width: 200px;
    justify-content: center;
  }
} 