/* Services Page Specific Styles */

/* Page Banner */
.page-banner {
  background: linear-gradient(rgba(13, 46, 76, 0.75), rgba(13, 46, 76, 0.75)), 
              url('https://images.pexels.com/photos/7666091/pexels-photo-7666091.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1') no-repeat center center/cover;
}

/* Services Overview */
.services-overview {
  position: relative;
}

.category-card {
  border-top: 3px solid transparent;
  transition: all var(--transition-medium);
}

.category-card:hover {
  border-top-color: var(--primary);
}

.category-icon {
  position: relative;
}

.category-icon::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  width: calc(100% + 10px);
  height: calc(100% + 10px);
  border-radius: 50%;
  border: 1px solid rgba(25, 73, 116, 0.1);
  transition: all var(--transition-medium);
}

.category-card:hover .category-icon::before {
  border-color: var(--primary);
  transform: scale(1.1);
}

/* Service Details */
.service-details {
  position: relative;
}

.service-details::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(25, 73, 116, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
  z-index: 0;
}

.service-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: var(--space-xl);
}

.service-content.reverse {
  flex-direction: row-reverse;
}

.service-text {
  flex: 2;
}

.service-image {
  flex: 1;
  position: sticky;
  top: 2rem;
  height: 600px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

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

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

@media (max-width: 991px) {
  .service-content,
  .service-content.reverse {
    flex-direction: column;
  }

  .service-image {
    position: relative;
    top: 0;
    height: 400px;
    width: 100%;
    margin-bottom: var(--space-lg);
  }
}

.item-number {
  transition: all var(--transition-medium);
}

.service-item:hover .item-number {
  background-color: var(--accent);
}

/* Service Detail Page */
.service-detail {
  position: relative;
}

.offering-item {
  position: relative;
  overflow: hidden;
}

.offering-icon {
  position: relative;
  z-index: 1;
}

.offering-icon::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  width: calc(100% + 10px);
  height: calc(100% + 10px);
  border-radius: 50%;
  border: 1px solid rgba(25, 73, 116, 0.1);
  z-index: -1;
  transition: all var(--transition-medium);
}

.offering-item:hover .offering-icon::before {
  border-color: var(--primary);
  transform: scale(1.1);
}

.service-image-full {
  position: relative;
  overflow: hidden;
}

.service-image-full::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(13, 46, 76, 0), rgba(13, 46, 76, 0.2));
}

.service-image-full img {
  transition: transform 0.8s ease;
}

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

/* Testimonials */
.testimonials {
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(201, 177, 126, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  z-index: 0;
}

.testimonial-content {
  position: relative;
  z-index: 1;
  transition: all var(--transition-medium);
}

.testimonial-content:hover {
  transform: translateY(-5px);
}

.quote-icon {
  transition: all var(--transition-medium);
}

.testimonial-content:hover .quote-icon {
  color: rgba(201, 177, 126, 0.2);
}

.section-header {
  position: relative;
  text-align: center;
  margin-bottom: 3rem;
}

.section-tagline {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-top: 1rem;
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}